<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>238273</bug_id>
          
          <creation_ts>2022-03-23 11:22:31 -0700</creation_ts>
          <short_desc>Split up CSSStyleDeclaration</short_desc>
          <delta_ts>2025-10-09 18:05:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>289925</dependson>
          <blocked>283722</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>koivisto</cc>
    
    <cc>sam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1854286</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-03-23 11:22:31 -0700</bug_when>
    <thetext>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&apos;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&apos;t know what properties/descriptors apply to what, besides knowing those annotated with &quot;descriptor-only&quot;: true aren&apos;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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1854287</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-03-23 11:22:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/90712173&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>