summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/float-table-align-left-quirk.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 /testing/web-platform/tests/css/CSS2/floats/float-table-align-left-quirk.html
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/floats/float-table-align-left-quirk.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/floats/float-table-align-left-quirk.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/floats/float-table-align-left-quirk.html b/testing/web-platform/tests/css/CSS2/floats/float-table-align-left-quirk.html
new file mode 100644
index 0000000000..60e219078a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/floats/float-table-align-left-quirk.html
@@ -0,0 +1,36 @@
+<!-- intentionally quirks mode -->
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html><head>
+ <title>CSS2: Check that the old IE quirk for &lt;table align=left&gt; is NOT implemented</title>
+ <meta name="assert" content="1 and 2 should all be on separate lines below.">
+ <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
+ <link rel="match" href="float-table-align-left-quirk-ref.html">
+</head>
+<body>
+
+<div style="width:0">
+<table align="left"><td>1</td></table>
+<table align="left"><td>2</td></table>
+</div>
+
+<div style="width:0">
+<table align="left"><td>1</td></table>
+<table style="float:left"><td>2</td></table>
+</div>
+
+<div style="width:0">
+<table style="float:left"><td>1</td></table>
+<table align="left"><td>2</td></table>
+</div>
+
+<div style="width:0">
+<table style="float:left"><td>1</td></table>
+<table style="float:left"><td>2</td></table>
+</div>
+
+</body>
+</html>