Oriol Brufau
50f56affe3
Lint layout_2020 with clippy ( #31169 )
...
cargo clippy --fix -p layout_2020 --allow-dirty --broken-code
2024-01-25 09:03:31 +00:00
Samson
aad2dccc9c
Strict import formatting (grouping and granularity) ( #30325 )
...
* strict imports formatting
* Reformat all imports
2023-09-11 19:16:54 +00:00
Martin Robinson
72b5fcd0b6
Combine DOM-related concepts in Layout 2020 into dom.rs
2023-05-13 11:52:59 +02:00
Bastien Orivel
8249be38c9
Implement cross origin resource policy check
...
I removed the window getter usage from those tests as servo does not
support that yet.
2020-05-08 19:15:24 +02:00
Martin Robinson
b585ce5b1f
Use a restyle for animation ticks
...
This change corrects synchronization issues with animations, by
reworking the animation processing model to do a quick restyle and
incremental layout when ticking animations.
While this change adds overhead to animation ticks, the idea is that
this will be the fallback when synchronous behavior is required to
fulfill specification requirements. In the optimistic case, many
animations could be updated and applied off-the-main-thread and then
resynchronized when style information is queried by script.
Fixes #13865 .
2020-05-05 15:13:35 +02:00
Julien Tregoat
2742fd2bea
Refactor ImageCache::find_image_or_metadata API.
2020-04-17 11:58:18 -04:00
Kunal Mohan
4a3bf52a7c
remove option for origin and mirror changes to layout_thread_2020
2020-02-18 00:57:33 +05:30
Simon Sapin
c8cbc57b76
Copy image-fetching code from Layout 2013
2020-01-13 21:59:45 +01:00
Simon Sapin
c895e3d236
Disable use of rayon with --layout-threads 1
instead of panicking
2019-12-10 18:41:24 +01:00
Simon Sapin
aa925a5984
Un-allow and fix warnings in components/layout_2020
2019-12-02 16:32:34 +01:00
Anthony Ramine
1446756774
Pass a LayoutContext to TextRun::layout in 2020
2019-11-25 10:54:46 +01:00
Anthony Ramine
4444c5a2ad
Import victor's layout system 🍷
2019-09-11 10:36:30 +02:00
Anthony Ramine
317d700f5d
Remove most of the things in layout 2020
...
We keep mostly the query system. There is probably more to delete but
that's a good start I think.
2019-07-31 17:09:17 +02:00
Anthony Ramine
4846d76e82
Make layout_2020 be layout_2013
2019-07-31 17:09:16 +02:00