[whatwg] Qs about <details> element

Ian Hickson ian at hixie.ch
Thu Feb 4 04:21:14 PST 2010


On Thu, 4 Feb 2010, Bruce Lawson wrote:
> 
> 1) I read that <details> doesn't require any authorial scritping to 
> work, and that a details element should expand/ contract for user agents 
> that have JS disabled. Is that correct?

Yes, assuming the browser supports it.


> 2) What should UAs do when printing? It seems to me that, when printing, 
> a <details> element should be open, regardless of the state of the 
> boolean open attribute. (because it's a markup attribute, there is 
> presumably now way for a print stylesheet to override this). Can that be 
> added to the spec?

Generally speaking, browser vendors have found that people expect their 
"print" features to just print what's on the screen. However, I'm 
certainly open to changing the spec on this if the browser vendors feel 
the spec should change -- any implementors have an opinion on this?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list