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

Unified Diff: LayoutTests/fast/css/absolute-position-with-negative-width-expected.txt

Issue 578723003: Don't allow negative width for positioned elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a test Created 6 years, 3 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/fast/css/absolute-position-with-negative-width-expected.txt
diff --git a/LayoutTests/fast/css/absolute-position-with-negative-width-expected.txt b/LayoutTests/fast/css/absolute-position-with-negative-width-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b695a9b9f0a3075ed27a50572fb034c9a14dcb8c
--- /dev/null
+++ b/LayoutTests/fast/css/absolute-position-with-negative-width-expected.txt
@@ -0,0 +1,10 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS absolute_with_left_right.getBoundingClientRect().width is 0
+PASS absolute_with_left_right.getClientRects()[0].width is 0
+PASS absolute_with_left_right.offsetWidth is 0
+PASS absolute_with_negative_width.getBoundingClientRect().width is 0
+PASS absolute_with_negative_width.getClientRects()[0].width is 0
+PASS absolute_with_negative_width.offsetWidth is 0
+

Powered by Google App Engine
This is Rietveld 408576698