Selaa lähdekoodia

Base: Replace <!DOCTYPE> with <!DOCTYPE html> in a few files (#1511)

<!DOCTYPE> by itself is not a valid document type declaration.
Elisée Maurer 5 vuotta sitten
vanhempi
commit
d01b97b50a

+ 1 - 1
Base/home/anon/www/demo.html

@@ -1,4 +1,4 @@
-<!DOCTYPE>
+<!DOCTYPE html>
 <html>
 <head>
     <title>Canvas, timer, random and event demo</title>

+ 1 - 1
Base/home/anon/www/dom.html

@@ -1,4 +1,4 @@
-<!DOCTYPE>
+<!DOCTYPE html>
 <html>
     <head></head>
     <body>

+ 1 - 1
Base/home/anon/www/form.html

@@ -1,4 +1,4 @@
-<!DOCTYPE>
+<!DOCTYPE html>
 <html>
 <head><title>Form</title></head>
 <body>

+ 1 - 1
Base/home/anon/www/innerHTML.html

@@ -1,4 +1,4 @@
-<!DOCTYPE>
+<!DOCTYPE html>
 <html>
 <head>
 </head>

+ 1 - 1
Base/www/index.html

@@ -1,4 +1,4 @@
-<!DOCTYPE>
+<!DOCTYPE html>
 <html>
     <head><title>WebServer start page!</title></head>
     <body>

+ 1 - 1
Base/www/other.html

@@ -1,4 +1,4 @@
-<!DOCTYPE>
+<!DOCTYPE html>
 <html>
     <head><title>WebServer other page!</title></head>
     <body>

+ 1 - 1
Libraries/LibWeb/Dump.cpp

@@ -57,7 +57,7 @@ void dump_tree(const Node& node)
     } else if (is<Text>(node)) {
         dbgprintf("\"%s\"\n", static_cast<const Text&>(node).data().characters());
     } else if (is<DocumentType>(node)) {
-        dbgprintf("<!DOCTYPE>\n");
+        dbgprintf("<!DOCTYPE html>\n");
     } else if (is<Comment>(node)) {
         dbgprintf("<!--%s-->\n", to<Comment>(node).data().characters());
     } else if (is<DocumentFragment>(node)) {