зеркало из https://github.com/mozilla/pjs.git
Adding regression tests
This commit is contained in:
Родитель
15e4428b27
Коммит
2005ac52a9
|
@ -0,0 +1,8 @@
|
|||
<html><head>
|
||||
|
||||
<title>Testcase bug 304004 - contents of button not renderer equally when using style:position:absolute;</title>
|
||||
</head><body>
|
||||
<input value="hello" style="width: 40px;" type="button"><br>
|
||||
<input value="hello" style="width: 40px; display: block;" type="button">
|
||||
<input value="hello" style="width: 40px; position: absolute;" type="button">
|
||||
</body></html>
|
|
@ -0,0 +1,27 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div { color: red }
|
||||
div::first-letter { color: green }
|
||||
</style>
|
||||
<script>
|
||||
function doit() {
|
||||
var parent = document.getElementById('a');
|
||||
var kid = document.createElement("span");
|
||||
kid.style.display="none";
|
||||
parent.appendChild(kid);
|
||||
|
||||
parent = document.getElementById('b');
|
||||
kid = document.createElement("span");
|
||||
kid.style.display="none";
|
||||
parent.insertBefore(kid, document.getElementById('x'));
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="doit()">
|
||||
There should be no red
|
||||
<div id="a">
|
||||
T</div>
|
||||
<div id="b">
|
||||
T <span id="x"></span></div>
|
||||
</html>
|
|
@ -256,3 +256,5 @@
|
|||
300816-10.xml
|
||||
300816-11.xml
|
||||
300816-12.xml
|
||||
304004.html
|
||||
317961.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче