Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /mathml/tables/rowlines-3-1.html - WPT Dashboard Interop Dashboard
<!-- -*- 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"/>
<link rel="mismatch" href="rowlines-3-1-ref.html"/>
<link rel="stylesheet" href="/fonts/ahem.css" />
<style>
div, math {
font: 25px/1 Ahem;
}
</style>
</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>