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.


> #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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:22 UTC