Skip to content
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

Serialization description for position property #463

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jm318
Copy link
Contributor

@jm318 jm318 commented Aug 22, 2017

@shans PTAL, thanks!

@@ -2903,6 +2903,9 @@ depending on the property they came from:
return "currentcolor".
2. Otherwise, return the result of serializing the <<color>> value.

: 'position'
::
1. Return value of 'position'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "value of 'position'" is a browser-internal abstract CSS value, which can't be returned directly to JS. It needs to be serialized as a keyword, like in the other examples.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks!

@jm318
Copy link
Contributor Author

jm318 commented Aug 23, 2017

@tabatkins, thanks for the review! PTAL.

Base automatically changed from master to main February 2, 2021 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants