- From: Benjamin Blum <benjamin.blum.98@gmail.com>
- Date: Tue, 19 Mar 2013 17:45:08 +0000
- To: www-style@w3.org
Received on Thursday, 4 April 2013 10:01:29 UTC
I have to work with an iframe that can be void (the server send an empty string as content). Currently, the :empty pseudo-class is useless with iframe, an iframe is always empty. I must use javascript to display it properly, consisting as setting class attribute to empty... The :empty pseudo-class can be set when the request result in a content-length of 0. Same when the src attribute is empty. Javascript became useless and a simple styling for iframe and iframe:empty could do well.
Received on Thursday, 4 April 2013 10:01:29 UTC