From 644addd1598426f9b5d1f178bfff7886b36f822c Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 13 Jun 2019 18:19:56 -0400 Subject: [PATCH] WebRender rectangles items are sized based on their clipping rectangles. --- components/layout/display_list/builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout/display_list/builder.rs b/components/layout/display_list/builder.rs index bb2bbe58b34..54091f85389 100644 --- a/components/layout/display_list/builder.rs +++ b/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,