mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
WebRender rectangles items are sized based on their clipping rectangles.
This commit is contained in:
parent
10ab466e5d
commit
644addd159
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue