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
Omitting components means that some default values do not show up in the serialization. But since always uses the 2- or 4-value form, a default is not omitted.
So if we use circle(closest-side), what is the expected serialization? If we serialize it as circle(at 50% 50%), this seems incorrect to me because we do not use the standard default for motion path:
If circle() or ellipse() is used, and an explicit center position is not given, they default to using the offset starting position, rather than their standard default:
So I think we shouldn't serialize its default center position (for both specified value and computed value) because we don't use the standard default for circle and ellipse if the explicit center is not given. In other words, we should omit this component because it has special meaning.
Per some comments from web-platform-tests/interop#340. It seems the serialization of
<position>
is a little bit unclear to me.Per [css-shapes-1]
And its example shows:
So if we use
circle(closest-side)
, what is the expected serialization? If we serialize it ascircle(at 50% 50%)
, this seems incorrect to me because we do not use the standard default for motion path:So I think we shouldn't serialize its default center position (for both specified value and computed value) because we don't use the standard default for
circle
andellipse
if the explicit center is not given. In other words, we should omit this component because it has special meaning.cc @tabatkins @danielsakhapov
The text was updated successfully, but these errors were encountered: