[Webkit-unassigned] [Bug 217751] New: MediaQueryList serialization order is inconsistent.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 15 05:05:16 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217751
Bug ID: 217751
Summary: MediaQueryList serialization order is inconsistent.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: emilio at crisal.io
See also https://bugs.chromium.org/p/chromium/issues/detail?id=1138859
If you run: window.matchMedia('(max-width: 100px) and (max-aspect-ratio: 1/1)').media
You get back: (max-aspect-ratio: 1/1) and (max-width: 100px)
Instead of the expected original order.
Per https://drafts.csswg.org/cssom-view/#mediaquerylist-media -> https://drafts.csswg.org/cssom/#serialize-a-media-query-list:
> Serialize each media query in the list of media queries, in the same order as they appear in the media query list, and then serialize the list.
Seems like Gecko is correct and the order shouldn't change.
--
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/20201015/88908261/attachment-0001.htm>
More information about the webkit-unassigned
mailing list