aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/sequential.rs
Commit message (Collapse)AuthorAgeFilesLines
* self importManish Goregaokar2015-01-281-1/+1
|
* Stop calling deref() and deref_mut() explicitly.Ms2ger2015-01-221-3/+3
|
* layout: Explicitly thread border box dimensions and relative offsetsPatrick Walton2015-01-041-10/+23
| | | | | | | | | | through display list building. The old `flow_origin` concept was ill-defined (sometimes the border box plus the flow origin, sometimes including horizontal margins and sometimes not, sometimes including relative position and sometimes not), leading to brittleness and test failures. This commit reworks the logic to always pass border box origins in during display list building.
* layout: Paint stacking contexts' overflow areas properly.Patrick Walton2015-01-041-4/+4
| | | | | This was making `box-shadow` not show up in many cases, in particular, but the effects were not limited to that.
* Have ContentBox(es)Queries consult the flow treeMartin Robinson2014-11-031-0/+14
| | | | | | | | | Instead of looking at the display tree, have ContentBox(es)Query consult the flow tree. This allow optimizing away parts of the display tree later. To do this we need to be more careful about how we send reflow requests, only querying the flow tree when possible. Fixes #3790.
* layout: Make some formatting cleanups.Patrick Walton2014-10-281-2/+6
| | | | These should have no effect on functionality.
* Use opts as a global, to avoid cloning and passing the struct all over the code.Glenn Watson2014-10-201-1/+2
|
* Use the Deref traits for FlowRefs.Clark Gaebel2014-10-151-2/+2
| | | | | This patch switches FlowRefs to using the Deref and DerefMut traits, instead of the custom `get` and `get_mut` functions.
* Removes duplicate CSS selector matching logic.Clark Gaebel2014-10-141-0/+89
Now that DOM/Flow traversals have been refactored out, the `recalc_style_for_subtree` function in `css/matching.rs` can be removed, in lieu of just running the standard `recalc_style_for_node` and `construct_flows` traversals sequentially. Now we no longer have the maintenance headache of duplicating selector matching logic in two places! \o/ r? @pcwalton