<?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>239946</bug_id>
          
          <creation_ts>2022-05-01 13:07:56 -0700</creation_ts>
          <short_desc>[css-overflow] an element&apos;s scrolling area must include the margin bottom of its last descendant</short_desc>
          <delta_ts>2024-01-03 13:50: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>CSS</component>
          <version>Safari 15</version>
          <rep_platform>All</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://wpt.live/css/css-overflow/margin-block-end-scroll-area-001.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gérard Talbot (no longer involved)">browserbugs2</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</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>1865731</commentid>
    <comment_count>0</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2022-05-01 13:07:56 -0700</bug_when>
    <thetext>Description
- - - - - -
The bottom edge of an element&apos;s scrolling area is the bottom margin edge of all of the element&apos;s descendants boxes. Therefore, an element&apos;s scrolling area height must include the margin bottom of its last descendant.


Tests
-----

WPT Test:
http://wpt.live/css/css-overflow/margin-block-end-scroll-area-001.html


Reference:
http://wpt.live/css/css-overflow/reference/ref-if-there-is-no-red.xht


Test results:
https://wpt.fyi/results/css/css-overflow/margin-block-end-scroll-area-001.html?label=master

https://wpt.fyi/results/css/css-overflow/margin-block-end-scroll-area-001.html?label=experimental


Blink equivalent bug report:
https://bugs.chromium.org/p/chromium/issues/detail?id=750992


The test fails with Epiphany 3.38.2 (WebKitGTK 2.36.0).

A green-versus-red variation of the test above:

http://www.gtalbot.org/BrowserBugsSection/CSS3LogicalProps/margin-block-end-scroll-area-002.html


Related specs
- - - - - - -

2.2 Scrollable Overflow
https://www.w3.org/TR/css-overflow-3/#scrollable

6. Extensions to the Element Interface; scrollTop attribute
https://www.w3.org/TR/cssom-view-1/#dom-element-scrolltop

Scrolling area definition
https://www.w3.org/TR/cssom-view-1/#scrolling-area</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867535</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-08 13:08:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/92928629&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>