diff --git a/layout/reftests/css-mediaqueries/mq_print-ref.xhtml b/layout/reftests/css-mediaqueries/mq_print-ref.xhtml new file mode 100644 index 000000000000..681fa39ac50d --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print-ref.xhtml @@ -0,0 +1,33 @@ + + + + + + + Media Query - print mode test - Reference + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_aspectratio.xhtml b/layout/reftests/css-mediaqueries/mq_print_aspectratio.xhtml new file mode 100644 index 000000000000..bcd0ad817242 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_aspectratio.xhtml @@ -0,0 +1,56 @@ + + + + + Media Query - Print mode test - aspect-ratio + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + + diff --git a/layout/reftests/css-mediaqueries/mq_print_deviceaspectratio.xhtml b/layout/reftests/css-mediaqueries/mq_print_deviceaspectratio.xhtml new file mode 100644 index 000000000000..5fd48ce91992 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_deviceaspectratio.xhtml @@ -0,0 +1,55 @@ + + + + + Media Query - Print mode test - Device-aspect-ratio + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_deviceheight.xhtml b/layout/reftests/css-mediaqueries/mq_print_deviceheight.xhtml new file mode 100644 index 000000000000..95a6e965a9c8 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_deviceheight.xhtml @@ -0,0 +1,55 @@ + + + + + Media Query - Print mode test - device-height + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_devicewidth.xhtml b/layout/reftests/css-mediaqueries/mq_print_devicewidth.xhtml new file mode 100644 index 000000000000..82b54ef36f02 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_devicewidth.xhtml @@ -0,0 +1,55 @@ + + + + + Media Query - Print mode test - device-width + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_height.xhtml b/layout/reftests/css-mediaqueries/mq_print_height.xhtml new file mode 100644 index 000000000000..98ed475d3631 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_height.xhtml @@ -0,0 +1,55 @@ + + + + + Media Query - Print mode test - height + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_maxheight.xhtml b/layout/reftests/css-mediaqueries/mq_print_maxheight.xhtml new file mode 100644 index 000000000000..c0dd2a041df1 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_maxheight.xhtml @@ -0,0 +1,57 @@ + + + + + Media Query - Print mode test - max-height + + + + +

a

+

b

+ +

c

+

d

+

e

+

f

+

g

+

h

+

i

+ +

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_maxheight_updown.xhtml b/layout/reftests/css-mediaqueries/mq_print_maxheight_updown.xhtml new file mode 100644 index 000000000000..91e09f062e3f --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_maxheight_updown.xhtml @@ -0,0 +1,60 @@ + + + + + Media Query - Print mode test - max-height + + + + +

a

+

b

+ +

c

+

d

+

e

+

f

+

g

+

h

+

i

+ +

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_maxwidth.xhtml b/layout/reftests/css-mediaqueries/mq_print_maxwidth.xhtml new file mode 100644 index 000000000000..3c6e3d2288d1 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_maxwidth.xhtml @@ -0,0 +1,57 @@ + + + + + Media Query - Print mode test - max-width + + + + +

a

+

b

+ +

c

+

d

+

e

+

f

+

g

+

h

+

i

+ +

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_maxwidth_updown.xhtml b/layout/reftests/css-mediaqueries/mq_print_maxwidth_updown.xhtml new file mode 100644 index 000000000000..81f559055230 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_maxwidth_updown.xhtml @@ -0,0 +1,58 @@ + + + + + Media Query - Print mode test - max-width + + + + +

a

+

b

+ +

c

+

d

+

e

+

f

+

g

+

h

+

i

+ +

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_minheight.xhtml b/layout/reftests/css-mediaqueries/mq_print_minheight.xhtml new file mode 100644 index 000000000000..56108b0ba14c --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_minheight.xhtml @@ -0,0 +1,57 @@ + + + + + Media Query - Print mode test - min-height + + + + +

a

+

b

+ +

c

+

d

+

e

+

f

+

g

+

h

+

i

+ +

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_minheight_updown.xhtml b/layout/reftests/css-mediaqueries/mq_print_minheight_updown.xhtml new file mode 100644 index 000000000000..c26269bfc890 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_minheight_updown.xhtml @@ -0,0 +1,58 @@ + + + + + Media Query - Print mode test - min-height + + + + +

a

+

b

+ +

c

+

d

+

e

+

f

+

g

+

h

+

i

+ +

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_minwidth.xhtml b/layout/reftests/css-mediaqueries/mq_print_minwidth.xhtml new file mode 100644 index 000000000000..d7a49ca8dba3 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_minwidth.xhtml @@ -0,0 +1,57 @@ + + + + + Media Query - Print mode test - min-width + + + + +

a

+

b

+ +

c

+

d

+

e

+

f

+

g

+

h

+

i

+ +

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_minwidth_updown.xhtml b/layout/reftests/css-mediaqueries/mq_print_minwidth_updown.xhtml new file mode 100644 index 000000000000..aff60f7b8ae1 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_minwidth_updown.xhtml @@ -0,0 +1,58 @@ + + + + + Media Query - Print mode test - min-width + + + + +

a

+

b

+ +

c

+

d

+

e

+

f

+

g

+

h

+

i

+ +

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_orientation-ref.xhtml b/layout/reftests/css-mediaqueries/mq_print_orientation-ref.xhtml new file mode 100644 index 000000000000..a7eb6a54141a --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_orientation-ref.xhtml @@ -0,0 +1,27 @@ + + + + + + + Media Query - print mode test - orientation + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_orientation.xhtml b/layout/reftests/css-mediaqueries/mq_print_orientation.xhtml new file mode 100644 index 000000000000..354f3a19d13e --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_orientation.xhtml @@ -0,0 +1,41 @@ + + + + + Media Query - Print mode test - orientation + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+ + diff --git a/layout/reftests/css-mediaqueries/mq_print_width.xhtml b/layout/reftests/css-mediaqueries/mq_print_width.xhtml new file mode 100644 index 000000000000..5474b8f1ac22 --- /dev/null +++ b/layout/reftests/css-mediaqueries/mq_print_width.xhtml @@ -0,0 +1,55 @@ + + + + + Media Query - Print mode test - Width + + + + +

a

+

b

+

c

+

d

+

e

+

f

+

g

+

h

+

i

+

j

+

k

+

l

+

m

+

n

+

o

+

p

+ + diff --git a/layout/reftests/css-mediaqueries/reftest.list b/layout/reftests/css-mediaqueries/reftest.list new file mode 100644 index 000000000000..2a4bd539de20 --- /dev/null +++ b/layout/reftests/css-mediaqueries/reftest.list @@ -0,0 +1,16 @@ +== mq_print_height.xhtml mq_print-ref.xhtml +== mq_print_deviceheight.xhtml mq_print-ref.xhtml +== mq_print_width.xhtml mq_print-ref.xhtml +== mq_print_minwidth.xhtml mq_print-ref.xhtml +== mq_print_minheight.xhtml mq_print-ref.xhtml +== mq_print_aspectratio.xhtml mq_print-ref.xhtml +== mq_print_deviceaspectratio.xhtml mq_print-ref.xhtml +== mq_print_devicewidth.xhtml mq_print-ref.xhtml +== mq_print_orientation.xhtml mq_print_orientation-ref.xhtml +== mq_print_maxheight.xhtml mq_print-ref.xhtml +== mq_print_maxwidth.xhtml mq_print-ref.xhtml + +== mq_print_maxwidth_updown.xhtml mq_print-ref.xhtml +== mq_print_maxheight_updown.xhtml mq_print-ref.xhtml +== mq_print_minheight_updown.xhtml mq_print-ref.xhtml +== mq_print_minwidth_updown.xhtml mq_print-ref.xhtml diff --git a/layout/reftests/reftest.list b/layout/reftests/reftest.list index 1ce641ac7bfd..7c4c31bc5795 100644 --- a/layout/reftests/reftest.list +++ b/layout/reftests/reftest.list @@ -38,6 +38,9 @@ include css-import/reftest.list # css character encoding tests include css-charset/reftest.list +# css media queries (tests for print mode) +include css-mediaqueries/reftest.list + # columns/ include columns/reftest.list