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..7c45d8fe7b12f6c835b63dacd4f047b97a96288f |
--- /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, botton and left should be negative |
+bottom and left should be negative |