Bug 1294572 - Avoid traversing children of XBL-bound elements during initial styling. r=heycam

MozReview-Commit-ID: JHABvLnMYco
This commit is contained in:
Bobby Holley 2016-12-13 15:35:15 -08:00
parent 7c7dd0f965
commit 652e891d0d
6 changed files with 73 additions and 14 deletions

View file

@ -1199,6 +1199,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; }