--- test/html-webhacc/cc-style.css 2007/11/18 11:05:12 1.15
+++ test/html-webhacc/cc-style.css 2008/08/10 11:49:43 1.22
@@ -152,7 +152,9 @@
min-height: 20px;
}
-#identifiers dd + dd, #terms dd + dd {
+#identifiers dd + dd
+/* , #terms dd + dd */ /* Now allowed - HTML5 revision 1467 */
+{
background-image: url(error);
background-position: center left;
background-repeat: no-repeat;
@@ -163,18 +165,28 @@
margin-right: 1em;
}
+#parse-errors dd.level-s, #document-errors dd.level-s,
#parse-errors dd.should,
#document-errors dd.should, #error-description .should h3,
#result-para.SEE-RESULT, #levels-table #level-s th {
- background-image: url(large-alert);
+ background-image: url(large-stop);
}
+#parse-errors dd.level-w, #document-errors dd.level-w,
#parse-errors dd.warning,
#document-errors dd.warning, #error-description .warning h3,
#levels-table #level-w th {
+ background-image: url(large-alert);
+}
+
+#parse-errors dd.level-i, #document-errors dd.level-i,
+#error-description .level-i h3,
+#levels-table #level-i th {
background-image: url(large-info);
}
+#parse-errors dd.level-u, #document-errors dd.level-u,
+#parse-errors dd.level-unsupported, #document-errors dd.level-unsupported,
#parse-errors dd.unsupported,
#document-errors dd.unsupported {
margin-left: 60px;
@@ -184,10 +196,34 @@
#parse-errors dd.unsupported,
#document-errors dd.unsupported, #error-description .unsupported h3,
-#result-para.uncertain, #levels-table #level-unsupported th {
+#result-para.uncertain,
+#parse-errors dd.level-u, #document-errors dd.level-u,
+#levels-table #level-u th {
background-image: none;
}
+.error-category-charset {
+ background-image: url(icons/char-16);
+ background-position: left center;
+ background-repeat: no-repeat;
+ padding-left: 20px;
+}
+
+.format-charset, .tokenizer-error, .parse-error {
+ background-image: url(icons/syntax-16);
+ background-position: left center;
+ background-repeat: no-repeat;
+ padding-left: 20px;
+}
+
+.content-model-error, .attribute-error, .attribute-value-error,
+.attribute-value-warning, .table-model-error {
+ background-image: url(icons/structure-16);
+ background-position: left center;
+ background-repeat: no-repeat;
+ padding-left: 20px;
+}
+
#result-para.PASS {
background-image: url(ok);
}
@@ -222,6 +258,10 @@
text-decoration: none;
}
+body[data-scripted] #nav-items {
+ display: none;
+}
+
img {
border-style: none;
}
@@ -330,7 +370,8 @@
empty-cells: show;
}
-.uncertain td, p.uncertain, #level-unsupported, #level-unsupported th {
+.uncertain td, p.uncertain,
+#level-u, #level-u th {
background-color: #e1e1ff;
color: black;
}
@@ -345,7 +386,8 @@
color: black;
}
-.PASS, #level-w, #level-w th {
+.PASS, #level-w, #level-w th,
+#level-i, #level-i th {
background-color: #ddffdd;
color: black;
}
@@ -383,13 +425,70 @@
content: " :";
}
+mark {
+ background-color: #ffff4d;
+}
+
+/* Tab navigation */
+
+h1 {
+ float: left;
+ font-size: 100%;
+ padding: 0 1em;
+}
+
+nav {
+ display: block;
+}
+
+nav ul {
+ margin: 0;
+ padding: 1em 0 0 0;
+}
+
+nav ul li {
+ display: inline;
+ margin: 0;
+ padding: 0 0.3em 0 0;
+ line-height: 2;
+}
+
+nav a {
+ display: inline;
+ padding: 0.1em 0.3em;
+ text-decoration: none;
+ color: inherit;
+ border: thin outset gray;
+ -moz-border-radius: 0.2em;
+ min-width: 4em;
+ text-align: center;
+}
+
+nav [data-active] a {
+ border-style: inset;
+ background-color: #C0C0C0;
+}
+
+.section {
+ clear: both;
+}
+
+body[data-scripted] > .section {
+ position: absolute;
+ top: 120px; /* h1 > img's height is 90px */
+ bottom: 0;
+ left: 0;
+ right: 0;
+ overflow: auto;
+}
+
/*
-Copyright 2007 Wakaba .
+Copyright 2007-2008 Wakaba .
This library is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
-$Date: 2007/11/18 11:05:12 $
+$Date: 2008/08/10 11:49:43 $
*/