You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect the intent of the change was to set default values for the attributes. Default values are not allowed in interface attributes in Web IDL, only for dictionary members.
Also note that, even without the default value, the definition of the attribute remains invalid for the same reason as that noted in #9355 (comment): "dictionaries aren't allowed as attribute types"
Activity
tidoust commentedon Jan 31, 2025
I suspect the intent of the change was to set default values for the attributes. Default values are not allowed in
interfaceattributes in Web IDL, only fordictionarymembers.tidoust commentedon Jan 31, 2025
Also note that, even without the default value, the definition of the attribute remains invalid for the same reason as that noted in
#9355 (comment): "dictionaries aren't allowed as attribute types"
ydaniv commentedon Jan 31, 2025
Thanks! I'll push a fix
ydaniv commentedon Jan 31, 2025
I think this should do as a fix: #11630
tidoust commentedon Feb 4, 2025
Oh, failed to notice, but another IDL hiccup will appear once you fix the other ones: a nullable union cannot include a dictionary type, see https://webidl.spec.whatwg.org/#idl-nullable-type
That will happen because dictionary members in
AnimationTriggerOptionsare defined with a?.ydaniv commentedon Feb 8, 2025
Fixed.