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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/scaled-overflow.html

Issue 2416453006: Use the pixelSnappedScrollWidth/Height for contentsSize (Closed)
Patch Set: Spv2 expectations Created 4 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/LayoutTests/compositing/overflow/scaled-overflow.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/scaled-overflow.html b/third_party/WebKit/LayoutTests/compositing/overflow/scaled-overflow.html
new file mode 100644
index 0000000000000000000000000000000000000000..0c6d9896bcf18a7e94de2d3e063f74a5d805a494
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/scaled-overflow.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<style>
+ body {
+ background: black;
+ transform: scale(0.75);
+ transform-origin: top left;
+ }
+
+ .scroller {
+ position: relative;
+ overflow: scroll;
+ width: 150px;
+ height: 150px;
+ background: white local;
+ }
+
+ .b {
+ left: 1px;
+ top: 10px;
+ }
+
+ .c {
+ left: 2px;
+ top: 20px;
+ }
+
+ .spacer {
+ height: 400px;
+ }
+</style>
+<div class="scroller"><div class="spacer"></div></div>
+<div class="scroller b"><div class="spacer"></div></div>
+<div class="scroller c"><div class="spacer"></div></div>

Powered by Google App Engine
This is Rietveld 408576698