summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-mediaqueries/mq_overflow-block.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-mediaqueries/mq_overflow-block.html')
-rw-r--r--layout/reftests/css-mediaqueries/mq_overflow-block.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/css-mediaqueries/mq_overflow-block.html b/layout/reftests/css-mediaqueries/mq_overflow-block.html
new file mode 100644
index 0000000000..10d3d69ebe
--- /dev/null
+++ b/layout/reftests/css-mediaqueries/mq_overflow-block.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <style>
+ @media (overflow-block: none) {
+ .a { display: none }
+ }
+ @media (overflow-block: scroll) {
+ .b { display: none }
+ }
+ @media (overflow-block: optional-paged) {
+ .c { display: none }
+ }
+ @media (overflow-block: paged) {
+ .d { display: none }
+ }
+ @media (overflow-block: something-new-and-unknown) {
+ .e { display: none }
+ }
+ @media (overflow-block) {
+ .f { display: none }
+ }
+ </style>
+ <span class=a>A</span>
+ <span class=b>B</span>
+ <span class=c>C</span>
+ <span class=d>D</span>
+ <span class=e>E</span>
+ <span class=f>F</span>