Skip to content

unicode-range incorrectly rejects some values should be valid when scientific syntax involves #135

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

Closed
upsuper opened this issue Apr 11, 2017 · 0 comments

Comments

@upsuper
Copy link
Contributor

upsuper commented Apr 11, 2017

<!DOCTYPE HTML>
<style>
@font-face { unicode-range: U+4E00-9FFF; }
</style>
<script>
alert(document.styleSheets[0].cssRules[0].style.getPropertyValue('unicode-range'));
</script>

or U+4E-9F.

SimonSapin added a commit that referenced this issue Apr 11, 2017
Fix #135, where e.g. `+4E-9` in `U+49-9F` is a scientific-notation number.
SimonSapin added a commit that referenced this issue Apr 11, 2017
Fix #135, where e.g. `+4E-9` in `U+49-9F` is a scientific-notation number.
bors-servo pushed a commit that referenced this issue Apr 11, 2017
Parse <unicode-range> based on tokens’s source representation

Fix #135, where e.g. `+4E-9` in `U+49-9F` is a scientific-notation number.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/137)
<!-- Reviewable:end -->
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

No branches or pull requests

1 participant