[Webkit-unassigned] [Bug 256814] REGRESSION (Safari 16.4): Carcassonne game on boardgamearena.com unplayable (parsing of style background-position with missing semicolon)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 7 17:08:27 PDT 2023


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

--- Comment #6 from Tim Nguyen (:ntim) <ntim at apple.com> ---
We use the initial value to choose whether to omit the longhand: https://searchfox.org/wubkat/rev/a33f8a24c752c23225ebeb863f4523b5f2ee4201/Source/WebCore/css/parser/CSSPropertyParser.cpp#1092-1096

While the initial value is indeed 0%, the serialization rule for `background-position` is different, if only one value is set, then 50% is used as Y coordinate. So serializing `10% 0%` as `10%` is clearly incorrect.

I think this is a regression of 259185 at main.

-- 
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/20230608/92d9b75e/attachment.htm>


More information about the webkit-unassigned mailing list