Simon Sapin
700aaf2bd6
Move MatchingContext to a new module
2017-06-13 00:31:29 +02:00
J. Ryan Stinnett
6b1b8bbee8
Log element during selector matching
...
MozReview-Commit-ID: D8eFyRCy5BR
2017-06-07 14:23:53 -05:00
Bobby Holley
852efb825f
Use dynamically-sized Arcs for Selector.
...
MozReview-Commit-ID: hq0jYrx8Sg
2017-06-05 19:44:06 -07:00
Simon Sapin
94b4a32c18
Make some attr values case-insensitive in selectors
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1363531
2017-05-18 17:13:15 +02:00
Simon Sapin
83c7824fda
Simplify rust-selectors API for attribute selectors
2017-05-18 17:13:13 +02:00
Simon Sapin
fd357f08cf
Add size_of tests for geckolib selectors
2017-05-16 10:24:41 +02:00
Bobby Holley
6d66ec5e11
Store selectors and combinators inline in a single sequence.
...
This improves cache locality and reduces allocations during parsing.
Note that this reverses the iteration order within a sequence of simple selectors,
but that shouldn't matter.
2017-04-20 15:00:43 -07:00
Matthew
ec04de4ab7
Removing recursion from ComplexSelector
...
formatting
formatting
2017-04-16 21:52:50 -04:00
Emilio Cobos Álvarez
1748150497
selectors: Remove custom attribute-affecting logic and sibling-affecting logic from rust-selectors.
...
MozReview-Commit-ID: BjZY6TjJbcb
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-09 05:49:47 +02:00
Emilio Cobos Álvarez
e29b84de18
style: Hash less stuff in the bloom filter, using the precomputed hashes we have.
2017-04-08 02:02:11 +02:00
Simon Sapin
288ef97055
Update cssparser for https://github.com/servo/rust-cssparser/pull/123
2017-02-28 17:16:36 +01:00
Simon Sapin
33ef6f78e5
Update to cssparser 0.11
2017-02-26 11:09:53 +01:00
Bobby Holley
8915e53cee
Move rust-selectors in-tree.
2017-02-07 22:53:10 -08:00