- From: Brad Kemper <brkemper@comcast.net>
- Date: Thu, 26 Jun 2008 18:24:29 -0700
- To: Zachary Weinberg <zweinberg@mozilla.com>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style@w3.org
On Jun 26, 2008, at 5:23 PM, Zachary Weinberg wrote: > > ----- "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. > > This is starting to sound like what's really wanted is a way to > detect from CSS whether images will be rendered. > > @media graphical / @media text-only, perhaps? > > zw > You could have a property on the text box like this: { text-replaced-by: image; } or { text-replaced-by: svg } That way, UAs that understood the property would only show the text part when images or svg or whatever was not available. And UAs that didn't understand it would still show the text. Then you could combine it with existing text-indent hacks too, making it no worse than today's UAs.
Received on Friday, 27 June 2008 01:25:10 UTC