Bug 975935 - Import rowlines/columnlines tests from MathJax. r=fredw

This commit is contained in:
James Kitchener 2014-03-03 10:37:24 -05:00
parent ed09b3f79b
commit c0293f8c6b
23 changed files with 1241 additions and 1 deletions

View File

@ -0,0 +1,77 @@
<!-- -*- 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>
<math>
<mtable>
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>10</mn>
</mtd>
<mtd>
<mn>11</mn>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>13</mn>
</mtd>
<mtd>
<mn>14</mn>
</mtd>
<mtd>
<mn>15</mn>
</mtd>
<mtd>
<mn>16</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!-- -*- 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>
<math>
<mtable columnlines="none">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>10</mn>
</mtd>
<mtd>
<mn>11</mn>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>13</mn>
</mtd>
<mtd>
<mn>14</mn>
</mtd>
<mtd>
<mn>15</mn>
</mtd>
<mtd>
<mn>16</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!-- -*- 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>
<math>
<mtable columnlines="solid">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>10</mn>
</mtd>
<mtd>
<mn>11</mn>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>13</mn>
</mtd>
<mtd>
<mn>14</mn>
</mtd>
<mtd>
<mn>15</mn>
</mtd>
<mtd>
<mn>16</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!-- -*- 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>
<math>
<mtable columnlines="dashed">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>10</mn>
</mtd>
<mtd>
<mn>11</mn>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>13</mn>
</mtd>
<mtd>
<mn>14</mn>
</mtd>
<mtd>
<mn>15</mn>
</mtd>
<mtd>
<mn>16</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!-- -*- 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>
<math>
<mtable columnlines="solid none dashed dashed dashed">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>*</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!-- -*- 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>
<math>
<mtable columnlines="solid none dashed">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>*</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!-- -*- 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>
<math>
<mtable columnlines="solid none dashed dashed dashed solid solid none solid none">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>*</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!-- -*- 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>
<div style="position: absolute; top: 5px; left: 5px;">
<math>
<mtable columnlines="dashed">
<mtr>
<mtd><mspace height="150px"></mspace></mtd>
<mtd><mspace height="150px"></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: 115px; left: 0px;
width: 50px; height: 55px; background: red;"></div>
</body>
</html>

View File

@ -0,0 +1,48 @@
<!-- -*- 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
vertical 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 columnlines="dashed">
<mtr>
<mtd><mspace height="150px"></mspace></mtd>
<mtd><mspace height="150px"></mspace></mtd>
</mtr>
</mtable>
</math>
</div>
<div style="position: absolute; top: 6px; left: 5px;">
<math>
<mtable columnlines="dashed">
<mtr>
<mtd><mspace height="150px"></mspace></mtd>
<mtd><mspace height="150px"></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: 115px; left: 0px;
width: 50px; height: 55px; background: red;"></div>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!-- -*- 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>
<div style="position: absolute; top: 5px; left: 5px;">
<math>
<mtable columnlines="solid">
<mtr>
<mtd><mspace height="150px"></mspace></mtd>
<mtd><mspace height="150px"></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: 115px; left: 0px;
width: 50px; height: 55px; background: red;"></div>
</body>
</html>

View File

@ -0,0 +1,48 @@
<!-- -*- 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
vertical 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 columnlines="solid">
<mtr>
<mtd><mspace height="150px"></mspace></mtd>
<mtd><mspace height="150px"></mspace></mtd>
</mtr>
</mtable>
</math>
</div>
<div style="position: absolute; top: 6px; left: 5px;">
<math>
<mtable columnlines="solid">
<mtr>
<mtd><mspace height="150px"></mspace></mtd>
<mtd><mspace height="150px"></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: 115px; left: 0px;
width: 50px; height: 55px; background: red;"></div>
</body>
</html>

View File

@ -245,3 +245,17 @@ fuzzy-if(OSX,1,100) == menclose-5-circle.html menclose-5-circle-ref.html
== mo-movablelimits-dynamic.html mo-movablelimits-dynamic-ref.html
== munderover-accent-dynamic.html munderover-accent-dynamic-ref.html
== munderover-accentunder-dynamic.html munderover-accentunder-dynamic-ref.html
== columnlines-1a.html columnlines-1-ref.html
!= columnlines-1b.html columnlines-1-ref.html
!= columnlines-1c.html columnlines-1-ref.html
== columnlines-2a.html columnlines-2-ref.html
== columnlines-2b.html columnlines-2-ref.html
!= columnlines-3-1.html columnlines-3-1-ref.html
== columnlines-3-2.html columnlines-3-2-ref.html
== rowlines-1a.html rowlines-1-ref.html
!= rowlines-1b.html rowlines-1-ref.html
!= rowlines-1c.html rowlines-1-ref.html
== rowlines-2a.html rowlines-2-ref.html
== rowlines-2b.html rowlines-2-ref.html
!= rowlines-3-1.html rowlines-3-1-ref.html
== rowlines-3-2.html rowlines-3-2-ref.html

View File

@ -0,0 +1,77 @@
<!-- -*- 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>
<math>
<mtable>
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>10</mn>
</mtd>
<mtd>
<mn>11</mn>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>13</mn>
</mtd>
<mtd>
<mn>14</mn>
</mtd>
<mtd>
<mn>15</mn>
</mtd>
<mtd>
<mn>16</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!-- -*- 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>
<math>
<mtable rowlines="none">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>10</mn>
</mtd>
<mtd>
<mn>11</mn>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>13</mn>
</mtd>
<mtd>
<mn>14</mn>
</mtd>
<mtd>
<mn>15</mn>
</mtd>
<mtd>
<mn>16</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!-- -*- 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>
<math>
<mtable rowlines="solid">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>10</mn>
</mtd>
<mtd>
<mn>11</mn>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>13</mn>
</mtd>
<mtd>
<mn>14</mn>
</mtd>
<mtd>
<mn>15</mn>
</mtd>
<mtd>
<mn>16</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!-- -*- 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>
<math>
<mtable rowlines="dashed">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>9</mn>
</mtd>
<mtd>
<mn>10</mn>
</mtd>
<mtd>
<mn>11</mn>
</mtd>
<mtd>
<mn>12</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>13</mn>
</mtd>
<mtd>
<mn>14</mn>
</mtd>
<mtd>
<mn>15</mn>
</mtd>
<mtd>
<mn>16</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,51 @@
<!-- -*- 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>
<math>
<mtable rowlines="none dashed solid solid solid">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>3</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>*</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,51 @@
<!-- -*- 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>
<math>
<mtable rowlines="none dashed solid">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>3</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>*</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,51 @@
<!-- -*- 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>
<math>
<mtable rowlines="none dashed solid solid solid none dashed dashed none">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>3</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>*</mn>
</mtd>
</mtr>
</mtable>
</math>
</body>
</html>

View File

@ -0,0 +1,34 @@
<!-- -*- 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>
<div style="position: absolute; top: 5px; left: 5px;">
<math>
<mtable width="150px" rowlines="dashed">
<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: 110px;
width: 50px; height: 50px; background: red;"></div>
</body>
</html>

View File

@ -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="dashed">
<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="dashed">
<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: 110px;
width: 50px; height: 50px; background: red;"></div>
</body>
</html>

View File

@ -0,0 +1,34 @@
<!-- -*- 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>
<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: 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>

View File

@ -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>