mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:17:34 +00:00
LibWeb: Implement test-web in terms of LibTest/JavaScriptTestRunner
This deduplicates the test-js copy-ism :^)
This commit is contained in:
parent
f137c1bfaa
commit
d897abf4c2
26 changed files with 643 additions and 1159 deletions
|
@ -1,8 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<!--This is a comment-->
|
||||
</body>
|
||||
<head> </head>
|
||||
<body>
|
||||
<!--This is a comment-->
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<div class="duplicate">First</div>
|
||||
<div class="duplicate">Second</div>
|
||||
<div id="unique"></div>
|
||||
<div id="dupeId">First ID</div>
|
||||
<div id="dupeId">Second ID</div>
|
||||
</body>
|
||||
<head> </head>
|
||||
<body>
|
||||
<div class="duplicate">First</div>
|
||||
<div class="duplicate">Second</div>
|
||||
<div id="unique"></div>
|
||||
<div id="dupeId">First ID</div>
|
||||
<div id="dupeId">Second ID</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,28 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<table id="empty-table"></table>
|
||||
<table id="full-table">
|
||||
<caption>A Caption</caption>
|
||||
<thead>
|
||||
<th>Head Cell</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
Body Cell
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td>
|
||||
Footer Cell
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</body>
|
||||
<head> </head>
|
||||
<body>
|
||||
<table id="empty-table"></table>
|
||||
<table id="full-table">
|
||||
<caption>
|
||||
A Caption
|
||||
</caption>
|
||||
<thead>
|
||||
<th>Head Cell</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Body Cell</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td>Footer Cell</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<template id="template">
|
||||
<div id="templatediv">Hello template!</div>
|
||||
<script>
|
||||
// I shouldn't be run.
|
||||
window.templateScriptRan = true;
|
||||
</script>
|
||||
</template>
|
||||
</body>
|
||||
<head> </head>
|
||||
<body>
|
||||
<template id="template">
|
||||
<div id="templatediv">Hello template!</div>
|
||||
<script>
|
||||
// I shouldn't be run.
|
||||
window.templateScriptRan = true;
|
||||
</script>
|
||||
</template>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue