[Webkit-unassigned] [Bug 251196] image-set() is changing the order of rules

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 7 07:35:49 PST 2023


--- Comment #3 from Ryan Reno <rreno at apple.com> ---
Yes that's almost it. If I remove this sort the tests have the serialized arguments to image-set in the expected order:


When we're constructing the style from the CSSImageSetValue object we sort the images by resolution so we can more quickly search for an appropriate resolution later when we need to pick one of the images. When we serialize the computed style we may no longer have the arguments in the order the author wrote them.

So it's not in "engine preferred order" but in ascending resolution order.

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/20230207/85dc6af1/attachment.htm>

More information about the webkit-unassigned mailing list