W3C home > Mailing lists > Public > public-css-commits@w3.org > December 2011

csswg/css-module default.css,1.24,1.25

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 14 Dec 2011 00:38:00 +0000
To: public-css-commits@w3.org
Message-Id: <E1RacrA-00061Z-MW@lionel-hutz.w3.org>
Update of /sources/public/csswg/css-module
In directory hutz:/tmp/cvs-serv23136

Modified Files:
	default.css 
Log Message:
Made illegal example distinguishable from legal ones.

Index: default.css
===================================================================
RCS file: /sources/public/csswg/css-module/default.css,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- default.css	13 Dec 2011 01:59:43 -0000	1.24
+++ default.css	14 Dec 2011 00:37:58 -0000	1.25
@@ -87,19 +87,16 @@
 .example {
 	counter-increment: exampleno;
 }
-div.example:before {
+div.example:before, pre.example:before {
 	content: "Example";
 	content: "Example " counter(exampleno);
 	min-width: 7.5em;
 	text-transform: uppercase;
 	display: block;
 }
-pre.example:before {
-	content: "Example";
-	content: "Example " counter(exampleno);
-	min-width: 7.5em;
-	text-transform: uppercase;
-	display: block;
+div.illegal-example:before, pre.illegal-example:before {
+	content: "Invalid Example";
+	content: "Invalid Example" counter(exampleno);
 }
 div.example, div.illegal-example, div.html, div.illegal-html, div.xml,
 div.illegal-xml, pre.example, pre.illegal-example, pre.html,
Received on Wednesday, 14 December 2011 00:40:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:08 UTC