WebRender rectangles items are sized based on their clipping rectangles.

This commit is contained in:
Josh Matthews 2019-06-13 18:19:56 -04:00
parent 10ab466e5d
commit 644addd159

View file

@ -1464,7 +1464,7 @@ impl Fragment {
let background_color = style.resolve_color(style.get_background().background_color);
let base = state.create_base_display_item(
stacking_relative_border_box,
clip,
stacking_relative_border_box,
self.node,
get_cursor(&self.style, Cursor::Default),
display_list_section,
@ -1511,7 +1511,7 @@ impl Fragment {
let base = state.create_base_display_item(
insertion_point_bounds,
clip,
insertion_point_bounds,
self.node,
get_cursor(&self.style, cursor),
display_list_section,