<?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>182292</bug_id>
          
          <creation_ts>2018-01-30 06:53:02 -0800</creation_ts>
          <short_desc>WPT tests cssom-view/scrollingElement-quirks-dynamic-*.html fail</short_desc>
          <delta_ts>2023-03-17 10:34:22 -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>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.chromium.org/p/chromium/issues/detail?id=665927</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>
          <dependson>170713</dependson>
          <blocked>5991</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Frédéric Wang Nélar">fred.wang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1394528</commentid>
    <comment_count>0</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2018-01-30 06:53:02 -0800</bug_when>
    <thetext>These were imported in bug 170713 and marked as failing. Current patches for bug 182230 and bug 182053 do not help. I&apos;m opening this for the record.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394530</commentid>
    <comment_count>1</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2018-01-30 06:57:12 -0800</bug_when>
    <thetext>https://trac.webkit.org/changeset/227785/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1397123</commentid>
    <comment_count>2</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2018-02-07 01:50:45 -0800</bug_when>
    <thetext>For the record, these WPT tests were added by Chromium developers in https://bugs.chromium.org/p/chromium/issues/detail?id=665927

The problem is that OverflowClip on the body depends on the one on the html element (see RenderBox::updateFromStyle()) so it makes handling dynamic update a bit more complicated. See especially https://bugs.chromium.org/p/chromium/issues/detail?id=665927#c23

In the patch for bug 182053, I&apos;m using computedStyle() to determine the scrollingElement, which allows to always return the correct value. However, the CSS used values for overflow may still be incorrect after dynamic change which is why these tests are failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896081</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-03 14:24:05 -0700</bug_when>
    <thetext>Safari Technology Preview 152 still fail these two tests and is the only browser to fail them:

https://wpt.fyi/results/css/cssom-view?label=master&amp;label=experimental&amp;aligned&amp;view=subtest&amp;q=scrollingElement-quirks-dynamic-

Just wanted to share updated status. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896105</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-03 17:04:04 -0700</bug_when>
    <thetext>&lt;rdar://problem/99533462&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1942135</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-03-17 10:34:22 -0700</bug_when>
    <thetext>Also to consider - https://chromium.googlesource.com/chromium/blink/+/f19705cd7cadd77ff1d612396f5ccd2fa4e725a0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>