зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1760378 Part 4 - Add tests for CSS named page fragmentation with display:none, and with the same page-name on multiple elements r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D141672
This commit is contained in:
Родитель
51a80e3d97
Коммит
89c541dbc7
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<p style="break-after:always">a</p>
|
||||
<!-- This should match the test case, even if page-breaks are being coalesced -->
|
||||
<div style="break-after:always"></div>
|
||||
<p>b</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<p style="page:a">a</p>
|
||||
<div style="page:c">
|
||||
<p style="display: none">c</p>
|
||||
</div>
|
||||
<p style="page:b">b</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<p style="page:b">a</p>
|
||||
<p style="page:b">b</p>
|
||||
<p>c</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<p style="page:a">a</p>
|
||||
<div style="page:b">
|
||||
<p style="page:a">b</p>
|
||||
<p>c</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<div style="page:a">
|
||||
<p>a</p>
|
||||
</div>
|
||||
<p style="page:a">b</p>
|
||||
<p style="page:b">c</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<p>a</p>
|
||||
<p style="page:auto">b</p>
|
||||
<p style="page:b">c</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body style="page:a">
|
||||
<p style="page:a">a</p>
|
||||
<p style="page:auto">b</p>
|
||||
<p style="page:b">c</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-paged">
|
||||
<body>
|
||||
<p>a</p>
|
||||
<p style="break-after: always">b</p>
|
||||
<p>c</p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,5 +1,11 @@
|
|||
defaults pref(layout.css.named-pages.enabled,true)
|
||||
|
||||
fails == page-name-display-none-child.html page-name-display-none-child-ref.html
|
||||
fails == page-name-siblings-001.html page-name-siblings-ref.html
|
||||
fails == page-name-siblings-002.html page-name-siblings-ref.html
|
||||
fails == page-name-siblings-003.html page-name-siblings-ref.html
|
||||
fails == page-name-siblings-004.html page-name-siblings-ref.html
|
||||
fails == page-name-siblings-005.html page-name-siblings-ref.html
|
||||
# Auto-generated test cases
|
||||
fails == page-name-two-page-001.html page-name-two-page-ref.html
|
||||
fails == page-name-two-page-002.html page-name-two-page-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче