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

Unified Diff: LayoutTests/css3/flexbox/percent-margins-padding-expected.txt

Issue 385583005: For flex items, percent paddings should resolve against their respective dimension Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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: LayoutTests/css3/flexbox/percent-margins-padding-expected.txt
diff --git a/LayoutTests/css3/flexbox/percent-margins-padding-expected.txt b/LayoutTests/css3/flexbox/percent-margins-padding-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44204a798b351a8342aa9827ccef48117eea5e8e
--- /dev/null
+++ b/LayoutTests/css3/flexbox/percent-margins-padding-expected.txt
@@ -0,0 +1,21 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS window.getComputedStyle(document.getElementById("flexItem1"),null).getPropertyValue("padding-top") is "10px"
+PASS window.getComputedStyle(document.getElementById("flexItem1"),null).getPropertyValue("padding-bottom") is "10px"
+PASS window.getComputedStyle(document.getElementById("flexItem1"),null).getPropertyValue("padding-left") is "78.390625px"
+PASS window.getComputedStyle(document.getElementById("flexItem1"),null).getPropertyValue("padding-right") is "78.390625px"
+PASS window.getComputedStyle(document.getElementById("flexItem2"),null).getPropertyValue("padding-top") is "8px"
+PASS window.getComputedStyle(document.getElementById("flexItem2"),null).getPropertyValue("padding-bottom") is "8px"
+PASS window.getComputedStyle(document.getElementById("flexItem2"),null).getPropertyValue("padding-left") is "313.59375px"
+PASS window.getComputedStyle(document.getElementById("flexItem2"),null).getPropertyValue("padding-right") is "313.59375px"
+PASS window.getComputedStyle(document.getElementById("flexItem3"),null).getPropertyValue("padding-top") is "6px"
+PASS window.getComputedStyle(document.getElementById("flexItem3"),null).getPropertyValue("padding-bottom") is "6px"
+PASS window.getComputedStyle(document.getElementById("flexItem3"),null).getPropertyValue("padding-left") is "235.1875px"
+PASS window.getComputedStyle(document.getElementById("flexItem3"),null).getPropertyValue("padding-right") is "235.1875px"
+Pasta batman
+PASS
+Pasta batman
+PASS
+Pasta batman
+PASS

Powered by Google App Engine
This is Rietveld 408576698