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

Side by Side Diff: LayoutTests/fast/css/vertical-lr-bfc-auto-margins-beside-float.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 width: 200px; height: 50px;
5 background-color: orange;
6 }
7
8 #float {
9 float: left;
10 width: 50px; height: 50px; background: blue;
11 }
12
13 #vertical {
14 width: 50px; height: 50px;
15 -webkit-writing-mode: vertical-rl;
16 overflow: hidden;
17 margin: 0 auto;
18 background: blue;
19 }
20 </style>
21 <p>You should see four equally sized squares below. Two blue, and two orange.</p >
22 <div id="container">
23 <div id="float"></div>
24 <div id="vertical"></div>
25 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698