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 upAccumulate parent elements that need selector bits set on the ThreadLocalStyleContext #15462
Conversation
… a mutable StyleContext into match_element. r=emilio We need to do something here to avoid a double-borrow when passing a mutable StyleContext to match_element. After some discussion on IRC, we decided that building the bloom filter for this case is probably worthwhile.
This makes things more consistent between the parallel and sequential traversal drivers.
highfive
commented
Feb 9, 2017
|
Heads up! This PR modifies the following files:
|
highfive
commented
Feb 9, 2017
|
Note that this PR touches the in-tree selectors, and the decision on that is not finalized until friday. If the decision ends up being that we keep selectors out-of-tree, I will apply this change upstream. |
|
@bors-servo try |
Accumulate parent elements that need selector bits set on the ThreadLocalStyleContext Discussion and review in https://bugzilla.mozilla.org/show_bug.cgi?id=1336646 <!-- 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/15462) <!-- Reviewable:end -->
|
|
2c8e346
to
9e860df
|
This shrunk Element and all its subclasses by 8 bytes. Adjusting test expectations. |
|
@bors-servo r=emilio |
|
|
|
|
Accumulate parent elements that need selector bits set on the ThreadLocalStyleContext Discussion and review in https://bugzilla.mozilla.org/show_bug.cgi?id=1336646 <!-- 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/15462) <!-- Reviewable:end -->
|
|
bholley commentedFeb 9, 2017
•
edited by larsbergstrom
Discussion and review in https://bugzilla.mozilla.org/show_bug.cgi?id=1336646
This change is