forked from mirrors/gecko-dev
Automatic update from web-platform-tests [css-anchor-position] Create scroll node for scrolled overflow:hidden This makes sure cc::TransformTree::AnchorPositionOffset can get the scroll offset of scrolled overflow:hidden adjustment containers. Bug: 332331854 Change-Id: Ib3c0c49af5746714c94a03e0ae25574df3b50f91 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5503383 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1296415} -- wpt-commits: 64239846dce758e97b7b307bb330edb3f55cf296 wpt-pr: 46046
37 lines
622 B
HTML
37 lines
622 B
HTML
<!DOCTYPE html>
|
|
<link rel="stylesheet" href="/fonts/ahem.css">
|
|
<style>
|
|
body {
|
|
font: 20px/1 Ahem;
|
|
margin: 0;
|
|
}
|
|
|
|
#placefiller-above-anchor {
|
|
height: 200px;
|
|
}
|
|
|
|
#placefiller-before-anchor {
|
|
display: inline-block;
|
|
width: 50px;
|
|
}
|
|
|
|
#inner-anchored {
|
|
color: green;
|
|
position: fixed;
|
|
left: 70px;
|
|
top: 180px;
|
|
}
|
|
|
|
#outer-anchored {
|
|
color: yellow;
|
|
position: fixed;
|
|
left: 70px;
|
|
top: 220px;
|
|
}
|
|
</style>
|
|
|
|
<div id="placefiller-above-anchor"></div>
|
|
<div id="placefiller-before-anchor"></div>
|
|
<span id="anchor">anchor</span>
|
|
<div id="inner-anchored">inner-anchored</div>
|
|
<div id="outer-anchored">outer-anchored</div>
|