csswg/css-module default.css,1.11,1.12

Update of /sources/public/csswg/css-module
In directory hutz:/tmp/cvs-serv27612

Modified Files:
	default.css 
Log Message:
Remove a bunch of legacy cruft. No need to support Netscape 4 quirks. :/

Index: default.css
===================================================================
RCS file: /sources/public/csswg/css-module/default.css,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- default.css	12 Nov 2011 00:26:16 -0000	1.11
+++ default.css	12 Nov 2011 01:34:06 -0000	1.12
@@ -5,17 +5,6 @@
  */
 
 @media print {
-
-	/* the following doesn't work for now,
-		 instead we rely on a patched version of html2ps which has this built-in */
-	.dlink { display: none }
-
-	/* the following doesn't work for now,
-		 instead we rely on a patched version of html2ps which has this built-in */
-	div.navbar {
-		 display: none;
-	}
-
 	html { margin: 0 !important }
 	body { font-family: serif }
 	th, td { font-family: inherit }
@@ -29,8 +18,6 @@
 	margin: 1.5cm 1.1cm;
 }
 
-/* html body { margin-left: 8.5em } /* Overrides 70px in base.css */
-
 body {counter-reset: exampleno figure issue; max-width: 50em; margin: 0 auto !important; color: #444; }
 
 /* Pagination */
@@ -59,8 +46,6 @@
 }
 
 pre {
-	text-align: left; /* fixes justification in Mac IE 5 */
-	text-indent: 0;   /* fixes indent in Mac Netscape 6 */
 	margin-top: 1em;
 	margin-bottom: 1em;
 	font-size: 90% /*smaller*/;
@@ -74,30 +59,26 @@
 	text-indent: 0;
 }
 
+body {
+	line-height: 1.5;
+}
 
-@media all { /* NS < 6 doesn't like borders around inline elements... */
-
-	body {
-		line-height: 1.5;
-	}
-
-	a:link, a:visited {
-		color: inherit;
-		text-decoration: underline;
-	}
+a:link, a:visited {
+	color: inherit;
+	text-decoration: underline;
+}
 
-	a.logo:link, a.logo:visited {
-		padding: 0;
-		border-style: none;
-	}
+a.logo:link, a.logo:visited {
+	padding: 0;
+	border-style: none;
+}
 
-	/* Hmm, this seems to confuse many browsers... */
-	dl dd { margin: 0 0 1em 2em }
-	.head dd { margin-bottom: 0; }
-	ul, ol { margin-left: 0; padding-left: 2em; }
-	li { margin: 0.25em 2em 0.5em 0; padding-left: 0 }
+/* Hmm, this seems to confuse many browsers... */
+dl dd { margin: 0 0 1em 2em }
+.head dd { margin-bottom: 0; }
+ul, ol { margin-left: 0; padding-left: 2em; }
+li { margin: 0.25em 2em 0.5em 0; padding-left: 0 }
 
-}
 ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ }
 ul.indexlist li { margin-left: 0; list-style: none }
 ul.indexlist li li { margin-left: 1em }
@@ -150,7 +131,6 @@
 div.illegal-xml { color: red }
 div.illegal-xml p { color: black }
 
-/* code { font-size: 90% } */
 .css, .property { color: #005a9c }		/* inline CSS code (SPAN/CODE) */
 code.css { font-family: inherit; font-size: 100% }
 code.html { color: #600 }	/* inline HTML */
@@ -159,7 +139,7 @@
 .descriptor { }			/* name of a CSS descriptor (SPAN) */
 .type { font-style: italic }	/* A <type> value for a property */
 
-dfn { font-weight: bolder; /*font-size: 1em*/ }
+dfn { font-weight: bolder; }
 
 p.issue, div.issue, p.note, div.note, div.example {
 	padding: .5em;
@@ -217,24 +197,19 @@
 ul.toc li li li ul, ul.toc li li li ul li {margin-left: 0; display: inline}
 */
 
-@media all { /* NS4 doesn't align the floats properly :-( */
-
-	/* Section numbers in a column of their own */
-	ul.toc span.secno {margin-right: 1em} /* workaround for Opera6 */
-	ul.toc span.secno {float: left; width: 4em; margin-left: -5em}
-	ul.toc ul ul span.secno { margin-left: -7em; }
-	/*ul.toc span.secno {text-align: right}*/
-	ul.toc li {clear: both}
-	ul.toc {margin-left: 5em}
-	/* If we had 'tab', floats would not be needed here:
-		 ul.toc span.secno {tab: 5em right; margin-right: 1em}
-		 ul.toc li {text-indent: 5em hanging}
-	 The second line in case items wrap
-	*/
-}
+/* Section numbers in a column of their own */
+ul.toc span.secno {float: left; width: 4em; margin-left: -5em}
+ul.toc ul ul span.secno { margin-left: -7em; }
+/*ul.toc span.secno {text-align: right}*/
+ul.toc li {clear: both}
+ul.toc {margin-left: 5em}
+/* If we had 'tab', floats would not be needed here:
+	 ul.toc span.secno {tab: 5em right; margin-right: 1em}
+	 ul.toc li {text-indent: 5em hanging}
+ The second line in case items wrap
+*/
 
 ul.index {
-	list-style: disc;		/* Mac NS has problem with 'none' */
 	list-style: none;
 }
 
@@ -334,11 +309,6 @@
 	border-left: 0.5em solid #8CCBF2;
 }
 
-/* Since Jan 2008, some CSS modules use <th> instead of <td> in the
-first column of a table.propdef. These rules handle both. As of Jan
-2008, http://www.w3.org/Style/spec-mark-up still only documents <td>
-*/
-
 table.propdef td, table.propdef-extra td, table.descdef td,
 table.propdef th, table.propdef-extra th, table.descdef th {
 	padding: 0.5em;
@@ -409,16 +379,6 @@
 	border-top: thin solid;
 }
 
-/* table.propdef tr:first-child td { padding-top: 0.1em; padding-bottom: 0.1em } */
-
-/* This would replace :first-child for Opera, but it confuses WinIE :-( */
-/*
-table.propdef td { width: 8em }
-table.propdef td + td { width: auto }
-table.propdef tr { background: #005A9C; color: white }
-table.propdef tr + tr { background: transparent; color: black }
-*/
-
 table.proptable td .property {
 	display: block;
 	text-align: left;

Received on Saturday, 12 November 2011 01:34:14 UTC