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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/fieldset/inline-legend.html

Issue 1581173003: Allow to set display "inline" on legend element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix crash and 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
OLDNEW
1 <!DOCTYPE html>
1 <html> 2 <html>
2 <head> 3 <head>
3 <script> 4 <script>
4 if (window.testRunner) { 5 if (window.testRunner) {
5 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
6 } 7 }
7 </script> 8 </script>
8 </head> 9 </head>
9 <body> 10 <body>
10 <p> 11 <p>
11 » This test confirms that <kbd>legend</kbd> element can not be made inl ine. 12 » This test confirms that <kbd>legend</kbd> element can be made inline.
12 » The next two sentences should be on separate lines. 13 » The next two sentences should be on the same line.
13 </p> 14 </p>
14 <form> 15 <form>
15 <fieldset> 16 <fieldset>
16 <legend style="display:inline">Mary had a little lamb.</ legend> 17 <legend style="display:inline">Mary had a little lamb.</ legend>
17 It was white as snow. 18 It was white as snow.
18 </fieldset> 19 </fieldset>
19 </form> 20 </form>
20 </body> 21 </body>
21 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698