- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 15 Aug 2011 22:46:30 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv25542 Modified Files: interactive-elements.html links.html spec.html Log Message: Loosen up the already loose requirements around rel=icon sizes=''. (whatwg r6465) [updated by splitter] Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec/interactive-elements.html,v retrieving revision 1.1044 retrieving revision 1.1045 diff -u -d -r1.1044 -r1.1045 --- interactive-elements.html 15 Aug 2011 20:47:21 -0000 1.1044 +++ interactive-elements.html 15 Aug 2011 22:46:28 -0000 1.1045 @@ -424,6 +424,25 @@ controls can change, and not the actual values, which is less than ideal.</p> + </div><div class="example"> + + <p>Because the <code title="attr-details-open"><a href="#attr-details-open">open</a></code> + attribute is added and removed automatically as the user interacts + with the control, it can be used in CSS to style the element + differently based on its state. Here, a stylesheet is used to + animate the color of the summary when the element is opened or + closed:</p> + + <pre><style> + details > summary { transition: color 1s; color: black; } + details[open] > summary { color: red; } +</style> +<details> + <summary>Automated Status: Operational</summary> + <p>Velocity: 12m/s</p> + <p>Direction: North</p> +</details></pre> + </div><h4 id="the-summary-element"><span class="secno">4.11.2 </span>The <dfn><code>summary</code></dfn> element</h4><dl class="element"><dt>Categories</dt> <dd>None.</dd> <dt>Contexts in which this element can be used:</dt> Index: links.html =================================================================== RCS file: /sources/public/html5/spec/links.html,v retrieving revision 1.83 retrieving revision 1.84 diff -u -d -r1.83 -r1.84 --- links.html 15 Aug 2011 21:46:27 -0000 1.83 +++ links.html 15 Aug 2011 22:46:28 -0000 1.84 @@ -760,7 +760,9 @@ resource</a>, user agents must expect the resource to be an image.</p> </div><p>The <dfn id="attr-link-sizes" title="attr-link-sizes"><code>sizes</code></dfn> - attribute gives the sizes of icons for visual media.</p><p>If specified, the attribute must have a value that is an + attribute gives the sizes of icons for visual media. Its value, if + present, is merely advisory. User agents may use the value to decide + which icon(s) to use if multiple icons are available.</p><p>If specified, the attribute must have a value that is an <a href="common-microsyntaxes.html#unordered-set-of-unique-space-separated-tokens">unordered set of unique space-separated tokens</a> which are <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a>. Each value must be either an <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a> match for the string "<code title="attr-link-sizes-any"><a href="#attr-link-sizes-any">any</a></code>", or a value that consists of @@ -812,10 +814,6 @@ icon sizes that are not actually available in the linked resource.</p><div class="impl"> - <p>If the attribute is not specified, then the user agent must - assume that the given icon is appropriate, but less appropriate than - an icon of a known and appropriate size.</p> - <p>In the absence of a <code><a href="semantics.html#the-link-element">link</a></code> with the <code title="rel-icon"><a href="#rel-icon">icon</a></code> keyword, for <code><a href="infrastructure.html#document">Document</a></code>s obtained over HTTP or HTTPS, user agents may instead attempt to <a href="fetching-resources.html#fetch">fetch</a> and use an icon with the <a href="urls.html#absolute-url">absolute Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1626 retrieving revision 1.1627 diff -u -d -r1.1626 -r1.1627 --- spec.html 15 Aug 2011 21:46:28 -0000 1.1626 +++ spec.html 15 Aug 2011 22:46:28 -0000 1.1627 @@ -350,7 +350,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. -This is revision 1.5165. +This is revision 1.5167. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Monday, 15 August 2011 22:46:32 UTC