<?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>247498</bug_id>
          
          <creation_ts>2022-11-04 12:27:18 -0700</creation_ts>
          <short_desc>StyleProperties::fontValue needs to return emptyString in many more cases where font sub properties have unusual values</short_desc>
          <delta_ts>2022-11-14 01:27:55 -0800</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=247810</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=217625</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=87129</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="Darin Adler">darin</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>darin</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>ntim</cc>
    
    <cc>obrufau</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1910400</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-11-04 12:27:18 -0700</bug_when>
    <thetext>StyleProperties::fontValue needs to return emptyString in many more cases where font subproperties have values other than their initial values. We already do this in the fontShorthandValue function for computed style, but we need it for specified style too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1910401</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-11-04 12:27:39 -0700</bug_when>
    <thetext>A significant part of the work here is to add test cases, preferably WPT tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1910538</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-11-05 09:56:33 -0700</bug_when>
    <thetext>I’m not actually sure what the desired behavior is here. I might need someone’s help to write the tests before changing any of the code. Tim, what do you think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1911869</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-11 11:28:23 -0800</bug_when>
    <thetext>&lt;rdar://problem/102248342&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1911964</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-11-11 22:18:06 -0800</bug_when>
    <thetext>&gt; I’m not actually sure what the desired behavior is here.

https://github.com/w3c/csswg-drafts/issues/8062

The font shorthand serialization should be empty when the subproperties are not representable by the shorthand.

We seem to have similar issues with other props too, see bug 247810</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1911985</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-11-12 07:54:29 -0800</bug_when>
    <thetext>I am working on a patch for this right now. Tim, hope you weren’t already working on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1911986</commentid>
    <comment_count>6</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-11-12 07:55:40 -0800</bug_when>
    <thetext>The part I was not clear on was the &quot;implicit&quot; flag bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1911998</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-11-12 09:21:21 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/6426</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912198</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-11-13 23:53:58 -0800</bug_when>
    <thetext>Committed 256635@main (d3d6e16bf1f0): &lt;https://commits.webkit.org/256635@main&gt;

Reviewed commits have been landed. Closing PR #6426 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912225</commentid>
    <comment_count>9</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-11-14 01:27:55 -0800</bug_when>
    <thetext>*** Bug 169259 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>