mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
An SVGLength can be read-only, e.g. all animVal values cannot be modified. Implement this for all instantiations of SVGLength. While we're here, add `fake_animated_length_fixme()` so we can easily find all sites where we need to improve our animated length game.
10 lines
253 B
Plaintext
10 lines
253 B
Plaintext
rect.x.baseVal: 1
|
|
rect.x.animVal: 1
|
|
rect.y.baseVal: 2
|
|
rect.y.animVal: 2
|
|
rect.width.baseVal: 3
|
|
rect.width.animVal: 3
|
|
rect.height.baseVal: 4
|
|
rect.height.animVal: 4
|
|
Expected exception: NoModificationAllowedError: Cannot modify value of read-only SVGLength
|