Brian Anderson 2014-06-02 20:46:25 -04:00
Родитель f457bf9b3d
Коммит 576612970c
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -2012,7 +2012,7 @@ impl WidthAndMarginsComputer for AbsoluteNonReplaced {
right,
available_width,
static_x_offset,
direction,
..
} = input;
// TODO: Check for direction of parent flow (NOT Containing Block)
@ -2161,7 +2161,7 @@ impl WidthAndMarginsComputer for AbsoluteReplaced {
right,
available_width,
static_x_offset,
direction,
..
} = input;
// TODO: Check for direction of static-position Containing Block (aka
// parent flow, _not_ the actual Containing Block) when right-to-left

Просмотреть файл

@ -1276,7 +1276,7 @@ impl Node {
// Step 6.
if clone_children == CloneChildren {
for ref child in node.children() {
let mut child_copy = Node::clone(&*child, Some(&*document), clone_children).root();
let child_copy = Node::clone(&*child, Some(&*document), clone_children).root();
let _inserted_node = Node::pre_insert(&*child_copy, &*copy, None);
}
}