зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1272997 - Reftest for horizontal-only resizing of the document's root frame with vertical writing mode. r=dholbert
This commit is contained in:
Родитель
4f379e76a3
Коммит
7060edb007
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<iframe id="test" style="width:350px;"
|
||||
src="data:text/html,
|
||||
<html>
|
||||
<style>
|
||||
html { writing-mode:vertical-rl; }
|
||||
div { writing-mode:initial; position:absolute;
|
||||
right:0; padding:5px; }
|
||||
</style>
|
||||
<div>This text should NOT be cut off</div>">
|
||||
</iframe>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
function test() {
|
||||
var elem = document.getElementById("test");
|
||||
elem.style.width = "350px";
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="test()">
|
||||
<iframe id="test" style="width:400px;"
|
||||
src="data:text/html,
|
||||
<html>
|
||||
<style>
|
||||
html { writing-mode:vertical-rl; }
|
||||
div { writing-mode:initial; position:absolute;
|
||||
right:0; padding:5px; }
|
||||
</style>
|
||||
<div>This text should NOT be cut off</div>">
|
||||
</iframe>
|
||||
</body>
|
||||
</html>
|
|
@ -1951,3 +1951,4 @@ fuzzy(100,2000) == 1239564.html 1239564-ref.html
|
|||
== 1242172-2.html 1242172-2-ref.html
|
||||
== 1263845.html 1263845-ref.html
|
||||
== 1260543-1.html 1260543-1-ref.html
|
||||
== 1272997-1.html 1272997-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче