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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 00:20:25 PDT 2020


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

            Bug ID: 216170
           Summary: myElement.style.cssText exposes the order of the
                    CSSPropertyID enum values to the web
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mmaxfield at apple.com

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

The order of the properties in the result matches the order of the enum values in enum CSSPropertyID in CSSPropertyNames.h

-- 
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/20200904/3e556232/attachment.htm>


More information about the webkit-unassigned mailing list