Replace reftest scripts-height.html with script tests
https://bugs.webkit.org/show_bug.cgi?id=159423
Patch by Rob Buis <rbuis@igalia.com> on 2019-10-14
Reviewed by Frédéric Wang.
Remove the expected result as well.
* mathml/presentation/scripts-height-expected.html: Removed.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@251070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index c3ff76e..dcf4bfa 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2019-10-14 Rob Buis <rbuis@igalia.com>
+
+ Replace reftest scripts-height.html with script tests
+ https://bugs.webkit.org/show_bug.cgi?id=159423
+
+ Reviewed by Frédéric Wang.
+
+ Remove the expected result as well.
+
+ * mathml/presentation/scripts-height-expected.html: Removed.
+
2019-10-14 youenn fablet <youenn@apple.com>
Reuse existing web processes for running service workers
diff --git a/LayoutTests/mathml/presentation/scripts-height-expected.html b/LayoutTests/mathml/presentation/scripts-height-expected.html
deleted file mode 100644
index d96d87a..0000000
--- a/LayoutTests/mathml/presentation/scripts-height-expected.html
+++ /dev/null
@@ -1,90 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>scripts-height</title>
- <meta charset="utf-8"/>
- <style>
- td {
- border: 1px solid black;
- text-align: center; width: 100px; height: 100px;
- vertical-align: middle;
- }
- span {
- display: inline-block;
- background: black;
- border: 0;
- margin: 0;
- padding: 0;
- }
- </style>
- </head>
- <body>
-
- <!-- base with large height: the script are shifted to the top/bottom
- of the cell and should be hidden by the black rectangles -->
- <div style="position: absolute; top: 10px; left: 10px;">
- <table>
- <tr>
- <td>
- <math>
- <msubsup>
- <mspace height="40px" depth="40px"/>
- <mspace width="10px" height="5px" depth="5px"/>
- <mspace width="10px" height="5px" depth="5px"/>
- </msubsup>
- </math>
- </td>
- </tr>
- </table>
- </div>
- <div style="position: absolute; top: 10px; left: 10px;">
- <table>
- <tr>
- <td style="vertical-align: top">
- <span style="width: 20px; height: 20px;"></span>
- </td>
- </tr>
- </table>
- </div>
- <div style="position: absolute; top: 10px; left: 10px;">
- <table>
- <tr>
- <td style="vertical-align: bottom">
- <span style="width: 20px; height: 20px;"></span>
- </td>
- </tr>
- </table>
- </div>
-
- <!-- scripts of different heights: they should all be aligned in the
- middle of the cell -->
- <div style="position: absolute; top: 10px; left: 120px;">
- <table>
- <tr>
- <td style="width: 14em; height: 14em;">
- <math>
- <mspace height="7em" depth="7em"/>
- <mspace width="10px" height="1em" depth="1em" mathbackground="red"/>
- <msubsup>
- <mspace width="10px" height="1em" depth="1em" mathbackground="green"/>
- <mspace/>
- <mspace/>
- </msubsup>
- <msubsup>
- <mspace width="10px" height="1em" depth="1em" mathbackground="blue"/>
- <mspace/>
- <mspace/>
- </msubsup>
- <msubsup>
- <mspace width="10px" height="1em" depth="1em" mathbackground="yellow"/>
- <mspace/>
- <mspace/>
- </msubsup>
- </math>
- </td>
- </tr>
- </table>
- </div>
-
- </body>
-</html>