Meta: Add DOCTYPEs to most text tests

This commit is contained in:
Psychpsyo 2025-03-18 19:28:35 +01:00 committed by Jelle Raaijmakers
commit b3487d8994
Notes: github-actions[bot] 2025-03-20 10:52:03 +00:00
536 changed files with 536 additions and 4 deletions

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div id="one"></div><div id="two"></div><script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div id="one"></div><div id="two"></div><script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<body>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<form name="bob">
<button type="submit" id="fred" name="george" value="submit">Submit</button>
</form>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
function setDesignMode(value) {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<svg xmlns="http://www.w3.org/2000/svg">
<script id="with-xlink-href" xlink:href="test"></script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<svg xmlns="http://www.w3.org/2000/svg">
<script id="with-xlink-href" xlink:href="test"></script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<svg xmlns="http://www.w3.org/2000/svg">
<script id="with-xlink-href" xlink:href="test"></script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<style>
.scrollable-div {
width: 100%;

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<div>
<p>Some text</p>
</div>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<input type="text" id="input" value="12389" />
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<input type="text" id="text-input">
<input type="date" id="date-input">
<textarea id="textarea">some

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<div id></div>
<div id=haxx></div>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<a name="anchor1" id="foo"></a>
<a name="anchor2" id="baz"></a>
<a name="anchor3" id="anchor1"></a>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<a name="foo"></a>
<a name="bar"></a>
<a name="baz"></a>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<body><p id="p1"><b>Hello💨</b>😮 World</p>
<script src="../include.js"></script>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<svg><circle id=c a(></svg>
<script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id="foo" n="1"></div><div id="foo" n="2"></div>
<script src="../include.js"></script>
<script>

View file

@ -1,5 +1,5 @@
<!--refer to https://wpt.live/css/cssom-view/range-bounding-client-rect-with-nested-text.html -->
<!DOCTYPE html>
<!--refer to https://wpt.live/css/cssom-view/range-bounding-client-rect-with-nested-text.html -->
<meta charset="utf-8">
<title>All the rectangles for the text nodes must included in getClientRects</title>
<script src="../include.js"></script>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<!--refer to https://wpt.live/css/cssom-view/DOMRectList.html -->
<body>
<div id="x">x</div>

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {

View file

@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {