Simon Sapin
708d3737df
Upgrade to rustc 1.43.0-nightly (5d04ce67f 2020-02-13)
2020-02-14 12:27:14 +01:00
Emilio Cobos Álvarez
f03026b869
layout: Resolve word_spacing ahead of time.
...
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).
2020-02-12 02:43:23 +01:00
Emilio Cobos Álvarez
e227715aee
style: Miscellaneous Servo build fixes.
2020-02-12 02:43:23 +01:00
Martin Robinson
740211d191
Improve the name the NodeGeometryQuery
...
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.
2020-02-05 15:25:52 +01:00
Simon Sapin
850f52c327
Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15)
2020-01-16 08:46:41 +01:00
Simon Sapin
062c1872f0
Parse -moz-image-rect()
and -moz-element()
only in Gecko
2020-01-07 14:44:28 +01:00
Emilio Cobos Álvarez
ef16c5844f
Rustfmt recent changes.
2019-12-16 14:23:56 +01:00
Emilio Cobos Álvarez
7d30a7da75
Servo build fixes.
2019-12-16 14:23:56 +01:00
Patrick Walton
6e67349d8c
Cap the number of glyphs per WebRender text run to avoid overflowing WR's limit.
...
Closes #17230 .
2019-12-13 16:53:14 -08:00
Josh Matthews
6dad51f570
layout: Ensure truncated fragment is updated with results of collecting inner fragment's stacking contexts.
2019-12-09 09:57:48 +01:00
Josh Matthews
564c16d754
Use non-IPC webrender API over explicit IPC channels.
2019-11-27 20:47:53 -05:00
bors-servo
7da8d75a7e
Auto merge of #24426 - servo:wrup, r=jdm,nox
...
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 -->
2019-11-20 05:08:32 -05:00
Paul Rouget
0ea9f69ca8
layout: Ensure abs-pos elements establish block formatting contexts
2019-11-14 12:16:23 +01:00
Anthony Ramine
808c34498b
Update webrender and serde_bytes
2019-11-13 11:54:51 -05:00
Anthony Ramine
97d6351202
Don't allocate strings in Debug for DisplayItem
2019-11-12 12:18:17 -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
Josh Matthews
38e4ae0833
layout: Record sizes for iframes that have no pipeline.
2019-11-06 15:39:32 -05:00
Anthony Ramine
785a344e32
Update rand to 0.7 ( fixes #24448 )
2019-10-23 15:34:48 +02:00
Josh Matthews
1df8d57dc6
Support CORS attributes for image elements.
2019-10-04 15:08:40 -04: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
Shotaro Yamada
b228d2700e
Remove unused dependencies
2019-10-01 21:15:53 +09:00
Anthony Ramine
bceecddb64
Update html5ever to 0.24
2019-09-27 17:43:37 +02:00
Simon Sapin
d69607064b
Upgrade to rustc 1.39.0-nightly (66bf391c3 2019-09-23)
2019-09-25 18:04:35 +02:00
Emilio Cobos Álvarez
cd3b0c23fa
style: Fix Servo build, and rustfmt recent changes.
2019-09-12 23:04:56 +02:00
Anthony Ramine
4444c5a2ad
Import victor's layout system 🍷
2019-09-11 10:36:30 +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
bors-servo
e852d02f1c
Auto merge of #24034 - ferjm:video.fullscreen, r=emilio
...
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 -->
2019-09-06 05:27:02 -04:00
Fernando Jiménez Moreno
aa0c05574c
Make inline elements work in fullscreen mode
2019-09-05 17:45:38 +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
bors-servo
4094a26183
Auto merge of #23979 - Eijebong:deps-deps-deps, r=jdm
...
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 -->
2019-08-16 21:08:58 -04:00
Bastien Orivel
138ef57534
Update webrender, image, png and raqote
...
This will avoid duping png because of the raqote backend
2019-08-16 00:34:22 +02:00
Emilio Cobos Álvarez
4752110d53
Fix Servo build and unify display representation.
2019-08-15 17:11:08 +02:00
Simon Sapin
ddb4e369dd
Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}
...
Renaming the variable helped make sure I looked at every use.
2019-07-29 17:37:03 +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
bors-servo
4470035f75
Auto merge of #23822 - servo:rustup, r=jdm
...
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 -->
2019-07-23 11:58:54 -04:00
Fernando Jiménez Moreno
1621076af7
Revert change to render media controls breaking inline layout
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
Fernando Jiménez Moreno
a664449681
Media UI basic functionality
2019-07-22 17:40:14 +02:00
Fernando Jiménez Moreno
4f6b86f9f5
Render media controls
2019-07-22 17:40:14 +02:00
Simon Sapin
39c0a00f78
fmt
2019-07-22 16:05:35 +02:00
Bastien Orivel
28fa0f8009
Update rayon to dedupe crossbeam-epoch
...
As a bonus this also removes one version of crossbeam-utils
2019-07-12 21:01:33 +02:00
Josh Matthews
089823ae20
Remove sometimes-unused bounds field from base display item to prevent confusion.
2019-07-09 10:52:43 -04:00
Josh Matthews
f1b10393c2
rustfmt
2019-07-09 10:52:43 -04:00
Josh Matthews
644addd159
WebRender rectangles items are sized based on their clipping rectangles.
2019-07-09 10:51:57 -04: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
7ca570dd1d
Upgrade display list building for the WebRender update.
2019-07-09 10:50:28 -04:00
Patrick Walton
2f9c9cefdb
WebRender units are no longer reexported.
2019-07-09 10:50:27 -04:00