W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: [webcomponents] More backward-compatible templates

From: Simon Pieters <simonp@opera.com>
Date: Fri, 02 Nov 2012 23:55:19 +0200
To: "Maciej Stachowiak" <mjs@apple.com>, "Adam Barth" <w3c@adambarth.com>
Cc: "Anne van Kesteren" <annevk@annevk.nl>, "public-webapps@w3.org WG" <public-webapps@w3.org>
Message-ID: <op.wm54mho3idj3kv@dhcp26-236.enst.fr>
On Fri, 02 Nov 2012 22:41:22 +0200, Adam Barth <w3c@adambarth.com> wrote:

>> I'm not sure offhand of the parsing behavior of <xmp>. Will it prevent  
>> the contents from being parsed as tags?
> Yes.  <xmp> is basically <![CDATA[...]]> for HTML.

There are differences, though:

* it closes <p>
* default style is display: block; margin-top: 1em; margin-bottom: 1em;  
font-family: monospace; white-space: pre; unicode-bidi: isolate;

Simon Pieters
Opera Software
Received on Friday, 2 November 2012 22:56:10 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:49 UTC