OLD | NEW |
| 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> |
OLD | NEW |