summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1529992-2.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/bugs/1529992-2.html
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1529992-2.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1529992-2.html b/layout/reftests/bugs/1529992-2.html
new file mode 100644
index 0000000000..19876e7f65
--- /dev/null
+++ b/layout/reftests/bugs/1529992-2.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+
+<!--
+see version 1 of this test for details
+-->
+
+<html class="reftest-wait"><head>
+<script type="text/javascript">
+function onload() {
+ var range = document.createRange();
+ range.selectNodeContents(document.getElementById("selectMe"));
+ var sel = window.getSelection();
+ sel.removeAllRanges();
+ sel.addRange(range);
+
+ document.documentElement.className = '';
+}
+</script>
+<style>
+body {
+ font-size: 60px;
+ position: absolute;
+ margin: 0px;
+ padding: 0px;
+}
+div {
+ position: absolute;
+ margin: 0px;
+ padding: 0px;
+}
+div::selection {
+ /* hide all selection boxes for convenience */
+ background-color: transparent;
+}
+#shadow6 {
+ top: 200px;
+ left: 200px;
+}
+#shadow6::selection {
+ color: transparent;
+ text-shadow: 30px 0px 0px green;
+}
+#shadow7 {
+ top: 200px;
+ left: 500px;
+}
+#shadow7::selection {
+ color: transparent;
+ text-shadow: 30px 0px 5px green;
+}
+</style>
+</head><body id="selectMe" onload="onload()">
+ <div id="shadow6">hello&nbsp;i</div>
+ <div id="shadow7">hello&nbsp;i</div>
+</body></html>