[Webkit-unassigned] [Bug 271001] CSSOM serialization unexpectedly expands some shorthand properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 14:20:53 PDT 2024


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

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karlcow at apple.com

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
With 
  data:text/html,<div id="target" style="font: 12px serif">foo</div>

and 
  const target = document.querySelector("#target");
  target.style.cssText;

On Firefox, Chrome
cssText: "font: 12px serif;" 

On Safari
"font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: serif; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"

-- 
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/20240325/5fdedf7f/attachment-0001.htm>


More information about the webkit-unassigned mailing list