From: Kenneth Graunke <kenn...@whitecape.org>

We weren't specifying a DTD, which made validator.w3.org angry.  There's
no reason not to be strict or use SGML-based HTML, so go with XHTML.

Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
Reviewed-by: Dylan Baker <baker.dyla...@gmail.com>
---
 templates/index.html | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/templates/index.html b/templates/index.html
index 400dde3..00a47bb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,6 +1,9 @@
-<html>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
        <head>
-               <meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8">
+               <meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"/>
                <title>Result summary </title>
                <link rel="stylesheet" href="index.css"/>
        </head>
-- 
1.8.1.4

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to