mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +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.
9 lines
390 B
Plaintext
9 lines
390 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
|
|
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
|