W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: New feature. Content templates

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Fri, 16 Mar 2012 09:48:17 +0000
Message-ID: <CAEhSh3fE7x5p9jUWgpF1ankB=1T2h5H7tuzFj_92d5Y9sNY-Pg@mail.gmail.com>
To: Alexander Shpack <shadowkin@gmail.com>
Cc: Jerome Leclanche <adys.wh@gmail.com>, www-style <www-style@w3.org>
On Fri, Mar 16, 2012 at 8:34 AM, Alexander Shpack <shadowkin@gmail.com> wrote:
> If I create my own stylesheet and write something like form { display:
> none }, I had never send this form...
> Oops, this is similar trouble would be, is not?

Indeed. That's why HTML5 introduces a styling independent feature at
the HTML level for designating content that is not relevant to the
current state of the application:

http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#the-hidden-attribute

display: none; was not introduced to enable content templating,
however, whereas that's the only use case you've presented for your
feature request.

> Encoded svg as background is ok, it's styling, except mine proposition. :)

If the SVG is not communicating information just styling, then that's
fine yeah. Why wouldn't it be?

--
Benjamin Hawkes-Lewis
Received on Friday, 16 March 2012 09:49:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:52 GMT