mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #12571 - servo:selectors-generic-atom_, r=bholley
Update to selectors 0.8.2 (generic over atoms) This removes the `[replace]` override in geckolib and therefore unblocks https://github.com/servo/servo/pull/12391. This includes the `gecko_string_cache` redesign discussed in https://github.com/servo/servo/pull/12548. r? @bholley --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #12548 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require new tests because refactor <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/12571) <!-- Reviewable:end -->
This commit is contained in:
commit
5e83b3f83b
33 changed files with 550 additions and 351 deletions
|
@ -33,7 +33,7 @@ range = {path = "../range"}
|
|||
rustc-serialize = "0.3"
|
||||
script_layout_interface = {path = "../script_layout_interface"}
|
||||
script_traits = {path = "../script_traits"}
|
||||
selectors = {version = "0.7", features = ["heap_size"]}
|
||||
selectors = {version = "0.8", features = ["heap_size"]}
|
||||
serde_macros = "0.7.15"
|
||||
smallvec = "0.1"
|
||||
string_cache = {version = "0.2.20", features = ["heap_size"]}
|
||||
|
|
|
@ -27,7 +27,7 @@ pub struct RecalcStyleAndConstructFlows<'lc> {
|
|||
|
||||
impl<'lc, N> DomTraversalContext<N> for RecalcStyleAndConstructFlows<'lc>
|
||||
where N: LayoutNode + TNode,
|
||||
N::ConcreteElement: ::selectors::Element<Impl=ServoSelectorImpl, AttrString=String>
|
||||
N::ConcreteElement: ::selectors::Element<Impl=ServoSelectorImpl>
|
||||
|
||||
{
|
||||
type SharedContext = SharedLayoutContext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue