mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove unnecessary Flow::column_sizes methods
This commit is contained in:
parent
f14e7339b5
commit
be6ee9d1dd
5 changed files with 3 additions and 38 deletions
|
@ -56,7 +56,7 @@ use style::properties::ServoComputedValues;
|
|||
use style::selector_impl::RestyleDamage;
|
||||
use style::servo::restyle_damage::{RECONSTRUCT_FLOW, REFLOW, REFLOW_OUT_OF_FLOW, REPAINT, REPOSITION};
|
||||
use style::values::computed::LengthOrPercentageOrAuto;
|
||||
use table::{ColumnComputedInlineSize, ColumnIntrinsicInlineSize, TableFlow};
|
||||
use table::TableFlow;
|
||||
use table_caption::TableCaptionFlow;
|
||||
use table_cell::TableCellFlow;
|
||||
use table_colgroup::TableColGroupFlow;
|
||||
|
@ -180,18 +180,6 @@ pub trait Flow: fmt::Debug + Sync + Send + 'static {
|
|||
panic!("called as_table_cell() on a non-tablecell flow")
|
||||
}
|
||||
|
||||
/// If this is a table row, table rowgroup, or table flow, returns column intrinsic
|
||||
/// inline-sizes. Fails otherwise.
|
||||
fn column_intrinsic_inline_sizes(&mut self) -> &mut Vec<ColumnIntrinsicInlineSize> {
|
||||
panic!("called column_intrinsic_inline_sizes() on non-table flow")
|
||||
}
|
||||
|
||||
/// If this is a table row, table rowgroup, or table flow, returns column computed
|
||||
/// inline-sizes. Fails otherwise.
|
||||
fn column_computed_inline_sizes(&mut self) -> &mut Vec<ColumnComputedInlineSize> {
|
||||
panic!("called column_intrinsic_inline_sizes() on non-table flow")
|
||||
}
|
||||
|
||||
// Main methods
|
||||
|
||||
/// Pass 1 of reflow: computes minimum and preferred inline-sizes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue