<?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>298246</bug_id>
          
          <creation_ts>2025-09-02 10:19:56 -0700</creation_ts>
          <short_desc>[CSS] process-css-properties.py gperf warning: 1 input keys have identical hash values, examine output carefully...</short_desc>
          <delta_ts>2025-09-03 12:19:21 -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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=237213</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2140283</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2025-09-02 10:19:56 -0700</bug_when>
    <thetext>[CSS] process-css-properties.py gperf warning: 1 input keys have identical hash values, examine output carefully...

```
PhaseScriptExecution Generate\ Derived\ Sources WebKitBuild/WebCore.build/Debug/Derived\ Sources.build/Script-DD041FBD09D9DDBE0010AF2A.sh (in target &apos;Derived Sources&apos; from project &apos;WebCore&apos;)
    cd Source/WebCore
    /bin/sh -c WebKitBuild/WebCore.build/Debug/Derived\\\ Sources.build/Script-DD041FBD09D9DDBE0010AF2A.sh
ruby WebCore/Scripts/GenerateSettings.rb WebKitBuild/Debug/usr/local/include/wtf/Scripts/Preferences/UnifiedWebPreferences.yaml WebCore/page/Settings.yaml  --template WebCore/Scripts/SettingsTemplates/InternalSettingsGenerated.idl.erb
perl -pe &apos;&apos; WebCore/css/CSSProperties.json &gt; CSSProperties.json
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX26.0.xctoolchain/AppleInternal/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 &quot;WebCore/css/scripts/process-css-properties.py&quot; --gperf-executable ./gperf --defines &quot;...&quot;
1 input keys have identical hash values, examine output carefully...
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140284</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-02 10:20:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/159680551&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140287</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2025-09-02 10:24:42 -0700</bug_when>
    <thetext>The warning is caused by duplicate aliases of the `font-stretch` alias in `CSSProperties.json`, regardless of the value of `ENABLE_VARIATION_FONTS `:

1. CSS Property: `font-width` (lines 745-788)
```json
&quot;font-width&quot;: {
    &quot;codegen-properties&quot;: [
        {
            &quot;enable-if&quot;: &quot;ENABLE_VARIATION_FONTS&quot;,
            &quot;aliases&quot;: [&quot;font-stretch&quot;]
        },
        {
            &quot;enable-if&quot;: &quot;!ENABLE_VARIATION_FONTS&quot;, 
            &quot;aliases&quot;: [&quot;font-stretch&quot;]
        }
    ]
}
```

2. CSS Descriptor: `@font-face/font-width` (lines 12626-12662)
```json
&quot;descriptors&quot;: {
    &quot;@font-face&quot;: {
        &quot;font-width&quot;: {
            &quot;codegen-properties&quot;: [
                {
                    &quot;enable-if&quot;: &quot;ENABLE_VARIATION_FONTS&quot;,
                    &quot;aliases&quot;: [&quot;font-stretch&quot;]
                },
                {
                    &quot;enable-if&quot;: &quot;!ENABLE_VARIATION_FONTS&quot;,
                    &quot;aliases&quot;: [&quot;font-stretch&quot;]
                }
            ]
        }
    }
}
```

These duplicate aliases result in identical entries in `CSSPropertyNames.gperf`, which then trigger the warning:

```
font-stretch, CSSPropertyID::CSSPropertyFontWidth
font-stretch, CSSPropertyID::CSSPropertyFontWidth
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140338</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2025-09-02 12:24:48 -0700</bug_when>
    <thetext>Pull request:  https://github.com/WebKit/WebKit/pull/50194</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140691</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-03 12:19:18 -0700</bug_when>
    <thetext>Committed 299518@main (1774fe051f77): &lt;https://commits.webkit.org/299518@main&gt;

Reviewed commits have been landed. Closing PR #50194 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>