Bug 119293
Summary: | Supports mode should be reset in the same way as media query does | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, dino, kling, koivisto, menard, simon.fraser, syoichi, zalan |
Priority: | P2 | Keywords: | BlinkMergeCandidate |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ryosuke Niwa
Consider merging https://chromium.googlesource.com/chromium/blink/+/335397587de949c404d1c8c3776dbcbdaa54f53c
When CharacterEndMediaQuery is found, parsing mode should be reset if the mode is supports mode.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
I took the test case from patch:
Link - https://jsfiddle.net/wbm75cp3/show
and all browsers (Safari Technology Preview 152, Chrome Canary 107 and Firefox Nightly 106) show following:
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getComputedStyle(target).backgroundColor is "rgb(0, 128, 0)"
PASS successfullyParsed is true
TEST COMPLETE
Since all browsers are working same, I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Thanks!