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

Unified Diff: LayoutTests/css3/viewport-percentage-lengths/viewport-percentage-lengths-resize-expected.txt

Issue 82083002: Move viewport unit resolution to style recalc time (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased :\ Created 7 years 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: LayoutTests/css3/viewport-percentage-lengths/viewport-percentage-lengths-resize-expected.txt
diff --git a/LayoutTests/css3/viewport-percentage-lengths/viewport-percentage-lengths-resize-expected.txt b/LayoutTests/css3/viewport-percentage-lengths/viewport-percentage-lengths-resize-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccd04cea646a50193b8440741909a3188afffd42
--- /dev/null
+++ b/LayoutTests/css3/viewport-percentage-lengths/viewport-percentage-lengths-resize-expected.txt
@@ -0,0 +1,35 @@
+PASS window.innerWidth is 800
+PASS window.innerHeight is 600
+PASS getComputedStyle(test).fontSize is '30px'
+PASS getComputedStyle(test).width is '400px'
+PASS getComputedStyle(testpseudo, ':after').marginLeft is '120px'
+PASS getComputedStyle(testshadow).borderRightWidth is '80px'
+PASS window.innerWidth is 900
+PASS window.innerHeight is 600
+PASS getComputedStyle(test).fontSize is '30px'
+PASS getComputedStyle(test).width is '450px'
+PASS getComputedStyle(testpseudo, ':after').marginLeft is '120px'
+PASS getComputedStyle(testshadow).borderRightWidth is '90px'
+PASS window.innerWidth is 900
+PASS window.innerHeight is 700
+PASS getComputedStyle(test).fontSize is '35px'
+PASS getComputedStyle(test).width is '450px'
+PASS getComputedStyle(testpseudo, ':after').marginLeft is '140px'
+PASS getComputedStyle(testshadow).borderRightWidth is '90px'
+PASS window.innerWidth is 500
+PASS window.innerHeight is 700
+PASS getComputedStyle(test).fontSize is '35px'
+PASS getComputedStyle(test).width is '250px'
+PASS getComputedStyle(testpseudo, ':after').marginLeft is '100px'
+PASS getComputedStyle(testshadow).borderRightWidth is '70px'
+PASS window.innerWidth is 800
+PASS window.innerHeight is 600
+PASS getComputedStyle(test).fontSize is '30px'
+PASS getComputedStyle(test).width is '400px'
+PASS getComputedStyle(testpseudo, ':after').marginLeft is '120px'
+PASS getComputedStyle(testshadow).borderRightWidth is '80px'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This test of viewport units and resizing depends on window.resizeTo.
+

Powered by Google App Engine
This is Rietveld 408576698