Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bonus Fix - Rename traverse_dom_preorder to traverse_dom. | Bobby Holley | 2016-01-06 | 1 | -1/+1 |
| | | | | | The incorrect naming here was bugging me - the dom traversal has both pre- and post-order processing steps. | ||||
* | Hoist the style parts of sequential.rs into style/. | Bobby Holley | 2016-01-06 | 1 | -18/+1 |
| | |||||
* | Make sequential traversal operate on TNode instead of LayoutNode. | Bobby Holley | 2016-01-06 | 1 | -3/+3 |
| | | | | | | I forgot to do this along with the parallel case. Ideally I'd merge this patch into that one, but then I'd need to rebase it over the LayoutContext patch, which would be a pain. | ||||
* | Hoist the style parts of traversal.rs into style/. | Bobby Holley | 2016-01-06 | 1 | -3/+2 |
| | |||||
* | Remove the dependency of parallel DOM traversal and style calculation on ↵ | Bobby Holley | 2016-01-06 | 1 | -16/+11 |
| | | | | LayoutContext. | ||||
* | Refactor parallel dom traversal to be agnostic to the processing steps ↵ | Bobby Holley | 2016-01-04 | 1 | -19/+13 |
| | | | | themselves. | ||||
* | Replaced ZERO_POINT with Point2D::zero() | Alexander Mankuta | 2015-12-03 | 1 | -2/+1 |
| | |||||
* | Generalize the rest of layout to operate on generic Layout*. | Bobby Holley | 2015-11-28 | 1 | -6/+10 |
| | | | | | | | There wasn't a good way to split this up, unfortunately. With this change, the only remaining usage of the Servo-specific structures is in layout_task, where the root node is received from the script task. \o/ | ||||
* | Rename Layout*Trait to Layout*. | Bobby Holley | 2015-11-18 | 1 | -1/+1 |
| | | | | | The next step will be to remote the Servo-specificity of the layout code we want to share by making it operate generically on Layout*. | ||||
* | Prefix concrete types with 'Servo'. | Bobby Holley | 2015-11-18 | 1 | -3/+3 |
| | |||||
* | Hoist exported wrapper functionality into a family of traits. | Bobby Holley | 2015-11-18 | 1 | -1/+1 |
| | | | | | All the existing code still uses the concrete implementations, so this shouldn't impact the generated code at all. | ||||
* | Change overflow calculation to be calculated after compute_absolute_position. | Glenn Watson | 2015-11-03 | 1 | -2/+0 |
| | | | | | | Also include absolutely positioned elements in the overflow rect calculation. Fixes #7797. | ||||
* | Use the passed-in reflow root rather than the one stored in the ↵ | Ms2ger | 2015-10-26 | 1 | -3/+9 |
| | | | | SharedLayoutContext. | ||||
* | Split Au type into separate crate, with minimal dependencies. | Glenn Watson | 2015-10-01 | 1 | -1/+2 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -3/+3 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -3/+2 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | layout: Allow the overflow area of the `<body>` to be scrolled. | Patrick Walton | 2015-09-10 | 1 | -0/+2 |
| | | | | Fixes scrolling on Twitter. | ||||
* | Don’t mark flow_ref::deref_mut as unsafe. | Simon Sapin | 2015-08-21 | 1 | -8/+4 |
| | | | | See discussion in https://github.com/servo/servo/pull/7237 | ||||
* | Replace the unsound `impl DerefMut for FlowRef` with an unsafe function. | Simon Sapin | 2015-08-20 | 1 | -5/+9 |
| | | | | See #6503. | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -3/+3 |
| | |||||
* | Fix existing syntactics nits. | Josh Matthews | 2015-08-16 | 1 | -1/+1 |
| | |||||
* | Implement offsetParent/Top/Left/Width/Height. | Glenn Watson | 2015-08-03 | 1 | -4/+6 |
| | |||||
* | Move the traversal traits into the traversal module. | Ms2ger | 2015-07-17 | 1 | -2/+2 |
| | |||||
* | Use euclid from crates.io | ecoal95 | 2015-06-19 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -1/+4 |
| | |||||
* | layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1 | Patrick Walton | 2015-03-09 | 1 | -2/+21 |
| | | | | | | | | | | | | | | § 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases. | ||||
* | Get rid of servo_util | Dan Fox | 2015-03-05 | 1 | -2/+2 |
| | |||||
* | self import | Manish Goregaokar | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Stop calling deref() and deref_mut() explicitly. | Ms2ger | 2015-01-22 | 1 | -3/+3 |
| | |||||
* | layout: Explicitly thread border box dimensions and relative offsets | Patrick Walton | 2015-01-04 | 1 | -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 Walton | 2015-01-04 | 1 | -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 tree | Martin Robinson | 2014-11-03 | 1 | -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 Walton | 2014-10-28 | 1 | -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 Watson | 2014-10-20 | 1 | -1/+2 |
| | |||||
* | Use the Deref traits for FlowRefs. | Clark Gaebel | 2014-10-15 | 1 | -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 Gaebel | 2014-10-14 | 1 | -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 |