diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-page/resources')
-rw-r--r-- | testing/web-platform/tests/css/css-page/resources/iframe-with-abspos.html | 5 | ||||
-rw-r--r-- | testing/web-platform/tests/css/css-page/resources/mq-frame-100px.html | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-page/resources/iframe-with-abspos.html b/testing/web-platform/tests/css/css-page/resources/iframe-with-abspos.html new file mode 100644 index 0000000000..27de3aad5e --- /dev/null +++ b/testing/web-platform/tests/css/css-page/resources/iframe-with-abspos.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<style> + body { margin: 0; } +</style> +<div style="position:absolute; top:50px;">PASS</div> diff --git a/testing/web-platform/tests/css/css-page/resources/mq-frame-100px.html b/testing/web-platform/tests/css/css-page/resources/mq-frame-100px.html new file mode 100644 index 0000000000..ed823c09e8 --- /dev/null +++ b/testing/web-platform/tests/css/css-page/resources/mq-frame-100px.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<style> +body { + margin: 0; +} +div { + background: red; +} +@media (width: 100px) and (height: 100px) { + div { + background: green; + } +} +</style> +<div style="height:100px;"></div> |