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

Side by Side Diff: LayoutTests/fast/css/vertical-lr-table-percent-margins-beside-float-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 width: 200px; height: 50px;
5 background-color: orange;
6 position: relative;
7 }
8
9 .square {
10 position: absolute;
11 top: 0;
12 left: 0;
13 width: 50px;
14 height: 50px;
15 background-color: blue;
16 }
17
18 .second {
19 left: 100px;
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 class="square"></div>
25 <div class="second square"></div>
26 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/vertical-lr-table-percent-margins-beside-float.html ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698