[Webkit-unassigned] [Bug 243773] "background-size: 12px" works differently than in other browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 10 17:08:30 PDT 2022


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

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karlcow at apple.com,
                   |                            |simon.fraser at apple.com,
                   |                            |zalan at apple.com
           See Also|                            |https://bugs.webkit.org/sho
                   |                            |w_bug.cgi?id=170834
            Summary|-webkit-background-size and |"background-size: 12px"
                   |background-size have        |works differently than in
                   |different behavior          |other browsers

--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> ---
It is intentional that -webkit-background-size and background-size behave differently in Safari in this case. -webkit-background-size differs from background-size only in the interpretation of a single value: '-webkit-background-size: l;' is equivalent to 'background-size: l l;' whereas 'background-size: l;' is equivalent to 'background-size: l auto;'.

But maybe the last aspect doesn't match other browsers and/or the spec? See also bug 170834.

The workaround is specify both values, "background-size: 12px 12px".

-- 
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/20220811/b0fc73e5/attachment-0001.htm>


More information about the webkit-unassigned mailing list