Changeset 184874 in webkit
- Timestamp:
- May 26, 2015 2:24:05 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r184870 r184874 1 2015-05-26 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 SVG fragment identifier rendering issue 4 https://bugs.webkit.org/show_bug.cgi?id=137328 5 6 Reviewed by Darin Adler. 7 8 * svg/css/svg-resource-fragment-identifier-order-expected.html: Added. 9 * svg/css/svg-resource-fragment-identifier-order.html: Added. 10 Ensure the SVG fragment is drawn correctly when the same SVG image is 11 referenced multiple times. 12 1 13 2015-05-26 Daniel Bates <dabates@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r184872 r184874 1 2015-05-26 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 SVG fragment identifier rendering issue 4 https://bugs.webkit.org/show_bug.cgi?id=137328 5 6 Reviewed by Darin Adler. 7 8 This is a follow up for http://trac.webkit.org/changeset/164983. In this 9 changeset, scrolling to the fragment should have been added before the 10 the paint to guarantee setting the proper display position for the SVG 11 fragment. 12 13 Test: svg/css/svg-resource-fragment-identifier-order.html 14 15 * svg/graphics/SVGImage.cpp: 16 (WebCore::SVGImage::draw): Move view->scrollToFragment() before calling 17 view->paint(). 18 1 19 2015-05-26 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 20 -
trunk/Source/WebCore/svg/graphics/SVGImage.cpp
r184852 r184874 250 250 view->resize(containerSize()); 251 251 252 if (!m_url.isEmpty()) 253 view->scrollToFragment(m_url); 254 252 255 if (view->needsLayout()) 253 256 view->layout(); … … 259 262 260 263 stateSaver.restore(); 261 262 if (!m_url.isEmpty())263 view->scrollToFragment(m_url);264 264 265 265 if (imageObserver())
Note: See TracChangeset
for help on using the changeset viewer.