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

csswg default.css,1.18,1.19

From: Bert Bos via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 02 Dec 2011 09:02:46 +0000
To: public-css-commits@w3.org
Message-Id: <E1RWP14-0000W9-Bt@lionel-hutz.w3.org>
Update of /sources/public/csswg
In directory hutz:/tmp/cvs-serv1975

Modified Files:
	default.css 
Log Message:
Workaround for bug in Safari 5.1.2 and Chrome (whatever is the
contemporary version).


Index: default.css
===================================================================
RCS file: /sources/public/csswg/default.css,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- default.css	25 Nov 2011 13:44:03 -0000	1.18
+++ default.css	2 Dec 2011 09:02:44 -0000	1.19
@@ -176,8 +176,12 @@
 /* Open issue / editorial remark; not intended for a final publication */
 
 .issue { color: #c00 }
-.issue:before {content: "\25CF  "}
-div.issue:before {display: run-in}
+.issue:before {content: "\25CF\A0"}
+/* div.issue:before {display: run-in}
+   :before with run-in triggers a bug in Safari 5.1.2.
+   Here's a workaround: */
+div.issue:before {content: ""}
+div.issue > *:first-child:before {content: "\25CF\A0"}
 
 /* Class note is a non-normative note. May be inline or a P or DIV */
 .note {
Received on Friday, 2 December 2011 09:02:54 UTC

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