aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove InlineFlowDisplayListBuildingAnthony Ramine2019-01-143-117/+98
| | | | | | | | | | This lets us remove a few call indirections where a function just calls another function defined in another module.
* | Kill establishes_containing_block_for_absoluteAnthony Ramine2019-01-141-23/+7
| | | | | | | | We inline the related tests at the two call sites.
* | Remove FragmentDisplayListBuildingAnthony Ramine2019-01-141-225/+46
| |
* | Remove BaseFlowDisplayListBuildingAnthony Ramine2019-01-141-9/+1
| |
* | Remove BlockFlowDisplayListBuildingAnthony Ramine2019-01-149-97/+24
|/ | | | Replaced by inherent methods on BlockFlow, the only implementor of that trait.
* Make a bunch of layout queries morally saferAnthony Ramine2019-01-091-15/+15
|
* Move is_image_data to the layout crateAnthony Ramine2019-01-091-1/+7
| | | | It's only used there.
* Rustfmt recent changes.Emilio Cobos Álvarez2019-01-086-42/+34
|
* style: Fix servo build.Emilio Cobos Álvarez2019-01-0813-97/+97
|
* style: Fix servo build.Emilio Cobos Álvarez2019-01-089-202/+156
| | | | | | This also fixes a bunch of calc handling issues and such. Also remove tests that no longer compile and are covered by WPT.
* Fix Servo build.Emilio Cobos Álvarez2019-01-071-4/+5
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-2830-157/+162
|
* Remove redundant `.clone()`sShotaro Yamada2018-12-113-3/+3
|
* Cancel animations that affect nodes that do not participate in layout.Josh Matthews2018-12-101-5/+21
|
* Fix servo build.Emilio Cobos Álvarez2018-12-021-2/+5
|
* Update webrenderManish Goregaokar2018-11-273-17/+23
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-1944-44/+44
|
* Update crossbeam-channel to 0.3Bastien Orivel2018-11-182-3/+3
|
* Auto merge of #22167 - emilio:gecko-sync, r=emiliobors-servo2018-11-102-0/+2
|\ | | | | | | | | | | | | | | | | | | | | 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/22167) <!-- Reviewable:end -->
| * layout: Fix servo build.Emilio Cobos Álvarez2018-11-102-0/+2
| | | | | | | | TextAlign now implements FromPrimitive instead of an ad-hoc method.
* | Use GradientBuilder::into_stopsPyfisch2018-11-101-2/+2
|/ | | | Avoid cloning gradient stops.
* Add a transparent hit-testing rectangle for scrollable block content.Josh Matthews2018-11-091-1/+43
|
* Fix Servo build.Emilio Cobos Álvarez2018-11-081-4/+3
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-082-2/+0
| | | | A `crate_name::foo` path always works in 2018
* `cargo fix --edition-idioms`Simon Sapin2018-11-0827-162/+130
|
* Auto merge of #22126 - pyfisch:autoformat, r=jdmbors-servo2018-11-0732-188/+262
|\ | | | | | | | | | | | | | | Enforce rustfmt on CI <!-- 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/22126) <!-- Reviewable:end -->
| * Reorder importsPyfisch2018-11-0631-106/+145
| |
| * Format remaining filesPyfisch2018-11-0613-82/+117
| |
* | Auto merge of #22074 - jdm:wrup, r=noxbors-servo2018-11-071-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Update webrender. Fixes #22114. <!-- 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/22074) <!-- Reviewable:end -->
| * Update webrender to 790b76f1547453615262c3037e1fb04bda22fbc8.Josh Matthews2018-11-061-1/+1
| |
* | Switch most crates to the 2018 editionSimon Sapin2018-11-061-0/+1
| |
* | Sort `use` statementsSimon Sapin2018-11-0626-92/+92
| |
* | `cargo fix --edition`Simon Sapin2018-11-0638-311/+311
|/
* Directly build WebRender LineDisplayItemPyfisch2018-10-283-58/+27
| | | | Remove unused SimpleMatrixDetection.
* Layout: Remove redundant deny unsafe and formatPyfisch2018-10-2221-89/+62
| | | | | | Add license to two files. Bypass DisplayListBuilder for some items.
* Split layout/background.rs filePyfisch2018-10-227-658/+577
| | | | | | | | | Have background, border and gradient modules for calculation functions. Use shorter names for functions that are qualified by the module name like `border::radii`. Use push_item and push_iter to add items to WebRender.
* Fix Servo build.Emilio Cobos Álvarez2018-10-191-4/+4
|
* style: More useful logging for transition-related stuff.Emilio Cobos Álvarez2018-10-151-0/+2
| | | | | Transitions are still broken, but I found these messages more helpful than the previous ones when diagnosing problems.
* style: Remove unused expired boolean in Animation::Transition.Emilio Cobos Álvarez2018-10-151-8/+7
| | | | | | | | | | | | The last caller who used was #14418, which did fix a problem but introduced multiple. In particular, now transitions don't get expired ever, until they finish running of course. That is not ok, given you can have something that the user can trigger to change the style (hi, :hover, for example), and right now that triggers new transitions, getting this into a really funny state. I should give fixing this a shot, but it's non-trivial at all.
* Auto merge of #21931 - jdm:reload-images, r=emiliobors-servo2018-10-131-5/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make layout use available image data before querying the image cache. These changes make layout more efficient for any page which contains images that have already loaded, since it does not require synchronously querying the image cache thread for each image present. It also makes reloading a page actually display the images that are already in the image cache. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21919 - [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/21931) <!-- Reviewable:end -->
| * Make layout use available image data before querying the image cache.Josh Matthews2018-10-121-5/+25
| |
* | Update webrender to 923ee495bd9b0fda8a4a94c5a6cf42e2f0548731.Josh Matthews2018-10-094-19/+21
| |
* | Update WebrenderPyfisch2018-10-092-0/+5
|/ | | | | New version is 9156a4465f6ad715a0206cdd9a7e9a6f0385fbd6
* Rustfmt and make tidy happyFernando Jiménez Moreno2018-10-081-1/+1
|
* Revert import style formatFernando Jiménez Moreno2018-10-081-6/+4
|
* Do not share entire FrameRenderer with layout, only current frameFernando Jiménez Moreno2018-10-082-17/+7
|
* layout: instantiate SpecificFragmentInfo from node's media dataVíctor Manuel Jáquez Leal2018-10-081-5/+11
|
* layout: set building information for media fragmentVíctor Manuel Jáquez Leal2018-10-081-0/+16
|
* layout: handle MediaFragmentInfoVíctor Manuel Jáquez Leal2018-10-081-2/+50
|
* Auto merge of #21608 - pyfisch:border-gradients, r=emiliobors-servo2018-09-282-146/+200
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Improve border images Respect CSS border-image-width. Properly support gradients as a border-image-source. Add a new test and mark two more as passing. <!-- 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/21608) <!-- Reviewable:end -->