Bug 890495. Add a reftest to test that dynamic changes to a legend element's margins are handled correctly.

This commit is contained in:
Timothy Nikkel 2013-07-09 15:14:01 -05:00
parent fe89091f81
commit 8d74513780
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<html>
<body>
<fieldset>
<legend id="leg" style="margin-left: 100px;">Legend</legend>
fieldset contents
</fieldset>
</body>
</html>

View File

@ -0,0 +1,17 @@
<html>
<head>
<script type="text/javascript">
function run() {
document.documentElement.offsetLeft;
var leg = document.getElementById('leg');
leg.style.marginLeft = '100px';
}
</script>
</head>
<body onload="run();">
<fieldset>
<legend id="leg">Legend</legend>
fieldset contents
</fieldset>
</body>
</html>

View File

@ -1767,3 +1767,4 @@ random-if(Android&&AndroidVersion>=15) == 875060-1.html 875060-1-ref.html #Bug 8
== 883987-1d.html 883987-1-ref.html
== 883987-1e.html 883987-1-ref.html
== 883987-1f.html 883987-1-ref.html
== 890495-1.html 890495-1-ref.html