Re: [cssom] Proposing a getDefaultComputedStyle method

(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 UTC