mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-30 23:12:56 +00:00
The max attribute is now clamped to ensure it is limited to positive numbers and the value attribute is clamped to ensure it is non-negative.
11 lines
547 B
Text
11 lines
547 B
Text
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
|
|
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
|