[webkit-reviews] review denied: [Bug 64883] Zoom only scales frames' content, not the frames themselves. : [Attachment 111398] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 22 22:30:45 PDT 2012
Ryosuke Niwa <rniwa at webkit.org> has denied Uday Kiran
<udaykiran at motorola.com>'s request for review:
Bug 64883: Zoom only scales frames' content, not the frames themselves.
https://bugs.webkit.org/show_bug.cgi?id=64883
Attachment 111398: Patch
https://bugs.webkit.org/attachment.cgi?id=111398&action=review
------- Additional Comments from Ryosuke Niwa <rniwa at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=111398&action=review
> Source/WebCore/ChangeLog:7
> +
Please explain why you're making this change. r- because of the lack of
explanation.
> Source/WebCore/rendering/RenderFrameSet.cpp:218
> - gridLayout[i] = max(grid[i].value(), 0);
> + gridLayout[i] = max(static_cast<int>(grid[i].value() *
style()->effectiveZoom()), 0);
Are you sure we just want to cast it to int? Don't we need to use on of those
fancy snapping functions listed on http://trac.webkit.org/wiki/LayoutUnit?
> LayoutTests/ChangeLog:10
> + * fast/frames/frame-set-zoom-page-expected.png: Added.
> + * fast/frames/frame-set-zoom-page-expected.txt: Added.
> + * fast/frames/frame-set-zoom-page.html: Added.
There is no way to test this using a ref test?
> LayoutTests/fast/frames/frame-set-zoom-page.html:1
> +<html>
Missing DOCTYPE.
More information about the webkit-reviews
mailing list