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

Unified Diff: LayoutTests/fast/css/bfc-percentage-margin-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/bfc-percentage-margin-expected.html
diff --git a/LayoutTests/fast/css/bfc-percentage-margin-expected.html b/LayoutTests/fast/css/bfc-percentage-margin-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..648ef8b1505351f58b5b1ff152fce419568e2b4d
--- /dev/null
+++ b/LayoutTests/fast/css/bfc-percentage-margin-expected.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+#container {
+ position: relative;
+}
+.square {
+ width: 100px;
+ height: 100px;
+ background-color: blue;
+ position: absolute;
+}
+.right {
+ left: 120px;
+}
+</style>
+<p>You should see two blue squares below.</p>
+<div id="container">
+ <div class="square"></div>
+ <div class="square right"></div>
+</div>
« no previous file with comments | « LayoutTests/fast/css/bfc-percentage-margin.html ('k') | LayoutTests/fast/css/vertical-lr-bfc-auto-margins-beside-float.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698