Skip to content
Permalink
Browse files

WebRender rectangles items are sized based on their clipping rectangles.

  • Loading branch information...
jdm committed Jun 13, 2019
1 parent 10ab466 commit 644addd1598426f9b5d1f178bfff7886b36f822c
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/layout/display_list/builder.rs
@@ -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,

0 comments on commit 644addd

Please sign in to comment.
You can’t perform that action at this time.