[Webkit-unassigned] [Bug 197991] New: CSSStyleDeclaration properties should be WebIDL attributes, not use namedItem.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 17 11:02:15 PDT 2019


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

            Bug ID: 197991
           Summary: CSSStyleDeclaration properties should be WebIDL
                    attributes, not use namedItem.
           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: emilio at crisal.io

CSSStyleDeclaration CSS property getters and such are defined to be WebIDL attributes:

  * https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-_camel_cased_attribute

WebKit (and Blink) implement it using item(), which is not quite the same, since checks like hasOwnProperty return true for the later but not for the former.

-- 
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/20190517/6caf9343/attachment-0001.html>


More information about the webkit-unassigned mailing list