WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 194327
197991
CSSStyleDeclaration properties should be WebIDL attributes, not use namedItem.
https://bugs.webkit.org/show_bug.cgi?id=197991
Summary
CSSStyleDeclaration properties should be WebIDL attributes, not use namedItem.
Emilio Cobos Álvarez (:emilio)
Reported
2019-05-17 11:02:15 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Emilio Cobos Álvarez (:emilio)
Comment 1
2019-05-17 11:02:42 PDT
Blink bug is
https://bugs.chromium.org/p/chromium/issues/detail?id=700338
Elliott Sprehn
Comment 2
2019-05-22 10:05:41 PDT
This is the same bug as
https://bugs.webkit.org/show_bug.cgi?id=194327
Emilio Cobos Álvarez (:emilio)
Comment 3
2019-05-22 10:30:26 PDT
Thanks, I searched for CSSStyleDeclaration, and thus didn't find it :) *** This bug has been marked as a duplicate of
bug 194327
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug