mirror of
https://github.com/servo/servo
synced 2026-05-03 12:52:25 +02:00
Support default values for restricted float members (fixes #7217)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user