Skip to content

Commit

Permalink
Make list-item's display style block
Browse files Browse the repository at this point in the history
  • Loading branch information
sonwow committed Nov 13, 2013
1 parent 0126286 commit 98c3c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/main/layout/box_builder.rs
Expand Up @@ -392,6 +392,7 @@ impl LayoutTreeBuilder {
| display::table_header_group | display::table_footer_group
| display::table_row | display::table_column_group
| display::table_column | display::table_cell | display::table_caption
| display::list_item
=> display::block,
display => display,
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/style/properties.rs.mako
Expand Up @@ -228,8 +228,8 @@ pub mod longhands {
values="inline block inline-block
table inline-table table-row-group table-header-group table-footer-group
table-row table-column-group table-column table-cell table-caption
list-item
none">
// list-item
pub fn to_computed_value(value: SpecifiedValue, context: &computed::Context)
-> computed_value::T {
// if context.is_root_element && value == list_item {
Expand Down

13 comments on commit 98c3c09

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from SimonSapin
at sonwow@98c3c09

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sonwow/servo/list-item = 98c3c09 into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sonwow/servo/list-item = 98c3c09 merged ok, testing candidate = 61c441c

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from SimonSapin
at sonwow@98c3c09

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sonwow/servo/list-item = 98c3c09 into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sonwow/servo/list-item = 98c3c09 merged ok, testing candidate = 77603b2

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from SimonSapin
at sonwow@98c3c09

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sonwow/servo/list-item = 98c3c09 into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sonwow/servo/list-item = 98c3c09 merged ok, testing candidate = 85e0bfe

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 85e0bfe

Please sign in to comment.