summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/445142-2-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/bugs/445142-2-ref.html
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/445142-2-ref.html148
1 files changed, 148 insertions, 0 deletions
diff --git a/layout/reftests/bugs/445142-2-ref.html b/layout/reftests/bugs/445142-2-ref.html
new file mode 100644
index 0000000000..31be5f7d66
--- /dev/null
+++ b/layout/reftests/bugs/445142-2-ref.html
@@ -0,0 +1,148 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en-US">
+<head>
+ <title>table-layout: fixed width distribution with unassigned space</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+ <style type="text/css">
+
+ table, td { margin: 0; padding: 0; }
+
+ table {
+ border-spacing: 10px 0;
+ margin-bottom: 2px;
+ padding: 0 10px;
+ }
+
+ td { color: black; background: yellow; }
+ td + td { background: aqua; }
+ td + td + td { background: fuchsia; }
+
+ </style>
+</head>
+<body>
+
+<table>
+ <tr>
+ <td style="width: 460px">100px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 500px">500px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">600px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 150px">100px</td>
+ <td style="width: 300px">200px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 150px">150px</td>
+ <td style="width: 300px">300px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 460px">20%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 460px">100%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 460px">120%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 150px">20%</td>
+ <td style="width: 300px">40%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 150px">30%</td>
+ <td style="width: 300px">60%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 90px">20%</td>
+ <td style="width: 360px">100px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 88px">20%</td>
+ <td style="width: 100px">100px</td>
+ <td style="width: 252px">div</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 450px">20%</td>
+ <td style="width: 0"><div style="width: 0">0</div></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 450px">20%</td>
+ <td style="width: 0"><div style="width: 0">0%</div></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 450px">100px</td>
+ <td style="width: 0"><div style="width: 0">0</div></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 450px">100px</td>
+ <td style="width: 0"><div style="width: 0">0%</div></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 225px">0</td>
+ <td style="width: 225px">0</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 225px">0%</td>
+ <td style="width: 225px">0</td>
+ </tr>
+</table>
+
+</body>
+</html>