зеркало из https://github.com/mozilla/pjs.git
Add tests for bug 609227. a=test-only
This commit is contained in:
Родитель
635a71cbce
Коммит
90e8b49655
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html style="overflow: hidden; height: 100%; margin: 0; padding:0"
|
||||
class="reftest-print">
|
||||
<body style="overflow: hidden; height: 100%; margin: 0; padding:0">
|
||||
<!-- Hidden overflow on the inline-block to put its baseline at its bottom
|
||||
edge, as in the original issue in bug 609227 -->
|
||||
<div style="height: 100%; display: inline-block; overflow: hidden">
|
||||
Some text
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html style="overflow: hidden; height: 100%; margin: 0; padding: 0"
|
||||
class="reftest-print">
|
||||
<body style="overflow: hidden; height: 100%; margin: 0; padding:0">
|
||||
<div></div>
|
||||
<!-- Hidden overflow on the inline-block to put its baseline at its bottom
|
||||
edge, as in the original issue in bug 609227 -->
|
||||
<div style="height: 100%; display: inline-block; overflow: hidden">
|
||||
Some text
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-print">
|
||||
<body>
|
||||
<div style="page-break-before: always">
|
||||
<div style="display: inline-block; width: 1in; height: 1in">
|
||||
Should be on second page
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-print">
|
||||
<body>
|
||||
<div>
|
||||
<div style="float: left; width: 3.5in; height: 1.5in;"></div>
|
||||
</div>
|
||||
<div>
|
||||
<div style="display: inline-block; width: 1in; height: 1in">
|
||||
Should be on second page
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-print">
|
||||
<body>
|
||||
<!-- Key: no whitespace between float and inline-block -->
|
||||
<div>
|
||||
<div style="float: left; width: 3.5in;
|
||||
height: 1.5in;"></div></div><div><div
|
||||
style="display: inline-block; width: 1in; height: 1in">
|
||||
Should be on second page
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
|
@ -9,6 +9,9 @@
|
|||
== test-async-print.html 272830-1-ref.html
|
||||
== 129941-1a.html 129941-1-ref.html
|
||||
== 129941-1b.html 129941-1-ref.html
|
||||
== 609227-1.html 609227-1-ref.html
|
||||
== 609227-2a.html 609227-2-ref.html
|
||||
== 609227-2b.html 609227-2-ref.html
|
||||
== 577450-1.html 577450-1-ref.html
|
||||
== 626395-1a.html 626395-1-ref.html
|
||||
== 626395-1b.html 626395-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче