<?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>262336</bug_id>
          
          <creation_ts>2023-09-28 15:39:59 -0700</creation_ts>
          <short_desc>[css-grid] Non-orthogonal subgrid&apos;s margin, border, and padding is not considered for self-align baseline items in the same alignment context</short_desc>
          <delta_ts>2023-10-04 11:19:30 -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>Layout and Rendering</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/42340</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>
          
          <blocked>260530</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sammy Gill">sgill26</reporter>
          <assigned_to name="Sammy Gill">sgill26</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1981119</commentid>
    <comment_count>0</comment_count>
      <attachid>467961</attachid>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-09-28 15:39:59 -0700</bug_when>
    <thetext>Created attachment 467961
Testcase

In the attached test case the outer grid item and the item in the subgrid participate in baseline alignment together. The items themselves have the same baseline, but the item in the subgrid should have the subgrid&apos;s margin, border, and padding act as an extra layer of margin for the item itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981120</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-28 15:40:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/116206243&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981139</commentid>
    <comment_count>2</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-09-28 16:17:28 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/18389</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982237</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-03 14:57:25 -0700</bug_when>
    <thetext>Committed 268804@main (d935079e09c4): &lt;https://commits.webkit.org/268804@main&gt;

Reviewed commits have been landed. Closing PR #18389 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982503</commentid>
    <comment_count>4</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-10-04 11:19:30 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/42340</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>467961</attachid>
            <date>2023-09-28 15:39:59 -0700</date>
            <delta_ts>2023-09-28 15:39:59 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>self-align-baseline-with-subgrid-mbp.html</filename>
            <type>text/html</type>
            <size>1168</size>
            <attacher name="Sammy Gill">sgill26</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPGxpbmsgcmVsPSJhdXRob3IiIHRpdGxlPSJT
YW1teSBHaWxsIiBocmVmPSJtYWlsdG86c2FtbXkuZ2lsbEBhcHBsZS5jb20iPgo8bWV0YSBuYW1l
PSJhc3NlcnQiIGNvbnRlbnQ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