void SVGSVGElement::synchronizeProperty(const QualifiedName& attrName) { SVGStyledElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeX(); synchronizeY(); synchronizeWidth(); synchronizeHeight(); synchronizeExternalResourcesRequired(); synchronizeViewBox(); synchronizePreserveAspectRatio(); return; } if (attrName == SVGNames::xAttr) synchronizeX(); else if (attrName == SVGNames::yAttr) synchronizeY(); else if (attrName == SVGNames::widthAttr) synchronizeWidth(); else if (attrName == SVGNames::heightAttr) synchronizeHeight(); else if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) synchronizeExternalResourcesRequired(); else if (SVGFitToViewBox::isKnownAttribute(attrName)) { synchronizeViewBox(); synchronizePreserveAspectRatio(); } }
void SVGPatternElement::synchronizeProperty(const QualifiedName& attrName) { SVGStyledElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizePatternUnits(); synchronizePatternContentUnits(); synchronizePatternTransform(); synchronizeX(); synchronizeY(); synchronizeWidth(); synchronizeHeight(); synchronizeExternalResourcesRequired(); synchronizeViewBox(); synchronizePreserveAspectRatio(); synchronizeHref(); SVGTests::synchronizeProperties(this, attrName); return; } if (attrName == SVGNames::patternUnitsAttr) synchronizePatternUnits(); else if (attrName == SVGNames::patternContentUnitsAttr) synchronizePatternContentUnits(); else if (attrName == SVGNames::patternTransformAttr) synchronizePatternTransform(); else if (attrName == SVGNames::xAttr) synchronizeX(); else if (attrName == SVGNames::yAttr) synchronizeY(); else if (attrName == SVGNames::widthAttr) synchronizeWidth(); else if (attrName == SVGNames::heightAttr) synchronizeHeight(); else if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) synchronizeExternalResourcesRequired(); else if (attrName == SVGNames::viewBoxAttr) synchronizeViewBox(); else if (attrName == SVGNames::preserveAspectRatioAttr) synchronizePreserveAspectRatio(); else if (SVGURIReference::isKnownAttribute(attrName)) synchronizeHref(); else if (SVGTests::isKnownAttribute(attrName)) SVGTests::synchronizeProperties(this, attrName); }
void SVGViewElement::synchronizeProperty(const QualifiedName& attrName) { SVGStyledElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeExternalResourcesRequired(); synchronizeViewBox(); synchronizePreserveAspectRatio(); return; } if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) synchronizeExternalResourcesRequired(); else if (SVGFitToViewBox::isKnownAttribute(attrName)) { synchronizeViewBox(); synchronizePreserveAspectRatio(); } }
void SVGMarkerElement::synchronizeProperty(const QualifiedName& attrName) { SVGStyledElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeMarkerUnits(); synchronizeRefX(); synchronizeRefY(); synchronizeMarkerWidth(); synchronizeMarkerHeight(); synchronizeOrientAngle(); synchronizeOrientType(); synchronizeExternalResourcesRequired(); synchronizeViewBox(); synchronizePreserveAspectRatio(); return; } if (attrName == SVGNames::markerUnitsAttr) synchronizeMarkerUnits(); else if (attrName == SVGNames::refXAttr) synchronizeRefX(); else if (attrName == SVGNames::refYAttr) synchronizeRefY(); else if (attrName == SVGNames::markerWidthAttr) synchronizeMarkerWidth(); else if (attrName == SVGNames::markerHeightAttr) synchronizeMarkerHeight(); else if (attrName == SVGNames::orientAttr) { synchronizeOrientAngle(); synchronizeOrientType(); } else if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) synchronizeExternalResourcesRequired(); else if (SVGFitToViewBox::isKnownAttribute(attrName)) { synchronizeViewBox(); synchronizePreserveAspectRatio(); } }