Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Make DOM own the style and layout data, in an UnsafeCell | Anthony Ramine | 2020-04-04 | 3 | -17/+15 | |
| | | | | | | | | The previous Cell was a lie. | |||||
| * | Don't expose any AtomicRefCell directly from style traits | Anthony Ramine | 2020-04-04 | 1 | -1/+1 | |
| | | | | | | | | This lets us experiment with how we store this data on the DOM side. | |||||
| * | Make OpaqueLayoutAndStyleData just a bit less opaque | Anthony Ramine | 2020-04-04 | 4 | -15/+17 | |
| | | | | | | | | It now stores a NonNull<dyn Any>. | |||||
* | | Don't send empty canvases to WebRender | Daniel Alley | 2020-04-03 | 1 | -0/+6 | |
|/ | | | | | If any dimension of a canvas is 0, don't try to render it as it causes problems inside webrender. | |||||
* | Auto merge of #26074 - jdm:transition-fix, r=SimonSapin | bors-servo | 2020-04-01 | 1 | -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 Matthews | 2020-04-01 | 1 | -0/+1 | |
| | | ||||||
* | | Make LayoutNodeHelpers::text_content return a cow | Anthony Ramine | 2020-03-31 | 1 | -1/+1 | |
| | | ||||||
* | | Fix failing assertion -- failure to pop reference frame | Daniel Alley | 2020-03-30 | 2 | -3/+9 | |
|/ | | | | closes #23438 | |||||
* | Add a 'dom lifetime to GetLayoutData | Anthony Ramine | 2020-03-26 | 6 | -57/+65 | |
| | ||||||
* | Remove syn 0.15 from our crate graph (fixes #24421) | Anthony Ramine | 2020-03-05 | 2 | -0/+2 | |
| | | | | | | | | | | This required bumps of: * gleam * image * rust-webvr * webrender * webxr | |||||
* | Auto merge of #25818 - mrobinson:transforms, r=SimonSapin | bors-servo | 2020-02-24 | 1 | -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 transformations | Martin Robinson | 2020-02-21 | 1 | -2/+12 | |
| | | ||||||
* | | Update ipc-channel and crossbeam-channel. | Josh Matthews | 2020-02-20 | 1 | -2/+2 | |
|/ | ||||||
* | Take origin from window instead of creating a new one in case of reflow | Kunal Mohan | 2020-02-15 | 1 | -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 Sapin | 2020-02-14 | 1 | -3/+3 | |
| | ||||||
* | layout: Resolve word_spacing ahead of time. | Emilio Cobos Álvarez | 2020-02-12 | 1 | -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 Álvarez | 2020-02-12 | 4 | -5/+9 | |
| | ||||||
* | Improve the name the NodeGeometryQuery | Martin Robinson | 2020-02-05 | 1 | -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 Sapin | 2020-01-16 | 1 | -1/+0 | |
| | ||||||
* | Parse `-moz-image-rect()` and `-moz-element()` only in Gecko | Simon Sapin | 2020-01-07 | 1 | -5/+3 | |
| | ||||||
* | Rustfmt recent changes. | Emilio Cobos Álvarez | 2019-12-16 | 4 | -20/+60 | |
| | ||||||
* | Servo build fixes. | Emilio Cobos Álvarez | 2019-12-16 | 15 | -110/+116 | |
| | ||||||
* | Cap the number of glyphs per WebRender text run to avoid overflowing WR's limit. | Patrick Walton | 2019-12-13 | 1 | -8/+23 | |
| | | | | Closes #17230. | |||||
* | layout: Ensure truncated fragment is updated with results of collecting ↵ | Josh Matthews | 2019-12-09 | 1 | -3/+9 | |
| | | | | inner fragment's stacking contexts. | |||||
* | Use non-IPC webrender API over explicit IPC channels. | Josh Matthews | 2019-11-27 | 1 | -1/+1 | |
| | ||||||
* | Auto merge of #24426 - servo:wrup, r=jdm,nox | bors-servo | 2019-11-20 | 3 | -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_bytes | Anthony Ramine | 2019-11-13 | 3 | -22/+28 | |
| | | ||||||
| * | Don't allocate strings in Debug for DisplayItem | Anthony Ramine | 2019-11-12 | 1 | -12/+12 | |
| | | ||||||
* | | layout: Ensure abs-pos elements establish block formatting contexts | Paul Rouget | 2019-11-14 | 1 | -0/+7 | |
|/ | ||||||
* | dom: Calculate the viewport size of iframes when they are first added to the ↵ | Josh Matthews | 2019-11-06 | 1 | -1/+11 | |
| | | | | tree. | |||||
* | layout: Record sizes for iframes that have no pipeline. | Josh Matthews | 2019-11-06 | 1 | -9/+10 | |
| | ||||||
* | Update rand to 0.7 (fixes #24448) | Anthony Ramine | 2019-10-23 | 1 | -1/+1 | |
| | ||||||
* | Support CORS attributes for image elements. | Josh Matthews | 2019-10-04 | 1 | -0/+1 | |
| | ||||||
* | Double key image cache by requesting origin, and store CORS status with ↵ | Josh Matthews | 2019-10-04 | 1 | -4/+10 | |
| | | | | cached images. | |||||
* | Remove unused dependencies | Shotaro Yamada | 2019-10-01 | 1 | -2/+0 | |
| | ||||||
* | Update html5ever to 0.24 | Anthony Ramine | 2019-09-27 | 1 | -1/+1 | |
| | ||||||
* | Upgrade to rustc 1.39.0-nightly (66bf391c3 2019-09-23) | Simon Sapin | 2019-09-25 | 1 | -1/+3 | |
| | ||||||
* | style: Fix Servo build, and rustfmt recent changes. | Emilio Cobos Álvarez | 2019-09-12 | 1 | -4/+4 | |
| | ||||||
* | Import victor's layout system 🍷 | Anthony Ramine | 2019-09-11 | 1 | -1/+1 | |
| | ||||||
* | Replace DisplayList::is_contentful with tracking during conversion to WR ↵ | Simon Sapin | 2019-09-06 | 2 | -21/+33 | |
| | | | | display lists | |||||
* | Replace the WebRenderDisplayItemConverter trait with an inherent method | Simon Sapin | 2019-09-06 | 2 | -17/+3 | |
| | ||||||
* | Auto merge of #24034 - ferjm:video.fullscreen, r=emilio | bors-servo | 2019-09-06 | 1 | -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 mode | Fernando Jiménez Moreno | 2019-09-05 | 1 | -1/+3 | |
| | | ||||||
* | | Deduplicate parking_lot and friends by updating it to 0.9 | Bastien Orivel | 2019-09-05 | 1 | -1/+1 | |
|/ | ||||||
* | Update ipc-channel and related dependencies | Bastien Orivel | 2019-08-27 | 1 | -1/+1 | |
| | ||||||
* | Auto merge of #23979 - Eijebong:deps-deps-deps, r=jdm | bors-servo | 2019-08-16 | 1 | -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 raqote | Bastien Orivel | 2019-08-16 | 1 | -0/+1 | |
| | | | | | | | | This will avoid duping png because of the raqote backend | |||||
* | | Fix Servo build and unify display representation. | Emilio Cobos Álvarez | 2019-08-15 | 2 | -10/+12 | |
|/ | ||||||
* | Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020} | Simon Sapin | 2019-07-29 | 1 | -1/+1 | |
| | | | | Renaming the variable helped make sure I looked at every use. | |||||
* | Update euclid. | Emilio Cobos Álvarez | 2019-07-23 | 26 | -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. |