fune/testing/web-platform/tests/css/css-overflow/overflow-no-frameset-propagation.html
Blink WPT Bot be1ca0df48 Bug 1707199 [wpt PR 28660] - Don't propagate frameset CSS properties to the viewport, a=testonly
Automatic update from web-platform-tests
Don't propagate frameset CSS properties to the viewport (#28660)

Document::body() will return the <frameset> element for documents where
a frameset is found before body and the frameset is rendered.

Do not propagate any properties from the frameset for viewport
propagation as the specifications[1][2][3] explicitly talks about the
body element.

[1] https://drafts.csswg.org/css-writing-modes/#principal-flow
[2] https://drafts.csswg.org/css-overflow/#overflow-propagation
[3] https://drafts.csswg.org/css-backgrounds-3/#body-background

Change-Id: I8f817ff618ec732322f80f741cfb3a4f2bb7c32a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2842016
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#875657}

Co-authored-by: Rune Lillesveen <futhark@chromium.org>
--

wpt-commits: 86b64a4f22cfac8583370a8510cc142c88852c03
wpt-pr: 28660
2021-04-24 15:48:14 +00:00

6 lines
380 B
HTML

<!doctype html>
<title>CSS Overflow Test: Frameset overflow does not propagate to viewport</title>
<meta name="assert" content="The computed overflow should not propagate from frameset to thte viewport">
<link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation">
<link rel="match" href="/common/blank.html">
<frameset style="overflow:scroll"></frameset>