Bug 778413 - Minimum cell width calculation reftest. r=dbaron
authorTal Aloni <tal.aloni.il@gmail.com>
Sat, 25 Aug 2012 12:30:47 +0200
changeset 103414 35fddfaef1b6d52763972f51fd79e674400f8947
parent 103413 ce222ba667f21636ef3ad54e0c1ad60816bba468
child 103415 10547af1914b27adba081b5d8ce2b57caf5f7144
push id13981
push userryanvm@gmail.com
push dateSat, 25 Aug 2012 19:48:18 +0000
treeherdermozilla-inbound@779bdf71cde5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs778413
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 778413 - Minimum cell width calculation reftest. r=dbaron
layout/reftests/table-bordercollapse/minimum_cell_width_calculation-Border-Box.html
layout/reftests/table-bordercollapse/minimum_cell_width_calculation-ref.html
layout/reftests/table-bordercollapse/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/minimum_cell_width_calculation-Border-Box.html
@@ -0,0 +1,30 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <title>
+        Test minimum cell width calculation
+    </title>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<style type="text/css">
+table
+{
+    vertical-align:top;
+    empty-cells:show;
+    border-collapse:collapse;
+}
+
+td
+{
+    -moz-box-sizing: border-box;
+    border: solid 1px black;
+}
+</style>
+<table>
+	<tr>
+		<td>Test wrapping</td>
+	</tr>
+</table>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/minimum_cell_width_calculation-ref.html
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <title>
+        Test minimum cell width calculation
+    </title>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<style type="text/css">
+table
+{
+    vertical-align:top;
+    empty-cells:show;
+    border-collapse:collapse;
+}
+
+td
+{
+    border: solid 1px black;
+}
+</style>
+<table>
+	<tr>
+		<td>Test wrapping</td>
+	</tr>
+</table>
+</body>
+</html>
--- a/layout/reftests/table-bordercollapse/reftest.list
+++ b/layout/reftests/table-bordercollapse/reftest.list
@@ -90,8 +90,9 @@ fails-if(cocoaWidget) == bc_borderoffset
 == borderhandling-rules-border-cols-strict.html borderhandling-rules-border-cols-strict-ref.html
 == borderhandling-rules-border-all-strict.html borderhandling-rules-border-all-strict-ref.html
 == bordercolor-1.html bordercolor-ref.html
 != bordercolor-2.html bordercolor-ref.html
 == bordercolor-3.html bordercolor-3-ref.html
 == bordercolor-4.html bordercolor-4-ref.html
 == empty-toprow.html empty-toprow-ref.html
 == double_borders.html double_borders_ref.html
+== minimum_cell_width_calculation-Border-Box.html minimum_cell_width_calculation-ref.html