jahielkomu
1976fd0405
Removed trailing white space in componets/script/layout_dom_root.rs
2024-03-31 20:24:22 +03:00
jahielkomu
5c71b925fb
Updated fixes to clippy warnings in components/script
2024-03-31 20:14:54 +03:00
jahielkomu
aabc422ccb
Merge branch 'main' of github.com:jahielkomu/servo into contribution/7
2024-03-31 20:10:24 +03:00
komuhangi
67d6ac0d14
Update node.rs (Ignore changes)
2024-03-31 20:05:55 +03:00
komuhangi
f789c02693
Update shadow_root.rs (Ignore change)
2024-03-31 20:03:53 +03:00
jahielkomu
4c49d6ff1d
Merge branch 'main' of github.com:jahielkomu/servo into contribution/7
2024-03-31 19:53:16 +03:00
jahielkomu
320758f1e9
Revert "Updated fixes to some clippy warnings in components/script"
...
This reverts commit 2a37c3dec8
.
2024-03-31 19:44:00 +03:00
jahielkomu
1a6f6cb481
Revert "Revert "Updated fixes to some clippy warnings in components/script""
...
This reverts commit 98c411354a
.
2024-03-31 19:43:49 +03:00
jahielkomu
2d7ab68217
Revert "Updated fixes to clippy warnings in components/script"
...
This reverts commit 5780dc3a0a
.
2024-03-31 19:43:22 +03:00
jahielkomu
5780dc3a0a
Updated fixes to clippy warnings in components/script
2024-03-31 19:14:05 +03:00
jahielkomu
98c411354a
Revert "Updated fixes to some clippy warnings in components/script"
...
This reverts commit 2a37c3dec8
.
2024-03-31 17:41:53 +03:00
jahielkomu
2a37c3dec8
Updated fixes to some clippy warnings in components/script
2024-03-31 17:19:04 +03:00
komuhangi
12ec560dc1
Update shadow_root.rs
...
Removed the ``` # Safety ``` section from components/script/layout_dom
2024-03-31 17:09:08 +03:00
komuhangi
076e1dd7e5
Update node.rs
...
Removed the ```# Safety ``` section.
2024-03-31 17:07:40 +03:00
komuhangi
5dc4980807
Merge branch 'servo:main' into main
2024-03-31 16:52:09 +03:00
Servo WPT Sync
8c8d68e415
Update web-platform-tests to revision b'16f18d8135a80e89f2e910ca7548999fa2f7937e' ( #31951 )
2024-03-31 05:15:08 +00:00
jahielkomu
320327c177
Merge branch 'main' of github.com:jahielkomu/servo into contribution/7
2024-03-31 00:14:58 +03:00
jahielkomu
e74a03724f
Fixd some clippy warnings in components/script
2024-03-30 23:57:01 +03:00
Oriol Brufau
fff9ef87e6
Update Stylo to 2023-10-16 ( #31932 )
...
* Update Stylo to 2023-10-16
* Fixup for https://phabricator.services.mozilla.com/D185154
* Fixup for https://phabricator.services.mozilla.com/D188216
* Fixup for https://phabricator.services.mozilla.com/D185677
* Fixup for https://phabricator.services.mozilla.com/D188566
* Fixup for https://phabricator.services.mozilla.com/D188727
* Fixup for https://phabricator.services.mozilla.com/D189475
* Fixup for https://phabricator.services.mozilla.com/D189521
* Fixup for https://phabricator.services.mozilla.com/D188812
* Fixup for https://phabricator.services.mozilla.com/D189484
* Update test expectations
2024-03-30 13:30:13 +00:00
eri
a7ad92d9a3
clippy: Fix from_over_into
warnings ( #31946 )
2024-03-30 11:30:14 +00:00
eri
e3d6b66d5f
clippy: Fix match_like_matches
warnings ( #31947 )
...
* clippy: Fix `match_like_matches` warnings
* Fix link to custom element state in specification.
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-03-30 10:06:26 +00:00
Azhar Ismagulova
92d9081366
fix: remove unused imports in components/script ( #31943 )
2024-03-29 18:15:13 +00:00
Martin Robinson
b7d089930e
layout: Remove LayoutRPC and query layout via the Layout
trait ( #31937 )
...
Instead of the tricky `LayoutRPC` interface, query layout using the
`Layout` trait. This means that now queries will requires calling layout
and then running the query. During layout an enum is used to indicate
what kind of layout is necessary.
This change also removes the mutex-locked `rw_data` from both layout
threads. It's no longer necessary since layout runs synchronously. The
one downside here is that for resolved style queries, we now have to
create two StyleContexts. One for layout and one for the query itself.
The creation of this context should not be very expensive though.
`LayoutRPC` used to be necessary because layout used to run
asynchronously from script, but that no longer happens. With this
change, it becomes possible to safely pass nodes to layout from script
-- a cleanup that can happen in a followup change.
2024-03-29 16:25:47 +00:00
Oriol Brufau
07391e346b
Obey white-space: pre-wrap
when intrinsically sizing an IFC ( #31930 )
...
It was being treated like `pre`, but it allows wrapping lines.
2024-03-29 15:02:47 +00:00
Ekta Siwach
b0196ad373
clippy: Fix a variety of warnings in components/script/dom ( #31894 )
2024-03-29 14:43:10 +00:00
Oluwatobi Sofela
4a68243f65
clippy: Fix needless_lifetimes warnings ( #31933 )
2024-03-29 11:59:07 +00:00
Oluwatobi Sofela
a8976ff00a
clippy: Fix option_as_ref_deref warnings ( #31936 )
2024-03-29 11:52:45 +00:00
Oluwatobi Sofela
c3b6d40f90
clippy: Fix len_zero warnings ( #31935 )
2024-03-29 10:05:20 +00:00
Munish Mummadi
49c6b2668f
wpt: Enable tests in /css/css-inline/baseline-source/
( #31913 )
...
* updated-baseline-source
* updated-for-tests-with-fmt
2024-03-29 09:36:10 +00:00
Azhar Ismagulova
c4739675d8
clippy: Fix needless_borrow warnings in components/script ( #31928 )
2024-03-29 08:58:22 +00:00
dependabot[bot]
2d5a1cd02e
build(deps): bump tokio from 1.36.0 to 1.37.0 ( #31926 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 00:27:05 +00:00
Azhar Ismagulova
4d5bcdc057
fix: remove unused imports ( #31929 )
2024-03-28 23:20:20 +00:00
Samson
72628303fb
Update servo's testharnessreport ( #31920 )
...
* Update testharnessreport-servo.js with new props
* Update manifest
2024-03-28 17:33:04 +00:00
dependabot[bot]
32e82d0382
build(deps): bump memchr from 2.7.1 to 2.7.2 ( #31925 )
...
Bumps [memchr](https://github.com/BurntSushi/memchr ) from 2.7.1 to 2.7.2.
- [Commits](https://github.com/BurntSushi/memchr/compare/2.7.1...2.7.2 )
---
updated-dependencies:
- dependency-name: memchr
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 17:16:32 +00:00
Ekta Siwach
7ce78f5a74
clippy: Fix some warnings in script/dom
( #31915 )
...
* fixed some clippy warnings
* resolved conflict
* updated texttracklist.rs
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-03-28 16:57:25 +00:00
Azhar Ismagulova
9303c90159
clippy: refactor struct literals to use shorthands ( #31924 )
2024-03-28 16:39:50 +00:00
Azhar Ismagulova
0728378424
clippy: remove unneeded return statements ( #31923 )
2024-03-28 16:17:47 +00:00
Oluwatobi Sofela
7349ce5b6a
clippy: Fix manual_map warnings ( #31922 )
2024-03-28 15:58:36 +00:00
Ekta Siwach
5d518ca8dc
layout: Use Au
in ResolvedMargins
and CollapsedMargin
( #31848 )
...
* change ResolvedMargins to use Au instead of length
* made suggested changes
removed whitespace changes
made suggested changes
* Update components/layout_2020/flexbox/layout.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* Update components/layout_2020/flow/mod.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* fixed errors
fixed errors
fixed formatting
fixed errors
* modified changes
made suggested changes
* Update components/layout_2020/fragment_tree/fragment.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
updated components/layout_2020/fragment_tree/fragment.rs
* Update components/layout_2020/flow/mod.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* Update components/layout_2020/flow/mod.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* updated changes
updated changes
* unified all the suggested changes here
* fixed formatting
* reverted unnecessary changes
* fixed unnecessary warnings
---------
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-03-28 14:20:14 +00:00
Oluwatobi Sofela
66ad795014
clippy: Fix mem_replace_with_default warnings ( #31921 )
2024-03-28 13:10:37 +00:00
Rosemary Ajayi
7100465d1a
clippy: Fix various clippy warnings in components/scripts/dom/bindings
( #31901 )
...
* single-character string constant used as pattern
* singuse of with literal radix of 16
2024-03-28 11:49:36 +00:00
Rosemary Ajayi
18054d0737
clippy: Fix another set of clippy problems in components/script/dom
( #31909 )
...
* a reference to a reference
* length comparison to zero
* length comparison to zero
* length comparison to zero
2024-03-28 11:33:29 +00:00
Rosemary Ajayi
af358f51db
clippy: Fix another batch of clippy warnings in components/scripts
( #31912 )
...
* boolean can be simplified
* boolean can be simplified
* boolean can be simplified
2024-03-28 11:28:33 +00:00
Rosemary Ajayi
3ddb47e902
clippy: Fix more clippy warnings in components/scripts/dom
( #31914 )
...
* refrence to a reference
* refrence to a reference
2024-03-28 11:26:39 +00:00
Rosemary Ajayi
5aae820f6d
clippy: Fix a few clippy problems in components/scripts/dom
( #31905 )
...
* option_as_ref_deref
* fix
2024-03-28 11:24:39 +00:00
Ekta Siwach
1bc63801e7
fix redundant closures in component/script/dom ( #31917 )
...
* fixed unnecessary conversions
* resolved conflicts
* resolved conflicts
* fix redundant closures in component/script/dom
* resolved conflicts
* fixed formatting
2024-03-28 09:06:02 +00:00
Azhar Ismagulova
f183170786
clippy: Fix all errors in components/script
( #31911 )
...
* clippy: Fix errors in components/script/dom
* clippy: fixed remaining errors in components/script
2024-03-28 09:03:18 +00:00
Rosemary Ajayi
eccb60e548
deref on an immutable reference ( #31899 )
2024-03-28 08:57:56 +00:00
Rosemary Ajayi
072b892706
clippy:fix various clippy problems in components/scripts ( #31907 )
...
* manual implementation of an assign operation
* manual implementation of an assign operation
* single-character string
* manual cjheck for common ascii range
2024-03-27 22:14:41 +00:00
eri
1c8c287f01
WebIDL: Replace NonNull<JSObject>
in xmlhttprequest
( #31880 )
...
* WebIDL: Replace `NonNull<JSObject>` in `xmlhttprequest.rs`
* doc: Update functions comments to docstring
* fix: Actually allocate `response_arraybuffer`
* fix: Change step descriptions
* fix: change step numbers
2024-03-27 20:28:51 +00:00