mirror of
https://github.com/servo/servo.git
synced 2025-08-30 01:28:21 +01:00
Auto merge of #14581 - bholley:dont_traverse_xbl, r=heycam
stylo: Avoid traversing children of XBL-bound elements during initial styling Corresponding Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1294572 CC @heycam @emilio <!-- 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/14581) <!-- Reviewable:end -->
This commit is contained in:
commit
535563be31
6 changed files with 73 additions and 14 deletions
|
@ -1200,6 +1200,8 @@ impl ComputedValues {
|
|||
self.custom_properties.as_ref().map(|x| x.clone())
|
||||
}
|
||||
|
||||
pub fn has_moz_binding(&self) -> bool { false }
|
||||
|
||||
pub fn root_font_size(&self) -> Au { self.root_font_size }
|
||||
pub fn set_root_font_size(&mut self, size: Au) { self.root_font_size = size }
|
||||
pub fn set_writing_mode(&mut self, mode: WritingMode) { self.writing_mode = mode; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue