diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/css-display/display-contents-generated-content-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/css-display/display-contents-generated-content-ref.html')
-rw-r--r-- | layout/reftests/css-display/display-contents-generated-content-ref.html | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/layout/reftests/css-display/display-contents-generated-content-ref.html b/layout/reftests/css-display/display-contents-generated-content-ref.html new file mode 100644 index 0000000000..29ee8b20d8 --- /dev/null +++ b/layout/reftests/css-display/display-contents-generated-content-ref.html @@ -0,0 +1,123 @@ +<!DOCTYPE html> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<html lang="en-US"> +<head> + <meta charset="UTF-8"> + <title>CSS Test: CSS display:contents; generated content</title> + <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=907396"> + <link rel="help" href="http://dev.w3.org/csswg/css-display"> +<style type="text/css"> +body,html { color:black; background-color:white; } + +.test { + display: inline; + content: "content"; + color: lime; +} +.contents { + display: inline; + color: green; +} +.before::before { + display: inline; + content:"before"; +} +.after::after { + display: inline; + content:"after"; +} +</style> +</head> +<body> + +<div class="test"><span>A a</span></div> +<div class="test"><span class="contents">t1</span></div> +<div class="test"></div> +<div class="contents before">1<span>B b</span>2</div> +<div class="contents after">1<span>C c</span>2</div> +<div class="contents before after">1<span>D d</span>2</div> +<div class="contents before">1<span class="t5">B b</span>2</div> +<div class="contents after">12</div> +<div class="contents before after">1<span class="t7">D d</span>2</div> + +<div class="contents"> + <div class="test"><span>span</span></div> + <div class="test"><span class="contents">t3</span></div> + <div class="test"></div> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> + <div class="contents before">12</div> + <div class="contents after">1<span class="t9">span</span>2</div> + <div class="contents before after">12</div> + <div class="contents before">1<span class="t11">span</span>2</div> + <div class="contents after">12</div> + <div class="contents before after">1<span class="t13">span</span>2</div> +</div> + +<div class="contents"><span class="s1"> + <div class="test"><span>span</span></div> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> +</span></div> + +<div class="contents"><span class="s2"> + <div class="test"><span>span</span></div> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> +</span></div> + +<div class="contents"><span class="s3"> + <div class="test"><span>span</span></div> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> +</span></div> + +<div class="contents"><span class="s4"> + <div class="test"><span>span</span></div> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> +</span></div> + +<div class="contents"></div> + +<div class="contents"></div> + +<div class="contents before"><span class="s7"> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> +</span></div> + +<div class="contents after"><span class="s8"> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> +</span></div> + +<div class="contents"><span class="s9"> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> +</span></div> + +<div class="contents before after"><span class="s10"> + <div class="test"><span>span</span></div> + <div class="contents before">1<span>span</span>2</div> + <div class="contents after">1<span>span</span>2</div> + <div class="contents before after">1<span>span</span>2</div> +</span></div> + +<div class="contents before"></div> + +<div class="contents after"></div> + +</body> +</html> |