<?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>234980</bug_id>
          
          <creation_ts>2022-01-07 13:02:15 -0800</creation_ts>
          <short_desc>Various RenderLayer issue with &lt;dialog&gt;</short_desc>
          <delta_ts>2022-01-19 12:26:20 -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>CONFIGURATION CHANGED</resolution>
          
          
          <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>84635</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Nobody">webkit-unassigned</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>1829041</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-01-07 13:02:15 -0800</bug_when>
    <thetext>Why?

- Avoid a myriad of establishesTopLayer() checks over the place
- Avoids needing to think about top layer later on


Tasks:
- Make RenderLayer::addChild/updateLayerPosition and anything else that relies on renderer hierarchy
- Need to look into a bunch of new assertions
- Fix visibility code to not be affected by layer reparenting (DOM/flat tree hierarchy should be followed for visibility, like for display)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1830638</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-01-13 11:08:30 -0800</bug_when>
    <thetext>&lt;rdar://problem/87560426&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1830991</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-01-14 11:44:54 -0800</bug_when>
    <thetext>These are the ancestor tree walks I&apos;ve found that need thinking about in terms of top layer:

    setAncestorChainHasSelfPaintingLayerDescendant
    setAncestorChainHasVisibleDescendant

    SVGRenderingContext::calculateTransformationToOutermostCoordinateSystem

    enclosingScrollableLayer()

    RenderElement::moveLayers
    RenderElement::findNextLayer

    traverseAncestorLayers
    enclosingFragmentedFlowAncestor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1832137</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-01-19 12:08:24 -0800</bug_when>
    <thetext>I think all the examples above are taken care of by RenderLayer reparenting (fixed in bug 235194).

So the only remaining issue is an incorrect opacity computation in ContentChangeObserver::isVisuallyHidden() (bug 235240).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1832143</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-01-19 12:20:56 -0800</bug_when>
    <thetext>Closing since this is covered by other bugs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>