Skip to content

Commit d5b2159

Browse files
committed
[cssom-view-1] Capturing more weird quirks, per WG resolution. Fixes w3c#5601.
1 parent af80591 commit d5b2159

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cssom-view-1/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,10 @@ revision of CSS or HTML.
10131013

10141014
1. If the {{Document}} is in <a>quirks mode</a>, follow these substeps:
10151015
1. If <a>the HTML <code>body</code> element</a> exists, and it is not <a>potentially scrollable</a>, return <a>the HTML <code>body</code> element</a> and abort these steps.
1016+
1017+
For this purpose,
1018+
a value of ''overflow:clip'' on the <a>the HTML <code>body</code> element</a>'s parent element
1019+
must be treated as ''overflow:hidden''.
10161020
1. Return null and abort these steps.
10171021
1. If there is a root element, return the root element and abort these steps.
10181022
1. Return null.

0 commit comments

Comments
 (0)