[Piglit] [PATCH 2/5] summary/html: drop type from css-links

Erik Faye-Lund erik.faye-lund at collabora.com
Tue Jan 22 10:41:08 UTC 2019


This is no longer required in HTML5, so let's drop it.

Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
---
 templates/empty_status.mako | 2 +-
 templates/feature.mako      | 2 +-
 templates/index.mako        | 2 +-
 templates/test_result.mako  | 2 +-
 templates/testrun_info.mako | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/templates/empty_status.mako b/templates/empty_status.mako
index 989a1402a..023295d7e 100644
--- a/templates/empty_status.mako
+++ b/templates/empty_status.mako
@@ -3,7 +3,7 @@
   <head>
     <meta charset="UTF-8">
     <title>Result summary</title>
-    <link rel="stylesheet" href="status.css" type="text/css" />
+    <link rel="stylesheet" href="status.css">
   </head>
   <body>
     <h1>Result summary</h1>
diff --git a/templates/feature.mako b/templates/feature.mako
index fa0b19d3e..2a754baa9 100644
--- a/templates/feature.mako
+++ b/templates/feature.mako
@@ -30,7 +30,7 @@
   <head>
     <meta charset="UTF-8">
     <title>Result summary</title>
-    <link rel="stylesheet" href="index.css" type="text/css" />
+    <link rel="stylesheet" href="index.css">
   </head>
   <body>
     <h1>Feature readiness</h1>
diff --git a/templates/index.mako b/templates/index.mako
index f3a027f69..a9bc6268c 100644
--- a/templates/index.mako
+++ b/templates/index.mako
@@ -62,7 +62,7 @@
   <head>
     <meta charset="UTF-8">
     <title>Result summary</title>
-    <link rel="stylesheet" href="index.css" type="text/css" />
+    <link rel="stylesheet" href="index.css">
   </head>
   <body>
     <h1>Result summary</h1>
diff --git a/templates/test_result.mako b/templates/test_result.mako
index 9a6ffea7e..62f6989b5 100644
--- a/templates/test_result.mako
+++ b/templates/test_result.mako
@@ -3,7 +3,7 @@
   <head>
     <meta charset="UTF-8">
     <title>${testname} - Details</title>
-    <link rel="stylesheet" href="${css}" type="text/css" />
+    <link rel="stylesheet" href="${css}">
   </head>
   <body>
     <h1>Results for ${testname}</h1>
diff --git a/templates/testrun_info.mako b/templates/testrun_info.mako
index 0af4f1c43..61fb0ae4b 100644
--- a/templates/testrun_info.mako
+++ b/templates/testrun_info.mako
@@ -6,7 +6,7 @@
   <head>
     <meta charset="UTF-8">
     <title>${name} - System info</title>
-    <link rel="stylesheet" href="../result.css" type="text/css" />
+    <link rel="stylesheet" href="../result.css">
   </head>
   <body>
     <h1>System info for ${name}</h1>
-- 
2.20.1



More information about the Piglit mailing list