diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2020-05-28 08:18:22 +0000 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2020-05-28 11:23:41 +0000 |
commit | 1b463fce85f9be158bdadb3c3c896c227a47d149 (patch) | |
tree | b6e5e875beba9a281b6ad140a85f462d97733406 /tests/wpt/web-platform-tests/css/css-display | |
parent | b0f0bd8282e797c03430a24bd31702b7f5743fad (diff) | |
download | servo-1b463fce85f9be158bdadb3c3c896c227a47d149.tar.gz servo-1b463fce85f9be158bdadb3c3c896c227a47d149.zip |
Update web-platform-tests to revision 5c34fc630374b9eb0559139a486ff1a2e4247c4f
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-display')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-display/display-contents-root-background-ref.html | 4 | ||||
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-display/display-contents-root-background.html | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-display/display-contents-root-background-ref.html b/tests/wpt/web-platform-tests/css/css-display/display-contents-root-background-ref.html new file mode 100644 index 00000000000..720ef20d832 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-display/display-contents-root-background-ref.html @@ -0,0 +1,4 @@ +<!doctype html> +<html style="background:green"> +<title>CSS Test Reference</title> +<p>Pass if the background is green.</p> diff --git a/tests/wpt/web-platform-tests/css/css-display/display-contents-root-background.html b/tests/wpt/web-platform-tests/css/css-display/display-contents-root-background.html new file mode 100644 index 00000000000..6770266f513 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-display/display-contents-root-background.html @@ -0,0 +1,12 @@ +<!doctype html> +<title>CSS Test: display:contents on root element blockified with rendered background.</title> +<link rel="help" href="https://drafts.csswg.org/css-display/#the-display-properties"> +<link rel="help" href="https://drafts.csswg.org/css-display/#transformations"> +<link rel="match" href="display-contents-root-background-ref.html"> +<style> + :root { + display: contents; + background-image: url(../support/1x1-green.png); + } +</style> +<p>Pass if the background is green.</p> |