aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow dumping the fragment tree in layout_2020Martin Robinson2020-01-131-0/+8
| | | | This is done when the dump-flow-tree debug option is passed.
* Use the is_contentful field of DisplayListBuilderSimon Sapin2020-01-091-5/+2
|
* Store an OpaqueNode in boxes and fragmentsAnthony Ramine2019-12-134-22/+54
|
* Remove the Node type parameter from ContentsAnthony Ramine2019-12-133-36/+79
| | | | We now pass the Node as an argument during DOM traversal in layout.
* Introduce BlockLevelJobAnthony Ramine2019-12-131-55/+64
|
* Rename `BlockLevelKind` to `NonReplacedContents`Simon Sapin2019-12-131-6/+8
|
* Make `for_maybe_position_relative` take care of relative adjustment.Simon Sapin2019-12-132-23/+15
|
* Move call to `for_maybe_position_relative` out of ↵Simon Sapin2019-12-131-99/+109
| | | | `layout_in_flow_non_replaced_block_level`
* Regroup branches specific to `SameFormattingContextBlock`Simon Sapin2019-12-131-60/+55
|
* Replace the closure in `layout_in_flow_non_replaced_block_level` with an enumSimon Sapin2019-12-131-45/+38
|
* Layout `position: fixed` in the initial containing blockSimon Sapin2019-12-122-2/+3
|
* Give `PositioningContext` more responsibilitiesSimon Sapin2019-12-123-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.0Simon Sapin2019-12-122-15/+16
|
* Make adjust_static_positions a method of PositioningContextSimon Sapin2019-12-121-45/+39
|
* Introduce PositioningContextSimon Sapin2019-12-123-49/+53
|
* Disable use of rayon with `--layout-threads 1` instead of panickingSimon Sapin2019-12-103-32/+47
|
* Fix a “Accessing content size that was not requested” panicSimon Sapin2019-12-102-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 ContainingBlockSimon Sapin2019-12-101-15/+9
|
* Rename ReplacedContent::used_size to used_size_as_if_inline_elementSimon Sapin2019-12-102-2/+2
|
* Add sizing of inline replaced boxesSimon Sapin2019-12-101-3/+1
|
* Move replaced box used size computation to a method of `ReplacedContents`Simon Sapin2019-12-101-133/+5
|
* Add min/max-width/height support for `inline-block`Simon Sapin2019-12-101-5/+33
| | | | (… and other non-replaced atomic inline-level boxes.)
* Replace `percent_resolved_*` functions with methodsSimon Sapin2019-12-101-44/+17
|
* Move `clamp_*` functions to methods of `Length`Simon Sapin2019-12-101-21/+11
|
* Implement `text-align` (except `justify`)Simon Sapin2019-12-071-8/+54
|
* Rename content_rect to rect in TextFragment and ImageFragmentSimon Sapin2019-12-071-2/+2
| | | | Since they don’t have padding etc.
* Rename LineBoxes to Lines, since it contains fragmentsSimon Sapin2019-12-071-13/+13
|
* Containing blocks contains styles rather than just a writing modeSimon Sapin2019-12-073-12/+18
|
* Use the WritingMode bitflags from StyloSimon Sapin2019-12-073-6/+8
|
* Auto merge of #25033 - servo:intrinsic, r=noxbors-servo2019-12-045-174/+451
|\ | | | | | | Add support for inline-block and for computing min/max-content
| * Use a new `BoxContentSizes` enum instead of `Option<ContentSizes>`Simon Sapin2019-12-042-24/+18
| |
| * Replace boolean parameters by a new `ContentSizesRequest` enumSimon Sapin2019-12-043-50/+49
| |
| * Review nitsSimon Sapin2019-12-042-8/+6
| |
| * Replace a large tuple return type with a new structSimon Sapin2019-12-041-12/+26
| |
| * Replace a pair of macros by methodsSimon Sapin2019-12-041-17/+16
| |
| * Rename ReplacedContent::layout to make_fragments and simplify its APISimon Sapin2019-12-032-37/+12
| |
| * Add layout for 'inline-block' and other atomic inline-level boxesSimon Sapin2019-12-031-10/+120
| |
| * Finish plumbing intrinsic min/max-content through box constructionSimon Sapin2019-12-032-29/+50
| |
| * Add box construction for 'inline-block'…Simon Sapin2019-12-031-29/+27
| | | | | | | | … and other atomic inline-level boxes.
| * Add content sizes computation for block containersSimon Sapin2019-12-032-27/+56
| |
| * Add a `Target` struct for `mapfold_reduce_into` callSimon Sapin2019-12-031-17/+21
| |
| * Add a `request_content_sizes` parameter to ↵Simon Sapin2019-12-034-50/+61
| | | | | | | | `IndependentFormattingContext::construct`
| * Rename IntrinsicSizes to ContentSizesSimon Sapin2019-12-031-9/+9
| |
| * Pass a LayoutContext through box constructionSimon Sapin2019-12-022-14/+14
| |
| * Add intrinsic size computation for inline formatting contextsSimon Sapin2019-12-022-24/+149
| |
* | Add some helpers to resolve percentages of box sizesAnthony Ramine2019-12-041-95/+81
| |
* | Implement size extremumsAnthony Ramine2019-12-041-29/+225
|/
* Un-allow and fix warnings in `components/layout_2020`Simon Sapin2019-12-024-20/+9
|
* Start supporting images in layout 2020Anthony Ramine2019-12-012-32/+119
|
* Fix inline margins of in flow blocks in 2020Anthony Ramine2019-12-011-7/+4
|