Searched defs:svg (Results 1 - 6 of 6) sorted by relevance

/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGViewportContainer.cpp50 SVGSVGElement* svg = static_cast<SVGSVGElement*>(element); local
53 m_viewport = FloatRect(svg->x().value(svg)
54 , svg->y().value(svg)
55 , svg->width().value(svg)
56 , svg->height().value(svg));
66 SVGSVGElement* svg local
[all...]
H A DRenderSVGRoot.cpp86 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node());
87 return static_cast<int>(roundf(replacedWidth * svg->currentScale()));
97 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node());
98 return static_cast<int>(roundf(replacedHeight * svg->currentScale()));
116 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node()); local
117 m_isLayoutSizeChanged = svg->hasRelativeLengths() && oldSize != size();
175 // Convert from container offsets (html renderers) to a relative transform (svg renderers).
222 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node()); local
224 if (!svg->hasSetContainerSize()) {
225 // In the normal case of <svg> bein
245 SVGSVGElement* svg = static_cast<SVGSVGElement*>(node()); local
[all...]
/external/webkit/Source/WebCore/svg/
H A DSVGLength.cpp317 // Take size from outermost <svg> element.
329 // Resolve value against nearest viewport element (common case: inner <svg> elements)
332 const SVGSVGElement* svg = static_cast<const SVGSVGElement*>(viewportElement); local
333 if (svg->hasAttribute(SVGNames::viewBoxAttr)) {
334 width = svg->viewBox().width();
335 height = svg->viewBox().height();
337 width = svg->width().value(svg);
338 height = svg->height().value(svg);
[all...]
H A DSVGStyledElement.cpp73 // According to spec, we should not return titles when hovering over root <svg> elements (those
76 const SVGSVGElement* svg = static_cast<const SVGSVGElement*>(this); local
77 if (svg->isOutermostSVG())
/external/webkit/Source/WebKit/qt/tests/qwebelement/
H A Dtst_qwebelement.cpp153 "xmlns:svg=\"http://www.w3.org/2000/svg\">"
154 "<body><svg:svg id=\"foobar\" width=\"400px\" height=\"300px\">"
155 "</svg:svg></body></html>";
159 QWebElement svg = m_mainFrame->findFirstElement("svg"); local
160 QVERIFY(!svg.isNull());
162 QVERIFY(!svg
178 QWebElement svg = m_mainFrame->findFirstElement("svg"); local
269 QWebElement svg = body.findAll("*#foobar").at(0); local
[all...]
/external/webkit/Source/WebCore/page/
H A DFrameView.cpp1437 RefPtr<SVGSVGElement> svg = static_cast<SVGDocument*>(m_frame->document())->rootElement(); local
1438 if (!svg->currentView()->parseViewSpec(name))
1440 svg->setUseCurrentView(true);
1447 RefPtr<SVGSVGElement> svg = static_cast<SVGSVGElement*>(element); local
1448 svg->inheritViewAttributes(viewElement.get());
1453 // FIXME: need to decide which <svg> to focus on, and zoom to that one

Completed in 139 milliseconds