[whatwg] [html5] r6088 - [e] (0) clarification Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12165

On Fri, 6 May 2011, Simon Pieters wrote:
> > Modified: source
> > ===================================================================
> > --- source	2011-05-05 22:03:52 UTC (rev 6087)
> > +++ source	2011-05-05 22:45:13 UTC (rev 6088)
> > @@ -105238,7 +105238,6 @@
> >    <dd><p>Use an explicit <code>form</code> and <span
> > title="attr-input-type-text">text field</span> combination instead.</p></dd>
> >   <dt><dfn><code>listing</code></dfn></dt>
> > -   <dt><dfn><code>xmp</code></dfn></dt>
> >    <dd><p>Use <code>pre</code> and <code>code</code> instead.</p></dd>
> >   <dt><dfn><code>nextid</code></dfn></dt>
> > @@ -105256,6 +105255,9 @@
> >    <dt><dfn><code>strike</code></dfn></dt>
> >    <dd><p>Use <code>del</code> instead if the element is marking an edit,
> > otherwise use <code>s</code> instead.</p></dd>
> > +   <dt><dfn><code>xmp</code></dfn></dt>
> > +   <dd><p>Use <code>code</code> instead, and escape "<code
> > title="">&lt;</code>" and "<code title="">&amp;</code>" characters as "<code
> > title="">&amp;lt;</code>" and "<code title="">&amp;amp;</code>"
> > respectively.</p></dd>
> 
> For xmp it should say "Use pre and code ..." since just code is not a drop-in
> replacement for xmp.

Good point.

I went with "pre or code". I don't think you'd use both, typically, right?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 8 September 2011 15:09:39 UTC