[Webkit-unassigned] [Bug 251078] REGRESSION (STP 160): tweakers.net media queries not applied correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 25 05:21:00 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251078

--- Comment #2 from Gustaaf Groenendaal <mysteryquest+webkit at gmail.com> ---
Created attachment 464646

  --> https://bugs.webkit.org/attachment.cgi?id=464646&action=review

Working reduction

Did some digging and found the problem. There is a media query inside the linked CSS file that overwrites the file's main media query. The contents of that media query are ignored and instead the CSS below that media query is applied as if the media query inside the stylesheet is the only one.

Even though this might not be correct spec-wise, it shouldn't break applying the main media query. The media query inside the external file with a media query applied should either be discarded OR applied as a sub media query in Safari <=16.3.

I think this is broken since https://commits.webkit.org/257252@main but the original error might've been introduced earlier.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230125/83668f98/attachment.htm>


More information about the webkit-unassigned mailing list