-
zimmermann@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=65711 Reviewed by Zoltan Herczeg. Source/WebCore: Enable simple code path in SVGTextMetricsBuilder, allowing fast-measurement of simple text. This affects the geometry of several <text> elements, thus several tests need rebaselining. * rendering/svg/SVGTextMetricsBuilder.cpp: (WebCore::SVGTextMetricsBuilder::advance): (WebCore::SVGTextMetricsBuilder::advanceComplexText): LayoutTests: Update some test results after enabling the simple code path to measure SVG text. * platform/mac/svg/W3C-SVG-1.1/animate-elem-06-t-expected.png: * platform/mac/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/text-text-01-b-expected.txt: * platform/mac/svg/batik/text/smallFonts-expected.png: * platform/mac/svg/batik/text/textAnchor-expected.txt: * platform/mac/svg/carto.net/window-expected.png: * platform/mac/svg/carto.net/window-expected.txt: * platform/mac/svg/custom/js-late-clipPath-and-object-creation-expected.png: * platform/mac/svg/custom/js-late-clipPath-and-object-creation-expected.txt: * platform/mac/svg/custom/js-late-gradient-and-object-creation-expected.png: * platform/mac/svg/custom/js-late-gradient-and-object-creation-expected.txt: * platform/mac/svg/custom/js-late-pattern-and-object-creation-expected.png: * platform/mac/svg/custom/js-late-pattern-and-object-creation-expected.txt: * platform/mac/svg/custom/text-repaint-including-stroke-expected.png: * platform/mac/svg/custom/use-clipped-hit-expected.txt: * platform/mac/svg/custom/use-detach-expected.png: * platform/mac/svg/custom/use-detach-expected.txt: * platform/mac/svg/foreignObject/text-tref-02-b-expected.png: * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png: * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png: * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png: * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png: * platform/mac/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt: * platform/mac/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt: * platform/mac/svg/text/text-align-01-b-expected.png: * platform/mac/svg/text/text-align-01-b-expected.txt: * platform/mac/svg/text/text-align-02-b-expected.txt: * platform/mac/svg/text/text-align-04-b-expected.txt: * platform/mac/svg/text/text-align-06-b-expected.png: * platform/mac/svg/text/text-align-06-b-expected.txt: * platform/mac/svg/text/text-deco-01-b-expected.txt: * platform/mac/svg/text/text-fonts-01-t-expected.txt: * platform/mac/svg/text/text-spacing-01-b-expected.png: * platform/mac/svg/text/text-text-04-t-expected.png: * platform/mac/svg/text/text-text-05-t-expected.png: * platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt: * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png: * platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
097905cf