[Webkit-unassigned] [Bug 217623] CSSStyleDeclaration breaks JS spec (properties not showing up in Object.getOwnPropertyNames)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 12 11:51:27 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217623
--- Comment #1 from Sam Weinig <sam at webkit.org> ---
This is intertwined with this silly comment I made a few years ago (see https://trac.webkit.org/changeset/219622/webkit) in CSSStyleDeclaration.idl
`
// Use named getters/setters for all support CSS property names. The spec says
// these should be normal attributes, but there are too many combinations with
// prefixes for this to be practical. If we remove legacy aliases, we should
// reconsider this decision.
getter (DOMString or double) (DOMString name);
[CEReactions, CallNamedSetterOnlyForSupportedProperties] setter undefined (DOMString name, [LegacyNullToEmptyString] DOMString value);
`
The easiest (and perhaps best) way to fix this is generate a supplemental IDL file from CSSProperties.json and pass that to the bindings generator using the various rules from https://drafts.csswg.org/cssom/#the-cssstyledeclaration-interface.
--
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/20201012/2df2e42e/attachment.htm>
More information about the webkit-unassigned
mailing list