W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: The :min-width/:max-width pseudo-classes

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 22 Mar 2013 15:17:50 -0700
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <20130322221750.GA6785@crum.dbaron.org>
On Friday 2013-03-22 12:42 -0400, Boris Zbarsky wrote:
> >Hm, ok.  Well then, we should investigate the <iframe> behavior, and
> >see if it's okay to duplicate, perhaps with my suggestion of an opt-in
> >way to get the more expensive "true" value out of getComputedStyle.
> So I just double-checked, and at first glance UAs now seem to do the
> right thing with <iframe> in general (though I can't quite tell why
> from code inspection...).

In Gecko, it's because of this code:
which ensures that anything that requires up-to-date style in an
iframe ensures up-to-date layout of the parent first.


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Friday, 22 March 2013 22:18:15 UTC

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