mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 18:37:37 +02:00
Previously, 0 was returned if `HTMLProgressElement.max` was set to a negative value. (cherry picked from commit 353e3e75dcff05f05a65cfc3c70d1cff8db5d50c)
13 lines
597 B
Plaintext
13 lines
597 B
Plaintext
value attribute initial value: 0
|
|
max attribute initial value: 1
|
|
value attribute after setting value attribute to -1: 0
|
|
max attribute after setting max attribute to -1: 1
|
|
max attribute after setting max attribute to 0: 1
|
|
value attribute after setting value attribute to 50: 1
|
|
value attribute after setting max attribute to 100: 50
|
|
max attribute after setting max attribute to 100: 100
|
|
value attribute after setting max attribute to 101: 100
|
|
value attribute after setting value attribute to -1: 0
|
|
value attribute after setting max attribute to 0: 0
|
|
max attribute after setting max attribute to 0: 1
|