[css-typed-om] Why is StylePropertyMap.get defined to return undefined
instead of null
?
#848
Labels
undefined
instead of null
?
#848
In this section and the associated IDL,
StylePropertyMap.get
is defined to return eitherundefined
or the resultingCSSStyleProperty
. This is inconsistent with the DOM and HTML specs, which use the optional typeT?
which meansT or null
.It's very explicit in the spec it means to use
undefined
, even though it doesn't explain its departure fromnull
andT?
, so I was just wondering what the reasoning behind it was.The text was updated successfully, but these errors were encountered: