WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
238273
Split up CSSStyleDeclaration
https://bugs.webkit.org/show_bug.cgi?id=238273
Summary
Split up CSSStyleDeclaration
Sam Sneddon [:gsnedders]
Reported
2022-03-23 11:22:31 PDT
In
https://github.com/w3c/csswg-drafts/issues/5649#issuecomment-755796005
the CSS WG resolved to split CSSStyleDeclaration into smaller interfaces, splitting up the current mix of properties and descriptors that WebKit and Blink have. In short, we should end up interface CSSStyleProperties : CSSStyleDeclaration {} containing attributes for all supported CSS properties (but nothing that's only a descriptor), along with many interfaces like interface CSSFontFaceDescriptors : CSSStyleDeclaration {} containing attributes for all the descriptors that apply to @font-face rules, CSSCounterStyleDescriptors containing attributes for all the descriptors that apply to @counter-style rules, etc. At the moment, we don't know what properties/descriptors apply to what, besides knowing those annotated with "descriptor-only": true aren't properties. We probably need to start off by introducing some knowledge of what applies to what (e.g., by relating each thing in CSSProperties.json to StyleRuleType).
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-03-23 11:22:40 PDT
<
rdar://problem/90712173
>
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