зеркало из https://github.com/mozilla/gecko-dev.git
Tests for bug 730562, r=roc
This commit is contained in:
Родитель
45be3cde72
Коммит
d42893252d
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<div style="direction: rtl; white-space: pre;"><span style="outline: 1px solid red;" id="x">
|
||||
|
||||
|
||||
</span></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
// Force frame construction
|
||||
document.documentElement.offsetHeight;
|
||||
|
||||
// A dynamic change
|
||||
var x = document.getElementById("x");
|
||||
x.removeChild(x.firstChild);
|
||||
x.appendChild(document.createTextNode("\n\n\n"));
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
<div style="direction: rtl; white-space: pre;"><span style="outline: 1px solid red;" id="x">
|
||||
:p</span></div>
|
||||
</body>
|
||||
</html>
|
|
@ -102,3 +102,4 @@ fails-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)&&!layersGPUAccelerated) == 61
|
|||
== 726420-1.html 726420-1-ref.html
|
||||
== 726460-1.html 726460-1-ref.html
|
||||
== 729047-1.html 729047-1-ref.html
|
||||
== 730562-1.html 730562-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче