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

Side by Side Diff: LayoutTests/fast/css/bfc-percentage-margin.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
« no previous file with comments | « no previous file | LayoutTests/fast/css/bfc-percentage-margin-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #container {
4 width: 400px;
5 }
6
7 .square {
8 width: 100px;
9 height: 100px;
10 background-color: blue;
11 }
12
13 #float {
14 float: left;
15 }
16
17 #bfc {
18 margin-left: 30%;
19 overflow: hidden;
20 }
21 </style>
22 <p>You should see two blue squares below.</p>
23 <div id="container">
24 <div id="float" class="square"></div>
25 <div id="bfc" class="square"></div>
26 </div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/bfc-percentage-margin-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698