- From: poot <cvsmail@w3.org>
- Date: Tue, 17 Aug 2010 07:19:21 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: use vendor--feature instead of _vendor-feature since Apple engineers think underscores are ugly. (whatwg r5307) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4229&r2=1.4230&f=h http://html5.org/tools/web-apps-tracker?from=5306&to=5307 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4229 retrieving revision 1.4230 diff -u -d -r1.4229 -r1.4230 --- Overview.html 16 Aug 2010 22:11:19 -0000 1.4229 +++ Overview.html 16 Aug 2010 22:14:20 -0000 1.4230 @@ -2880,13 +2880,13 @@ <p>For markup-level features that are intended for use with <a href="#syntax">the HTML syntax</a>, extensions should be limited to new - attributes of the form "<code title="">_<var title="">vendor</var>-<var title="">feature</var></code>", where + attributes of the form "<code title=""><var title="">vendor</var>--<var title="">feature</var></code>", where <var title="">vendor</var> is a short string that identifies the - vendor responsible for the extension, and <var title="">feature</var> is the name of the feature. New element names - should not be created. Using attributes for such extensions - exclusively allows extensions from multiple vendors to co-exist on - the same element, which would not be possible with elements. Using - the "<code title="">_<var title="">vendor</var>-<var title="">feature</var></code>" form allows extensions to be made + vendor responsible for the extension, and <var title="">feature</var> is the name of the feature. (Note the use of + <em>two</em> hyphens in the name.) New element names should not be + created. Using attributes for such extensions exclusively allows + extensions from multiple vendors to co-exist on the same element, + which would not be possible with elements. Using the "<code title=""><var title="">vendor</var>--<var title="">feature</var></code>" form allows extensions to be made without risk of conflicting with future additions to the specification.</p> @@ -2899,14 +2899,14 @@ these features could write:</p> <pre><p>This smells of lemons! -<span _ferret-smellovision _ferret-smellcode="LEM01" - _mb-outputsmell _mb-smell="lemon juice"></span></p></pre> +<span ferret--smellovision ferret--smellcode="LEM01" + mb--outputsmell mb--smell="lemon juice"></span></p></pre> </div> - <p>Attribute names starting with a U+005F LOW LINE character (_) are - reserved for user agent use and are guaranteed to never be formally - added to the HTML language.</p> + <p>Attribute names containing two consecutive U+002D HYPHEN-MINUS + (-) characters are reserved for user agent use and are guaranteed to + never be formally added to the HTML language.</p> <p class="note">Pages that use such attributes are by definition non-conforming.</p>
Received on Monday, 16 August 2010 22:15:06 UTC