summaryrefslogtreecommitdiffstats
path: root/editor/reftests/462758-grabbers-resizers.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 /editor/reftests/462758-grabbers-resizers.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 'editor/reftests/462758-grabbers-resizers.html')
-rw-r--r--editor/reftests/462758-grabbers-resizers.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/editor/reftests/462758-grabbers-resizers.html b/editor/reftests/462758-grabbers-resizers.html
new file mode 100644
index 0000000000..15459bb6cb
--- /dev/null
+++ b/editor/reftests/462758-grabbers-resizers.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+ <script type="text/javascript">
+ function init() {
+ var editor = document.querySelector("div[contenteditable]");
+ editor.addEventListener("focus", function() {
+ setTimeout(function() {
+ document.documentElement.className = "";
+ }, 0);
+ });
+ editor.focus();
+ }
+ </script>
+ <style type="text/css">
+ html, body, div {
+ margin: 0;
+ padding: 0;
+ }
+ div {
+ border: 1px solid black;
+ margin: 50px;
+ height: 200px;
+ width: 200px;
+ }
+ </style>
+</head>
+<body onload="init()">
+ <div contenteditable style="position: absolute">
+ this editable container should be neither draggable nor resizable.
+ </div>
+</body>
+</html>