mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
removed old TODO
This commit is contained in:
parent
a58b01bc86
commit
93368a2bf3
1 changed files with 0 additions and 2 deletions
|
@ -386,8 +386,6 @@ impl Element {
|
|||
assert!(node.is_element());
|
||||
let page = win.page;
|
||||
let (port, chan) = comm::stream();
|
||||
// TODO(tkuehn): currently just queries top-level page layout. Needs to query
|
||||
// subframe layout if this element is in a subframe. Probably need an ID field.
|
||||
match unsafe {(*page).query_layout(ContentBoxesQuery(node, chan), port)} {
|
||||
Ok(ContentBoxesResponse(rects)) => {
|
||||
let cx = unsafe {(*page).js_info.get_ref().js_compartment.cx.ptr};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue