Josh Matthews
91dfa354b1
Ensure layout/script always have a correct viewport size when a new pipeline is created.
2019-11-06 16:13:55 -05:00
Josh Matthews
fd260f78c8
dom: Calculate the viewport size of iframes when they are first added to the tree.
2019-11-06 16:13:55 -05:00
Anthony Ramine
785a344e32
Update rand to 0.7 ( fixes #24448 )
2019-10-23 15:34:48 +02:00
Josh Matthews
81a67aed9e
Double key image cache by requesting origin, and store CORS status with cached images.
2019-10-04 09:22:21 -04:00
Anthony Ramine
bceecddb64
Update html5ever to 0.24
2019-09-27 17:43:37 +02:00
Emilio Cobos Álvarez
cd3b0c23fa
style: Fix Servo build, and rustfmt recent changes.
2019-09-12 23:04:56 +02:00
Simon Sapin
e9f7079c70
Replace DisplayList::is_contentful with tracking during conversion to WR display lists
2019-09-06 17:15:53 +02:00
Simon Sapin
526619a78a
Replace the WebRenderDisplayItemConverter trait with an inherent method
2019-09-06 16:59:11 +02:00
Bastien Orivel
b6cddbebaa
Deduplicate parking_lot and friends by updating it to 0.9
2019-09-05 10:47:39 +02:00
Bastien Orivel
92161ecfbc
Update ipc-channel and related dependencies
2019-08-27 23:44:04 +02:00
Gregory Terzian
8482d2e781
restructure content process shutdown ack with threaded sender, without layout
2019-08-17 16:03:07 +02:00
Emilio Cobos Álvarez
3d57c22e9c
Update euclid.
...
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.
2019-07-23 23:09:55 +02:00
Fernando Jiménez Moreno
a3d0d95b61
Moar detach shadow improvements
2019-07-22 17:40:17 +02:00
Fernando Jiménez Moreno
1f3c879a85
Detach shadow clean up
2019-07-22 17:40:16 +02:00
Fernando Jiménez Moreno
e344203c11
Only allow UA widgets as children of media elements
...
Do not allow pseudo-elements for replaced elements
2019-07-22 17:40:15 +02:00
Josh Matthews
10ab466e5d
Create a solid rectangle display list entry for the page background.
2019-07-09 10:51:56 -04:00
Patrick Walton
6b9924bec4
Stop storing display lists in an Arc
2019-07-09 10:50:29 -04:00
Patrick Walton
2f9c9cefdb
WebRender units are no longer reexported.
2019-07-09 10:50:27 -04:00
Josh Matthews
43a75011be
Upgrade to rustc 1.37.0-nightly (088b98730 2019-07-03)
2019-07-05 16:53:02 +02:00
Simon Sapin
2b01c26aa5
Add ./mach build --with-layout-2020
...
… with corresponding `layout` and `layout_thread` crates,
which for now do nothing.
2019-07-04 18:16:44 +02:00
Simon Sapin
bddfe9a468
Remove default-except-unstable
...
… and use remaining unstable features unconditionally.
This doesn’t actually change the set of crates that can build on the Stable channel.
2019-07-01 15:43:24 +02:00
Emilio Cobos Álvarez
add08518cd
Fix style system build with recent changes.
2019-06-25 13:11:32 +02:00
Simon Sapin
1d38bc0419
Fix some new warnings
2019-06-22 14:59:09 +02:00
oneturkmen
810f5abae6
Layout_thread: removed all possible opts::get()
2019-06-04 17:36:14 -06:00
Evgeniy Reizner
6f1df517e0
style: Do not use borrowed types in the selectors::Element trait.
...
Closes #22972
Closes #23463
2019-06-04 01:04:03 -04:00
Emilio Cobos Álvarez
66056bd4d5
script: Fix Servo build.
2019-05-29 16:14:36 +02:00
Josh Matthews
2875e5ccb3
Upgrade parking_lot to 0.8.
2019-05-25 07:18:06 -04:00
Paul Rouget
1758207393
Glutin update: dependencies update
2019-05-25 07:15:30 -04:00
Josh Matthews
60688da71a
Revert "Glutin update: dependencies update"
...
This reverts commit 30fb18e711
.
2019-05-22 14:18:38 -04:00
Paul Rouget
30fb18e711
Glutin update: dependencies update
2019-05-22 09:55:38 +02:00
Bastien Orivel
00ac887862
Update xml5ever and html5ever
2019-05-19 22:14:28 +02:00
Emilio Cobos Álvarez
0000e4cec2
layout: fix Servo build.
2019-05-07 12:56:10 +02:00
Fernando Jiménez Moreno
68bee1c771
Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r
...
Clarify special case for containing_shadow_root and add it to layout
accessor
2019-04-29 12:02:04 +02:00
Fernando Jiménez Moreno
59c634b259
Set dirty descendants if node is connected
2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
5a165c6bd8
Move is_connected function from style to layout, where it is used
2019-04-26 11:42:38 +02:00
Fernando Jiménez Moreno
bdd2f32c0f
Minor tweaks: rename composed_parent_node_ref, remove or update outdated comments...
2019-04-26 11:42:37 +02:00
Fernando Jiménez Moreno
0313e38074
Tweak list of shadow roots attached to doc
2019-04-26 11:42:37 +02:00
Fernando Jiménez Moreno
3e63655018
Make ServoShadowRoot.flush_stylesheets unsafe
2019-04-26 11:31:18 +02:00
Fernando Jiménez Moreno
2674a3e717
Flush shadow roots stylesheets only if they changed
2019-04-26 11:31:17 +02:00
Fernando Jiménez Moreno
a841c713d6
Minor layout thread cleanups:
...
- lifetime naming
- unrequired reference removal
- containing_shadow_host getter simplification
- use stylist.device getter where possible
2019-04-26 11:31:17 +02:00
Fernando Jiménez Moreno
00178aff4d
Derive PartialEq for ServoShadowRoot
2019-04-26 11:31:17 +02:00
Fernando Jiménez Moreno
d7b6a6f509
Do not set dirty out-of-doc nodes
2019-04-26 11:31:16 +02:00
Fernando Jiménez Moreno
519cc2c317
Invalidate and flush shadow tree stylesheets where needed
2019-04-26 10:17:47 +02:00
Fernando Jiménez Moreno
cd07574235
Expose a way to flush shadow root stylesheets from layout
2019-04-26 10:17:47 +02:00
Fernando Jiménez Moreno
e9f0e76d3c
Implement TShadowRoot::style_data
2019-04-26 10:17:47 +02:00
Fernando Jiménez Moreno
d2e1a3ab33
Adapt traversals for shadow dom
2019-04-26 10:17:46 +02:00
Fernando Jiménez Moreno
7c9e8aa4cc
First bits of shadow dom layout
2019-04-26 10:17:46 +02:00
Fernando Jiménez Moreno
441357b74e
Add is_connected flag to node and use it to replace most uses of is_in_doc
2019-04-26 10:17:45 +02:00
bors-servo
4e12deb7b6
Auto merge of #23115 - pylbrecht:measure.blocked.layout.queries, r=jdm
...
measure blocked layout queries
<!-- 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 #19797
<!-- Either: -->
- [ ] There are tests for these changes
<!-- 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/23115 )
<!-- Reviewable:end -->
2019-04-22 10:52:49 -04:00
Ian Moody
8d7fe68ac3
Remove :-servo-case-sensitive-type-attr()
...
No longer needed now that the case-sensitive flag for attributes selectors is
supported.
Update user-agent CSS sheet to use the standard flag.
Fixes #23227
2019-04-18 13:46:59 +01:00