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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/fieldset/legend-margin-with-float.html

Issue 1583083003: Fieldset uses marginLeft for marginRight by mistake (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: modify test case Created 4 years, 11 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 | third_party/WebKit/LayoutTests/fast/forms/fieldset/legend-margin-with-float-expected.txt » ('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 <html>
3 <head>
esprehn 2016/01/20 08:59:57 Leave out html, head
4 <style>
5 fieldset {
6 float: left;
7 }
8 legend {
9 font: 10px Ahem;
10 }
11 legend.left {
12 margin-left: 100px;
13 }
14 legend.right {
15 margin-right: 100px;
16 }
17 </style>
18 </head>
19 <body>
esprehn 2016/01/20 08:59:57 leave out body
20 <fieldset>
21 <legend id="first" class="left">Legend</legend>
22 </fieldset>
23 <fieldset>
24 <legend id="second" class="right">Legend</legend>
25 </fieldset>
26 <script src="../../../resources/js-test.js"></script>
27 <script>
28 var legend = document.getElementById('second');
esprehn 2016/01/20 08:59:57 double quotes
29 shouldBeEqualToNumber("legend.getBoundingClientRect().left", 220);
30 </script>
31 </body>
32 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/fieldset/legend-margin-with-float-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698