W3C home > Mailing lists > Public > www-style@w3.org > June 2008

Re: [CSS21] Addition of 2 values to the visibility property

From: Simetrical <simetrical@gmail.com>
Date: Thu, 26 Jun 2008 19:07:26 -0400
Message-ID: <7c2a12e20806261607v58c1c04ap3d039820a269e4c9@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: damianvila@gmail.com, www-style@w3.org

On Thu, Jun 26, 2008 at 7:03 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> content: inhibit suffers from the exact same problems as the original
> proposal, in that a user with CSS on but images off becomes nearly
> completely unable to use the control.  Thus, using the content property to
> control this is also decidely sub-optimal.

In principle, you could avoid this issue using the content property,
with syntax like 'content: url(header.png), contents;'.  This would
display header.png if possible, but otherwise fall back to the
element's contents.  In the current draft it doesn't seem to be as
featureful as the background property, with no positioning or similar
things that I can see, but I don't know if that would be the case in a
finalized recommendation.  Overall it seems like the most direct and
coherent way to address the problem proposed here so far.
Received on Friday, 27 June 2008 04:22:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:37 UTC