Re: [cssom] Proposing a getDefaultComputedStyle method

On 10/12/12 3:42 PM, Tab Atkins Jr. wrote:
> Okay.  #1 seems to be well answered by the 'default' value.

Yes.

> #2 can't easily use the 'default' value, but it seems like it would
> also be easy to just maintain a list of tagnames that are
> display:inline by default.

You mean the ones that are _not_, I hope?  ;)

But no, it's not easy to maintain that if you want to take user 
stylesheets into account, for obvious reasons.  Not to mention that such 
a list would be very brittle as new tags get added.

-Boris

Received on Friday, 12 October 2012 19:46:40 UTC