W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Re: [css4-ui]/[css4-selectors] Pseudo-class for selecting broken images & other external resources

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 28 Dec 2011 18:26:26 -0500
Message-ID: <4EFBA5A2.7000900@mit.edu>
To: Lea Verou <leaverou@gmail.com>
CC: Brian Kardell <bkardell@gmail.com>, www-style@w3.org
On 12/28/11 6:25 PM, Lea Verou wrote:
> On 29/12/11 01:12, Boris Zbarsky wrote:
>> On 12/28/11 5:57 PM, Lea Verou wrote:
>>> Ideally, with separate pseudoclasses for HTTP errors and
>>> broken data.
>>
>> I don't think that's necessarily terribly realistic. The two can't be
>> told apart reliably, for one thing: lots of servers return random HTML
>> with a 200 response on HTTP errors.
> That's a server misconfiguration so not the spec's problem. IMHO.

The point is that the layout engine may not have information on what 
exactly caused image data to not be there.  All it knows is that the 
image is not a valid image for some reason; the HTTP and image decoding 
is handled by some lower-level libraries.

-Boris
Received on Wednesday, 28 December 2011 23:27:07 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:47 GMT