W3C home > Mailing lists > Public > public-html@w3.org > April 2007

Re: argument for deprecating BLOCKQUOTE in canonical HTML/XHTML

From: Olivier GENDRIN <olivier.gendrin@gmail.com>
Date: Thu, 5 Apr 2007 12:23:28 +0200
Message-ID: <e2c275120704050323q27bcbb6ah54cac3893a0bdec8@mail.gmail.com>
To: public-html@w3.org

On 4/5/07, Maciej Stachowiak <mjs@apple.com> wrote:
> CSS selectors can't be based on the computed value of CSS properties,
> since you need to figure out what selectors match an element to
> determine its computed style. For an extreme example of why this is
> not workable:
> ins:display["inline"] {
>      display: block;
>      background-color: red;
> }
> ins:display["block"] {
>      display: inline;
>      background-color: lime;
> }
> <ins>what's my background color?</ins>
> Regards,
> Maciej

According to the priority of the CSS selectors, i'll say that your
rule force <ins> to be inline.

Well. The problem is : we globaly agree that the semantic of q and
blockquote, div and span are the same. And we are wondering if we
could deprecate one of thoses elements, and apply the same mecanism
than <ins>/<del> to handle the display question.

But our 'don't break the web' principle lead us to consider that it
will lead to CSS integration problems. So ?

And we can also consider spec problems : <p> are not allowed to
contain block elements. But i can set a CSS display: block on an
<label> inside a <p>. Is it an error from a spec point of view ?
Received on Thursday, 5 April 2007 10:23:39 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:18 UTC