mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Tests for bug 730562, r=roc
This commit is contained in:
parent
45be3cde72
commit
d42893252d
12
layout/reftests/bidi/730562-1-ref.html
Normal file
12
layout/reftests/bidi/730562-1-ref.html
Normal file
@ -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>
|
24
layout/reftests/bidi/730562-1.html
Normal file
24
layout/reftests/bidi/730562-1.html
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user