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

Re: [css21] undo style declarations / cascading

From: Pete Boere <pete@the-echoplex.net>
Date: Thu, 8 Nov 2012 10:36:58 +0000
Message-ID: <CAKZZz6eh8BF3g+YAx5c-ekOaeUpEzQxVEjxEG1Hx4kEkofXCXA@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style@w3.org
It looks as though the CSS3 attr() may cover this, though since it isn't
supported anywhere it's not totally clear how various scenarios are
handled. Or if they even can be without knowing the specific attribute
value format on the replaced element.

<img width="300" />
<img width="300px" />
<img width="300%" />

img {width: auto;}
img {width: attr(width ?);}

Pete Boere
Web Developer
Received on Thursday, 8 November 2012 10:37:22 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:21 UTC