aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/float.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove 'FloatFlow'Bruno de Oliveira Abinader2013-12-031-333/+0
| | | | | | | | | Removes 'FloatFlow' in favor of FloatBlockFlow, which is cointained inside BlockFlow in a 'has-a' relationship. This avoids a bunch of duplicated code. This patch is for: https://github.com/mozilla/servo/issues/1281
* s/FlowContext/FlowBruno de Oliveira Abinader2013-12-021-2/+2
| | | | | This patch is for: https://github.com/mozilla/servo/issues/1282
* Rewrite flow construction to be incrementalizable and parallelizable.Patrick Walton2013-11-181-18/+30
| | | | | | | | | | | | This replaces flow construction with a strict bottom-up tree traversal, allowing for parallelism. Each step of the traversal creates a flow or a `ConstructionItem`, similar to how Gecko works. {ib} splits are handled by not creating `InlineFlow`s until the containing block is reached. This should be able to be incrementalized by storing the `Flow` from layout to layout, and performing fixups during flow construction and/or wiping containing blocks in a previous pass.
* Integrate 'BoxModel' into 'RenderBoxBase'. (#1257)Tetsuharu OHZEKI2013-11-181-26/+21
|
* layout: Add debug strings for float flows and boxesPatrick Walton2013-11-131-0/+4
|
* Add some basic debug info for dumping flows.Lars Bergstrom2013-11-111-0/+3
|
* fmt! -> format!Keegan McAllister2013-10-311-5/+5
|
* Implement basic overflow computation. Closes #1148.Patrick Walton2013-10-311-0/+1
| | | | This adds just 4 ms out of ~120 ms on the rainbow page.
* Optimize reflow by changing enums to traits and inlining morePatrick Walton2013-10-281-164/+165
|
* Use the new style systemSeo Sanghyeon2013-10-231-18/+12
| | | | | | | | | | | | | Credits to: Deokjin Kim Ilyong Cho Jaeman Park Junyoung Cho Ryan Choi Sangeun Kim Yongjin Kim Youngmin Yoo Youngsoo Son
* Update to latest Rust.Jack Moffitt2013-10-211-10/+8
|
* Move the gfx::geometry module to servo_util::geometry.Simon Sapin2013-10-161-2/+2
| | | | | This is part of #1006, in order to use Au from the script crate without introducing a circular crate dependency.
* Fix nits; warning policeEric Atkinson2013-08-201-1/+1
|
* Switch flow tree to owned pointersEric Atkinson2013-08-201-15/+12
|
* add todos for iframe size messaging in float/inlineTim Kuehn2013-08-191-1/+2
|
* add iframe supportTim Kuehn2013-08-191-0/+3
|
* Fix doubling noncontent_height in float flowIlyong Cho2013-08-191-5/+3
|
* For loops and misc changesKeegan McAllister2013-08-151-17/+15
|
* Reorganize tree ref / node traitsKeegan McAllister2013-08-151-1/+1
| | | | | | rustc is no longer happy with impl<NR:TreeNodeRef<N>,N:TreeNode<NR>> TreeUtils for NR
* Implement clear for floatsSeo Sanghyeon2013-08-151-1/+8
|
* Don't use a whole in-order traversal for computing heights.Eric Atkinson2013-08-091-29/+71
|
* Fix the handling of flow_contexts in floats.Jack Moffitt2013-08-051-3/+13
| | | | | | The num_floats was hard-coded to 1 and didn't take into account the children. Also the float context was not being threaded through the children properly.
* Fix calculation of float height and width.Jack Moffitt2013-07-221-4/+10
| | | | | We were overshooting on height by including margins, and undershooting on width by not including margins, borders, and padding.
* Float children are now positioned relative to the float's box.Jack Moffitt2013-07-221-1/+1
|
* Renaming and refactoring `spec_or_default`.Jack Moffitt2013-07-181-6/+6
| | | | | `spec_or_default` is now `specified_or_default` and `specified_or_zero` was added to handle the most common case.
* Properly account for relative CSS units in borders, margins, padding, and ↵Jack Moffitt2013-07-181-7/+13
| | | | widths.
* Refactor display lists to use an explicit traversalEric Atkinson2013-07-151-5/+17
|
* Fix float placement bugs & add hacky non-percen heights to blocks.Eric Atkinson2013-07-111-1/+1
|
* Add right floats and fix bug where max_y was not being setEric Atkinson2013-07-111-4/+8
|
* Update to latest Rust.Jack Moffitt2013-07-091-4/+4
|
* Update for language changesBrian Anderson2013-06-261-5/+5
|
* Fix up problems with float placementEric Atkinson2013-06-241-5/+10
|
* Allow floats to have specified heightsEric Atkinson2013-06-241-6/+19
|
* Added floats to the flow treeEric Atkinson2013-06-241-0/+223