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/block/basic/fieldset-with-legend.html

Issue 1173853005: LayoutFieldSet::computePreferredLogicalWidths uses marginLeft for marginRight by mistake Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding Layout Tests after removing the functions Created 5 years, 5 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 <style>
2 legend { height: 10px; border: 1px solid blue; }
3 fieldset { margin-bottom: 10px;border: 2px solid green; }
4 div.rel { position: relative; height: 100px;border:2px solid red; }
5 </style>
6 <body>
7 <div class="rel" style="width: 500px;">
8 <fieldset style="position: absolute;margin-left:20px;">
9 <legend style="width: 150px;margin-left:10px;margin-right:20px"></le gend>
10 <h1 style="background-color:green;margin:5px">HEADING 1</h1>
11 </fieldset>
12 </div>
13 <div class="rel" style="width: 500px;">
14 <fieldset style="position: absolute;margin-left:40px;">
15 <legend style="width: 150px;margin-left:10px;margin-right:20px"></le gend>
16 <h1 style="background-color:green;margin:5px">HEADING 1</h1>
17 </fieldset>
18 </div>
19 <div class="rel" style="width: 500px;margin-left :20px;">
20 <fieldset style="position: absolute;margin-left:-20px;">
21 <legend style="width: 150px;margin-left:10px;margin-right:20px"></le gend>
22 <h1 style="background-color:green;margin:5px">HEADING 1</h1>
23 </fieldset>
24 </div>
25 <div class="rel" style="width: 500px;">
26 <fieldset style="position: absolute;width:500px;margin-left:20px;margin- right:20px;">
27 <legend style="width: 150px;margin-left:10px;margin-right:20px"></le gend>
28 <h1 style="background-color:green;margin:5px">HEADING 1</h1>
29 </fieldset>
30 </div>
31 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/block/basic/fieldset-with-legend-expected.png » ('j') | Source/core/layout/LayoutFieldset.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698