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

Re: [cssom] Proposing a getDefaultComputedStyle method

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Sat, 13 Oct 2012 03:36:44 +0800
Message-ID: <5078714C.40709@oupeng.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>
(12/10/13 3:21), Tab Atkins Jr. wrote:
> I'm slightly unsure of the use-case.  What does jQuery use this
> information for?  Is it just for setting things back to their
> pre-author state?
> 
> If so, I'd prefer we go ahead and add the previously-discussed
> "default" global keyword which has this functionality.

Agreed.

(12/10/13 2:36), Boris Zbarsky wrote:
> See also https://bugzilla.mozilla.org/show_bug.cgi?id=800983 for the
> implementation and https://bugzilla.mozilla.org/show_bug.cgi?id=797029
> for the jQuery issues that prompted this suggestion.  The jQuery folks
> sound like they would really like something like this, for what it's >
worth.

For what's worth, https://bugzilla.mozilla.org/show_bug.cgi?id=797029 is
closed as RESOLVED WORKSFORME because the relevant jQuery bug is fixed.

What really should be brought up as an issue is perhaps getComputedStyle
of elements inside a 'display: none' iframe but I haven't read through
the history of this problem...



Cheers,
Kenny
-- 
Web Specialist, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Friday, 12 October 2012 19:37:26 GMT

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