Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html

Issue 1407543003: Preliminary paint property walk implementation for SPv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test fixture Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html
diff --git a/third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html b/third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html
new file mode 100644
index 0000000000000000000000000000000000000000..1fe42ddd93d17dc6992fa6bc46a62068bf2c907a
--- /dev/null
+++ b/third_party/WebKit/Source/core/paint/paint_property_tree_builder_tests/fixed-position.html
@@ -0,0 +1,38 @@
+<style>
jbroman 2015/10/16 14:46:51 If you do this (I'll defer to pdr), please add the
trchen 2015/10/20 05:11:47 WontFix (obsolete)
+.positioned-scroll {
+ position: absolute;
+ left: 100px;
+ top: 50px;
+ width: 400px;
+ height: 300px;
+ overflow: scroll;
+}
+
+.bloat {
+ height: 10000px;
+}
+
+.fixed {
+ position: fixed;
+ left: 200px;
+ top: 150px;
+ width: 100px;
+ height: 100px;
+}
+
+.transformed-scroll {
+ transform: scaleX(2);
+ width: 400px;
+ height: 300px;
+ overflow: scroll;
+}
+</style>
+<div class="positioned-scroll">
+ <div class="bloat"></div>
+ <div class="fixed"></div>
+</div>
+<div class="transformed-scroll">
+ <div class="bloat"></div>
+ <div class="fixed"></div>
+</div>
+This test verifies fixed-position elements correctly skip scrolling and adhere to transformed container.

Powered by Google App Engine
This is Rietveld 408576698