[Webkit-unassigned] [Bug 76555] window.innerWidth/Height should not include page scale

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 11:26:49 PST 2012


--- Comment #5 from Sami Kyostila <skyostil at google.com>  2012-01-18 11:26:49 PST ---
(In reply to comment #3)
> I think there is some smarter way for doing script only tests, though I havent done any myself

Hmm, I'll have to dig around to find some better examples then. This one is based on fast/dom/client-width-height.html.

> > LayoutTests/fast/dom/iframe-inner-size-scaling.html:14
> > +            // We must use setTimeout since the innerWidth/innerHeight are not yet valid for the iframe.
> > +            window.setTimeout(runTests, 0);
> Will this trick always work? We really don't want more flaky tests :-)

All I can say is that it has worked reliably for me :) If you can suggest a better way then I'm all ears.

> > LayoutTests/fast/dom/iframe-inner-size-scaling.html:40
> > +            debug("SUCCESS!");
> log*, but is not debugging

Sure, I'll fix this.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list