<?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>306448</bug_id>
          
          <creation_ts>2026-01-28 11:43:33 -0800</creation_ts>
          <short_desc>[grid-lanes] Fix grid-lanes-subgrid-002a test to match cross-browser rendering behavior</short_desc>
          <delta_ts>2026-02-03 11:52:07 -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>Other</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/57547</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="Brandon">brandonstewart</reporter>
          <assigned_to name="Brandon">brandonstewart</assigned_to>
          <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2175896</commentid>
    <comment_count>0</comment_count>
    <who name="Brandon">brandonstewart</who>
    <bug_when>2026-01-28 11:43:33 -0800</bug_when>
    <thetext>grid-lanes-subgrid-002a

-ref and -expected tests are implemented on a grid, which sets the height of items.

So items 2 and 3 need to be 40 px as that is the height of the grid row 1.

Item 5 is a simple 30px too as that is just the height of the second row.

Now the subgrid requires special attention.

We first need to calculate the height of the subgrid, which is the row 2 + gap + row 3 heights.

Row 2 is a height of 30px, so 4a and 4b I would expect to add up to that.
Row 3 is similar a height of 20px, so we need to set 4c.

Now, we are losing a single pixel as these seem to be resolving to 29px for row 2 and 19px for row 3 heights.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2175897</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-28 11:43:39 -0800</bug_when>
    <thetext>&lt;rdar://problem/169113705&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2175898</commentid>
    <comment_count>2</comment_count>
    <who name="Brandon">brandonstewart</who>
    <bug_when>2026-01-28 11:45:06 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/57428</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176163</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-29 05:12:22 -0800</bug_when>
    <thetext>Committed 306411@main (7e6b3bf3ceff): &lt;https://commits.webkit.org/306411@main&gt;

Reviewed commits have been landed. Closing PR #57428 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2177662</commentid>
    <comment_count>4</comment_count>
    <who name="Brandon">brandonstewart</who>
    <bug_when>2026-02-03 11:52:07 -0800</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/57547</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>