removed old TODO

This commit is contained in:
Tim Kuehn 2013-08-07 19:54:29 -07:00
parent a58b01bc86
commit 93368a2bf3

View file

@ -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};