summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/rowlines-3-2.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/mathml/rowlines-3-2.html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/rowlines-3-2.html')
-rw-r--r--layout/reftests/mathml/rowlines-3-2.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/layout/reftests/mathml/rowlines-3-2.html b/layout/reftests/mathml/rowlines-3-2.html
new file mode 100644
index 0000000000..685970faf9
--- /dev/null
+++ b/layout/reftests/mathml/rowlines-3-2.html
@@ -0,0 +1,53 @@
+<!-- -*- mode: HTML; tab-width: 2; indent-tabs-mode: nil; -*- -->
+<!-- vim: set tabstop=2 expandtab shiftwidth=2 textwidth=80: -->
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>mtable frame</title>
+ <!-- Copyright (c) 2011 Design Science, Inc.
+ License: Apache License 2.0 -->
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ </head>
+
+ <body>
+
+ <!-- We assume there is a gap of more than 1px between dashes. Hence
+ putting two dashed lines with only one pixel of difference in their
+ horizontal coordinates should not render the same as one dashed line
+ alone. The opposite is true for continuous line.
+ The red squares allow to ignore the difference at the bounds -->
+
+ <div style="position: absolute; top: 5px; left: 5px;">
+ <math>
+ <mtable width="150px" rowlines="solid">
+ <mtr>
+ <mtd><mspace></mspace></mtd>
+ </mtr>
+ <mtr>
+ <mtd><mspace></mspace></mtd>
+ </mtr>
+ </mtable>
+ </math>
+ </div>
+
+ <div style="position: absolute; top: 5px; left: 6px;">
+ <math>
+ <mtable width="150px" rowlines="solid">
+ <mtr>
+ <mtd><mspace></mspace></mtd>
+ </mtr>
+ <mtr>
+ <mtd><mspace></mspace></mtd>
+ </mtr>
+ </mtable>
+ </math>
+ </div>
+
+ <div style="position: absolute; top: 5px; left: 0px;
+ width: 50px; height: 50px; background: red;"></div>
+
+ <div style="position: absolute; top: 5px; left: 112px;
+ width: 50px; height: 50px; background: red;"></div>
+
+ </body>
+</html>