summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/445142-1-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/bugs/445142-1-ref.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/bugs/445142-1-ref.html')
-rw-r--r--layout/reftests/bugs/445142-1-ref.html147
1 files changed, 147 insertions, 0 deletions
diff --git a/layout/reftests/bugs/445142-1-ref.html b/layout/reftests/bugs/445142-1-ref.html
new file mode 100644
index 0000000000..265497df60
--- /dev/null
+++ b/layout/reftests/bugs/445142-1-ref.html
@@ -0,0 +1,147 @@
+<!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: 0;
+ margin-bottom: 2px;
+ }
+
+ td { color: black; background: yellow; }
+ td + td { background: aqua; }
+ td + td + td { background: fuchsia; }
+
+ </style>
+</head>
+<body>
+
+<table>
+ <tr>
+ <td style="width: 600px">100px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 700px">700px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">600px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 200px">100px</td>
+ <td style="width: 400px">200px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 200px">150px</td>
+ <td style="width: 400px">300px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">20%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">100%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">120%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 200px">20%</td>
+ <td style="width: 400px">40%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 200px">30%</td>
+ <td style="width: 400px">60%</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 120px">20%</td>
+ <td style="width: 480px">100px</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 120px">20%</td>
+ <td style="width: 100px">100px</td>
+ <td style="width: 380px">div</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">20%</td>
+ <td style="width: 0"><div style="width: 0">0</div></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">20%</td>
+ <td style="width: 0"><div style="width: 0">0%</div></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">100px</td>
+ <td style="width: 0"><div style="width: 0">0</div></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 600px">100px</td>
+ <td style="width: 0"><div style="width: 0">0%</div></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 300px">0</td>
+ <td style="width: 300px">0</td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td style="width: 300px">0%</td>
+ <td style="width: 300px">0</td>
+ </tr>
+</table>
+
+</body>
+</html>