Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow dumping the fragment tree in layout_2020 | Martin Robinson | 2020-01-13 | 1 | -0/+8 | |
| | | | | This is done when the dump-flow-tree debug option is passed. | |||||
* | Use the is_contentful field of DisplayListBuilder | Simon Sapin | 2020-01-09 | 1 | -5/+2 | |
| | ||||||
* | Store an OpaqueNode in boxes and fragments | Anthony Ramine | 2019-12-13 | 4 | -22/+54 | |
| | ||||||
* | Remove the Node type parameter from Contents | Anthony Ramine | 2019-12-13 | 3 | -36/+79 | |
| | | | | We now pass the Node as an argument during DOM traversal in layout. | |||||
* | Introduce BlockLevelJob | Anthony Ramine | 2019-12-13 | 1 | -55/+64 | |
| | ||||||
* | Rename `BlockLevelKind` to `NonReplacedContents` | Simon Sapin | 2019-12-13 | 1 | -6/+8 | |
| | ||||||
* | Make `for_maybe_position_relative` take care of relative adjustment. | Simon Sapin | 2019-12-13 | 2 | -23/+15 | |
| | ||||||
* | Move call to `for_maybe_position_relative` out of ↵ | Simon Sapin | 2019-12-13 | 1 | -99/+109 | |
| | | | | `layout_in_flow_non_replaced_block_level` | |||||
* | Regroup branches specific to `SameFormattingContextBlock` | Simon Sapin | 2019-12-13 | 1 | -60/+55 | |
| | ||||||
* | Replace the closure in `layout_in_flow_non_replaced_block_level` with an enum | Simon Sapin | 2019-12-13 | 1 | -45/+38 | |
| | ||||||
* | Layout `position: fixed` in the initial containing block | Simon Sapin | 2019-12-12 | 2 | -2/+3 | |
| | ||||||
* | Give `PositioningContext` more responsibilities | Simon Sapin | 2019-12-12 | 3 | -92/+70 | |
| | | | | | | | | | Iits details are now private to the module. It has a couple methods that take closures to make sure that "before" and "after" steps are done together: * In an absolutely positioned box, take care of nested abspos (establish a new containing block, etc.) * For a box that *might* be `position: relative`, optionally take care of the same. | |||||
* | Upgrade rayon_croissant to 0.2.0 | Simon Sapin | 2019-12-12 | 2 | -15/+16 | |
| | ||||||
* | Make adjust_static_positions a method of PositioningContext | Simon Sapin | 2019-12-12 | 1 | -45/+39 | |
| | ||||||
* | Introduce PositioningContext | Simon Sapin | 2019-12-12 | 3 | -49/+53 | |
| | ||||||
* | Disable use of rayon with `--layout-threads 1` instead of panicking | Simon Sapin | 2019-12-10 | 3 | -32/+47 | |
| | ||||||
* | Fix a “Accessing content size that was not requested” panic | Simon Sapin | 2019-12-10 | 2 | -4/+4 | |
| | | | | | | Percentage `width` are treated as `auto` for the purpose of min/max-content computation, so they also need to be considered when testing “wether width is auto” | |||||
* | impl From<&'_ DefiniteContainingBlock> for ContainingBlock | Simon Sapin | 2019-12-10 | 1 | -15/+9 | |
| | ||||||
* | Rename ReplacedContent::used_size to used_size_as_if_inline_element | Simon Sapin | 2019-12-10 | 2 | -2/+2 | |
| | ||||||
* | Add sizing of inline replaced boxes | Simon Sapin | 2019-12-10 | 1 | -3/+1 | |
| | ||||||
* | Move replaced box used size computation to a method of `ReplacedContents` | Simon Sapin | 2019-12-10 | 1 | -133/+5 | |
| | ||||||
* | Add min/max-width/height support for `inline-block` | Simon Sapin | 2019-12-10 | 1 | -5/+33 | |
| | | | | (… and other non-replaced atomic inline-level boxes.) | |||||
* | Replace `percent_resolved_*` functions with methods | Simon Sapin | 2019-12-10 | 1 | -44/+17 | |
| | ||||||
* | Move `clamp_*` functions to methods of `Length` | Simon Sapin | 2019-12-10 | 1 | -21/+11 | |
| | ||||||
* | Implement `text-align` (except `justify`) | Simon Sapin | 2019-12-07 | 1 | -8/+54 | |
| | ||||||
* | Rename content_rect to rect in TextFragment and ImageFragment | Simon Sapin | 2019-12-07 | 1 | -2/+2 | |
| | | | | Since they don’t have padding etc. | |||||
* | Rename LineBoxes to Lines, since it contains fragments | Simon Sapin | 2019-12-07 | 1 | -13/+13 | |
| | ||||||
* | Containing blocks contains styles rather than just a writing mode | Simon Sapin | 2019-12-07 | 3 | -12/+18 | |
| | ||||||
* | Use the WritingMode bitflags from Stylo | Simon Sapin | 2019-12-07 | 3 | -6/+8 | |
| | ||||||
* | Auto merge of #25033 - servo:intrinsic, r=nox | bors-servo | 2019-12-04 | 5 | -174/+451 | |
|\ | | | | | | | Add support for inline-block and for computing min/max-content | |||||
| * | Use a new `BoxContentSizes` enum instead of `Option<ContentSizes>` | Simon Sapin | 2019-12-04 | 2 | -24/+18 | |
| | | ||||||
| * | Replace boolean parameters by a new `ContentSizesRequest` enum | Simon Sapin | 2019-12-04 | 3 | -50/+49 | |
| | | ||||||
| * | Review nits | Simon Sapin | 2019-12-04 | 2 | -8/+6 | |
| | | ||||||
| * | Replace a large tuple return type with a new struct | Simon Sapin | 2019-12-04 | 1 | -12/+26 | |
| | | ||||||
| * | Replace a pair of macros by methods | Simon Sapin | 2019-12-04 | 1 | -17/+16 | |
| | | ||||||
| * | Rename ReplacedContent::layout to make_fragments and simplify its API | Simon Sapin | 2019-12-03 | 2 | -37/+12 | |
| | | ||||||
| * | Add layout for 'inline-block' and other atomic inline-level boxes | Simon Sapin | 2019-12-03 | 1 | -10/+120 | |
| | | ||||||
| * | Finish plumbing intrinsic min/max-content through box construction | Simon Sapin | 2019-12-03 | 2 | -29/+50 | |
| | | ||||||
| * | Add box construction for 'inline-block'… | Simon Sapin | 2019-12-03 | 1 | -29/+27 | |
| | | | | | | | | … and other atomic inline-level boxes. | |||||
| * | Add content sizes computation for block containers | Simon Sapin | 2019-12-03 | 2 | -27/+56 | |
| | | ||||||
| * | Add a `Target` struct for `mapfold_reduce_into` call | Simon Sapin | 2019-12-03 | 1 | -17/+21 | |
| | | ||||||
| * | Add a `request_content_sizes` parameter to ↵ | Simon Sapin | 2019-12-03 | 4 | -50/+61 | |
| | | | | | | | | `IndependentFormattingContext::construct` | |||||
| * | Rename IntrinsicSizes to ContentSizes | Simon Sapin | 2019-12-03 | 1 | -9/+9 | |
| | | ||||||
| * | Pass a LayoutContext through box construction | Simon Sapin | 2019-12-02 | 2 | -14/+14 | |
| | | ||||||
| * | Add intrinsic size computation for inline formatting contexts | Simon Sapin | 2019-12-02 | 2 | -24/+149 | |
| | | ||||||
* | | Add some helpers to resolve percentages of box sizes | Anthony Ramine | 2019-12-04 | 1 | -95/+81 | |
| | | ||||||
* | | Implement size extremums | Anthony Ramine | 2019-12-04 | 1 | -29/+225 | |
|/ | ||||||
* | Un-allow and fix warnings in `components/layout_2020` | Simon Sapin | 2019-12-02 | 4 | -20/+9 | |
| | ||||||
* | Start supporting images in layout 2020 | Anthony Ramine | 2019-12-01 | 2 | -32/+119 | |
| | ||||||
* | Fix inline margins of in flow blocks in 2020 | Anthony Ramine | 2019-12-01 | 1 | -7/+4 | |
| |