runPipeline('
');
$first_div = $tree->get_element_by_id('div1');
$body = $tree;
$this->assertEqual($body->get_left(),
$first_div->get_left_margin());
}
function testFloatRight() {
$tree = $this->runPipeline('
');
$first_div = $tree->get_element_by_id('div1');
$body = $tree;
$this->assertEqual($body->get_right(),
$first_div->get_right_margin());
}
}
?>