mirror of
https://github.com/servo/servo.git
synced 2025-06-13 19:04:30 +00:00
layout: Expose whether the element was rendered in content_box_query to script.
But don't change the API yet.
This commit is contained in:
parent
8159dac506
commit
485fe874e8
5 changed files with 13 additions and 12 deletions
|
@ -43,7 +43,7 @@ pub trait LayoutRPC {
|
|||
fn text_index(&self) -> TextIndexResponse;
|
||||
}
|
||||
|
||||
pub struct ContentBoxResponse(pub Rect<Au>);
|
||||
pub struct ContentBoxResponse(pub Option<Rect<Au>>);
|
||||
|
||||
pub struct ContentBoxesResponse(pub Vec<Rect<Au>>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue