-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-shapes] Serialization of computed value of <position> in circle() and ellipse() function #402
Comments
This was meant to match the computed value of I'm not clear whether the current @tabatkins @fantasai Should I change shapes-1 to match the current |
I don't think anything should serialize as This applies to both background-position and shape functions. |
@tabatkins What edits would be needed to specify that behavior clearly? |
Hm, perhaps just restating the computed value to be explicitly a |
Done. @upsuper Does that work for you? |
Sounds good to me. |
If I specify
circle(0px at 0px 0px)
, how should the computed value looks like after serialization?In "3.2. Computed Values of Basic Shapes", the spec says:
It seems to me that means the value would be computed to something like
circle(0px at calc(0px + 0%) calc(0px + 0%))
, and eventually serialized in this form.This matches Gecko's current implementation, and I do think having the computed value in a most general form makes sense, but I'm not completely sure whether this is the desired result.
I'm confused because the section "3.3. Serialization of Basic Shapes" states
but I guess that wouldn't change the result of serialization of computed value, as the computed value has already been in a form with
calc()
. Is that correct?The text was updated successfully, but these errors were encountered: