<?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>265287</bug_id>
          
          <creation_ts>2023-11-23 06:42:12 -0800</creation_ts>
          <short_desc>lh unit is sometimes computed before line-height is resolved</short_desc>
          <delta_ts>2024-08-02 22:25:38 -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://github.com/web-platform-tests/wpt/pull/43873</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="alan">zalan</reporter>
          <assigned_to name="Tim Nguyen (:ntim)">ntim</assigned_to>
          <cc>ana.tudor.lhnh</cc>
    
    <cc>koivisto</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1994540</commentid>
    <comment_count>0</comment_count>
      <attachid>468741</attachid>
    <who name="alan">zalan</who>
    <bug_when>2023-11-23 06:42:12 -0800</bug_when>
    <thetext>Created attachment 468741
Incorrect background sizing

It looks like at the time we compute the FillLayer size, we don&apos;t yet have the computed line-height value and we fallback to the primary font size (we believe the line-height value is normal).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1995884</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-30 06:43:26 -0800</bug_when>
    <thetext>&lt;rdar://problem/118983248&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003431</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-06 18:27:40 -0800</bug_when>
    <thetext>*** Bug 267185 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003433</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-06 19:05:27 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/22476</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003434</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-06 19:05:42 -0800</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43873</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050469</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-02 22:25:36 -0700</bug_when>
    <thetext>Committed 281795@main (6220d3d8995a): &lt;https://commits.webkit.org/281795@main&gt;

Reviewed commits have been landed. Closing PR #22476 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>468741</attachid>
            <date>2023-11-23 06:42:12 -0800</date>
            <delta_ts>2023-11-23 06:42:12 -0800</delta_ts>
            <desc>Incorrect background sizing</desc>
            <filename>incorrect-background-sizing.html</filename>
            <type>text/html</type>
            <size>587</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">PHN0eWxlPgpkaXYgewogIGJhY2tncm91bmQtaW1hZ2U6IGNvbmljLWdyYWRpZW50KGZyb20gMjk0
ZGVnIGF0IDUwJSA3MCUsIHJnYigyNTAsIDI1MCwgMjUwKSAwZGVnLCByZ2IoMjM4LCAxOTUsIDQ1
KSA3Mi4wMDAwMDFkZWcsIHJnYigyMzYsIDc1LCA3NSkgMTQ0LjAwMDAwMmRlZywgcmdiKDExMiwg
MTU0LCAxODUpIDIxNi4wMDAwMDlkZWcsIHJnYig3NywgMjU1LCAxOTEpIDI4OC4wMDAwMDRkZWcs
IHJnYigyNTAsIDI1MCwgMjUwKSAxdHVybiksIGxpbmVhci1ncmFkaWVudChyZ2IoOTYsIDk2LCA5
NiksIHJnYig5NiwgOTYsIDk2KSksIGxpbmVhci1ncmFkaWVudChyZ2IoOTYsIDk2LCA5NikgMHB4
LCByZ2IoOTYsIDk2LCA5NikgY2FsYygzbGgpLCByZ2JhKDAsIDAsIDAsIDApKTsKICBiYWNrZ3Jv
dW5kLXJlcGVhdDogbm8tcmVwZWF0OwogIGJhY2tncm91bmQtc2l6ZTogMTAwcHggY2FsYygxbGgp
OwogIGxpbmUtaGVpZ2h0OiAyOwogIGJvcmRlcjogMXB4IHNvbGlkIGdyZWVuOwp9Cjwvc3R5bGU+
CjxkaXY+UEFTUyBpZiBpbWFnZSBzdHJldGNoZXMgYWxsIHRoZSB3YXkgdG8gdGhlIGJvdHRvbSBv
ZiB0aGlzIGJveDwvZGl2Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>