Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lint layout_2013 with clippy (#31221) | Oriol Brufau | 2024-01-30 | 1 | -26/+24 |
| | | | | | | | | | * Lint layout_2013 with clippy CARGO_BUILD_RUSTC=rustc cargo clippy --fix -p layout_2013 --broken-code * ./mach fmt * Cosmetic adjustments | ||||
* | Temporarily convert existing cfg(debug_assertions) crashes to warnings (#30578) | Delan Azabani | 2023-10-18 | 1 | -1/+3 |
| | |||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -5/+7 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | remove `extern crate` (#30311) | Samson | 2023-09-08 | 1 | -0/+2 |
| | | | | | | | | | | | * 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> | ||||
* | Update nightly rustc. | Josh Matthews | 2021-11-01 | 1 | -2/+2 |
| | |||||
* | style: Rename MozLength to Size, and MaxLength to MaxSize. | Emilio Cobos Álvarez | 2019-02-12 | 1 | -3/+3 |
| | | | | | | | | | | | | | MozLength is not a very descriptive name. If we're going to use it in both Gecko and Servo we may as well name it something more accurate. I would've chosen `ContentSize` per CSS2[1][2] if it wasn't a lie in presence of box-sizing. I don't have better ideas than `Size`, given that. [1]: https://drafts.csswg.org/css2/visudet.html#propdef-width [2]: https://drafts.csswg.org/css2/box.html#content-width Differential Revision: https://phabricator.services.mozilla.com/D19280 | ||||
* | Fix servo build. | Emilio Cobos Álvarez | 2019-02-10 | 1 | -4/+4 |
| | |||||
* | Rustfmt recent changes. | Emilio Cobos Álvarez | 2019-01-08 | 1 | -3/+2 |
| | |||||
* | style: Fix servo build. | Emilio Cobos Álvarez | 2019-01-08 | 1 | -3/+3 |
| | |||||
* | style: Fix servo build. | Emilio Cobos Álvarez | 2019-01-08 | 1 | -8/+13 |
| | | | | | | This also fixes a bunch of calc handling issues and such. Also remove tests that no longer compile and are covered by WPT. | ||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -4/+4 |
| | |||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -3/+5 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -3/+3 |
| | |||||
* | Rustfmt layout crate | Pyfisch | 2018-09-01 | 1 | -119/+163 |
| | |||||
* | Use specific negative assertion for layout floats | CYBAI | 2018-01-26 | 1 | -2/+2 |
| | |||||
* | Turn flow::base and friends into methods | Matt Brubeck | 2017-12-14 | 1 | -4/+4 |
| | |||||
* | style: Make all keywords CamelCase for consistency. | Emilio Cobos Álvarez | 2017-12-06 | 1 | -8/+8 |
| | | | | This prevents confusion and paves the ground for derive(Parse) of them. | ||||
* | Bump bitflags to 1.0 in every servo crate | Bastien Orivel | 2017-10-30 | 1 | -3/+3 |
| | |||||
* | Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵ | Gecko Backout | 2017-10-19 | 1 | -3/+3 |
| | | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809 | ||||
* | Update bitflags to 1.0 in every servo crate | Bastien Orivel | 2017-10-19 | 1 | -3/+3 |
| | | | | | It still needs dependencies update to remove all the other bitflags versions. | ||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -3/+3 |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | ||||
* | Untry | Simon Sapin | 2017-06-18 | 1 | -2/+2 |
| | |||||
* | Make computed types hold Percentage instead of bare CSSFloat | Anthony Ramine | 2017-06-15 | 1 | -1/+1 |
| | |||||
* | Update app_units to 0.4.1 | Manish Goregaokar | 2017-05-19 | 1 | -7/+6 |
| | |||||
* | Migrated -Z trace-layout to serde_json | Shing Lyu | 2016-11-07 | 1 | -1/+1 |
| | |||||
* | layout: Take margins in the inline direction into account when | Patrick Walton | 2016-05-10 | 1 | -12/+10 |
| | | | | | | | | guessing the inline-size of block formatting contexts. Fixes the layout on reddit.com. Partially addresses #10571. | ||||
* | layout: When printing out debug info for the float list, include | Patrick Walton | 2016-05-04 | 1 | -1/+5 |
| | | | | information about each float. | ||||
* | layout: Speculate that the inline sizes of floats with percentage | Patrick Walton | 2016-05-04 | 1 | -6/+23 |
| | | | | | | inline sizes are nonzero. This is a bit of a hack. | ||||
* | layout: Reset the speculated inline size of floats out to compensate for | Patrick Walton | 2016-04-28 | 1 | -9/+14 |
| | | | | | | margins for all blocks, not just block formatting contexts. Partial fix for Reddit /r/rust. | ||||
* | layout: Disallow margins from collapsing through blocks with clearance | Patrick Walton | 2016-04-14 | 1 | -0/+4 |
| | | | | | | per CSS 2.1 § 8.3.1. Fixes the test failure in #10458. | ||||
* | layout: Only take nonnegative margins into account when estimating | Patrick Walton | 2016-03-28 | 1 | -14/+18 |
| | | | | | | | | | | inline placement of floats. Otherwise, the heuristics can pass even when there are no floats, causing block formatting contexts to be speculated to be flowing around floats that don't exist! Closes #10237. | ||||
* | layout: Rewrite the block formatting context/float inline-size | Patrick Walton | 2016-03-25 | 1 | -0/+110 |
| | | | | | | | | | | | | | | | | | | | | | | | | speculation code. The old code tried to do the speculation as a single bottom-up pass after intrinsic inline-size calculation, which was unable to handle cases like this: <div> <div style="float: left">Foo</div> </div> <div> <div style="overflow: hidden">Bar</div> </div> No single bottom-up pass could possibly handle this case, because the inline-size of the float flowing out of the "Foo" block could never make it down to the "Bar" block, where it is needed for speculation. On the pages I tried, this regresses layout performance by 1%-2%. I first noticed this breaking some pages, like the Google SERPs, several months ago. | ||||
* | layout: Allow floats to have negative ceilings due to negative margins. | Patrick Walton | 2016-03-25 | 1 | -12/+15 |
| | | | | | | This fixes `margin-collapse-104.htm`, which is currently accidentally passing due to lack of #10085. When that PR lands, then that will become a representative test case. | ||||
* | Move util::persistent_list to layout | Tim van der Meij | 2016-02-20 | 1 | -1/+1 |
| | |||||
* | Move util::logical_geometry to style | Anthony Ramine | 2016-02-18 | 1 | -2/+1 |
| | |||||
* | Remove dead code from layout. | Ms2ger | 2015-11-18 | 1 | -4/+0 |
| | |||||
* | Split Au type into separate crate, with minimal dependencies. | Glenn Watson | 2015-10-01 | 1 | -1/+1 |
| | |||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -4/+4 |
| | |||||
* | Positioning fixes for RTL floats | Matt Brubeck | 2015-05-18 | 1 | -3/+3 |
| | |||||
* | Auto merge of #5480 - SimonSapin:multicol, r=pcwalton | bors-servo | 2015-04-28 | 1 | -4/+4 |
|\ | | | | | | | | | | | | | | | This add some properties to the style system and a new flow type, but the larger issues of dealing with fragmentation in the flow tree is still an open question. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5480) <!-- Reviewable:end --> | ||||
| * | Refactor flow construction to make `float` less of a special case. | Simon Sapin | 2015-04-29 | 1 | -4/+4 |
| | | |||||
* | | Implement Clone for Copy types. | Ms2ger | 2015-04-28 | 1 | -1/+1 |
|/ | |||||
* | layout: During inline layout, make `place_between_floats` use the same | Patrick Walton | 2015-04-09 | 1 | -3/+5 |
| | | | | | | line height computation logic as final block size assignment. Improves Wikipedia. | ||||
* | Use usize for Floats::len. | Ms2ger | 2015-03-29 | 1 | -1/+1 |
| | |||||
* | Get rid of servo_util | Dan Fox | 2015-03-05 | 1 | -4/+4 |
| | |||||
* | Upgrade to rustc ba2f13ef0 2015-02-04 | Simon Sapin | 2015-02-11 | 1 | -5/+5 |
| | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -16/+16 |
| | |||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 1 | -5/+6 |
| | |||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -19/+19 |
| |