Skip to content

Commit

Permalink
Adding charset to all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
georges-gomes committed Apr 19, 2024
1 parent aa359fe commit 8ff107a
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 18 deletions.
3 changes: 3 additions & 0 deletions packages/www/public/features/autofixes/source/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
</head>
<body>
<h1>Fix image dimensions with wong format</h1>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<html>
<head>
<meta charset="UTF-8" />
<title>Browser compability</title>
<link rel="stylesheet" href="styles.css" />
</head>
Expand Down
35 changes: 17 additions & 18 deletions packages/www/public/features/compress-all/source/index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<head>
<meta charset="UTF-8" />
<style>
body {
background-color: whitesmoke;
}

p {
color: black;
}
</style>
</head>
<body>

<h1 style="color: seagreen;">Compress all untouched assets</h1>
body {
background-color: whitesmoke;
}

<p id="message"></p>
p {
color: black;
}
</style>
</head>
<body>
<h1 style="color: seagreen">Compress all untouched assets</h1>

</body>
<script>
const id = "message";
<p id="message"></p>
</body>
<script>
const id = 'message';
const element = document.getElementById(id);
element.innerHTML = "This page doesn't reference any asset.";
</script>
</script>
</html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
</head>
<body>
<h1>Small images (&lt;1500 bytes) are embed in HTML directly</h1>

Expand Down
3 changes: 3 additions & 0 deletions packages/www/public/features/iframe/source/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
</head>
<body>
<h1>Lazy load iframes below the fold</h1>
<iframe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
img {
max-width: 80%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<html>
<head>
<meta charset="UTF-8" />
<title>Testing</title>
<link rel="stylesheet" href="styles.css" />
</head>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<style>
img {
max-width: 200px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<style>
img {
max-width: 80%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<style>
img {
max-width: 80%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
img {
max-width: 80%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<html>
<head>
<meta charset="UTF-8" />
<title>Testing</title>
<link rel="stylesheet" href="styles.css" />
</head>
Expand Down
3 changes: 3 additions & 0 deletions packages/www/public/features/warnings/source/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
</head>
<body>
<h1>Accessibility warnings</h1>

Expand Down

0 comments on commit 8ff107a

Please sign in to comment.