Files
openide/xml/tests/testData/documentation/SvgDoc2.svg.expected.completion.html
Piotr Tomiak b2652db4a7 [mdn] WEB-72460 Update test files; add a test suite to run all the affected doc tests.
(cherry picked from commit 7c4aaa761397c4fee13d0e35d25d07910e44675b)

IJ-CR-162639

GitOrigin-RevId: 5dd28c2cdd847e32084823c21c092bcd2b658f8e
2025-05-26 21:37:22 +00:00

1 line
2.7 KiB
HTML

<divclass='definition'><pre>stroke-width</pre></div><divclass='content'><details><summary><tablestyle='margin:0px;padding:0px'><tr><tdwidth=2valign=topstyle='margin:0px;padding:0px4px0px0px'><iconsrc='com.intellij.xml.psi.impl.icons.XmlPsiImplIcons.BaselineHigh'></icon><tdstyle='margin:0px;padding:0px'>Widelyavailableacrossmajorbrowsers<i>(Baseline&nbsp;since&nbsp;2022)</i></td></tr></table></summary><pclass='grayed'>Chrome80,ChromeAndroid80,Edge80,Firefox1,FirefoxAndroid4,Opera67,Safari13.1,SafariiOS13.4</details>The<strong><code>stroke-width</code></strong>attributeisapresentationattributedefiningthewidthofthestroketobeappliedtotheshape.ItappliestoanySVGshapeortext-contentelement,butasaninheritedproperty,itmaybeappliedtoelementssuchas<ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/g"><code>&lt;g&gt;</code></a>andstillhavetheintendedeffectondescendantelements'strokes.<divclass="notecardnote"><p><strong>Note:</strong>Asapresentationattribute,<code>stroke-width</code>alsohasaCSSpropertycounterpart:<ahref="https://developer.mozilla.org/en-us/docs/Web/CSS/stroke-width"><code>stroke-width</code></a>.Whenbotharespecified,theCSSpropertytakespriority.</div><p>YoucanusethisattributewiththefollowingSVGelements:<ul><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/circle"><code>&lt;circle&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/ellipse"><code>&lt;ellipse&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/line"><code>&lt;line&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/path"><code>&lt;path&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/polygon"><code>&lt;polygon&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/polyline"><code>&lt;polyline&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/rect"><code>&lt;rect&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/text"><code>&lt;text&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/textPath"><code>&lt;textPath&gt;</code></a></li><li><ahref="https://developer.mozilla.org/en-us/docs/Web/SVG/Reference/Element/tspan"><code>&lt;tspan&gt;</code></a></li></ul></div><divclass='content'>By<ahref='https://developer.mozilla.org/en-us/docs/web/svg/reference/attribute/stroke-width/contributors.txt'>MozillaContributors</a>,<ahref='https://creativecommons.org/licenses/by-sa/2.5/'>CCBY-SA2.5</a></div>