--- test/html-webhacc/cc-style.css 2008/02/09 12:22:19 1.17
+++ 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;
@@ -177,6 +179,12 @@
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,
@@ -194,6 +202,28 @@
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);
}
@@ -228,6 +258,10 @@
text-decoration: none;
}
+body[data-scripted] #nav-items {
+ display: none;
+}
+
img {
border-style: none;
}
@@ -352,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;
}
@@ -390,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: 2008/02/09 12:22:19 $
+$Date: 2008/08/10 11:49:43 $
*/