summaryrefslogtreecommitdiffstats
path: root/layout/reftests/high-contrast/backplate-bg-image-010.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/high-contrast/backplate-bg-image-010.html
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/high-contrast/backplate-bg-image-010.html')
-rw-r--r--layout/reftests/high-contrast/backplate-bg-image-010.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/layout/reftests/high-contrast/backplate-bg-image-010.html b/layout/reftests/high-contrast/backplate-bg-image-010.html
new file mode 100644
index 0000000000..b6bb4cd83b
--- /dev/null
+++ b/layout/reftests/high-contrast/backplate-bg-image-010.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<title>Only lines containing visible content (visibility: visible) should receive backplates.</title>
+<style>
+ .outer {
+ background-image: url("blue.png");
+ }
+ .hidden {
+ visibility: hidden;
+ }
+ .visible {
+ visibility: visible;
+ }
+</style>
+<div class="outer">
+ <div>
+ AAAA<!-- no whitespace between elements
+ --><div class="hidden">BBBB</div><!-- no whitespace between elements
+ -->CCCC<!-- no whitespace between elements
+ --><div class="hidden">
+ DDDD
+ <div class="visible">EEEE</div>
+ FFFF
+ </div>
+ </div>
+ GGGG
+ <br>
+ HHHH
+ <span class="hidden">IIII</span>
+ JJJJ
+ <span class="hidden">
+ KKKK
+ <span class="visible">LLLL</span>
+ MMMM
+ </span>
+ NNNN
+ <span class="hidden">
+ <span style="display:inline-block">
+ 1
+ <span class="visible">2</span>
+ </span>
+ <span style="display:inline-block" class="visible">
+ 3
+ </span>
+ 4<!-- no whitespace between elements
+ --></span>
+</div>