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