Changeset 98637 in webkit
- Timestamp:
- Oct 27, 2011, 2:09:24 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r98636 r98637 1 2011-10-27 Fady Samuel <fsamuel@chromium.org> 2 3 iframes seem to occasionally doubly scale or scale incorrectly when pageScaleFactor != 1.0 4 https://bugs.webkit.org/show_bug.cgi?id=70552 5 6 Reviewed by Simon Fraser. 7 8 * fast/frames/iframe-double-scale-contents-expected.png: Added. 9 * fast/frames/iframe-double-scale-contents-expected.txt: Added. 10 * fast/frames/iframe-double-scale-contents.html: Added. 11 * fast/frames/resources/iframe-content-scaling-bug-iframe.html: Added. 12 1 13 2011-10-27 Mike Reed <reed@google.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r98631 r98637 1 2011-10-27 Fady Samuel <fsamuel@chromium.org> 2 3 iframes seem to occasionally doubly scale or scale incorrectly when pageScaleFactor != 1.0 4 https://bugs.webkit.org/show_bug.cgi?id=70552 5 6 Reviewed by Simon Fraser. 7 8 Test: fast/frames/iframe-double-scale-contents.html 9 10 The iframe's document style was using the page's scale factor, rather than the frame's (1.0). 11 If the page scale factor was set after layout was complete, then this would have no impact because the iframe's document style and layout is not recomputed, 12 but if the page scale factor is set prior to creating and laying out the iframe, the iframe's content would be doubly scaled. 13 14 * css/CSSStyleSelector.cpp: 15 (WebCore::CSSStyleSelector::styleForDocument): 16 1 17 2011-10-27 Nat Duca <nduca@chromium.org> 2 18 -
trunk/Source/WebCore/css/CSSStyleSelector.cpp
r98615 r98637 1135 1135 documentStyle->setRTLOrdering(document->visuallyOrdered() ? VisualOrder : LogicalOrder); 1136 1136 documentStyle->setZoom(frame ? frame->pageZoomFactor() : 1); 1137 documentStyle->setPageScaleTransform( document->page() ? document->page()->pageScaleFactor() : 1);1137 documentStyle->setPageScaleTransform(frame ? frame->frameScaleFactor() : 1); 1138 1138 documentStyle->setUserModify(document->inDesignMode() ? READ_WRITE : READ_ONLY); 1139 1139
Note:
See TracChangeset
for help on using the changeset viewer.