Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil). Junte-se a nós e ajude-nos a fazer o trabalho!
Você também pode ler o artigo em English (US).

The markerWidth attribute represents the widht of the viewport into which the <marker> is to be fitted when it is rendered according to the viewBox and preserveAspectRatio attributes.

Only one element is using this attribute: <marker>

Usage notes

Value <length-percentage> | <number>
Default value 3
Animatable Yes
<length-percentage>
This value defines either an absolute or a relative width of the marker.
Relative values refer to the width specified via the viewBox and preserveAspectRatio attributes.
<number>
This value defines the width of the marker in the units defined by the markerUnits attribute.

A value of zero disables rendering of the element and negative values are an error.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'markerWidth' in that specification.
Candidate Recommendation Allowed percentage and number values.
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'markerWidth' in that specification.
Recommendation Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
markerWidthChrome Full support YesEdge Full support YesFirefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Etiquetas do documento e colaboradores

Colaboradores desta página: Sebastianz, Jeremie
Última atualização por: Sebastianz,