fune/servo/components/selectors
Emilio Cobos Álvarez 6752dad196 Bug 1548718 - Support multiple parts in ::part() selectors. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D48753

--HG--
extra : moz-landing-system : lando
2019-10-17 00:51:54 +00:00
..
attr.rs
bloom.rs Bug 1577439 - Shutdown Servo's thread-pool in leak-checking builds, leak the atom table elsewhere. r=bholley 2019-09-09 22:39:46 +00:00
build.rs
builder.rs
Cargo.toml
context.rs
lib.rs
matching.rs Bug 1548718 - Support multiple parts in ::part() selectors. r=boris 2019-10-17 00:51:54 +00:00
nth_index_cache.rs
parser.rs Bug 1548718 - Support multiple parts in ::part() selectors. r=boris 2019-10-17 00:51:54 +00:00
README.md Bug 1564085 - Update Travis CI URLs. r=emilio 2019-07-08 13:10:01 +02:00
sink.rs
tree.rs
visitor.rs

rust-selectors

CSS Selectors library for Rust. Includes parsing and serilization of selectors, as well as matching against a generic tree of elements. Pseudo-elements and most pseudo-classes are generic as well.

Warning: breaking changes are made to this library fairly frequently (13 times in 2016, for example). However you can use this crate without updating it that often, old versions stay available on crates.io and Cargo will only automatically update to versions that are numbered as compatible.

To see how to use this library with your own tree representation, see Kuchikis src/select.rs. (Note however that Kuchiki is not always up to date with the latest rust-selectors version, so that code may need to be tweaked.) If you dont already have a tree data structure, consider using Kuchiki itself.