зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #2555 - Eliminate some warnings (from brson:warnings); r=metajack
Depends on https://github.com/mozilla-servo/rust-fontconfig/pull/19, https://github.com/mozilla-servo/rust-harfbuzz/pull/21, https://github.com/mozilla-servo/rust-hubbub/pull/23, https://github.com/mozilla-servo/rust-layers/pull/68, https://github.com/mozilla-servo/sharegl/pull/29, https://github.com/mozilla-servo/rust-mozjs/pull/85. Source-Repo: https://github.com/servo/servo Source-Revision: 246c9759bee9fa54a9167e9b08478446e80cd80f
This commit is contained in:
Родитель
f457bf9b3d
Коммит
576612970c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче