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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #container {
4 position: relative;
5 }
6 .square {
7 width: 100px;
8 height: 100px;
9 background-color: blue;
10 position: absolute;
11 }
12 .right {
13 left: 120px;
14 }
15 </style>
16 <p>You should see two blue squares below.</p>
17 <div id="container">
18 <div class="square"></div>
19 <div class="square right"></div>
20 </div>
OLDNEW
« 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