aboutsummaryrefslogtreecommitdiff
path: root/test/data/html/test-document2.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-30 20:44:54 -0500
committerGitHub <noreply@github.com>2021-01-30 20:44:54 -0500
commit9e83faa02c136da9e4749b696d8c7a0b363c0745 (patch)
treeaa0b5d7f4ee78a870da84e80e4eef266c2485570 /test/data/html/test-document2.html
parent60c38ab83c429d9e4853dbd4ea9fa06eb8f9efa6 (diff)
Html lint (#1336)
* Move style rules * Fix non-unique IDs * Remove erroneous ids * Add title * Fix invalid closing tag * Install html-validate * Add .htmlvalidate.json * Update HTML and styles * Add test-lint-html * Update test files * Update test-lint-html/css commands to have more explicit targets
Diffstat (limited to 'test/data/html/test-document2.html')
-rw-r--r--test/data/html/test-document2.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/data/html/test-document2.html b/test/data/html/test-document2.html
index 419cb5c1..7f7120d2 100644
--- a/test/data/html/test-document2.html
+++ b/test/data/html/test-document2.html
@@ -2,10 +2,10 @@
<html>
<head>
<meta charset="UTF-8">
- <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <meta name="viewport" content="width=device-width,initial-scale=1">
<title>Yomichan Manual Tests</title>
- <link rel="icon" type="image/gif" href="data:image/gif;base64,R0lGODlhEAAQAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAQABAAAAImFI6Zpt0B4YkS0TCpq07xbmEgcGVRUpLaI46ZG7ppalY0jDCwUAAAOw==" />
- <link rel="stylesheet" href="test-stylesheet.css" />
+ <link rel="icon" type="image/gif" href="data:image/gif;base64,R0lGODlhEAAQAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAQABAAAAImFI6Zpt0B4YkS0TCpq07xbmEgcGVRUpLaI46ZG7ppalY0jDCwUAAAOw==">
+ <link rel="stylesheet" href="test-stylesheet.css">
<script src="test-document2-script.js"></script>
</head>
<style id="container-styles">
@@ -47,7 +47,7 @@
<y-description>Content inside of an open shadow DOM.</y-description>
<div class="template-content-container"></div>
<template>
- <link rel="stylesheet" href="test-stylesheet.css" />
+ <link rel="stylesheet" href="test-stylesheet.css">
<div class="fullscreen-element container"><div class="container-inner">
<div>
ありがとう
@@ -63,7 +63,7 @@
<y-description>Content inside of a closed shadow DOM.</y-description>
<div class="template-content-container"></div>
<template>
- <link rel="stylesheet" href="test-stylesheet.css" />
+ <link rel="stylesheet" href="test-stylesheet.css">
<div class="fullscreen-element container"><div class="container-inner">
<div>
ありがとう
@@ -108,7 +108,7 @@
<y-test>
<y-description>SVG &lt;img&gt;.</y-description>
- <img src="test-document2-frame2.svg" class="container">
+ <img src="test-document2-frame2.svg" class="container" alt="">
</y-test>
<y-test>
@@ -128,7 +128,7 @@
<y-test>
<y-description>SVG &lt;svg&gt;.</y-description>
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="container" style="background-color: #f8f8f8;">
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="container" style="background-color: #f8f8f8;" focusable="false">
<text
x="7"
y="12"