aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
Commit message (Collapse)AuthorAgeFilesLines
...
* Auto merge of #26074 - jdm:transition-fix, r=SimonSapinbors-servo2020-04-011-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Avoid infinitely looping CSS transitions. This change addresses the long-standing issue of CSS transitions not ending appropriately. It does not fundamentally change the way we process transitions/animations. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #20379 - [x] There are tests for these changes
| * Avoid infinitely looping CSS transitions.Josh Matthews2020-04-011-0/+1
| |
* | Make LayoutNodeHelpers::text_content return a cowAnthony Ramine2020-03-311-1/+1
| |
* | Fix failing assertion -- failure to pop reference frameDaniel Alley2020-03-302-3/+9
|/ | | | closes #23438
* Add a 'dom lifetime to GetLayoutDataAnthony Ramine2020-03-266-57/+65
|
* Remove syn 0.15 from our crate graph (fixes #24421)Anthony Ramine2020-03-052-0/+2
| | | | | | | | | | This required bumps of: * gleam * image * rust-webvr * webrender * webxr
* Auto merge of #25818 - mrobinson:transforms, r=SimonSapinbors-servo2020-02-241-2/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add initial support for transforms to layout_2020 --- <!-- 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: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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. -->
| * Add layout_2020 support for transformationsMartin Robinson2020-02-211-2/+12
| |
* | Update ipc-channel and crossbeam-channel.Josh Matthews2020-02-201-2/+2
|/
* Take origin from window instead of creating a new one in case of reflowKunal Mohan2020-02-151-0/+2
| | | | | | | | | | Everytime a new LayoutContext was created, it created a new origin which caused endless stream of image loads to occur in case of reflow. The reason for this was that the existing image, although cached successfully, was not used because the entry in hashmap did not match because of different(new) origin. This is solved by storing the origin of a window in enum ScriptReflow and used in creating new LayoutContext in case of reflow.
* Upgrade to rustc 1.43.0-nightly (5d04ce67f 2020-02-13)Simon Sapin2020-02-141-3/+3
|
* layout: Resolve word_spacing ahead of time.Emilio Cobos Álvarez2020-02-121-2/+19
| | | | | | | It's not possible anymore, in the presence of min() / max(), to split a <length-percentage> value into a <length> and a <percentage> component. Tweak word_spacing to do what Gecko does (resolving it in advance).
* style: Miscellaneous Servo build fixes.Emilio Cobos Álvarez2020-02-124-5/+9
|
* Improve the name the NodeGeometryQueryMartin Robinson2020-02-051-7/+7
| | | | | | | This query is used to get the clientTop, clientWidth, clientHeight, clientLeft properties of DOM objects. "NodeGeometry" doesn't really capture what these properties do as they often are returning the width of element border.
* Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15)Simon Sapin2020-01-161-1/+0
|
* Parse `-moz-image-rect()` and `-moz-element()` only in GeckoSimon Sapin2020-01-071-5/+3
|
* Rustfmt recent changes.Emilio Cobos Álvarez2019-12-164-20/+60
|
* Servo build fixes.Emilio Cobos Álvarez2019-12-1615-110/+116
|
* Cap the number of glyphs per WebRender text run to avoid overflowing WR's limit.Patrick Walton2019-12-131-8/+23
| | | | Closes #17230.
* layout: Ensure truncated fragment is updated with results of collecting ↵Josh Matthews2019-12-091-3/+9
| | | | inner fragment's stacking contexts.
* Use non-IPC webrender API over explicit IPC channels.Josh Matthews2019-11-271-1/+1
|
* Auto merge of #24426 - servo:wrup, r=jdm,noxbors-servo2019-11-203-34/+40
|\ | | | | | | | | | | | | | | Update webrender <!-- 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/24426) <!-- Reviewable:end -->
| * Update webrender and serde_bytesAnthony Ramine2019-11-133-22/+28
| |
| * Don't allocate strings in Debug for DisplayItemAnthony Ramine2019-11-121-12/+12
| |
* | layout: Ensure abs-pos elements establish block formatting contextsPaul Rouget2019-11-141-0/+7
|/
* dom: Calculate the viewport size of iframes when they are first added to the ↵Josh Matthews2019-11-061-1/+11
| | | | tree.
* layout: Record sizes for iframes that have no pipeline.Josh Matthews2019-11-061-9/+10
|
* Update rand to 0.7 (fixes #24448)Anthony Ramine2019-10-231-1/+1
|
* Support CORS attributes for image elements.Josh Matthews2019-10-041-0/+1
|
* Double key image cache by requesting origin, and store CORS status with ↵Josh Matthews2019-10-041-4/+10
| | | | cached images.
* Remove unused dependenciesShotaro Yamada2019-10-011-2/+0
|
* Update html5ever to 0.24Anthony Ramine2019-09-271-1/+1
|
* Upgrade to rustc 1.39.0-nightly (66bf391c3 2019-09-23)Simon Sapin2019-09-251-1/+3
|
* style: Fix Servo build, and rustfmt recent changes.Emilio Cobos Álvarez2019-09-121-4/+4
|
* Import victor's layout system 🍷Anthony Ramine2019-09-111-1/+1
|
* Replace DisplayList::is_contentful with tracking during conversion to WR ↵Simon Sapin2019-09-062-21/+33
| | | | display lists
* Replace the WebRenderDisplayItemConverter trait with an inherent methodSimon Sapin2019-09-062-17/+3
|
* Auto merge of #24034 - ferjm:video.fullscreen, r=emiliobors-servo2019-09-061-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | Make inline elements work in fullscreen mode - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22358 <!-- 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/24034) <!-- Reviewable:end -->
| * Make inline elements work in fullscreen modeFernando Jiménez Moreno2019-09-051-1/+3
| |
* | Deduplicate parking_lot and friends by updating it to 0.9Bastien Orivel2019-09-051-1/+1
|/
* Update ipc-channel and related dependenciesBastien Orivel2019-08-271-1/+1
|
* Auto merge of #23979 - Eijebong:deps-deps-deps, r=jdmbors-servo2019-08-161-0/+1
|\ | | | | | | | | | | | | | | | | | | | | Update webrender, image, png and raqote This will avoid duping png because of the raqote backend <!-- 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/23979) <!-- Reviewable:end -->
| * Update webrender, image, png and raqoteBastien Orivel2019-08-161-0/+1
| | | | | | | | This will avoid duping png because of the raqote backend
* | Fix Servo build and unify display representation.Emilio Cobos Álvarez2019-08-152-10/+12
|/
* Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}Simon Sapin2019-07-291-1/+1
| | | | Renaming the variable helped make sure I looked at every use.
* Update euclid.Emilio Cobos Álvarez2019-07-2326-67/+111
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* Auto merge of #23822 - servo:rustup, r=jdmbors-servo2019-07-232-69/+31
|\ | | | | | | | | | | | | | | Upgrade to rustc 1.38.0-nightly (273f42b59 2019-07-21) <!-- 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/23822) <!-- Reviewable:end -->
| * 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