diff options
author | Josh Matthews <josh@joshmatthews.net> | 2019-06-13 18:19:56 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2019-07-09 10:51:57 -0400 |
commit | 644addd1598426f9b5d1f178bfff7886b36f822c (patch) | |
tree | 14d8243c8c438dbdbfd1aee53bba53f18fa76e82 /components | |
parent | 10ab466e5d25652ae4a062eb62fbe4f67585d400 (diff) | |
download | servo-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.rs | 4 |
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, |