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

Side by Side Diff: LayoutTests/fast/css/vertical-lr-table-percent-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 #verticalTable {
14 display: table;
15 width: 50px; height: 50px;
16 -webkit-writing-mode: vertical-rl;
17 overflow: hidden;
18 margin-left: 50%;
19 background: blue;
20 }
21 </style>
22 <p>You should see four equally sized squares below. Two blue, and two orange.</p >
23 <div id="container">
24 <div id="float"></div>
25 <div id="verticalTable"></div>
26 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698