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-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/high-contrast/backplate-bg-image-010-ref.html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
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>