<?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>297203</bug_id>
          
          <creation_ts>2025-08-10 21:32:30 -0700</creation_ts>
          <short_desc>REGRESSION(298491@main): [Linux] CSSPrimitiveData.h:249:11: error: invalid use of non-static data member ‘WebCore::CSS::PrimitiveNumericRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, WebCore::CSS::LengthPercentageUnit, float&gt;::va</short_desc>
          <delta_ts>2025-08-12 05:08:03 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=287701</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>297192</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sam</cc>
    
    <cc>vitaly</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2135571</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-08-10 21:32:30 -0700</bug_when>
    <thetext>REGRESSION(298491@main): [Linux] CSSPrimitiveData.h:249:11: error: invalid use of non-static data member ‘WebCore::CSS::PrimitiveNumericRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, WebCore::CSS::LengthPercentageUnit, float&gt;::value’

Buildbot: builder GTK-Linux-64-bit-Release-Ubuntu-2204-Build build 9678
https://build.webkit.org/#/builders/1059/builds/9678

[8/632] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-be65d27a-18.cpp.o
FAILED: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-be65d27a-18.cpp.o 
/bin/ccache /usr/lib/ccache/c++ [...] -c /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/WebKitBuild/GTK/Release/WebCore/DerivedSources/unified-sources/UnifiedSource-be65d27a-18.cpp
In file included from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:27,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes.h:29,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumericTypes+EvaluateCalc.h:28,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/color/CSSColorDescriptors.h:29,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/color/CSSColor.h:29,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/images/CSSGradient.h:29,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/shapes/CSSCircleFunction.h:27,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/shapes/CSSBasicShape.h:27,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/style/values/shapes/StyleBasicShape.h:27,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/shapes/LayoutShape.h:34,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/shapes/ShapeOutsideInfo.h:32,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/rendering/RenderBox.h:32,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/dom/NodeInlines.h:30,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/style/Styleable.h:29,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/dom/ViewTransition.h:34,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/dom/PageRevealEvent.h:29,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/dom/PageRevealEvent.cpp:27,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/WebKitBuild/GTK/Release/WebCore/DerivedSources/unified-sources/UnifiedSource-be65d27a-18.cpp:3:
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveData.h: In substitution of ‘template&lt;class auto:363&gt;  requires  ValidKeywordForList&lt;auto:363, WebCore::CSS::PrimitiveKeywordList&lt;Ks ...&gt; &gt; constexpr WebCore::CSS::PrimitiveDataIndex&lt;WebCore::CSS::PrimitiveNumeric&lt;WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt; &gt; &gt;::PrimitiveDataIndex(auto:363) [with auto:363 = WebCore::CSS::PrimitiveNumeric&lt;WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt; &gt;]’:
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveData.h:249:11:   required from ‘WebCore::CSS::PrimitiveData&lt;N, Ks&gt;::PrimitiveData(Raw) [with N = WebCore::CSS::PrimitiveNumeric&lt;WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt; &gt;; Ks = {}; Raw = WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt;]’
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:87:11:   required from ‘constexpr WebCore::CSS::PrimitiveNumeric&lt; &lt;template-parameter-1-1&gt; &gt;::PrimitiveNumeric(WebCore::CSS::ValueLiteral&lt;unitValue&gt;) requires requires{{Raw(WebCore::CSS::PrimitiveNumeric&lt; &lt;template-parameter-1-1&gt; &gt;::__ct ::value)};} [with E = WebCore::CSS::LengthUnit; E unitValue = WebCore::CSS::LengthUnit::Px; RawType = WebCore::CSS::LengthPercentageRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, float&gt;]’
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:249:17:   required from ‘constexpr WebCore::SpaceSeparatedArray&lt;T, N&gt;::SpaceSeparatedArray(Ts ...) [with Ts = {WebCore::CSS::ValueLiteral&lt;WebCore::CSS::LengthUnit::Px&gt;, WebCore::CSS::ValueLiteral&lt;WebCore::CSS::LengthUnit::Px&gt;, WebCore::CSS::ValueLiteral&lt;WebCore::CSS::LengthUnit::Px&gt;, WebCore::CSS::ValueLiteral&lt;WebCore::CSS::LengthUnit::Px&gt;}; T = WebCore::CSS::LengthPercentage&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}&gt;; long unsigned int N = 4]’
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/borders/CSSBorderRadius.h:68:5:   required from here
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveData.h:249:11: error: invalid use of non-static data member ‘WebCore::CSS::PrimitiveNumericRaw&lt;WebCore::CSS::Range{0.0, +Inf, WebCore::CSS::RangeOptions::Default}, WebCore::CSS::LengthPercentageUnit, float&gt;::value’
  249 |         , index { raw }
      |           ^~~~~~~~~~~~~
In file included from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveKeywordList.h:28,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveData.h:27:
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2204-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveNumericRaw.h:50:12: note: declared here
   50 |     double value;
      |            ^~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2135590</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-08-11 03:01:08 -0700</bug_when>
    <thetext>290410@main fixed this problem, and 298491@main reverted the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2135594</commentid>
    <comment_count>2</comment_count>
      <attachid>476347</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-08-11 04:11:21 -0700</bug_when>
    <thetext>Created attachment 476347
repro.cpp

GCC 13 fixed the compiler problem.
https://godbolt.org/z/YG4qWdcYd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2135606</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-08-11 04:46:52 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/49212</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2135885</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-08-12 05:07:25 -0700</bug_when>
    <thetext>Committed 298558@main (0933fd2120fa): &lt;https://commits.webkit.org/298558@main&gt;

Reviewed commits have been landed. Closing PR #49212 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>476347</attachid>
            <date>2025-08-11 04:11:21 -0700</date>
            <delta_ts>2025-08-11 04:11:21 -0700</delta_ts>
            <desc>repro.cpp</desc>
            <filename>repro.cpp</filename>
            <type>text/x-c++src</type>
            <size>540</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">I2luY2x1ZGUgPGNvbmNlcHRzPgojaW5jbHVkZSA8Y3N0ZGludD4KCmVudW0gQ1NTVmFsdWVJRCA6
IHVpbnQxNl90IHsKICAgIENTU1ZhbHVlSW52YWxpZCA9IDAsCn07Cgp0ZW1wbGF0ZTxDU1NWYWx1
ZUlEIEM+IHN0cnVjdCBDb25zdGFudCB7CiAgICBzdGF0aWMgY29uc3RleHByIGF1dG8gdmFsdWUg
PSBDOwogICAgY29uc3RleHByIGJvb2wgb3BlcmF0b3I9PShjb25zdCBDb25zdGFudDxDPiYpIGNv
bnN0ID0gZGVmYXVsdDsKfTsKCnRlbXBsYXRlPHR5cGVuYW1lIEtleXdvcmQ+IGNvbmNlcHQgUHJp
bWl0aXZlS2V5d29yZAogICAgPSBzdGQ6OnNhbWVfYXM8S2V5d29yZCwgQ29uc3RhbnQ8S2V5d29y
ZDo6dmFsdWU+PjsKCnN0cnVjdCBQcmltaXRpdmVOdW1lcmljUmF3IHsKICAgIGRvdWJsZSB2YWx1
ZTsKfTsKCnRlbXBsYXRlPFByaW1pdGl2ZUtleXdvcmQgVD4Kdm9pZCBmKFQgeCkKewp9Cgp0ZW1w
bGF0ZTx0eXBlbmFtZSBUPgp2b2lkIGYoVCB4KQp7Cn0KCnZvaWQgZygpCnsKICAgIFByaW1pdGl2
ZU51bWVyaWNSYXcgYTsKICAgIGYoYSk7Cn0K
</data>

          </attachment>
      

    </bug>

</bugzilla>