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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-over-constrained-expected.txt

Issue 1988813002: getComputedStyle should handle over-constrained properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test case's expected file Created 4 years, 7 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/fast/css/getComputedStyle/getComputedStyle-over-constrained-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-over-constrained-expected.txt b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-over-constrained-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d5c733cc6023b7599cdfc201aaec3d6d507c811
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-over-constrained-expected.txt
@@ -0,0 +1,17 @@
+PASS window.getComputedStyle(ltrElement).top is '5px'
+PASS window.getComputedStyle(ltrElement).right is '-5px'
+PASS window.getComputedStyle(ltrElement).bottom is '-5px'
+PASS window.getComputedStyle(ltrElement).left is '5px'
+PASS window.getComputedStyle(rtlElement).top is '5px'
+PASS window.getComputedStyle(rtlElement).right is '5px'
+PASS window.getComputedStyle(rtlElement).bottom is '-5px'
+PASS window.getComputedStyle(rtlElement).left is '-5px'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+getComputedStyle should handle over-constrained properties.
+
+If direction of containing block is ltr, bottom and right should be negative
+bottom and right should be negative
+If direction of containing block is rtl, bottom and left should be negative
+bottom and left should be negative

Powered by Google App Engine
This is Rietveld 408576698