summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/433640-1.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/433640-1.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/433640-1.html')
-rw-r--r--layout/reftests/bugs/433640-1.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/layout/reftests/bugs/433640-1.html b/layout/reftests/bugs/433640-1.html
new file mode 100644
index 0000000000..2dbb26cfa0
--- /dev/null
+++ b/layout/reftests/bugs/433640-1.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html><head>
+<style type="text/css">
+ div.image {
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAQMAAACQp+OdAAAABlBMVEUAAAD///+l2Z/dAAAAGElEQVR42mNggIHcbbfBCMEYlRqVIiQFAPco1xfL/SakAAAAAElFTkSuQmCC");
+ background-position: center center;
+ width: 32px;
+ height: 32px;
+ }
+
+ div.cell {
+ float: left;
+ width: 100px;
+ }
+
+ body > div { height:100px; }
+
+ /* ensure that font heights do not affect image placement. Fractional image offsets can
+ affect exactly which pixel rects get painted. */
+ p { font-size: 12px; height:20px; }
+</style>
+</head><body>
+
+<div>
+<div class="cell"><p>31 x 32</p><div style="width:31px" class="image"></div></div>
+<div class="cell"><p>31.1 x 32</p><div style="width:31.1px" class="image"></div></div>
+<div class="cell"><p>31.5 x 32</p><div style="width:31.5px" class="image"></div></div>
+<div class="cell"><p>31.8 x 32</p><div style="width:31.8px" class="image"></div></div>
+</div>
+
+<div>
+<div class="cell"><p>32 x 32</p><div style="width:32px" class="image"></div></div>
+<div class="cell"><p>32.1 x 32</p><div style="width:32.1px" class="image"></div></div>
+<div class="cell"><p>32.5 x 32</p><div style="width:32.5px" class="image"></div></div>
+<div class="cell"><p>32.8 x 32</p><div style="width:32.8px" class="image"></div></div>
+</div>
+
+<div>
+<div class="cell"><p>32 x 31 </p><div style="height:31px" class="image"></div></div>
+<div class="cell"><p>32 x 31.1 </p><div style="height:31.1px" class="image"></div></div>
+<div class="cell"><p>32 x 31.5 </p><div style="height:31.5px" class="image"></div></div>
+<div class="cell"><p>32 x 31.8 </p><div style="height:31.8px" class="image"></div></div>
+</div>
+
+<div>
+<div class="cell"><p>32 x 32 </p><div style="height:32px" class="image"></div></div>
+<div class="cell"><p>32 x 32.1 </p><div style="height:32.1px" class="image"></div></div>
+<div class="cell"><p>32 x 32.5 </p><div style="height:32.5px" class="image"></div></div>
+<div class="cell"><p>32 x 32.8 </p><div style="height:32.8px" class="image"></div></div>
+</div>
+
+</body></html>