mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 890495. Add a reftest to test that dynamic changes to a legend element's margins are handled correctly.
This commit is contained in:
parent
fe89091f81
commit
8d74513780
8
layout/reftests/bugs/890495-1-ref.html
Normal file
8
layout/reftests/bugs/890495-1-ref.html
Normal file
@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend id="leg" style="margin-left: 100px;">Legend</legend>
|
||||
fieldset contents
|
||||
</fieldset>
|
||||
</body>
|
||||
</html>
|
17
layout/reftests/bugs/890495-1.html
Normal file
17
layout/reftests/bugs/890495-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user