mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Create a solid rectangle display list entry for the page background.
This commit is contained in:
parent
e57e2121b2
commit
10ab466e5d
4 changed files with 37 additions and 11 deletions
|
@ -345,7 +345,7 @@ impl<'a> DisplayListBuildState<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
fn add_display_item(&mut self, display_item: DisplayItem) {
|
||||
pub fn add_display_item(&mut self, display_item: DisplayItem) {
|
||||
let items = self
|
||||
.items
|
||||
.entry(display_item.stacking_context_id())
|
||||
|
@ -374,7 +374,7 @@ impl<'a> DisplayListBuildState<'a> {
|
|||
self.processing_scrolling_overflow_element
|
||||
}
|
||||
|
||||
fn create_base_display_item(
|
||||
pub fn create_base_display_item(
|
||||
&self,
|
||||
bounds: Rect<Au>,
|
||||
clip_rect: Rect<Au>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue