Changeset 152178 in webkit
- Timestamp:
- Jun 28, 2013 11:00:53 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r152172 r152178 1 2013-06-28 Morten Stenshorne <mstensho@opera.com> 2 3 SVG relayout problem when displayed with different image box heights 4 https://bugs.webkit.org/show_bug.cgi?id=118140 5 6 Reviewed by Philip Rogers. 7 8 * svg/as-image/same-source-different-height-expected.html: Added. 9 * svg/as-image/same-source-different-height.html: Added. 10 1 11 2013-06-28 Mario Sanchez Prada <mario.prada@samsung.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r152175 r152178 1 2013-06-28 Morten Stenshorne <mstensho@opera.com> 2 3 SVG relayout problem when displayed with different image box heights 4 https://bugs.webkit.org/show_bug.cgi?id=118140 5 6 Reviewed by Philip Rogers. 7 8 If the root element is an SVG, its position and height are affected 9 by the view height. 10 11 Test: svg/as-image/same-source-different-height.html 12 13 * rendering/RenderView.cpp: 14 (WebCore::RenderView::layout): 15 1 16 2013-06-28 Simon Fraser <simon.fraser@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderView.cpp
r151322 r152178 281 281 || child->style()->logicalHeight().isViewportPercentage() 282 282 || child->style()->logicalMinHeight().isViewportPercentage() 283 || child->style()->logicalMaxHeight().isViewportPercentage()) 283 || child->style()->logicalMaxHeight().isViewportPercentage() 284 #if ENABLE(SVG) 285 || child->isSVGRoot() 286 #endif 287 ) 284 288 child->setChildNeedsLayout(true, MarkOnlyThis); 285 289 }
Note: See TracChangeset
for help on using the changeset viewer.