[whatwg] <object> behavior

On Mon, Sep 21, 2009 at 5:26 PM, Michael A. Puls II
<shadow2531 at gmail.com> wrote:
> On Mon, 21 Sep 2009 16:30:29 -0400, Boris Zbarsky <bzbarsky at mit.edu> wrote:
>>> Of course, if the idea is to support deferring for images, <object> and
>>> <embed> etc. and it's not desired that that support be given through
>>> css, perhaps there should be some attribute that does that. <img
>>> disabled> <object disabled> <embed disabled> etc. where .disabled =
>>> false brings them alive.
>>
>> I would prefer something like this. ?Using CSS for this purpose seems
>> wrong.
>
> Sounds good. If it is an attribute, I wonder what would be a good name.
> 'disabled' might be likely to conflict with some plug-in param and might
> conflict with <object> and <img> when they are form controls.

The obvious answer seems to be to use @hidden, which indicates that
the element is not currently relevant and should not be displayed.

~TJ

Received on Tuesday, 22 September 2009 08:42:25 UTC