Skip to content
Permalink
Browse files

add todos for iframe size messaging in float/inline

  • Loading branch information
Tim Kuehn
Tim Kuehn committed Aug 19, 2013
1 parent 813bb2e commit b43714185204de002e140599d20ff3020455dd4a
Showing with 4 additions and 2 deletions.
  1. +2 −1 src/components/main/layout/float.rs
  2. +2 −1 src/components/main/layout/inline.rs
@@ -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) {
@@ -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);

0 comments on commit b437141

Please sign in to comment.
You can’t perform that action at this time.