- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 28 Oct 2011 23:46:27 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv24479 Modified Files: common-input-element-attributes.html embedded-content-1.html forms.html spec.html Log Message: loosen implementation requirements around placeholder=''. (whatwg r6782) [updated by splitter] Index: common-input-element-attributes.html =================================================================== RCS file: /sources/public/html5/spec/common-input-element-attributes.html,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- common-input-element-attributes.html 19 Oct 2011 22:46:26 -0000 1.65 +++ common-input-element-attributes.html 28 Oct 2011 23:46:24 -0000 1.66 @@ -950,8 +950,9 @@ <p>User agents should present this hint to the user, after having <a href="common-microsyntaxes.html#strip-line-breaks" title="strip line breaks">stripped line breaks</a> from it, when the element's <a href="association-of-controls-and-forms.html#concept-fe-value" title="concept-fe-value">value</a> is - the empty string and the control is not focused (e.g. by displaying - it inside a blank unfocused control).</p> + the empty string and/or the control is not focused (e.g. by + displaying it inside a blank unfocused control and hiding it + otherwise).</p> </div><div class="example"> Index: embedded-content-1.html =================================================================== RCS file: /sources/public/html5/spec/embedded-content-1.html,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- embedded-content-1.html 24 Oct 2011 17:46:25 -0000 1.68 +++ embedded-content-1.html 28 Oct 2011 23:46:24 -0000 1.69 @@ -425,18 +425,18 @@ <p>A user agent that obtains images immediately must synchronously <a href="#update-the-image-data">update the image data</a> of an <code><a href="#the-img-element">img</a></code> element - whenever that element is either created with a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, or has its <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute set, changed, or - removed.</p> + whenever that element is either created with a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, or has its <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute set, changed, or removed, + or has its <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> + attribute set, changed, or removed.</p> <p>A user agent that obtains images on demand must <a href="#update-the-image-data">update the image data</a> of an <code><a href="#the-img-element">img</a></code> element whenever it needs the image data (i.e. on demand), but only if the <code><a href="#the-img-element">img</a></code> element has a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, and - if it has not <a href="#update-the-image-data" title="update the image data">updated the image - data</a> since the last time the <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute was set. When an - <code><a href="#the-img-element">img</a></code> element's <code title="attr-img-src"><a href="#attr-img-src">src</a></code> - attribute is changed or removed, if the user agent only obtains - images on demand, the <code><a href="#the-img-element">img</a></code> element must return to the - <a href="#img-none" title="img-none">unavailable</a> state.</p> + only if the <code><a href="#the-img-element">img</a></code> element is in the <a href="#img-none" title="img-none">unavailable</a> state. When an <code><a href="#the-img-element">img</a></code> + element's <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute is changed + or removed, and whenever the element's <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> attribute is set, + changed, or removed, if the user agent only obtains images on + demand, the <code><a href="#the-img-element">img</a></code> element must return to the <a href="#img-none" title="img-none">unavailable</a> state.</p> <p>When the user agent is to <dfn id="update-the-image-data">update the image data</dfn> of an <code><a href="#the-img-element">img</a></code> element, it must run the following steps:</p> @@ -453,15 +453,39 @@ <li><p>If the user agent cannot support images, or its support for images has been disabled, then abort these steps.</p></li> - <li><p>If the element's <code title="attr-img-src"><a href="#attr-img-src">src</a></code> - attribute's value is the empty string, then set the element to the - <a href="#img-error" title="img-error">broken</a> state, <a href="webappapis.html#queue-a-task">queue a - task</a> to <a href="webappapis.html#fire-a-simple-event">fire a simple event</a> named <code title="event-error">error</code> at the <code><a href="#the-img-element">img</a></code> element, - and abort these steps.</p></li> + <li><p>Asynchronously <a href="webappapis.html#await-a-stable-state">await a stable state</a>, allowing + the <a href="webappapis.html#concept-task" title="concept-task">task</a> that invoked this + algorithm to continue. The <a href="webappapis.html#synchronous-section">synchronous section</a> + consists of all the remaining steps of this algorithm until the + algorithm says the <a href="webappapis.html#synchronous-section">synchronous section</a> has + ended. (Steps in <a href="webappapis.html#synchronous-section" title="synchronous section">synchronous + sections</a> are marked with ⌛.)</p></li> <li> - <p><a href="urls.html#resolve-a-url" title="resolve a url">Resolve</a> the value + <p>⌛ If another instance of this algorithm for this + <code><a href="#the-img-element">img</a></code> element was started after this instance, then + abort these steps. Only the last instance takes effect, to avoid + multiple requests when the <code title="attr-img-src"><a href="#attr-img-src">src</a></code> + attribute is set multiple times in a row, or when the <code title="attr-img-src"><a href="#attr-img-src">src</a></code> and <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> attributes are + both set in succession.</p> + + </li> + + <li> + + <p>⌛ If the element's <code title="attr-img-src"><a href="#attr-img-src">src</a></code> + attribute is missing or its value is the empty string, then set + the element to the <a href="#img-error" title="img-error">broken</a> state, + <a href="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#fire-a-simple-event">fire a simple event</a> + named <code title="event-error">error</code> at the + <code><a href="#the-img-element">img</a></code> element, and abort these steps.</p> + + </li> + + <li> + + <p>⌛ <a href="urls.html#resolve-a-url" title="resolve a url">Resolve</a> the value of the element's <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, relative to the element.</p> @@ -469,8 +493,8 @@ <p>Otherwise, do a <a href="fetching-resources.html#potentially-cors-enabled-fetch">potentially CORS-enabled fetch</a> of the resulting <a href="urls.html#absolute-url">absolute URL</a>, with the <i>mode</i> - being the state of the element's <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> content - attribute, the <i title="">origin</i> being the <a href="origin-0.html#origin">origin</a> of the + being the state of the element's <code title="attr-img-crossorigin"><a href="#attr-img-crossorigin">crossorigin</a></code> content attribute, + the <i title="">origin</i> being the <a href="origin-0.html#origin">origin</a> of the <code><a href="#the-img-element">img</a></code> element's <code><a href="infrastructure.html#document">Document</a></code>, and the <i>default origin behaviour</i> set to <i>taint</i>.</p> Index: forms.html =================================================================== RCS file: /sources/public/html5/spec/forms.html,v retrieving revision 1.1052 retrieving revision 1.1053 diff -u -d -r1.1052 -r1.1053 --- forms.html 21 Oct 2011 21:46:25 -0000 1.1052 +++ forms.html 28 Oct 2011 23:46:24 -0000 1.1053 @@ -723,8 +723,8 @@ readonly attribute <a href="common-dom-interfaces.html#htmlformcontrolscollection">HTMLFormControlsCollection</a> <a href="#dom-form-elements" title="dom-form-elements">elements</a>; readonly attribute long <a href="#dom-form-length" title="dom-form-length">length</a>; - legacycaller <a href="#dom-form-item" title="dom-form-item">getter</a> <a href="infrastructure.html#element">Element</a> (unsigned long index); - legacycaller <a href="#dom-form-nameditem" title="dom-form-namedItem">getter</a> object (DOMString name); + <a href="#dom-form-item" title="dom-form-item">getter</a> <a href="infrastructure.html#element">Element</a> (unsigned long index); + <a href="#dom-form-nameditem" title="dom-form-namedItem">getter</a> object (DOMString name); void <a href="#dom-form-submit" title="dom-form-submit">submit</a>(); void <a href="#dom-form-reset" title="dom-form-reset">reset</a>(); Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1759 retrieving revision 1.1760 diff -u -d -r1.1759 -r1.1760 --- spec.html 28 Oct 2011 20:46:55 -0000 1.1759 +++ spec.html 28 Oct 2011 23:46:24 -0000 1.1760 @@ -349,7 +349,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.5427. +This is revision 1.5431. </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 Friday, 28 October 2011 23:46:34 UTC