stylo: support all overflow values

MozReview-Commit-ID: 1iQdUDsb6u9
This commit is contained in:
Manish Goregaokar 2017-04-24 19:47:37 -07:00 committed by Manish Goregaokar
parent e3e10ada09
commit f8e298b2b3
10 changed files with 63 additions and 81 deletions

View file

@ -885,7 +885,7 @@ pub fn process_node_overflow_request<N: LayoutNode>(requested_node: N) -> NodeOv
let style = &*layout_node.as_element().unwrap().resolved_style();
let style_box = style.get_box();
NodeOverflowResponse(Some((Point2D::new(style_box.overflow_x, style_box.overflow_y.0))))
NodeOverflowResponse(Some((Point2D::new(style_box.overflow_x, style_box.overflow_y))))
}
pub fn process_margin_style_query<N: LayoutNode>(requested_node: N)