| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <style> | 5 <style> |
| 6 fieldset { | 6 fieldset { |
| 7 position: relative; | 7 position: relative; |
| 8 padding-top: 30px; | 8 padding-top: 30px; |
| 9 padding-left: 0px; | 9 padding-left: 0px; |
| 10 padding-right: 0px; | 10 padding-right: 0px; |
| 11 width: 200px; | 11 width: 200px; |
| 12 border: 1px solid green; | 12 border: 1px solid green; |
| 13 } | 13 } |
| 14 legend { | 14 legend { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 25 <legend id="legend">Legend</legend> | 25 <legend id="legend">Legend</legend> |
| 26 <div>Fieldset content</div> | 26 <div>Fieldset content</div> |
| 27 </fieldset> | 27 </fieldset> |
| 28 </body> | 28 </body> |
| 29 <script> | 29 <script> |
| 30 description("This test checks the absolute postioned legend element to honor aut
o width."); | 30 description("This test checks the absolute postioned legend element to honor aut
o width."); |
| 31 shouldBe('legend.offsetWidth', '200'); | 31 shouldBe('legend.offsetWidth', '200'); |
| 32 shouldBe('legend.clientWidth', '200'); | 32 shouldBe('legend.clientWidth', '200'); |
| 33 </script> | 33 </script> |
| 34 </html> | 34 </html> |
| OLD | NEW |