W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2010

html5/spec-author-view Overview.html,1.686,1.687 editing.html,1.570,1.571 spec.html,1.691,1.692

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 14 Feb 2010 11:06:54 +0000
To: public-html-commits@w3.org
Message-Id: <E1NgcJS-0000pa-Al@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv3162

Modified Files:
	Overview.html editing.html spec.html 
Log Message:
Elaborate on why blur() is bad. (whatwg r4733)

[updated by splitter]


Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.686
retrieving revision 1.687
diff -u -d -r1.686 -r1.687
--- Overview.html	14 Feb 2010 10:56:52 -0000	1.686
+++ Overview.html	14 Feb 2010 11:06:51 -0000	1.687
@@ -302,7 +302,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href="spec.html">single page HTML</a>,
     <a href="Overview.html">multipage HTML</a>.
-This is revision 1.3780.
+This is revision 1.3781.
    </p> 
    <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2009 <a href="http://www.w3.org/"><abbr title="World Wide

Index: editing.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/editing.html,v
retrieving revision 1.570
retrieving revision 1.571
diff -u -d -r1.570 -r1.571
--- editing.html	14 Feb 2010 04:47:52 -0000	1.570
+++ editing.html	14 Feb 2010 11:06:51 -0000	1.571
@@ -414,7 +414,20 @@
 
    <dd>
 
-    <p>Unfocuses the element. Use of this method is discouraged. Focus another element instead.</p>
+    <p>Unfocuses the element. Use of this method is discouraged. Focus
+    another element instead.</p>
+
+    <p>Do not use this method to hide the focus ring if you find the
+    focus ring unsightly. Instead, use a CSS rule to override the
+    'outline' property.</p>
+
+    <div class="example">
+
+     <p>For example, to hide the outline from links, you could use:</p>
+
+     <pre>:link:focus, :visited:focus { outline: none; }</pre>
+
+    </div>
 
    </dd>
 

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.691
retrieving revision 1.692
diff -u -d -r1.691 -r1.692
--- spec.html	14 Feb 2010 10:56:52 -0000	1.691
+++ spec.html	14 Feb 2010 11:06:51 -0000	1.692
@@ -300,7 +300,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href=spec.html>single page HTML</a>,
     <a href=Overview.html>multipage HTML</a>.
-This is revision 1.3780.
+This is revision 1.3781.
    </p> 
    <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
    © 2009 <a href=http://www.w3.org/><abbr title="World Wide
@@ -23005,7 +23005,20 @@
 
    <dd>
 
-    <p>Unfocuses the element. Use of this method is discouraged. Focus another element instead.</p>
+    <p>Unfocuses the element. Use of this method is discouraged. Focus
+    another element instead.</p>
+
+    <p>Do not use this method to hide the focus ring if you find the
+    focus ring unsightly. Instead, use a CSS rule to override the
+    'outline' property.</p>
+
+    <div class=example>
+
+     <p>For example, to hide the outline from links, you could use:</p>
+
+     <pre>:link:focus, :visited:focus { outline: none; }</pre>
+
+    </div>
 
    </dd>
 
Received on Sunday, 14 February 2010 11:06:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 14 February 2010 11:06:55 GMT