diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /testing/web-platform/tests/css/css-viewport/width.html | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-viewport/width.html')
-rw-r--r-- | testing/web-platform/tests/css/css-viewport/width.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-viewport/width.html b/testing/web-platform/tests/css/css-viewport/width.html new file mode 100644 index 0000000000..b6d9753ea3 --- /dev/null +++ b/testing/web-platform/tests/css/css-viewport/width.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<style>CSS zoom applies to width when specified and inherited</style> +<link rel="author" title="Chris Harrelson" href="mailto:chrishtr@chromium.org"> +<link rel="help" href="https://drafts.csswg.org/css-viewport/"> +<link rel="match" href="width-ref.html"> +<style> + #parent { + width: 100px; + background: red; + } + #child-zoomed { + zoom: 2; + width: inherit; + background: lime; + height: 100px; + } + #child { + width: 200px; + height: 200px; + background: green; + } +</style> +<p>You should see two squares below. One lime, and one green.</p> +<div id="parent"> + <div id="child-zoomed"></div> + <div id="child"></div> +</div> |