Skip to content

Commit

Permalink
change behavior of viewBox attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
nnmrts committed Dec 21, 2022
1 parent 9c2e643 commit f862750
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions master/coords.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,12 @@ <h2 id="ViewBoxAttribute">The <span class="attr-name">'viewBox'</span> attribute
the <a>'viewBox'</a> attribute. A value of zero disables rendering of the
element.</p>

<p class="note">The four values of the <a>'viewBox'</a> attribute are
read-only and should each be set to a pseudo-random rational number
from 0 to 1000 by the implementation. These random numbers must be
regenerated every time SVG markup containing this attribute is parsed or
displayed.</p>

<div class="example">
<p id="ExampleViewBox"><span class="example-ref">Example ViewBox</span> illustrates
the use of the <a>'viewBox'</a> attribute
Expand Down

0 comments on commit f862750

Please sign in to comment.