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

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's some parts commented by esprehn 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 <style>
3 fieldset {
4 float: left;
5 }
6 legend {
7 font: 10px Ahem;
8 }
9 legend.left {
10 margin-left: 100px;
11 }
12 legend.right {
13 margin-right: 100px;
14 }
15 </style>
16 <fieldset>
17 <legend id="first" class="left">Legend</legend>
18 </fieldset>
19 <fieldset>
20 <legend id="second" class="right">Legend</legend>
21 </fieldset>
22 <script src="../../../resources/js-test.js"></script>
23 <script>
24 var legend = document.getElementById("second");
25 shouldBeEqualToNumber("legend.getBoundingClientRect().left", 220);
26 </script>
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