haikuwebkit/LayoutTests/svg/custom/object-sizing-no-width-heig...

14 lines
742 B
Plaintext
Raw Permalink Normal View History

2011-05-27 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Rob Buis. embedded SVG object doesn't scale right https://bugs.webkit.org/show_bug.cgi?id=10526 <object> tags should treat width/height on a referenced SVG as intrinsic width/height https://bugs.webkit.org/show_bug.cgi?id=11976 Incorrect handling of percentage values for width/height on embedded elements https://bugs.webkit.org/show_bug.cgi?id=14793 WebKit fails some WICD 1.0 core test cases https://bugs.webkit.org/show_bug.cgi?id=15836 (partially fixed, all 'rightsizing' tests are fixed) CSS 2.1: Support replaced elements with relative intrinsic sizes https://bugs.webkit.org/show_bug.cgai?id=15849 (partially fixed) SVG embedded as <object> doesn't respect width/height attributes https://bugs.webkit.org/show_bug.cgi?id=34972 Explicit size of object tag ignored https://bugs.webkit.org/show_bug.cgi?id=37086 * http/tests/misc/object-embedding-svg-delayed-size-negotiation.xhtml: Added. * http/tests/misc/resources/embedded.svg: Added. * http/tests/misc/resources/svg-slow.pl: Added. * platform/mac/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.png: Added. * platform/mac/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt: Added. * platform/mac/svg/custom/object-no-size-attributes-expected.png: Added. * platform/mac/svg/custom/object-no-size-attributes-expected.txt: Added. * platform/mac/svg/custom/object-sizing-expected.png: Added. * platform/mac/svg/custom/object-sizing-expected.txt: Added. * platform/mac/svg/custom/object-sizing-explicit-height-expected.png: Added. * platform/mac/svg/custom/object-sizing-explicit-height-expected.txt: Added. * platform/mac/svg/custom/object-sizing-explicit-width-expected.png: Added. * platform/mac/svg/custom/object-sizing-explicit-width-expected.txt: Added. * platform/mac/svg/custom/object-sizing-explicit-width-height-expected.png: Added. * platform/mac/svg/custom/object-sizing-explicit-width-height-expected.txt: Added. * platform/mac/svg/custom/object-sizing-no-width-height-change-content-box-size-expected.png: Added. * platform/mac/svg/custom/object-sizing-no-width-height-change-content-box-size-expected.txt: Added. * platform/mac/svg/custom/object-sizing-no-width-height-expected.png: Added. * platform/mac/svg/custom/object-sizing-no-width-height-expected.txt: Added. * platform/mac/svg/hixie/text/003-expected.png: * platform/mac/svg/hixie/text/003-expected.txt: * platform/mac/svg/in-html/by-reference-expected.txt: * platform/mac/svg/wicd: Added. * platform/mac/svg/wicd/rightsizing-grid-expected.png: Added. * platform/mac/svg/wicd/rightsizing-grid-expected.txt: Added. * platform/mac/svg/wicd/test-rightsizing-a-expected.png: Added. * platform/mac/svg/wicd/test-rightsizing-a-expected.txt: Added. * platform/mac/svg/wicd/test-rightsizing-b-expected.png: Added. * platform/mac/svg/wicd/test-rightsizing-b-expected.txt: Added. * platform/mac/svg/zoom/page/relative-sized-document-scrollbars-expected.txt: * platform/mac/svg/zoom/page/zoom-foreignObject-expected.png: * platform/mac/svg/zoom/page/zoom-foreignObject-expected.txt: * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-no-width-height-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-no-width-height-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-text-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-text-expected.txt: Added. * svg/custom/object-no-size-attributes.xhtml: Added. * svg/custom/object-sizing-explicit-height.xhtml: Added. * svg/custom/object-sizing-explicit-width-height.xhtml: Added. * svg/custom/object-sizing-explicit-width.xhtml: Added. * svg/custom/object-sizing-no-width-height-change-content-box-size.xhtml: Added. * svg/custom/object-sizing-no-width-height.xhtml: Added. * svg/custom/object-sizing.xhtml: Added. * svg/custom/resources/embedded.svg: Added. * svg/custom/resources/red-circle.svg: Added. * svg/in-html/by-reference-expected.png: * svg/wicd: Added. * svg/wicd/resources: Added. * svg/wicd/resources/a.svg: Added. * svg/wicd/resources/bcde.svg: Added. * svg/wicd/resources/empty1.svg: Added. * svg/wicd/resources/empty2.svg: Added. * svg/wicd/resources/empty3.svg: Added. * svg/wicd/resources/f.svg: Added. * svg/wicd/resources/g.svg: Added. * svg/wicd/resources/h.svg: Added. * svg/wicd/resources/i.svg: Added. * svg/wicd/resources/j.svg: Added. * svg/wicd/resources/k.svg: Added. * svg/wicd/resources/l.svg: Added. * svg/wicd/resources/main.css: Added. (body,html): (body): (.buttons): (h1): (h2): (h4): (p): (table): (th): (td,th): (td a): (a): (a:hover): (a:focus): (a:visited): (a.index): (a.index:hover): (a.index:focus): (a.index:visited): (ul): (ol): (.red): (.navi): (.navi a): (.navi a:hover): (.navi a:visited): * svg/wicd/resources/mnop.svg: Added. * svg/wicd/resources/q.svg: Added. * svg/wicd/resources/r.svg: Added. * svg/wicd/resources/s.svg: Added. * svg/wicd/resources/t.svg: Added. * svg/wicd/resources/test-rightsizing-a.css: Added. (html,body): (div.all): (object.w100): (object.h100): * svg/wicd/resources/test-rightsizing-b.css: Added. (html,body): (object): * svg/wicd/resources/test-svg-child-object-rightsizing.gif: Added. * svg/wicd/resources/test-svg-child-object-rightsizing.png: Added. * svg/wicd/resources/test-svg-child-object-rightsizing.svg: Added. * svg/wicd/resources/test-svg-child-object-rightsizing1.svg: Added. * svg/wicd/rightsizing-grid.xhtml: Added. * svg/wicd/test-rightsizing-a.xhtml: Added. * svg/wicd/test-rightsizing-b.xhtml: Added. * svg/zoom/page/resources: Added. * svg/zoom/page/resources/absolute-sized-svg.png: Added. * svg/zoom/page/resources/absolute-sized-svg.svg: Added. * svg/zoom/page/resources/huge-rect.svg: Added. * svg/zoom/page/resources/percentage-sized-svg.png: Added. * svg/zoom/page/resources/percentage-sized-svg.svg: Added. * svg/zoom/page/resources/text.svg: Added. * svg/zoom/page/resources/tux.svg: Added. * svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml: Added. * svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml: Added. * svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml: Added. * svg/zoom/page/zoom-svg-through-object-with-override-size.html: Added. * svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml: Added. * svg/zoom/page/zoom-svg-through-object-with-text.xhtml: Added. 2011-05-27 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Rob Buis. embedded SVG object doesn't scale right https://bugs.webkit.org/show_bug.cgi?id=10526 <object> tags should treat width/height on a referenced SVG as intrinsic width/height https://bugs.webkit.org/show_bug.cgi?id=11976 Incorrect handling of percentage values for width/height on embedded elements https://bugs.webkit.org/show_bug.cgi?id=14793 WebKit fails some WICD 1.0 core test cases https://bugs.webkit.org/show_bug.cgi?id=15836 (partially fixed, all 'rightsizing' tests are fixed) CSS 2.1: Support replaced elements with relative intrinsic sizes https://bugs.webkit.org/show_bug.cgai?id=15849 (partially fixed) SVG embedded as <object> doesn't respect width/height attributes https://bugs.webkit.org/show_bug.cgi?id=34972 Explicit size of object tag ignored https://bugs.webkit.org/show_bug.cgi?id=37086 Add partial support of CSS 2.1 replaced elements with intrinsic size. The feature itself is complete but has only been implemented for RenderPart, to support SVG content document size negotiation. It serves as starting point for a generalization, in future. The changes in RenderPart are a 1:1 transliteration of the spec (http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width/height, see code). SVG 1.1 says: The 'width' attribute on the outermost svg element establishes the viewport's width, unless the following conditions are met: ... and there are CSS-compatible positioning properties ([CSS2], section 9.3) specified on the referencing element (e.g., the 'object' element) or on the containing document's outermost svg element that are sufficient to establish the width of the viewport. Under these conditions, the positioning properties establish the viewport's width. If an <object> carries width/height attributes, these specify the viewport size of the embedded SVG, instead of its own width/height or viewBox properties. If an <object> has no width/height information, its intrinsic size needs to be calculated depending on the intrinsic ratio (viewBox width divided by height ratio) and the width/height properties on the outermost referenced <svg> element. This requires a negotiation between the host document and the embedded document. (There are several more factors that need to be considered, the CSS spec covers this and the RenderPart::computeReplaced* code covers this.) Fixes dozens of long-standing bug reports. The number one integration issue when using SVG through <object> is resolved: "right sizing". Tests: http/tests/misc/object-embedding-svg-delayed-size-negotiation.xhtml svg/custom/object-no-size-attributes.xhtml (bug 11976, from Eric Seidel) svg/custom/object-sizing-explicit-height.xhtml (bug 10526, from Ryan Cannon) svg/custom/object-sizing-explicit-width-height.xhtml svg/custom/object-sizing-explicit-width.xhtml (bug 14793, from Oliver Hunt) svg/custom/object-sizing-no-width-height-change-content-box-size.xhtml svg/custom/object-sizing-no-width-height.xhtml svg/custom/object-sizing.xhtml (bug 37086, from Jeff Schiller) svg/wicd/rightsizing-grid.xhtml (bug 15836, WICD rightsizing test now works) svg/wicd/test-rightsizing-a.xhtml (ditto) svg/wicd/test-rightsizing-b.xhtml (ditto) svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml svg/zoom/page/zoom-svg-through-object-with-override-size.html (bug 34972, from Andreas Kling) svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml svg/zoom/page/zoom-svg-through-object-with-text.xhtml * platform/Length.h: (WebCore::Length::isSpecified): * rendering/RenderPart.cpp: (WebCore::RenderPart::embeddedSVGContentRenderer): (WebCore::RenderPart::computeEmbeddedDocumentReplacedWidth): (WebCore::RenderPart::computeEmbeddedDocumentReplacedHeight): (WebCore::RenderPart::computeReplacedLogicalWidth): (WebCore::RenderPart::computeReplacedLogicalHeight): (WebCore::RenderPart::layout): * rendering/RenderPart.h: * rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::computeReplacedLogicalWidth): (WebCore::RenderReplaced::computeReplacedLogicalHeight): * rendering/svg/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::RenderSVGRoot): (WebCore::RenderSVGRoot::computeIntrinsicRatio): (WebCore::RenderSVGRoot::computeIntrinsicWidth): (WebCore::RenderSVGRoot::computeIntrinsicHeight): (WebCore::RenderSVGRoot::negotiateSizeWithHostDocumentIfNeeded): (WebCore::RenderSVGRoot::computeReplacedLogicalWidth): (WebCore::RenderSVGRoot::computeReplacedLogicalHeight): (WebCore::RenderSVGRoot::layout): * rendering/svg/RenderSVGRoot.h: * svg/SVGLength.cpp: (WebCore::SVGLength::determineViewport): * svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::currentScale): (WebCore::SVGSVGElement::setCurrentScale): (WebCore::SVGSVGElement::currentViewBoxRect): (WebCore::SVGSVGElement::viewBoxToViewTransform): * svg/SVGSVGElement.h: Canonical link: https://commits.webkit.org/77067@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-27 18:27:50 +00:00
layer at (0,0) size 785x789
RenderView at (0,0) size 785x600
layer at (0,0) size 785x789
RenderBlock {html} at (0,0) size 785x789
RenderBody {body} at (8,8) size 769x773
RenderEmbeddedObject {object} at (0,0) size 769x769 [bgcolor=#FF0000]
layer at (0,0) size 769x769
RenderView at (0,0) size 769x769
layer at (0,0) size 769x769
RenderSVGRoot {svg} at (0,0) size 769x769
RenderSVGRect {rect} at (0,0) size 769x769 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=0.00] [width=300.00] [height=300.00]
Add new renderer for circles and ellipses https://bugs.webkit.org/show_bug.cgi?id=80423 Patch by Philip Rogers <pdr@google.com> on 2012-03-30 Reviewed by Eric Seidel. Source/WebCore: This patch introduces a special renderer for SVGCircleElements and SVGEllipseElements to avoid having to use the slower path rendering code. This patch includes optimized circle code for the CG platform, and hooks (GC::fillEllipse, GC::strokeEllipse) are available for other platforms as well. Tests: svg/hittest/svg-ellipse-non-scale-stroke.xhtml svg/hittest/svg-ellipse.xhtml Added a test to exercise hit testing on an ellipse, and on an ellipse's stroke, to make sure the formulae in this patch are correct. * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::fillEllipse): (WebCore): (WebCore::GraphicsContext::strokeEllipse): (WebCore::GraphicsContext::fillEllipseAsPath): (WebCore::GraphicsContext::strokeEllipseAsPath): (WebCore::GraphicsContext::platformFillEllipse): (WebCore::GraphicsContext::platformStrokeEllipse): * platform/graphics/GraphicsContext.h: (GraphicsContext): * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::platformFillEllipse): (WebCore): (WebCore::GraphicsContext::platformStrokeEllipse): * platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::platformFillEllipse): (WebCore): (WebCore::GraphicsContext::platformStrokeEllipse): * rendering/svg/RenderSVGAllInOne.cpp: * rendering/svg/RenderSVGEllipse.cpp: Added. (WebCore): (WebCore::RenderSVGEllipse::RenderSVGEllipse): (WebCore::RenderSVGEllipse::~RenderSVGEllipse): (WebCore::RenderSVGEllipse::createShape): (WebCore::RenderSVGEllipse::calculateRadiiAndCenter): (WebCore::RenderSVGEllipse::objectBoundingBox): (WebCore::RenderSVGEllipse::strokeBoundingBox): (WebCore::RenderSVGEllipse::fillShape): (WebCore::RenderSVGEllipse::strokeShape): (WebCore::RenderSVGEllipse::shapeDependentStrokeContains): (WebCore::RenderSVGEllipse::shapeDependentFillContains): * rendering/svg/RenderSVGEllipse.h: Added. (WebCore): (RenderSVGEllipse): (WebCore::RenderSVGEllipse::isSVGEllipse): (WebCore::RenderSVGEllipse::renderName): (WebCore::RenderSVGEllipse::isEmpty): * svg/SVGCircleElement.cpp: (WebCore::SVGCircleElement::svgAttributeChanged): (WebCore): (WebCore::SVGCircleElement::createRenderer): * svg/SVGCircleElement.h: (SVGCircleElement): * svg/SVGEllipseElement.cpp: (WebCore::SVGEllipseElement::svgAttributeChanged): (WebCore::SVGEllipseElement::createRenderer): (WebCore): * svg/SVGEllipseElement.h: (SVGEllipseElement): LayoutTests: * platform/chromium/test_expectations.txt: * platform/gtk/Skipped: * platform/mac/Skipped: * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/struct-use-11-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-30-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-39-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt: * platform/mac/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/struct-frag-04-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt: * platform/mac/svg/W3C-SVG-1.1/text-align-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.txt: * platform/mac/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt: * platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-01-t-expected.txt: * platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.txt: * platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.txt: * platform/mac/svg/as-image/img-preserveAspectRatio-support-1-expected.txt: * platform/mac/svg/as-image/img-preserveAspectRatio-support-2-expected.txt: * platform/mac/svg/as-object/object-box-sizing-no-width-height-expected.txt: * platform/mac/svg/as-object/svg-embedded-in-html-in-iframe-expected.txt: * platform/mac/svg/batik/masking/maskRegions-expected.txt: * platform/mac/svg/batik/paints/patternPreserveAspectRatioA-expected.txt: * platform/mac/svg/batik/paints/patternRegions-expected.txt: * platform/mac/svg/batik/paints/patternRegions-positioned-objects-expected.txt: * platform/mac/svg/batik/text/verticalText-expected.txt: * platform/mac/svg/carto.net/button-expected.txt: * platform/mac/svg/clip-path/clip-in-mask-expected.txt: * platform/mac/svg/clip-path/clip-path-child-clipped-expected.txt: * platform/mac/svg/clip-path/clip-path-evenodd-nonzero-expected.txt: * platform/mac/svg/clip-path/clip-path-nonzero-evenodd-expected.txt: * platform/mac/svg/clip-path/clip-path-nonzero-expected.txt: * platform/mac/svg/clip-path/clip-path-pixelation-expected.txt: * platform/mac/svg/clip-path/clip-path-transform-1-expected.txt: * platform/mac/svg/clip-path/clip-path-use-as-child2-expected.txt: * platform/mac/svg/clip-path/clip-path-use-as-child3-expected.txt: * platform/mac/svg/clip-path/clip-path-use-as-child4-expected.txt: * platform/mac/svg/clip-path/clip-path-use-as-child5-expected.txt: * platform/mac/svg/clip-path/clip-path-with-different-unittypes-expected.txt: * platform/mac/svg/clip-path/clip-path-with-different-unittypes2-expected.txt: * platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: * platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.txt: * platform/mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: * platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: * platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: * platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: * platform/mac/svg/css/shadow-changes-expected.txt: * platform/mac/svg/custom/absolute-sized-content-with-resources-expected.txt: * platform/mac/svg/custom/circle-move-invalidation-expected.txt: * platform/mac/svg/custom/circular-marker-reference-2-expected.txt: * platform/mac/svg/custom/clone-element-with-animated-svg-properties-expected.txt: * platform/mac/svg/custom/dasharrayOrigin-expected.txt: * platform/mac/svg/custom/focus-ring-expected.txt: * platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-expected.txt: * platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.txt: * platform/mac/svg/custom/getscreenctm-in-scrollable-svg-area-expected.txt: * platform/mac/svg/custom/inline-svg-in-xhtml-expected.txt: * platform/mac/svg/custom/invalid-css-expected.txt: * platform/mac/svg/custom/linking-a-03-b-all-expected.txt: * platform/mac/svg/custom/linking-a-03-b-preserveAspectRatio-expected.txt: * platform/mac/svg/custom/linking-a-03-b-transform-expected.txt: * platform/mac/svg/custom/linking-a-03-b-viewBox-expected.txt: * platform/mac/svg/custom/linking-a-03-b-viewBox-transform-expected.txt: * platform/mac/svg/custom/linking-a-03-b-viewTarget-expected.txt: * platform/mac/svg/custom/linking-a-03-b-zoomAndPan-expected.txt: * platform/mac/svg/custom/linking-uri-01-b-expected.txt: * platform/mac/svg/custom/marker-opacity-expected.txt: * platform/mac/svg/custom/mask-colorspace-expected.txt: * platform/mac/svg/custom/mask-on-multiple-objects-expected.txt: * platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt: * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: * platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt: * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt: * platform/mac/svg/custom/non-circular-marker-reference-expected.txt: * platform/mac/svg/custom/object-sizing-expected.txt: * platform/mac/svg/custom/object-sizing-explicit-height-expected.txt: * platform/mac/svg/custom/object-sizing-explicit-width-expected.txt: * platform/mac/svg/custom/object-sizing-explicit-width-height-expected.txt: * platform/mac/svg/custom/object-sizing-no-width-height-expected.txt: * platform/mac/svg/custom/path-zero-strokewidth-expected.txt: * platform/mac/svg/custom/pattern-incorrect-tiling-expected.txt: * platform/mac/svg/custom/pattern-no-pixelation-expected.txt: * platform/mac/svg/custom/pattern-referencing-preserve-aspect-ratio-expected.txt: * platform/mac/svg/custom/pattern-rotate-expected.txt: * platform/mac/svg/custom/relative-sized-content-with-resources-expected.txt: * platform/mac/svg/custom/shapes-supporting-markers-expected.txt: * platform/mac/svg/custom/stroked-pattern-expected.txt: * platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt: * platform/mac/svg/custom/use-css-events-expected.txt: * platform/mac/svg/custom/use-detach-expected.txt: * platform/mac/svg/custom/use-elementInstance-methods-expected.txt: * platform/mac/svg/custom/use-instanceRoot-modifications-expected.txt: * platform/mac/svg/custom/use-modify-container-in-target-expected.txt: * platform/mac/svg/custom/use-modify-target-container-expected.txt: * platform/mac/svg/custom/use-on-g-containing-use-expected.txt: * platform/mac/svg/custom/use-on-g-expected.txt: * platform/mac/svg/custom/use-on-use-expected.txt: * platform/mac/svg/custom/use-transform-expected.txt: * platform/mac/svg/custom/width-full-percentage-expected.txt: * platform/mac/svg/filters/feDropShadow-expected.txt: * platform/mac/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.txt: * platform/mac/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-userSpaceOnUse-expected.txt: * platform/mac/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.txt: * platform/mac/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.txt: * platform/mac/svg/filters/feImage-late-indirect-update-expected.txt: * platform/mac/svg/hixie/cascade/001-broken-expected.txt: * platform/mac/svg/hixie/cascade/002-expected.txt: * platform/mac/svg/hixie/error/001-expected.txt: * platform/mac/svg/hixie/error/003-expected.txt: * platform/mac/svg/hixie/error/017-expected.txt: * platform/mac/svg/hixie/mixed/003-expected.txt: * platform/mac/svg/hixie/mixed/004-expected.txt: * platform/mac/svg/hixie/mixed/005-expected.txt: * platform/mac/svg/hixie/mixed/006-expected.txt: * platform/mac/svg/hixie/mixed/008-expected.txt: * platform/mac/svg/hixie/mixed/011-expected.txt: * platform/mac/svg/hixie/perf/001-expected.txt: * platform/mac/svg/hixie/perf/002-expected.txt: * platform/mac/svg/hixie/perf/007-expected.txt: * platform/mac/svg/hixie/rendering-model/001-expected.txt: * platform/mac/svg/hixie/rendering-model/002-expected.txt: * platform/mac/svg/hixie/shapes/path/001-expected.txt: * platform/mac/svg/hixie/transform/001-expected.txt: * platform/mac/svg/in-html/circle-expected.txt: * platform/mac/svg/stroke/zero-length-arc-linecaps-rendering-expected.txt: * platform/mac/svg/stroke/zero-length-path-linecap-rendering-expected.txt: * platform/mac/svg/stroke/zero-length-subpaths-linecap-rendering-expected.txt: * platform/mac/svg/text/small-fonts-3-expected.txt: * platform/mac/svg/text/text-align-01-b-expected.txt: * platform/mac/svg/text/text-align-05-b-expected.txt: * platform/mac/svg/text/text-fill-opacity-expected.txt: * platform/mac/svg/transforms/svg-css-transforms-clip-path-expected.txt: * platform/mac/svg/wicd/rightsizing-grid-expected.txt: * platform/mac/svg/wicd/test-rightsizing-b-expected.txt: * platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.txt: * platform/mac/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.txt: * platform/mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: * platform/mac/svg/zoom/text/zoom-hixie-mixed-008-expected.txt: * platform/qt/Skipped: * platform/win/Skipped: * svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt: * svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt: * svg/clip-path/clip-path-childs-clipped-expected.txt: * svg/clip-path/clip-path-clipped-evenodd-twice-expected.txt: * svg/clip-path/clip-path-clipped-expected.txt: * svg/clip-path/clip-path-clipped-nonzero-expected.txt: * svg/clip-path/clip-path-css-transform-1-expected.txt: * svg/clip-path/clip-path-css-transform-2-expected.txt: * svg/clip-path/clip-path-objectBoundingBox-expected.txt: * svg/clip-path/clip-path-on-clipped-use-expected.txt: * svg/clip-path/clip-path-on-g-and-child-expected.txt: * svg/clip-path/clip-path-on-g-expected.txt: * svg/clip-path/clip-path-on-svg-and-child-expected.txt: * svg/clip-path/clip-path-on-svg-expected.txt: * svg/clip-path/clip-path-transform-2-expected.txt: * svg/clip-path/clip-path-use-as-child-expected.txt: * svg/css/circle-in-mask-with-shadow-expected.txt: * svg/css/mask-with-shadow-expected.txt: * svg/custom/absolute-root-position-masking-expected.txt: * svg/custom/fill-opacity-update-expected.txt: * svg/custom/gradient-stroke-width-expected.txt: * svg/custom/js-late-marker-and-object-creation-expected.txt: * svg/custom/js-late-marker-creation-expected.txt: * svg/custom/js-update-bounce-expected.txt: * svg/custom/marker-changes-expected.txt: * svg/custom/marker-child-changes-css-expected.txt: * svg/custom/marker-child-changes-expected.txt: * svg/custom/marker-strokeWidth-changes-expected.txt: * svg/custom/marker-viewBox-changes-expected.txt: * svg/custom/object-sizing-no-width-height-change-content-box-size-expected.txt: * svg/custom/pattern-scaled-pattern-space-expected.txt: * svg/custom/resource-invalidate-on-target-update-expected.txt: * svg/custom/stroke-opacity-update-expected.txt: * svg/custom/use-setAttribute-crash-expected.txt: * svg/custom/viewBox-hit-expected.txt: * svg/filters/feImage-reference-svg-primitive-expected.txt: * svg/filters/filter-clip-expected.txt: * svg/filters/invalidate-on-child-layout-expected.txt: * svg/hittest/svg-ellipse-expected.txt: Added. * svg/hittest/svg-ellipse-non-scale-stroke-expected.txt: Added. * svg/hittest/svg-ellipse-non-scale-stroke.xhtml: Added. * svg/hittest/svg-ellipse.xhtml: Added. * svg/hixie/links/001-expected.txt: Canonical link: https://commits.webkit.org/100054@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@112667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-03-30 15:37:16 +00:00
RenderSVGEllipse {circle} at (307,307) size 155x155 [fill={[type=SOLID] [color=#008000]}] [cx=150.00] [cy=150.00] [r=30.00]
2011-05-27 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Rob Buis. embedded SVG object doesn't scale right https://bugs.webkit.org/show_bug.cgi?id=10526 <object> tags should treat width/height on a referenced SVG as intrinsic width/height https://bugs.webkit.org/show_bug.cgi?id=11976 Incorrect handling of percentage values for width/height on embedded elements https://bugs.webkit.org/show_bug.cgi?id=14793 WebKit fails some WICD 1.0 core test cases https://bugs.webkit.org/show_bug.cgi?id=15836 (partially fixed, all 'rightsizing' tests are fixed) CSS 2.1: Support replaced elements with relative intrinsic sizes https://bugs.webkit.org/show_bug.cgai?id=15849 (partially fixed) SVG embedded as <object> doesn't respect width/height attributes https://bugs.webkit.org/show_bug.cgi?id=34972 Explicit size of object tag ignored https://bugs.webkit.org/show_bug.cgi?id=37086 * http/tests/misc/object-embedding-svg-delayed-size-negotiation.xhtml: Added. * http/tests/misc/resources/embedded.svg: Added. * http/tests/misc/resources/svg-slow.pl: Added. * platform/mac/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.png: Added. * platform/mac/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.txt: Added. * platform/mac/svg/custom/object-no-size-attributes-expected.png: Added. * platform/mac/svg/custom/object-no-size-attributes-expected.txt: Added. * platform/mac/svg/custom/object-sizing-expected.png: Added. * platform/mac/svg/custom/object-sizing-expected.txt: Added. * platform/mac/svg/custom/object-sizing-explicit-height-expected.png: Added. * platform/mac/svg/custom/object-sizing-explicit-height-expected.txt: Added. * platform/mac/svg/custom/object-sizing-explicit-width-expected.png: Added. * platform/mac/svg/custom/object-sizing-explicit-width-expected.txt: Added. * platform/mac/svg/custom/object-sizing-explicit-width-height-expected.png: Added. * platform/mac/svg/custom/object-sizing-explicit-width-height-expected.txt: Added. * platform/mac/svg/custom/object-sizing-no-width-height-change-content-box-size-expected.png: Added. * platform/mac/svg/custom/object-sizing-no-width-height-change-content-box-size-expected.txt: Added. * platform/mac/svg/custom/object-sizing-no-width-height-expected.png: Added. * platform/mac/svg/custom/object-sizing-no-width-height-expected.txt: Added. * platform/mac/svg/hixie/text/003-expected.png: * platform/mac/svg/hixie/text/003-expected.txt: * platform/mac/svg/in-html/by-reference-expected.txt: * platform/mac/svg/wicd: Added. * platform/mac/svg/wicd/rightsizing-grid-expected.png: Added. * platform/mac/svg/wicd/rightsizing-grid-expected.txt: Added. * platform/mac/svg/wicd/test-rightsizing-a-expected.png: Added. * platform/mac/svg/wicd/test-rightsizing-a-expected.txt: Added. * platform/mac/svg/wicd/test-rightsizing-b-expected.png: Added. * platform/mac/svg/wicd/test-rightsizing-b-expected.txt: Added. * platform/mac/svg/zoom/page/relative-sized-document-scrollbars-expected.txt: * platform/mac/svg/zoom/page/zoom-foreignObject-expected.png: * platform/mac/svg/zoom/page/zoom-foreignObject-expected.txt: * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-no-width-height-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-no-width-height-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-text-expected.png: Added. * platform/mac/svg/zoom/page/zoom-svg-through-object-with-text-expected.txt: Added. * svg/custom/object-no-size-attributes.xhtml: Added. * svg/custom/object-sizing-explicit-height.xhtml: Added. * svg/custom/object-sizing-explicit-width-height.xhtml: Added. * svg/custom/object-sizing-explicit-width.xhtml: Added. * svg/custom/object-sizing-no-width-height-change-content-box-size.xhtml: Added. * svg/custom/object-sizing-no-width-height.xhtml: Added. * svg/custom/object-sizing.xhtml: Added. * svg/custom/resources/embedded.svg: Added. * svg/custom/resources/red-circle.svg: Added. * svg/in-html/by-reference-expected.png: * svg/wicd: Added. * svg/wicd/resources: Added. * svg/wicd/resources/a.svg: Added. * svg/wicd/resources/bcde.svg: Added. * svg/wicd/resources/empty1.svg: Added. * svg/wicd/resources/empty2.svg: Added. * svg/wicd/resources/empty3.svg: Added. * svg/wicd/resources/f.svg: Added. * svg/wicd/resources/g.svg: Added. * svg/wicd/resources/h.svg: Added. * svg/wicd/resources/i.svg: Added. * svg/wicd/resources/j.svg: Added. * svg/wicd/resources/k.svg: Added. * svg/wicd/resources/l.svg: Added. * svg/wicd/resources/main.css: Added. (body,html): (body): (.buttons): (h1): (h2): (h4): (p): (table): (th): (td,th): (td a): (a): (a:hover): (a:focus): (a:visited): (a.index): (a.index:hover): (a.index:focus): (a.index:visited): (ul): (ol): (.red): (.navi): (.navi a): (.navi a:hover): (.navi a:visited): * svg/wicd/resources/mnop.svg: Added. * svg/wicd/resources/q.svg: Added. * svg/wicd/resources/r.svg: Added. * svg/wicd/resources/s.svg: Added. * svg/wicd/resources/t.svg: Added. * svg/wicd/resources/test-rightsizing-a.css: Added. (html,body): (div.all): (object.w100): (object.h100): * svg/wicd/resources/test-rightsizing-b.css: Added. (html,body): (object): * svg/wicd/resources/test-svg-child-object-rightsizing.gif: Added. * svg/wicd/resources/test-svg-child-object-rightsizing.png: Added. * svg/wicd/resources/test-svg-child-object-rightsizing.svg: Added. * svg/wicd/resources/test-svg-child-object-rightsizing1.svg: Added. * svg/wicd/rightsizing-grid.xhtml: Added. * svg/wicd/test-rightsizing-a.xhtml: Added. * svg/wicd/test-rightsizing-b.xhtml: Added. * svg/zoom/page/resources: Added. * svg/zoom/page/resources/absolute-sized-svg.png: Added. * svg/zoom/page/resources/absolute-sized-svg.svg: Added. * svg/zoom/page/resources/huge-rect.svg: Added. * svg/zoom/page/resources/percentage-sized-svg.png: Added. * svg/zoom/page/resources/percentage-sized-svg.svg: Added. * svg/zoom/page/resources/text.svg: Added. * svg/zoom/page/resources/tux.svg: Added. * svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml: Added. * svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml: Added. * svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml: Added. * svg/zoom/page/zoom-svg-through-object-with-override-size.html: Added. * svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml: Added. * svg/zoom/page/zoom-svg-through-object-with-text.xhtml: Added. 2011-05-27 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Rob Buis. embedded SVG object doesn't scale right https://bugs.webkit.org/show_bug.cgi?id=10526 <object> tags should treat width/height on a referenced SVG as intrinsic width/height https://bugs.webkit.org/show_bug.cgi?id=11976 Incorrect handling of percentage values for width/height on embedded elements https://bugs.webkit.org/show_bug.cgi?id=14793 WebKit fails some WICD 1.0 core test cases https://bugs.webkit.org/show_bug.cgi?id=15836 (partially fixed, all 'rightsizing' tests are fixed) CSS 2.1: Support replaced elements with relative intrinsic sizes https://bugs.webkit.org/show_bug.cgai?id=15849 (partially fixed) SVG embedded as <object> doesn't respect width/height attributes https://bugs.webkit.org/show_bug.cgi?id=34972 Explicit size of object tag ignored https://bugs.webkit.org/show_bug.cgi?id=37086 Add partial support of CSS 2.1 replaced elements with intrinsic size. The feature itself is complete but has only been implemented for RenderPart, to support SVG content document size negotiation. It serves as starting point for a generalization, in future. The changes in RenderPart are a 1:1 transliteration of the spec (http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width/height, see code). SVG 1.1 says: The 'width' attribute on the outermost svg element establishes the viewport's width, unless the following conditions are met: ... and there are CSS-compatible positioning properties ([CSS2], section 9.3) specified on the referencing element (e.g., the 'object' element) or on the containing document's outermost svg element that are sufficient to establish the width of the viewport. Under these conditions, the positioning properties establish the viewport's width. If an <object> carries width/height attributes, these specify the viewport size of the embedded SVG, instead of its own width/height or viewBox properties. If an <object> has no width/height information, its intrinsic size needs to be calculated depending on the intrinsic ratio (viewBox width divided by height ratio) and the width/height properties on the outermost referenced <svg> element. This requires a negotiation between the host document and the embedded document. (There are several more factors that need to be considered, the CSS spec covers this and the RenderPart::computeReplaced* code covers this.) Fixes dozens of long-standing bug reports. The number one integration issue when using SVG through <object> is resolved: "right sizing". Tests: http/tests/misc/object-embedding-svg-delayed-size-negotiation.xhtml svg/custom/object-no-size-attributes.xhtml (bug 11976, from Eric Seidel) svg/custom/object-sizing-explicit-height.xhtml (bug 10526, from Ryan Cannon) svg/custom/object-sizing-explicit-width-height.xhtml svg/custom/object-sizing-explicit-width.xhtml (bug 14793, from Oliver Hunt) svg/custom/object-sizing-no-width-height-change-content-box-size.xhtml svg/custom/object-sizing-no-width-height.xhtml svg/custom/object-sizing.xhtml (bug 37086, from Jeff Schiller) svg/wicd/rightsizing-grid.xhtml (bug 15836, WICD rightsizing test now works) svg/wicd/test-rightsizing-a.xhtml (ditto) svg/wicd/test-rightsizing-b.xhtml (ditto) svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml svg/zoom/page/zoom-svg-through-object-with-override-size.html (bug 34972, from Andreas Kling) svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml svg/zoom/page/zoom-svg-through-object-with-text.xhtml * platform/Length.h: (WebCore::Length::isSpecified): * rendering/RenderPart.cpp: (WebCore::RenderPart::embeddedSVGContentRenderer): (WebCore::RenderPart::computeEmbeddedDocumentReplacedWidth): (WebCore::RenderPart::computeEmbeddedDocumentReplacedHeight): (WebCore::RenderPart::computeReplacedLogicalWidth): (WebCore::RenderPart::computeReplacedLogicalHeight): (WebCore::RenderPart::layout): * rendering/RenderPart.h: * rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::computeReplacedLogicalWidth): (WebCore::RenderReplaced::computeReplacedLogicalHeight): * rendering/svg/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::RenderSVGRoot): (WebCore::RenderSVGRoot::computeIntrinsicRatio): (WebCore::RenderSVGRoot::computeIntrinsicWidth): (WebCore::RenderSVGRoot::computeIntrinsicHeight): (WebCore::RenderSVGRoot::negotiateSizeWithHostDocumentIfNeeded): (WebCore::RenderSVGRoot::computeReplacedLogicalWidth): (WebCore::RenderSVGRoot::computeReplacedLogicalHeight): (WebCore::RenderSVGRoot::layout): * rendering/svg/RenderSVGRoot.h: * svg/SVGLength.cpp: (WebCore::SVGLength::determineViewport): * svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::currentScale): (WebCore::SVGSVGElement::setCurrentScale): (WebCore::SVGSVGElement::currentViewBoxRect): (WebCore::SVGSVGElement::viewBoxToViewTransform): * svg/SVGSVGElement.h: Canonical link: https://commits.webkit.org/77067@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-27 18:27:50 +00:00
RenderText {#text} at (0,0) size 0x0