Bug 119293

Summary: Supports mode should be reset in the same way as media query does
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: 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
Reported 2013-07-30 16:28:26 PDT
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
Ahmad Saleem
Comment 1 2022-08-25 15:00:55 PDT
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!
Note You need to log in before you can comment on or make changes to this bug.