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

Unified Diff: LayoutTests/fast/css/vertical-lr-table-percent-margins-beside-float-expected.html

Issue 185723005: Use correct container width as base for percentage margins. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added requested table test. Created 6 years, 9 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/vertical-lr-table-percent-margins-beside-float-expected.html
diff --git a/LayoutTests/fast/css/vertical-lr-table-percent-margins-beside-float-expected.html b/LayoutTests/fast/css/vertical-lr-table-percent-margins-beside-float-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..8215c1433c153396d301f063bf768af8f06ef935
--- /dev/null
+++ b/LayoutTests/fast/css/vertical-lr-table-percent-margins-beside-float-expected.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<style>
+#container {
+ width: 200px; height: 50px;
+ background-color: orange;
+ position: relative;
+}
+
+.square {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 50px;
+ height: 50px;
+ background-color: blue;
+}
+
+.second {
+ left: 100px;
+}
+</style>
+<p>You should see four equally sized squares below. Two blue, and two orange.</p>
+<div id="container">
+ <div class="square"></div>
+ <div class="second square"></div>
+</div>
« no previous file with comments | « LayoutTests/fast/css/vertical-lr-table-percent-margins-beside-float.html ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698