mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Adding test for bug 307076
This commit is contained in:
parent
ac212c246b
commit
ff833a89a4
13
layout/reftests/bugs/307076-1-ref.html
Normal file
13
layout/reftests/bugs/307076-1-ref.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html style="height: 100%">
|
||||
<body style="height: 100%">
|
||||
<table style="height: 50%; width: 50%">
|
||||
<tr>
|
||||
<td id="x" style="position: relative; top: 25%; left: 25%">
|
||||
<div style="position: absolute; left: 0; right: 0; top: 0; bottom: 0;
|
||||
background: green"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
22
layout/reftests/bugs/307076-1.html
Normal file
22
layout/reftests/bugs/307076-1.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html style="height: 100%">
|
||||
<head>
|
||||
<script>
|
||||
function doIt() {
|
||||
var d = document.createElement("div");
|
||||
d.setAttribute("style",
|
||||
"position: absolute; left: 0; right: 0; top: 0; " +
|
||||
"bottom: 0; background: green");
|
||||
document.getElementById("x").appendChild(d);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body style="height: 100%" onload="doIt()">
|
||||
<table style="height: 50%; width: 50%">
|
||||
<tr>
|
||||
<td id="x" style="position: relative; top: 25%; left: 25%">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -255,6 +255,7 @@ fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") HTTP == 289480.html#top 289480-ref.html #
|
||||
== 306660-1.html 306660-1-ref.html
|
||||
== 306660-2.html 306660-2-ref.html
|
||||
== 306660-3.html 306660-3-ref.html
|
||||
== 307076-1.html 307076-1-ref.html
|
||||
== 307102-1.html 307102-1-ref.html
|
||||
== 307102-2.html 307102-2-ref.html
|
||||
== 307102-3.html 307102-3-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user