<?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>299921</bug_id>
          
          <creation_ts>2025-09-30 17:57:06 -0700</creation_ts>
          <short_desc>-epub-* properties shouldn&apos;t create webkit-cased IDL attributes</short_desc>
          <delta_ts>2025-10-09 18:09:44 -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>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=223141</see_also>
          <bug_file_loc>http://wpt.live/css/css-conditional/js/CSS-supports-CSSStyleDeclaration.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</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>2147372</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-09-30 17:57:06 -0700</bug_when>
    <thetext>The initial fix for this test was done in Bug 223141
There are still 19 failures to fix. 

http://wpt.live/css/css-conditional/js/CSS-supports-CSSStyleDeclaration.html
http://wpt.fyi/css/css-conditional/js/CSS-supports-CSSStyleDeclaration.html


19 Fail including 9 about the prefix -epub-* which is converted as Epub by the test script.

Fail	-epub-caption-side: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true
Fail	-epub-text-combine: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true
Fail	-epub-text-emphasis: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true
Fail	-epub-text-emphasis-color: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true
Fail	-epub-text-emphasis-style: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true
Fail	-epub-text-orientation: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true
Fail	-epub-text-transform: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true
Fail	-epub-word-break: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true
Fail	-epub-writing-mode: _webkit_cased_attribute must only exist for -webkit-	assert_false: expected false got true


Fail	font-display: _camel_cased_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	font-display: _dashed_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	inherits: _camel_cased_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	initial-value: _camel_cased_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	initial-value: _dashed_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	size: _camel_cased_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	src: _camel_cased_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	syntax: _camel_cased_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	unicode-range: _camel_cased_attribute v. CSS.supports	assert_equals: expected true but got false
Fail	unicode-range: _dashed_attribute v. CSS.supports	assert_equals: expected true but got false


Firefox PASS on all tests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149288</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-10-07 17:58:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/162161339&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149289</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-10-07 17:58:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/162161344&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149298</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-10-07 18:29:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/162161339&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149850</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-10-09 18:09:44 -0700</bug_when>
    <thetext>&gt; The initial fix for this test was done in Bug 223141

That was one of three bugs; that we weren&apos;t consistently checking runtime feature flags. (Arguably that&apos;s many more bugs, because each difference is arguably a separate bug!)

&gt; There are still 19 failures to fix. 

These are two completely different failures which should be tracked separately:

The first is about -epub- properties appearing as EpubXXX, which is commented as such in the code: https://github.com/WebKit/WebKit/blob/97d0e362516b8739ab5739302541f7d7b150cbc8/Source/WebCore/css/scripts/process-css-properties.py#L3960-L3972

The second is about properties v. descriptors — historically WebKit (and Blink, given its shared origins) have had a single interface containing all properties and descriptors. Bug 238273 tracks that.

So let&apos;s use this bug for the first of these.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>