W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: [cssom] Proposing a getDefaultComputedStyle method

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 12 Oct 2012 15:46:10 -0400
Message-ID: <50787382.3060802@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT