Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -1/+2 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | remove `extern crate` (#30311) | Samson | 2023-09-08 | 1 | -0/+1 |
| | | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Resolve cyclic margin and padding percentages against zero (#30085) | Oriol Brufau | 2023-08-10 | 1 | -38/+13 |
| | | | | | | | From https://drafts.csswg.org/css-sizing-3/#min-percentage-contribution > For the min size properties, as well as for margins and paddings > (and gutters), a cyclic percentage is resolved against zero > for determining intrinsic size contributions. | ||||
* | Handle floats in BlockContainer::inline_content_sizes | Oriol Brufau | 2023-06-19 | 1 | -1/+8 |
| | | | | | | Typically, block-level contents are stacked vertically, so this was just taking the maximum size among all contents. However, floats can be stacked horizontally, so we need to sum their sizes. | ||||
* | Parallelize `BlockContainer::inline_content_sizes` | Simon Sapin | 2020-06-19 | 1 | -3/+5 |
| | |||||
* | Compute content sizes lazily in layout 2020 | Anthony Ramine | 2020-06-18 | 1 | -58/+3 |
| | |||||
* | Make outer_inline and outer_inline_and_percentages free functions | Anthony Ramine | 2020-06-15 | 1 | -84/+83 |
| | | | | They now take a closure that will compute the content sizes on demand. | ||||
* | Use the writing mode of the containing block when accessing CSS properties | Simon Sapin | 2020-06-10 | 1 | -8/+15 |
| | | | | | | | | … and converting them to flow-relative geometric values. These values are almost always used to size and position a fragment within its containing block, so using the mode of the containing block seems more correct. Note that the `writing-mode` and `direction` properties are disabled in Servo at the moment, so this PR by itself should have no effect: the writing mode of an element is always the same of that of its containing block since they’re both horizontal rtl. | ||||
* | Less cloning | Simon Sapin | 2020-04-01 | 1 | -6/+5 |
| | |||||
* | Implement the `box-sizing` property | Simon Sapin | 2020-03-31 | 1 | -38/+53 |
| | |||||
* | Dump box tree state into json files and display it on layout 2020 viewer | Fernando Jiménez Moreno | 2020-02-21 | 1 | -2/+2 |
| | |||||
* | layout_2020: Avoid decomposing mixed length / percentages in intrinsic sizing. | Emilio Cobos Álvarez | 2020-02-12 | 1 | -2/+6 |
| | | | | As that makes no sense in presence of min / max. | ||||
* | style: Miscellaneous Servo build fixes. | Emilio Cobos Álvarez | 2020-02-12 | 1 | -2/+2 |
| | |||||
* | layout-2020: build fixes. | Emilio Cobos Álvarez | 2019-12-16 | 1 | -5/+5 |
| | |||||
* | Account for min/max-width in outer intrinsic sizing | Simon Sapin | 2019-12-10 | 1 | -6/+26 |
| | |||||
* | Use a new `BoxContentSizes` enum instead of `Option<ContentSizes>` | Simon Sapin | 2019-12-04 | 1 | -61/+71 |
| | |||||
* | Replace boolean parameters by a new `ContentSizesRequest` enum | Simon Sapin | 2019-12-04 | 1 | -0/+31 |
| | |||||
* | Use `Sides::inline_sum` method | Simon Sapin | 2019-12-04 | 1 | -4/+3 |
| | |||||
* | Fix incorrect variable name | Simon Sapin | 2019-12-04 | 1 | -2/+2 |
| | | | | This was not the specified value | ||||
* | Implement shrink-to-fit for abspos | Simon Sapin | 2019-12-03 | 1 | -4/+18 |
| | |||||
* | Finish plumbing intrinsic min/max-content through box construction | Simon Sapin | 2019-12-03 | 1 | -1/+4 |
| | |||||
* | Add content sizes computation for block containers | Simon Sapin | 2019-12-03 | 1 | -2/+17 |
| | |||||
* | Rename IntrinsicSizes to ContentSizes | Simon Sapin | 2019-12-03 | 1 | -0/+80 |