summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/370422-1-ref.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/bugs/370422-1-ref.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/bugs/370422-1-ref.html')
-rw-r--r--layout/reftests/bugs/370422-1-ref.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/370422-1-ref.html b/layout/reftests/bugs/370422-1-ref.html
new file mode 100644
index 0000000000..18073081bf
--- /dev/null
+++ b/layout/reftests/bugs/370422-1-ref.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+<title>Testcase bug - Select drop down button doesn't update its position in this case when document widens</title>
+</head>
+<body onload="test()">
+The dropwdown button should be on the right of the select<br>
+
+<iframe src="data:text/html;charset=utf-8,%3Chtml%3E%3Chead%3E%0A%3Cstyle%3E%0Aselect%0A%7B%0A%20%20HEIGHT%3A%20100px%3B%0A%20%20WIDTH%3A%20100%25%3B%20%0A%7D%0A%3C/style%3E%0A%3C/head%3E%0A%3Cbody%3E%0A%3Cselect%3E%3Coption%20value%3D%222%22%3Etext%3C/option%3E%3C/select%3E%20%20%20%20%20%20%20%20%0A%3C/body%3E%0A%3C/html%3E" style="width: 400px;">
+</iframe>
+<script>
+function test() {
+ document.getElementsByTagName('iframe')[0].style.width = '400px';
+}
+</script>
+</body>
+</html>