Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upparse_origin fails to parse `center left` and `center right` #15750
Comments
|
I suspect whether we really should fix |
bors-servo
added a commit
that referenced
this issue
Apr 14, 2017
Fix parsing of "center left" in parse_origin (fixes #15750) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16435) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For
transform-originandperspective-origin, when the value consists of two keywords, the order of the values doesn't matter, and thuscenter leftshould just behave the same asleft center.Currently
parse_originalways treat the firstcenteras horizontal value if no horizontal value is parsed, thus it consider the second horizontal value to be invalid, which is wrong.This bug is uncovered by change in #15613.