Bug 1760378 Part 3 - Add ref case and updated reftest.list for generated page-name reftests r=dholbert

Differential Revision: https://phabricator.services.mozilla.com/D142001
This commit is contained in:
Emily McDonough 2022-03-29 18:18:48 +00:00
parent f6897bd7b4
commit 51a80e3d97
5 changed files with 52 additions and 2 deletions

View File

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html class="reftest-paged">
<body>
<p style="break-after: always">a</p>
<p>b</p>
</body>
</html>

View File

@ -0,0 +1,38 @@
defaults pref(layout.css.named-pages.enabled,true)
# 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
fails == page-name-two-page-003.html page-name-two-page-ref.html
fails == page-name-two-page-004.html page-name-two-page-ref.html
fails == page-name-two-page-005.html page-name-two-page-ref.html
fails == page-name-two-page-006.html page-name-two-page-ref.html
fails == page-name-two-page-007.html page-name-two-page-ref.html
fails == page-name-two-page-008.html page-name-two-page-ref.html
fails == page-name-two-page-009.html page-name-two-page-ref.html
fails == page-name-two-page-010.html page-name-two-page-ref.html
fails == page-name-two-page-011.html page-name-two-page-ref.html
fails == page-name-two-page-012.html page-name-two-page-ref.html
fails == page-name-two-page-013.html page-name-two-page-ref.html
fails == page-name-two-page-014.html page-name-two-page-ref.html
fails == page-name-two-page-015.html page-name-two-page-ref.html
fails == page-name-two-page-016.html page-name-two-page-ref.html
fails == page-name-two-page-017.html page-name-two-page-ref.html
fails == page-name-two-page-018.html page-name-two-page-ref.html
fails == page-name-two-page-019.html page-name-two-page-ref.html
fails == page-name-two-page-020.html page-name-two-page-ref.html
fails == page-name-two-page-021.html page-name-two-page-ref.html
fails == page-name-two-page-022.html page-name-two-page-ref.html
fails == page-name-two-page-023.html page-name-two-page-ref.html
fails == page-name-two-page-024.html page-name-two-page-ref.html
fails == page-name-two-page-025.html page-name-two-page-ref.html
fails == page-name-two-page-026.html page-name-two-page-ref.html
fails == page-name-two-page-027.html page-name-two-page-ref.html
fails == page-name-two-page-028.html page-name-two-page-ref.html
fails == page-name-two-page-029.html page-name-two-page-ref.html
fails == page-name-two-page-030.html page-name-two-page-ref.html
fails == page-name-two-page-031.html page-name-two-page-ref.html
fails == page-name-two-page-032.html page-name-two-page-ref.html
fails == page-name-two-page-033.html page-name-two-page-ref.html
fails == page-name-two-page-034.html page-name-two-page-ref.html
fails == page-name-two-page-035.html page-name-two-page-ref.html

View File

@ -86,6 +86,8 @@ with Files("css-mediaqueries/**"):
BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
with Files("css-optional/**"):
BUG_COMPONENT = ("Core", "Layout: Form Controls")
with Files("css-page/**"):
BUG_COMPONENT = ("Core", "Layout")
with Files("css-parsing/**"):
BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
with Files("css-placeholder/**"):

View File

@ -1,5 +1,5 @@
# For more pagination tests, see layout/reftests/w3c-css/submitted/css21/pagination/
# and layout/reftests/w3c-css/submitted/multicol3/
# For more pagination tests, see layout/reftests/w3c-css/submitted/css21/pagination/,
# layout/reftests/css-page/, and layout/reftests/w3c-css/submitted/multicol3/
# Pagination tests
# asserts(3) == abspos-breaking-000.xhtml abspos-breaking-000.ref.xhtml # bug 1067755, 1135556
== abspos-breaking-001.xhtml abspos-breaking-000.ref.xhtml

View File

@ -90,6 +90,9 @@ include css-gradients/reftest.list
# css media queries (tests for print mode)
include css-mediaqueries/reftest.list
# css page
include css-page/reftest.list
# css parsing
include css-parsing/reftest.list