blob: ea4dfabbd113248d978b453ee8501c112968a5d5 [file] [log] [blame]
Test parsing and getComputedStyle behavior for break controlling properties
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
break-after:always
PASS getComputedStyle(element)['break-after'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "auto"
break-after:auto
PASS getComputedStyle(element)['break-after'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "auto"
break-after:avoid
PASS getComputedStyle(element)['break-after'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "avoid"
PASS getComputedStyle(element)['page-break-after'] is "avoid"
break-after:avoid-column
PASS getComputedStyle(element)['break-after'] is "avoid-column"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "avoid"
PASS getComputedStyle(element)['page-break-after'] is "auto"
break-after:avoid-page
PASS getComputedStyle(element)['break-after'] is "avoid-page"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "avoid"
break-after:column
PASS getComputedStyle(element)['break-after'] is "column"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "always"
PASS getComputedStyle(element)['page-break-after'] is "auto"
break-after:left
PASS getComputedStyle(element)['break-after'] is "left"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "left"
break-after:page
PASS getComputedStyle(element)['break-after'] is "page"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "always"
break-after:recto
PASS getComputedStyle(element)['break-after'] is "recto"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "auto"
break-after:right
PASS getComputedStyle(element)['break-after'] is "right"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "right"
break-after:verso
PASS getComputedStyle(element)['break-after'] is "verso"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "auto"
break-before:always
PASS getComputedStyle(element)['break-before'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "auto"
break-before:auto
PASS getComputedStyle(element)['break-before'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "auto"
break-before:avoid
PASS getComputedStyle(element)['break-before'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "avoid"
PASS getComputedStyle(element)['page-break-before'] is "avoid"
break-before:avoid-column
PASS getComputedStyle(element)['break-before'] is "avoid-column"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "avoid"
PASS getComputedStyle(element)['page-break-before'] is "auto"
break-before:avoid-page
PASS getComputedStyle(element)['break-before'] is "avoid-page"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "avoid"
break-before:column
PASS getComputedStyle(element)['break-before'] is "column"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "always"
PASS getComputedStyle(element)['page-break-before'] is "auto"
break-before:left
PASS getComputedStyle(element)['break-before'] is "left"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "left"
break-before:page
PASS getComputedStyle(element)['break-before'] is "page"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "always"
break-before:recto
PASS getComputedStyle(element)['break-before'] is "recto"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "auto"
break-before:right
PASS getComputedStyle(element)['break-before'] is "right"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "right"
break-before:verso
PASS getComputedStyle(element)['break-before'] is "verso"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "auto"
break-inside:auto
PASS getComputedStyle(element)['break-inside'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-inside'] is "auto"
PASS getComputedStyle(element)['page-break-inside'] is "auto"
break-inside:avoid
PASS getComputedStyle(element)['break-inside'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-inside'] is "avoid"
PASS getComputedStyle(element)['page-break-inside'] is "avoid"
break-inside:avoid-column
PASS getComputedStyle(element)['break-inside'] is "avoid-column"
PASS getComputedStyle(element)['-webkit-column-break-inside'] is "avoid"
PASS getComputedStyle(element)['page-break-inside'] is "auto"
break-inside:avoid-page
PASS getComputedStyle(element)['break-inside'] is "avoid-page"
PASS getComputedStyle(element)['-webkit-column-break-inside'] is "auto"
PASS getComputedStyle(element)['page-break-inside'] is "avoid"
-webkit-column-break-after:always
PASS getComputedStyle(element)['break-after'] is "column"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "always"
PASS getComputedStyle(element)['page-break-after'] is "auto"
-webkit-column-break-after:avoid
PASS getComputedStyle(element)['break-after'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "avoid"
PASS getComputedStyle(element)['page-break-after'] is "avoid"
-webkit-column-break-after:column
PASS getComputedStyle(element)['break-after'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "auto"
-webkit-column-break-before:always
PASS getComputedStyle(element)['break-before'] is "column"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "always"
PASS getComputedStyle(element)['page-break-before'] is "auto"
-webkit-column-break-before:avoid
PASS getComputedStyle(element)['break-before'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "avoid"
PASS getComputedStyle(element)['page-break-before'] is "avoid"
-webkit-column-break-before:column
PASS getComputedStyle(element)['break-before'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "auto"
-webkit-column-break-inside:avoid
PASS getComputedStyle(element)['break-inside'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-inside'] is "avoid"
PASS getComputedStyle(element)['page-break-inside'] is "avoid"
-webkit-column-break-before:avoid-column
PASS getComputedStyle(element)['break-before'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "auto"
page-break-after:always
PASS getComputedStyle(element)['break-after'] is "page"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "always"
page-break-after:avoid
PASS getComputedStyle(element)['break-after'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "avoid"
PASS getComputedStyle(element)['page-break-after'] is "avoid"
page-break-after:left
PASS getComputedStyle(element)['break-after'] is "left"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "left"
page-break-after:right
PASS getComputedStyle(element)['break-after'] is "right"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "right"
page-break-after:verso
PASS getComputedStyle(element)['break-after'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-after'] is "auto"
PASS getComputedStyle(element)['page-break-after'] is "auto"
page-break-before:always
PASS getComputedStyle(element)['break-before'] is "page"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "always"
page-break-before:avoid
PASS getComputedStyle(element)['break-before'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "avoid"
PASS getComputedStyle(element)['page-break-before'] is "avoid"
page-break-before:left
PASS getComputedStyle(element)['break-before'] is "left"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "left"
page-break-before:right
PASS getComputedStyle(element)['break-before'] is "right"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "right"
page-break-before:verso
PASS getComputedStyle(element)['break-before'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "auto"
page-break-inside:always
PASS getComputedStyle(element)['break-before'] is "auto"
PASS getComputedStyle(element)['-webkit-column-break-before'] is "auto"
PASS getComputedStyle(element)['page-break-before'] is "auto"
page-break-inside:avoid
PASS getComputedStyle(element)['break-inside'] is "avoid"
PASS getComputedStyle(element)['-webkit-column-break-inside'] is "avoid"
PASS getComputedStyle(element)['page-break-inside'] is "avoid"
PASS successfullyParsed is true
TEST COMPLETE