gecko-dev/servo/tests/html/nested-fixed-position.html
Patrick Walton 46e11f6e68 servo: Merge #10529 - layout: Make child stacking contexts of fixed position stacking contexts also fixed position (from pcwalton:nested-fixed-position-webrender); r=glennw
Improves YouTube.
Improves the Washington Post.

Closes #10526.

r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 150338503dce8f2ba7f2a6850dca253733a636a1
2016-04-12 10:09:11 +05:01

8 lines
311 B
HTML

<!DOCTYPE html>
<body style="height: 2000px; background: linear-gradient(to bottom, white, black)">
<div style="position: fixed; top: 0; right: 0; left: 0;">
<div style="position: absolute; left: 0; right: 0; height: 40px; overflow: hidden;">
This text should <em>not</em> scroll.
</div>
</div>