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:
bors-servo 2016-12-14 19:41:12 -08:00 committed by GitHub
commit 535563be31
6 changed files with 73 additions and 14 deletions

View file

@ -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; }