diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-12 10:38:11 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-12 10:38:11 +0530 |
commit | 150338503dce8f2ba7f2a6850dca253733a636a1 (patch) | |
tree | 788367d84e53d9f41ee7cb815c80cac4c3137d4c /tests/html | |
parent | a61fc5285fa00915d538a9672c04030804f7db2d (diff) | |
parent | 8cc3e0660b343009780b7e33147bd6e966342011 (diff) | |
download | servo-150338503dce8f2ba7f2a6850dca253733a636a1.tar.gz servo-150338503dce8f2ba7f2a6850dca253733a636a1.zip |
Auto merge of #10529 - pcwalton:nested-fixed-position-webrender, r=glennw
layout: Make child stacking contexts of fixed position stacking contexts also fixed position.
Improves YouTube.
Improves the Washington Post.
Closes #10526.
r? @glennw
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10529)
<!-- Reviewable:end -->
Diffstat (limited to 'tests/html')
-rw-r--r-- | tests/html/nested-fixed-position.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/html/nested-fixed-position.html b/tests/html/nested-fixed-position.html new file mode 100644 index 00000000000..2810dbf8599 --- /dev/null +++ b/tests/html/nested-fixed-position.html @@ -0,0 +1,7 @@ +<!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> |