Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-right-auto-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-right-auto-expected.txt b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-right-auto-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..660be3e64f8b0eaa9ac4c8e8e6636d7641551236 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-right-auto-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 return minus the value of left as right when right is auto. |
+ |
+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 right should be negative |
+bottom and right should be negative |