<?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>283598</bug_id>
          
          <creation_ts>2024-11-22 15:05:34 -0800</creation_ts>
          <short_desc>This &lt;dialog&gt; test case triggers the &quot;dirty layout&quot; assertion</short_desc>
          <delta_ts>2025-01-18 11:13:28 -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>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>DUPLICATE</resolution>
          <dup_id>285534</dup_id>
          
          <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="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>ntim</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>2077148</commentid>
    <comment_count>0</comment_count>
      <attachid>473346</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2024-11-22 15:05:34 -0800</bug_when>
    <thetext>Created attachment 473346
Test

Loading the attached file in MiniBrowser triggers the dirty layout assertion:

ERROR: post-layout: dirty renderer(s)
/Volumes/Data/Development/system/webkit/OpenSource/Source/WebCore/page/LocalFrameViewLayoutContext.cpp(92) : auto WebCore::RenderTreeNeedsLayoutChecker::~RenderTreeNeedsLayoutChecker()::(anonymous class)::operator()(const RenderObject &amp;) const

(B)lock/(I)nline/I(N)line-block, (A)bsolute/Fi(X)ed/(R)elative/Stic(K)y, (F)loating, (O)verflow clip, Anon(Y)mous, (G)enerated, has(L)ayer, hasLayer(S)crollableArea, (C)omposited, Content-visibility:(H)idden/(A)uto, (S)kipped content, (+)Dirty style, (+)Dirty layout
B---YGLSC-- --  RenderView at (0,0) size 1346x1114 renderer (0x13e00b990) layout box (0x0) layout id-&gt;[2]
B-----LS--- --    HTML RenderBlock at (0,0) size 1346x1114 renderer (0x13e013b10) layout box (0x0) node (0x13e0096d0) layout id-&gt;[1]
B---------- --      BODY RenderBody at (8,8) size 1330x1098 renderer (0x13e0140b0) layout box (0x0) node (0x13e007990) layout id-&gt;[1]
BA-O--LS--- -+*       DIALOG RenderBlock at (646,0) size 38x38 renderer (0x13e01d750) layout box (0x0) node (0x13e03f000) layout-&gt;[self] layout id-&gt;[1]
B--O--LS--- --          DIV RenderBlock at (19,19) size 0x0 renderer (0x13e01da20) layout box (0x0) node (0x13e01d060) layout id-&gt;[1]
BX--YGL---- --    RenderBlock (::backdrop) at (0,0) size 1346x1114 renderer (0x13e01dcf0) layout box (0x0) layout id-&gt;[2]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077149</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-11-22 15:05:44 -0800</bug_when>
    <thetext>&lt;rdar://problem/140442684&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2078546</commentid>
    <comment_count>2</comment_count>
      <attachid>473428</attachid>
    <who name="alan">zalan</who>
    <bug_when>2024-12-02 10:33:37 -0800</bug_when>
    <thetext>Created attachment 473428
A slightly simpler test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2088320</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-01-18 11:13:28 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 285534 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>473346</attachid>
            <date>2024-11-22 15:05:34 -0800</date>
            <delta_ts>2024-11-22 15:05:34 -0800</delta_ts>
            <desc>Test</desc>
            <filename>dialog-overflow-descendant.html</filename>
            <type>text/html</type>
            <size>266</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PHN0eWxlPgogIGRpYWxvZyB7CiAgICBwb3NpdGlvbjogaW5pdGlhbDsKICAgIGRpc3BsYXk6IGJs
b2NrOwogIH0KICAuYm94IHsKICAgIG92ZXJmbG93OiBoaWRkZW47CiAgfQo8L3N0eWxlPgo8c2Ny
aXB0PgogIG9ubG9hZCA9ICgpID0+IHsKICAgICAgc2V0VGltZW91dCgoKSA9PiB7CiAgICAgICAg
ICBkLnNob3dNb2RhbCgpOwogICAgICB9LCAyNTApOwogIH07Cjwvc2NyaXB0Pgo8ZGlhbG9nIGlk
PSJkIj48ZGl2IGNsYXNzPSJib3giPjwvZGl2PjwvZGlhbG9nPgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>473428</attachid>
            <date>2024-12-02 10:33:37 -0800</date>
            <delta_ts>2024-12-02 10:33:37 -0800</delta_ts>
            <desc>A slightly simpler test case</desc>
            <filename>283598.html</filename>
            <type>text/html</type>
            <size>151</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">PHN0eWxlPgpkaWFsb2cgewogIHBvc2l0aW9uOiBzdGF0aWM7CiAgZGlzcGxheTogYmxvY2s7Cn0K
PC9zdHlsZT48ZGlhbG9nIGlkPSJkIj48L2RpYWxvZz48c2NyaXB0Pgpkb2N1bWVudC5ib2R5Lm9m
ZnNldEhlaWdodDsKZC5zaG93TW9kYWwoKTsKPC9zY3JpcHQ+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>