diff --git a/layout/html/tests/printer/CSSPage/landscape.html b/layout/html/tests/printer/CSSPage/landscape.html index fa1ac5584c8b..42bcdc41806b 100644 --- a/layout/html/tests/printer/CSSPage/landscape.html +++ b/layout/html/tests/printer/CSSPage/landscape.html @@ -4,11 +4,12 @@ Landscape -
@page rotated {size: landscape}
+In Page Setup, set the orientation to portrait and see if it prints landscape.
+
@page {size: landscape}
Line 1
Line 1
Line 2
diff --git a/layout/html/tests/printer/CSSPage/marginauto.html b/layout/html/tests/printer/CSSPage/marginauto.html new file mode 100644 index 000000000000..131880510c15 --- /dev/null +++ b/layout/html/tests/printer/CSSPage/marginauto.html @@ -0,0 +1,64 @@ + + + +Margin: auto + + + + +
@page { margin: auto }
+Line 1
+Line 1
+Line 2
+Line 3
+Line 4
+Line 5
+Line 6
+Line 7
+Line 8
+Line 9
+Line 10
+Line 11
+Line 12
+Line 13
+Line 14
+Line 15
+Line 16
+Line 17
+Line 18
+Line 19
+Line 20
+Line 21
+Line 22
+Line 23
+Line 24
+Line 25
+Line 26
+Line 27
+Line 28
+Line 29
+Line 30
+Line 31
+Line 32
+Line 33
+Line 34
+Line 35
+Line 36
+Line 37
+Line 38
+Line 39
+Line 40
+Line 41
+Line 42
+Line 43
+Line 44
+Line 45
+Line 46
+Line 47
+Line 48
+Line 49
+Line 50
+ + \ No newline at end of file diff --git a/layout/html/tests/printer/CSSPage/marginleftautoright1in.html b/layout/html/tests/printer/CSSPage/marginleftautoright1in.html new file mode 100644 index 000000000000..aa2105c0e6f3 --- /dev/null +++ b/layout/html/tests/printer/CSSPage/marginleftautoright1in.html @@ -0,0 +1,64 @@ + + + +margin-left: auto; margin-right:1in; + + + + +
@page { margin-left: auto; margin-right:1in; }
+Line 1
+Line 1
+Line 2
+Line 3
+Line 4
+Line 5
+Line 6
+Line 7
+Line 8
+Line 9
+Line 10
+Line 11
+Line 12
+Line 13
+Line 14
+Line 15
+Line 16
+Line 17
+Line 18
+Line 19
+Line 20
+Line 21
+Line 22
+Line 23
+Line 24
+Line 25
+Line 26
+Line 27
+Line 28
+Line 29
+Line 30
+Line 31
+Line 32
+Line 33
+Line 34
+Line 35
+Line 36
+Line 37
+Line 38
+Line 39
+Line 40
+Line 41
+Line 42
+Line 43
+Line 44
+Line 45
+Line 46
+Line 47
+Line 48
+Line 49
+Line 50
+ + \ No newline at end of file diff --git a/layout/html/tests/printer/CSSPage/pagesizeauto.html b/layout/html/tests/printer/CSSPage/pagesizeauto.html new file mode 100644 index 000000000000..ba714ae6e019 --- /dev/null +++ b/layout/html/tests/printer/CSSPage/pagesizeauto.html @@ -0,0 +1,64 @@ + + + +Size: auto + + + + +
@page { size: auto }
+Line 1
+Line 1
+Line 2
+Line 3
+Line 4
+Line 5
+Line 6
+Line 7
+Line 8
+Line 9
+Line 10
+Line 11
+Line 12
+Line 13
+Line 14
+Line 15
+Line 16
+Line 17
+Line 18
+Line 19
+Line 20
+Line 21
+Line 22
+Line 23
+Line 24
+Line 25
+Line 26
+Line 27
+Line 28
+Line 29
+Line 30
+Line 31
+Line 32
+Line 33
+Line 34
+Line 35
+Line 36
+Line 37
+Line 38
+Line 39
+Line 40
+Line 41
+Line 42
+Line 43
+Line 44
+Line 45
+Line 46
+Line 47
+Line 48
+Line 49
+Line 50
+ + \ No newline at end of file diff --git a/layout/html/tests/printer/CSSPage/portrait.html b/layout/html/tests/printer/CSSPage/portrait.html new file mode 100644 index 000000000000..3af9f4544ffb --- /dev/null +++ b/layout/html/tests/printer/CSSPage/portrait.html @@ -0,0 +1,65 @@ + + + +Portrait + + + + +In Page Setup, set the orientation to landscape and see if it prints portrait.
+
@page {size: portrait}
+Line 1
+Line 1
+Line 2
+Line 3
+Line 4
+Line 5
+Line 6
+Line 7
+Line 8
+Line 9
+Line 10
+Line 11
+Line 12
+Line 13
+Line 14
+Line 15
+Line 16
+Line 17
+Line 18
+Line 19
+Line 20
+Line 21
+Line 22
+Line 23
+Line 24
+Line 25
+Line 26
+Line 27
+Line 28
+Line 29
+Line 30
+Line 31
+Line 32
+Line 33
+Line 34
+Line 35
+Line 36
+Line 37
+Line 38
+Line 39
+Line 40
+Line 41
+Line 42
+Line 43
+Line 44
+Line 45
+Line 46
+Line 47
+Line 48
+Line 49
+Line 50
+ + \ No newline at end of file