mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
c8b219914e
If an unexpected token is encountered when parsing an SVG attribute it is now immediately propagated with ErrorOr. Previously, some situations where an unexpected token was encountered could cause a crash.
29 lines
990 B
HTML
29 lines
990 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="reference/svg-polygon-with-incomplete-points-ref.html" />
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points="" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points=" " />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points="," />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points="10" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points="10," />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points="0,0 0,10 10,10 10," />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points="0,0 0,10 10,10 10" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points="0 0 0 10 10 10 10 invalid" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<polygon points="0,0 0,10 10,10 10,0 a complete rectangle should be drawn here" />
|
|
</svg>
|