mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
add todos for iframe size messaging in float/inline
This commit is contained in:
parent
813bb2e43f
commit
b437141852
2 changed files with 4 additions and 2 deletions
|
@ -295,8 +295,9 @@ impl FloatFlowData {
|
||||||
list: &Cell<DisplayList<E>>)
|
list: &Cell<DisplayList<E>>)
|
||||||
-> bool {
|
-> bool {
|
||||||
|
|
||||||
|
//TODO: implement iframe size messaging
|
||||||
if self.common.node.is_iframe_element() {
|
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);
|
let abs_rect = Rect(self.common.abs_position, self.common.position.size);
|
||||||
if !abs_rect.intersects(dirty) {
|
if !abs_rect.intersects(dirty) {
|
||||||
|
|
|
@ -755,8 +755,9 @@ impl InlineFlowData {
|
||||||
list: &Cell<DisplayList<E>>)
|
list: &Cell<DisplayList<E>>)
|
||||||
-> bool {
|
-> bool {
|
||||||
|
|
||||||
|
//TODO: implement inline iframe size messaging
|
||||||
if self.common.node.is_iframe_element() {
|
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);
|
let abs_rect = Rect(self.common.abs_position, self.common.position.size);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue