mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add reftests for bug 490176 and bug 490177
This commit is contained in:
parent
7b122fa3ff
commit
c462eaca6f
18
layout/reftests/bugs/490176-1-ref.html
Normal file
18
layout/reftests/bugs/490176-1-ref.html
Normal file
@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
|
||||
body, p {
|
||||
display: table;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>A B</div>
|
||||
<p id="n">C D</p>
|
||||
</body>
|
||||
|
||||
</html>
|
31
layout/reftests/bugs/490176-1.html
Normal file
31
layout/reftests/bugs/490176-1.html
Normal file
@ -0,0 +1,31 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
|
||||
body, p {
|
||||
display: table;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
var n = document.getElementById("n");
|
||||
var b = document.body;
|
||||
var next = n.nextSibling;
|
||||
b.removeChild(n);
|
||||
b.insertBefore(n, next);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">
|
||||
<div>A B</div>
|
||||
<p id="n">C D</p>
|
||||
</body>
|
||||
|
||||
</html>
|
18
layout/reftests/bugs/490177-1-ref.svg
Normal file
18
layout/reftests/bugs/490177-1-ref.svg
Normal file
@ -0,0 +1,18 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<foreignObject id="f" width="500" height="500" y="300">
|
||||
|
||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td><input type="text" value="3" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</foreignObject>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 308 B |
27
layout/reftests/bugs/490177-1.svg
Normal file
27
layout/reftests/bugs/490177-1.svg
Normal file
@ -0,0 +1,27 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<foreignObject id="f" width="500" height="500" y="300">
|
||||
|
||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td><input type="text" value="3" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</foreignObject>
|
||||
|
||||
<script>
|
||||
window.addEventListener("load", boom, false);
|
||||
function boom()
|
||||
{
|
||||
var f = document.getElementById("f");
|
||||
document.documentElement.appendChild(f);
|
||||
}
|
||||
</script>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 477 B |
@ -1266,6 +1266,8 @@ fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 481948-3.html 481948-3-ref.html # differ
|
||||
== 488649-1.html 488649-1-ref.html
|
||||
== 488685-1.html 488685-1-ref.html
|
||||
fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") == 488692-1.html 488692-1-ref.html # needs EXTEND_PAD on non-Mac for correct scaling behaviour
|
||||
== 490176-1.html 490176-1-ref.html
|
||||
== 490177-1.svg 490177-1-ref.svg
|
||||
== 490182-1a.html 490182-1-ref.html
|
||||
== 490182-1b.html 490182-1-ref.html
|
||||
== 490173-1.html 490173-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user