Skip to content

Commit

Permalink
add todos for iframe size messaging in float/inline
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Kuehn committed Aug 19, 2013
1 parent 813bb2e commit b437141
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/main/layout/float.rs
Expand Up @@ -295,8 +295,9 @@ impl FloatFlowData {
list: &Cell<DisplayList<E>>)
-> bool {

//TODO: implement iframe size messaging
if self.common.node.is_iframe_element() {
println("float iframe");
error!("float iframe size messaging not implemented yet");
}
let abs_rect = Rect(self.common.abs_position, self.common.position.size);
if !abs_rect.intersects(dirty) {
Expand Down
3 changes: 2 additions & 1 deletion src/components/main/layout/inline.rs
Expand Up @@ -755,8 +755,9 @@ impl InlineFlowData {
list: &Cell<DisplayList<E>>)
-> bool {

//TODO: implement inline iframe size messaging
if self.common.node.is_iframe_element() {
println("inline iframe");
error!("inline iframe size messaging not implemented yet");
}

let abs_rect = Rect(self.common.abs_position, self.common.position.size);
Expand Down

0 comments on commit b437141

Please sign in to comment.