gecko-dev/layout/reftests/position-sticky/iframe-1.html
Kartikaya Gupta 3c38110bd3 Bug 1406217 - Fix computation of scrollframe's offset to the reference frame. r=mstange
We need to get the offset across documents boundaries, since the scrollframe
might be inside a subdocument. In such cases we were previously computing
a (incorrect) zero offset for the scrollframe, which was throwing off the
margin for the sticky items inside the scrollframe.

MozReview-Commit-ID: AWeQ9ay2cmp

--HG--
extra : rebase_source : 7dd8eda26c482cc359042d79073740524efa792a
2017-10-31 09:04:04 -04:00

16 lines
396 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Sticky-positioned item inside a scrollframe inside an iframe</title>
<style>
html, body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<iframe src="iframe-1-helper.html" style="margin-top: 100px; border: none; height: 300px"></iframe>
</body>
</html>