Skip to content

Tags

0.16.0
Auto merge of #157 - upsuper:source-location, r=SimonSapin
Use u32 for SourceLocation

I suppose nothing is going to be happy if a CSS file can contain over 4G lines or columns...

All Servo rules have `SourceLocation` stored, so reducing its size is probably worth.

<!-- 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/157)
<!-- Reviewable:end -->
Auto merge of #147 - nox:parse-hash, r=SimonSapin
Actually expose Color::parse_hash...

<!-- 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/147)
<!-- Reviewable:end -->
Auto merge of #146 - nox:parse-hash, r=SimonSapin
Introduce Color::parse_hash

Useful to parse quirky colors.

<!-- 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/146)
<!-- Reviewable:end -->
Fix overflow in rgb() parsing.
`some_f32 as i32` would warp
Auto merge of #140 - servo:unbound, r=nox
Remove broken support for bindings inside match_ignore_ascii_case.

Fix #126.

<!-- 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/140)
<!-- Reviewable:end -->
Make function generated by ascii_case_insensitive_phf_map public.
procedural-masquerade v0.1.2
Auto merge of #121 - manuel-woelker:pr-color-level-4, r=emilio,SimonS…
…apin

color: Support CSS Color Level 4 rgb & hsl syntax (#113)

Fixes #113 - Feedback welcome!

If I interpret the spec correctly, in the whitespace-split version the alpha channel is separated with a `/`.
I also added support for angle values (deg/grad/rad/turn) in the hue position.

<!-- 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/121)
<!-- Reviewable:end -->
You can’t perform that action at this time.