aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
Commit message (Collapse)AuthorAgeFilesLines
...
| * fmtSimon Sapin2019-07-222-69/+31
| |
* | Revert change to render media controls breaking inline layoutFernando Jiménez Moreno2019-07-221-9/+3
| |
* | Only allow UA widgets as children of media elementsFernando Jiménez Moreno2019-07-221-3/+8
| | | | | | | | Do not allow pseudo-elements for replaced elements
* | Media UI basic functionalityFernando Jiménez Moreno2019-07-221-2/+4
| |
* | Render media controlsFernando Jiménez Moreno2019-07-221-4/+10
|/
* Update rayon to dedupe crossbeam-epochBastien Orivel2019-07-121-3/+3
| | | | As a bonus this also removes one version of crossbeam-utils
* Remove sometimes-unused bounds field from base display item to prevent ↵Josh Matthews2019-07-094-79/+43
| | | | confusion.
* rustfmtJosh Matthews2019-07-094-20/+28
|
* WebRender rectangles items are sized based on their clipping rectangles.Josh Matthews2019-07-091-2/+2
|
* Create a solid rectangle display list entry for the page background.Josh Matthews2019-07-092-4/+25
|
* Stop storing display lists in an `Arc`Patrick Walton2019-07-091-1/+1
|
* Upgrade display list building for the WebRender update.Patrick Walton2019-07-093-109/+168
|
* WebRender units are no longer reexported.Patrick Walton2019-07-098-32/+29
|
* Upgrade to rustc 1.37.0-nightly (088b98730 2019-07-03)Josh Matthews2019-07-051-1/+0
|
* Add `./mach build --with-layout-2020`Simon Sapin2019-07-041-1/+1
| | | | | … with corresponding `layout` and `layout_thread` crates, which for now do nothing.
* Fix style system build with recent changes.Emilio Cobos Álvarez2019-06-252-21/+26
|
* layout: Fix servo build.Emilio Cobos Álvarez2019-06-042-4/+4
|
* Auto merge of #23477 - est31:unused_code_removal, r=jdmbors-servo2019-06-028-236/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused code (1/N) <!-- Please describe your changes on the following line: --> First PR in a series of PRs to remove unused/dead code from servo, powered by an (upcoming) tool of mine. Please take a look and tell me if you want to keep something. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they only remove dead code <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23477) <!-- Reviewable:end -->
| * Some further removalsest312019-05-303-20/+0
| |
| * Remove unused code from gfx and layout cratesest312019-05-297-216/+2
| |
* | layout: Fix servo build.Emilio Cobos Álvarez2019-05-292-2/+2
|/
* Use type alias enums in layout codePhilipp Klein2019-05-272-24/+17
| | | | closes #22862
* Upgrade parking_lot to 0.8.Josh Matthews2019-05-251-1/+1
|
* Glutin update: dependencies updatePaul Rouget2019-05-251-1/+1
|
* Revert "Glutin update: dependencies update"Josh Matthews2019-05-221-1/+1
| | | | This reverts commit 30fb18e7113c108bf93be93f7675a9574fd761a5.
* Glutin update: dependencies updatePaul Rouget2019-05-221-1/+1
|
* Update xml5ever and html5everBastien Orivel2019-05-191-1/+1
|
* Auto merge of #23325 - emilio:gecko-sync, r=emiliobors-servo2019-05-085-72/+97
|\ | | | | | | | | | | | | | | | | | | | | style: Sync changes from mozilla-central. See each individual commit for details. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23325) <!-- Reviewable:end -->
| * layout: fix Servo build.Emilio Cobos Álvarez2019-05-075-72/+97
| |
* | Update harfbuzz to 0.3Bastien Orivel2019-05-071-1/+1
|/ | | | | | `hb_font_funcs_set_glyph_h_kerning_func` is gone but I couldn't find any replacement. Kerning tests are passing and kerning seems fine on my computer so I guess it's useless now ?
* Add is_connected flag to node and use it to replace most uses of is_in_docFernando Jiménez Moreno2019-04-261-1/+1
|
* style: Fix servo build, and appease tidy / fmt.Emilio Cobos Álvarez2019-04-121-4/+7
|
* WR update: APIs updatePaul Rouget2019-03-222-8/+28
|
* layout: Fix servo build.Emilio Cobos Álvarez2019-03-134-23/+26
|
* ReformatSimon Sapin2019-02-261-1/+3
|
* Fix servo build.Emilio Cobos Álvarez2019-02-234-35/+23
|
* style: Rename MozLength to Size, and MaxLength to MaxSize.Emilio Cobos Álvarez2019-02-1211-119/+94
| | | | | | | | | | | | | 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 Álvarez2019-02-1014-135/+164
|
* Auto merge of #22839 - jdm:overflow-hit-test-fix, r=pcwaltonbors-servo2019-02-061-3/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure transparent hit test region is sized and positioned correctly. This addresses some edge cases that were missed by #22156. Specifically, in some cases the transparent region was being placed in the display list in front of the scrollable content, rather than behind it, and the size of the region did not account for parent stacking context. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22073 and fix #22216. - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22839) <!-- Reviewable:end -->
| * Ensure transparent hit test region is sized and positioned correctly.Josh Matthews2019-02-061-3/+22
| |
* | Implemented fullscreen top layerAlan Jeffrey2019-02-062-0/+18
|/
* Fix deprecation warningsSimon Sapin2019-01-281-2/+2
|
* Fix servo build and rustfmt recent changes.Emilio Cobos Álvarez2019-01-202-21/+59
| | | | | We need to introduce another Cursor enum that is specific to embedder_traits and that layout converts to to avoid dependency hell.
* Update webrender.Josh Matthews2019-01-171-87/+155
|
* Auto merge of #22396 - jdm:no-spam-iframe-size, r=asajeffreybors-servo2019-01-141-6/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce unnecessary iframe size messages This should be an improvement on pages that include iframes, since we currently run two layout jobs for every display-oriented layout request. When building the display list, we send a message to the constellation that includes the sizes of all iframes present, and the constellation sends resize messages to the script thread. This results in a mouse event on the outer page causing all frames to be re-laid out even if no changes occurred to the iframe sizes, which is ridiculous. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22394 - [x] These changes do not require tests because there is no way to test this internal detail. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22396) <!-- Reviewable:end -->
| * Suppress iframe size messages from layout that include unchanged sizes.Josh Matthews2019-01-141-6/+7
| |
* | Simplify get_cursorAnthony Ramine2019-01-141-15/+8
| |
* | Remove ObjectElementAnthony Ramine2019-01-141-40/+19
| |
* | Remove ComputedValueUtilsAnthony Ramine2019-01-141-21/+14
| |
* | Remove ComputedValuesCursorUtilityAnthony Ramine2019-01-141-41/+33
| |