[Webkit-unassigned] [Bug 216170] myElement.style.cssText exposes the order of the CSSPropertyID enum values to the web

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 27 11:15:17 PDT 2022


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

Oriol Brufau <obrufau at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |obrufau at igalia.com

--- Comment #3 from Oriol Brufau <obrufau at igalia.com> ---
This is a parsing problem, not a serialization one:

  var myElement = document.createElement("div");
  myElement.style.cssText = "all: unset";
  console.log([...myElement.style]);

In Firefox the order also seems to expose internal details.
Blink doesn't treat 'all' as a shorthand.

-- 
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/20220927/b9e82399/attachment.htm>


More information about the webkit-unassigned mailing list