mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Support default values for restricted float members (fixes #7217)
This commit is contained in:
parent
a1b3f477aa
commit
ec2a6b24b1
3 changed files with 15 additions and 14 deletions
|
@ -39,10 +39,10 @@ dictionary TestDictionaryDefaults {
|
|||
unsigned long unsignedLongValue = 7;
|
||||
long long longLongValue = 7;
|
||||
unsigned long long unsignedLongLongValue = 7;
|
||||
// unrestricted float unrestrictedFloatValue = 7.0;
|
||||
// float floatValue = 7.0;
|
||||
// unrestricted double UnrestrictedDoubleValue = 7.0;
|
||||
// double doubleValue = 7.0;
|
||||
unrestricted float unrestrictedFloatValue = 7.0;
|
||||
float floatValue = 7.0;
|
||||
unrestricted double UnrestrictedDoubleValue = 7.0;
|
||||
double doubleValue = 7.0;
|
||||
DOMString stringValue = "foo";
|
||||
USVString usvstringValue = "foo";
|
||||
TestEnum enumValue = "bar";
|
||||
|
@ -57,10 +57,10 @@ dictionary TestDictionaryDefaults {
|
|||
unsigned long? nullableUnsignedLongValue = 7;
|
||||
long long? nullableLongLongValue = 7;
|
||||
unsigned long long? nullableUnsignedLongLongValue = 7;
|
||||
// unrestricted float? nullableUnrestrictedFloatValue = 7.0;
|
||||
// float? nullableFloatValue = 7.0;
|
||||
// unrestricted double? nullableUnrestrictedDoubleValue = 7.0;
|
||||
// double? nullableDoubleValue = 7.0;
|
||||
unrestricted float? nullableUnrestrictedFloatValue = 7.0;
|
||||
float? nullableFloatValue = 7.0;
|
||||
unrestricted double? nullableUnrestrictedDoubleValue = 7.0;
|
||||
double? nullableDoubleValue = 7.0;
|
||||
DOMString? nullableStringValue = "foo";
|
||||
USVString? nullableUsvstringValue = "foo";
|
||||
// TestEnum? nullableEnumValue = "bar";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue