mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
![Tim Ledbetter](/assets/img/avatar_default.png)
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.
30 lines
1,007 B
HTML
30 lines
1,007 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="reference/svg-invalid-number-arguments-ref.html" />
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2="-" stroke="black" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2="+" stroke="black" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2="." stroke="black" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2="--" stroke="black" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2="++" stroke="black" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2="+." stroke="black" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2="-." stroke="black" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2=".+" stroke="black" />
|
|
</svg>
|
|
<svg viewBox="0 0 10 10" width="100" height="100">
|
|
<line x2="10" y2=".-" stroke="black" />
|
|
</svg>
|