Bug 112549 - monochrome media feature does not accept integer values
Summary: monochrome media feature does not accept integer values
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 03:07 PDT by Rune Lillesveen
Modified: 2013-04-04 02:09 PDT (History)
8 users (show)

See Also:


Attachments
Patch (3.30 KB, patch)
2013-03-18 04:39 PDT, Rune Lillesveen
kenneth: review+
rune: commit-queue?
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rune Lillesveen 2013-03-18 03:07:17 PDT
The monochrome media feature should accept non-negative integers as specified in the Media Queries spec.

For instance:

/* Match non-monochrome displays. */
@media (monochrome: 0) {}

/* Match monochrome displays with 8 bits per pixel. */
@media all and (monochrome: 8) {}
Comment 1 Rune Lillesveen 2013-03-18 04:39:12 PDT
Created attachment 193526 [details]
Patch