mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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 background_color = style.resolve_color(style.get_background().background_color);
|
||||||
let base = state.create_base_display_item(
|
let base = state.create_base_display_item(
|
||||||
stacking_relative_border_box,
|
stacking_relative_border_box,
|
||||||
clip,
|
stacking_relative_border_box,
|
||||||
self.node,
|
self.node,
|
||||||
get_cursor(&self.style, Cursor::Default),
|
get_cursor(&self.style, Cursor::Default),
|
||||||
display_list_section,
|
display_list_section,
|
||||||
|
@ -1511,7 +1511,7 @@ impl Fragment {
|
||||||
|
|
||||||
let base = state.create_base_display_item(
|
let base = state.create_base_display_item(
|
||||||
insertion_point_bounds,
|
insertion_point_bounds,
|
||||||
clip,
|
insertion_point_bounds,
|
||||||
self.node,
|
self.node,
|
||||||
get_cursor(&self.style, cursor),
|
get_cursor(&self.style, cursor),
|
||||||
display_list_section,
|
display_list_section,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue