mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 07:32:52 +00:00
Previously, we returned from the value setter if the specified value was above the max value. This is not required, as the getter clamps the returned value to the max value.
8 lines
390 B
Text
8 lines
390 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
|