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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/legend-small-after-margin-before-border-horizontal-mode.html

Issue 1528823002: Move tests related to <fieldset> and <legend> to fast/forms/fieldset. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 <html>
3 <head>
4 <style>
5 legend {
6 background: #fc0;
7 margin-bottom: 30px;
8 font: 10px Ahem;
9 }
10 fieldset {
11 border-top: 70px solid #ddd;
12 background: #ddd;
13 }
14 p { margin-top: 0px; }
15 </style>
16 <body>
17 <p>bug <a href="https://bugs.webkit.org/show_bug.cgi?id=35981">35981</a>: Can't apply a bottom-margin to the legend element</p>
18 <form>
19 <fieldset>
20 <legend>xxxx</legend>
21 <p>There should be no gap above as the legend's margin bottom should be collapsed into the fieldset's border.</p>
22 </fieldset>
23 </form>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698