--- test/html-webhacc/cc-style.css 2007/09/10 11:51:09 1.9 +++ test/html-webhacc/cc-style.css 2007/11/04 09:15:02 1.11 @@ -7,7 +7,7 @@ padding: 0.5em 1em; } -dt, strong { +dt, strong, th { font-weight: bolder; font-family: sans-serif; } @@ -103,7 +103,32 @@ font-size: 90%; } -#parse-errors dd, #document-errors dd, #error-description h3 { +#dump-manifest tbody:empty { + display: table-caption; + caption-side: bottom; +} + +#dump-manifest tbody:empty::after { + content: "This cache manifest contains no oppotunistic caching namespace."; + font-style: italic; +} + +#dump-manifest dt:first-child + dt::before, +#dump-manifest dt:last-child::after { + display: block; + content: "This cache manifest contains no explicit entry."; + margin-left: 2.5em; + font-style: italic; + font-weight: normal; + font-family: serif; +} + +#dump-manifest dt:last-child::after { + content: "This cache manifest has an empty online whitelist."; +} + +#parse-errors dd, #document-errors dd, #error-description h3, +#result-para { margin-left: 20px; padding-left: 40px; min-height: 32px; @@ -129,7 +154,8 @@ margin-right: 1em; } -#document-errors dd.should, #error-description .should h3 { +#document-errors dd.should, #error-description .should h3, +#result-para.SEE-RESULT { background-image: url(large-alert); } @@ -139,10 +165,15 @@ padding: 0.5em; } -#document-errors dd.unsupported, #error-description .unsupported h3 { +#document-errors dd.unsupported, #error-description .unsupported h3, +#result-para.uncertain { background-image: none; } +#result-para.PASS { + background-image: url(ok); +} + #nav-items { display: block; position: fixed; @@ -210,8 +241,6 @@ #result-summary th { background-color: #fff0f0; color: black; - font-weight: bolder; - font-family: sans-serif; } #result-summary th, #result-summary td { @@ -226,12 +255,12 @@ color: black; } -.FAIL { +.FAIL, .uncertain td.FAIL { background-color: #ffcece; color: black; } -.SEE-RESULT { +.SEE-RESULT, .uncertain td.SEE-RESULT { background-color: #e1e1ff; color: black; } @@ -242,16 +271,45 @@ } #result-para { - padding: 0.2em 1em; + padding-top: 0.2em; + padding-bottom: 0.2em; + padding-right: 1em; +} + +/* dl.switch from WHATWG specification style sheet */ + +dl.switch { + padding-left: 2em; +} + +dl.switch dt { + display: block; + text-indent: -1.5em; + font-weight: bolder; + font-family: sans-serif; + font-style: normal; +} + +dl.switch dt:before { + content: '\21AA'; + padding: 0 0.5em 0 0; + display: inline-block; + width: 1em; + text-align: right; + line-height: 0.5em; +} + +dl.switch dt:after { + content: " :"; } /* -Copyright 2007 Wakaba +Copyright 2007 Wakaba . This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -$Date: 2007/09/10 11:51:09 $ +$Date: 2007/11/04 09:15:02 $ */