aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-06-13 18:19:56 -0400
committerJosh Matthews <josh@joshmatthews.net>2019-07-09 10:51:57 -0400
commit644addd1598426f9b5d1f178bfff7886b36f822c (patch)
tree14d8243c8c438dbdbfd1aee53bba53f18fa76e82 /components
parent10ab466e5d25652ae4a062eb62fbe4f67585d400 (diff)
downloadservo-644addd1598426f9b5d1f178bfff7886b36f822c.tar.gz
servo-644addd1598426f9b5d1f178bfff7886b36f822c.zip
WebRender rectangles items are sized based on their clipping rectangles.
Diffstat (limited to 'components')
-rw-r--r--components/layout/display_list/builder.rs4
1 files 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,