mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename imm_child_iter() and child_iter(). Fixes #10286
This commit is contained in:
parent
84a3dee67e
commit
d4dcaf3167
11 changed files with 40 additions and 40 deletions
|
@ -72,7 +72,7 @@ impl TableWrapperFlow {
|
|||
}
|
||||
fn border_padding_and_spacing(&mut self) -> (Au, Au) {
|
||||
let (mut table_border_padding, mut spacing) = (Au(0), Au(0));
|
||||
for kid in self.block_flow.base.child_iter() {
|
||||
for kid in self.block_flow.base.child_iter_mut() {
|
||||
if kid.is_table() {
|
||||
let kid_table = kid.as_table();
|
||||
spacing = kid_table.total_horizontal_spacing();
|
||||
|
@ -95,7 +95,7 @@ impl TableWrapperFlow {
|
|||
// padding will affect where we place the child. This is an odd artifact of the way that
|
||||
// tables are separated into table flows and table wrapper flows.
|
||||
let available_inline_size = self.block_flow.fragment.border_box.size.inline;
|
||||
for kid in self.block_flow.base.child_iter() {
|
||||
for kid in self.block_flow.base.child_iter_mut() {
|
||||
if !kid.is_table() {
|
||||
continue
|
||||
}
|
||||
|
@ -308,7 +308,7 @@ impl Flow for TableWrapperFlow {
|
|||
|
||||
fn bubble_inline_sizes(&mut self) {
|
||||
// Get the intrinsic column inline-sizes info from the table flow.
|
||||
for kid in self.block_flow.base.child_iter() {
|
||||
for kid in self.block_flow.base.child_iter_mut() {
|
||||
debug_assert!(kid.is_table_caption() || kid.is_table());
|
||||
if kid.is_table() {
|
||||
self.column_intrinsic_inline_sizes = kid.column_intrinsic_inline_sizes().clone()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue