aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/message.rs
Commit message (Collapse)AuthorAgeFilesLines
* Measure layout queries blocked by ongoing layoutPhilipp Albrecht2019-04-131-0/+2
|
* Rename NewLayoutThreadInfo to LayoutThreadInitAnthony Ramine2019-01-141-2/+2
| | | | Following the convention of our other init structs.
* Make some cosmetic changes to ReflowGoal methodsAnthony Ramine2019-01-141-24/+24
|
* Make a bunch of layout queries morally saferAnthony Ramine2019-01-091-7/+12
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-1/+1
|
* style: Make Servo use a single thread-pool for layout-related tasks per-process.Emilio Cobos Álvarez2018-12-231-1/+0
| | | | | | Instead of per-document. This also allows to reuse this thread-pool if needed for other stuff, like parallel CSS parsing (#22478), and to share more code with Gecko, which is always nice.
* Cancel animations that affect nodes that do not participate in layout.Josh Matthews2018-12-101-0/+3
|
* introduce a background-hang-monitor:Gregory Terzian2018-11-261-1/+2
| | | | | Mac-Os implementation of a thread sampler, Linux and Windows skeleton implementations.
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Update crossbeam-channel to 0.3Bastien Orivel2018-11-181-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-3/+3
|
* Reorder importsPyfisch2018-11-061-2/+2
|
* Sort `use` statementsSimon Sapin2018-11-061-2/+2
|
* `cargo fix --edition`Simon Sapin2018-11-061-2/+2
|
* Replace mpsc with crossbeam/servo channel, update ipc-channelSimon Sapin2018-09-121-1/+1
| | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
* fix time measurecsmoe2018-03-251-21/+0
|
* introduce layout query timestampcsmoe2018-03-181-0/+21
|
* extract querymsg from ReflowGoalmoe2018-03-171-21/+38
|
* Implement element.innerText getterFernando Jiménez Moreno2018-02-131-2/+5
|
* Update WebRenderMartin Robinson2018-02-061-4/+3
| | | | | | | | | This allows servo to use the ExternalScrollId API from WebRender fixing some issues related to duplicate scroll root ids. Fixes #17176. Fixes #19287. Fixes #19648.
* Add layout RPC query for getting an element's styleJon Leighton2018-01-281-6/+5
| | | | | | | | This enables us to implement Element::has_css_layout_box() in a more direct way, and also enables us to remove some of the existing more specific queries. Fixes #19811.
* changed f64 to u64 for navigation start timing until it had to be floatddh2017-11-011-1/+1
|
* Use WebRender to compute text index on click eventsMartin Robinson2017-10-181-1/+1
| | | | | | This is the second half of switching over to WebRender for hit testing. Now that WebRender gives us the location of the hit tested point in the display item, we can use that to calculate text index.
* Switch to using WebRender hit testingMartin Robinson2017-10-171-11/+15
| | | | | | | | This trades quite a bit of complicated code in Servo for few more messages and a significant performance improvement. In particular, WebRender can search the entire display list at once instead of ping-ponging down the pipeline tree. This allows us to send mouse events to the correct pipeline immediately.
* TickAnimations should create a display listMartin Robinson2017-10-031-2/+3
| | | | | | This is a regression from the removal of ReflowQueryType. Fixes #18701.
* Combine ReflowGoal and ReflowQueryTypeMartin Robinson2017-09-301-7/+36
| | | | | This simplifies the logic in the layout_thread and makes it clearer which types of reflows generate display lists and cause display updates.
* style: Replicate the list of stylesheets on the layout thread.Emilio Cobos Álvarez2017-08-181-4/+7
| | | | | | This is a patch that unifies a bit how Gecko and Stylo stylesheets work, in order to be able to eventually move the stylesheets into the stylist, and be able to incrementally update the invalidation map.
* Speculatively evaluate paint functions during style.Alan Jeffrey2017-07-311-1/+1
|
* Implement basic Time To First Paint and First Contentful Paint PWMsFernando Jiménez Moreno2017-07-201-0/+5
|
* Replace all uses of the style::stylearc alias with servo_arc.Michael Partheil2017-07-191-2/+3
| | | | | | The alias is left there temporarilly and will be removed completely in a later commit where also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still use the old alias).
* Implemented paint worklet properties.Alan Jeffrey2017-07-111-2/+3
|
* Bump euclid to 0.14.Nicolas Silva2017-06-141-2/+1
|
* Implemented the plumbing for paint worklets.Alan Jeffrey2017-06-071-0/+4
|
* Properly handle scroll offsets in hit testingMartin Robinson2017-05-161-5/+9
| | | | | | | | | | | | Scroll roots are no longer nested containers holding items, so instead we need to track the offsets of each, carefully handling fixed position items and stacking contexts that create new reference frames. Additionally, we remove the complexity of the pre-computed page scroll offset, instead opting to send script scrolls to the layout task in order to more quickly have a ScrollState there that matches the script's idea of the scroll world. Fixes #16405.
* Send information to script as part of finishing layout.Josh Matthews2017-05-151-9/+12
| | | | | | | This avoids the need for multiple layout RPC operations immediately following return of control to script. This means that layout and script can continue to operate in parallel at this point, rather than one potentially waiting on the shared mutex to be unlocked.
* Fix up script and layout.Bobby Holley2017-05-021-2/+2
|
* Make Stylist::quirks_mode hold a QuirksModeAnthony Ramine2017-04-261-3/+3
|
* Make image cache per-document rather than globalFernando Jiménez Moreno2017-03-271-2/+2
|
* Remove never-sent ReflowWithNewlyLoadedWebFont message, fix #16026Simon Sapin2017-03-191-3/+0
|
* Trigger reflow on document.elementsFromPointFernando Jiménez Moreno2017-03-021-0/+1
|
* Position insertion point in input field with mouseFlorian Merz2017-01-111-0/+1
|
* Use PropertyId instead of Atom for CSSStyleDeclaration::get_computed_styleSimon Sapin2016-12-091-2/+2
|
* Auto merge of #12862 - servo:layout-new, r=emiliobors-servo2016-12-071-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added dom obj counting to decide sequential/parallel layout (#10110) This is a rebased version of #11713 --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #10110 (github issue number if applicable). - [X] There are no tests for these changes because it's an optimization with no visible behavioral 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/12862) <!-- Reviewable:end -->
| * added dom obj counting to decide sequential/parallel layout (#10110)ddh2016-12-051-0/+2
| |
* | Auto merge of #14367 - mrobinson:scroll-fragment-point, r=pcwaltonbors-servo2016-12-061-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reimplement scrolling to fragments <!-- Please describe your changes on the following line: --> --- <!-- 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 - [x] These changes fix #13736, #10753 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> This reimplemntation of the feature uses ScrollRootIds to scroll particular scrollable areas of the page. Fixes #13736. Fixes #10753. <!-- 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/14367) <!-- Reviewable:end -->
| * Reimplement scrolling to fragmentsMartin Robinson2016-11-291-0/+1
| | | | | | | | | | | | | | | | This reimplemntation of the feature uses ScrollRootIds to scroll particular scrollable areas of the page. Fixes #13736. Fixes #10753.
* | Make the layout content process shutdown sender optional.Ms2ger2016-11-301-1/+1
|/
* Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal.Bobby Holley2016-11-241-1/+1
| | | | MozReview-Commit-ID: 7wH5XcILVmX
* Rename selector_impl.rs to selector_parser.rsSimon Sapin2016-11-201-1/+1
| | | | This makes it consistent with an upcoming update of the selectors crate.
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-3/+3
|