mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #17481 - jryans:move-rule-node, r=bholley
Stylo: Move match and cascade temporaries to CurrentElementInfo https://bugzilla.mozilla.org/show_bug.cgi?id=1370719 <!-- 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/17481) <!-- Reviewable:end -->
This commit is contained in:
commit
9ba71fcd57
20 changed files with 1003 additions and 657 deletions
|
@ -902,7 +902,7 @@ impl<'ln> ThreadSafeLayoutNode for ServoThreadSafeLayoutNode<'ln> {
|
|||
fn parent_style(&self) -> Arc<ComputedValues> {
|
||||
let parent = self.node.parent_node().unwrap().as_element().unwrap();
|
||||
let parent_data = parent.get_data().unwrap().borrow();
|
||||
parent_data.styles().primary.values().clone()
|
||||
parent_data.styles.primary().clone()
|
||||
}
|
||||
|
||||
fn debug_id(self) -> usize {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue