mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove used min/pref width from BoxLayoutData
This commit is contained in:
parent
09e17ffc6b
commit
989a96526b
1 changed files with 0 additions and 6 deletions
|
@ -147,20 +147,14 @@ impl FlowTree : tree::WriteMethods<@FlowContext> {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct BoxLayoutData {
|
struct BoxLayoutData {
|
||||||
mut min_width: au,
|
|
||||||
mut pref_width: au,
|
|
||||||
mut position: Rect<au>,
|
mut position: Rect<au>,
|
||||||
|
|
||||||
mut font_size: Length,
|
mut font_size: Length,
|
||||||
mut background_image: Option<ImageHolder>,
|
mut background_image: Option<ImageHolder>,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn BoxLayoutData() -> BoxLayoutData {
|
fn BoxLayoutData() -> BoxLayoutData {
|
||||||
BoxLayoutData {
|
BoxLayoutData {
|
||||||
min_width: au(0),
|
|
||||||
pref_width: au(0),
|
|
||||||
position : au::zero_rect(),
|
position : au::zero_rect(),
|
||||||
|
|
||||||
font_size : Px(0.0),
|
font_size : Px(0.0),
|
||||||
background_image : None,
|
background_image : None,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue