[whatwg] Qs about <details> element

Bruce Lawson brucel at opera.com
Thu Feb 4 03:26:10 PST 2010


Couple of questions about the <details> element, raised by Shelley Powers
in  comments to an article I wrote on html5 doctor

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?

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


Bruce Lawson

sent from my ZX80

More information about the whatwg mailing list