mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
Upgrade Stylo to 2025-05-01 (#36835)
This continues #35990 Changelog: - Upstream:4558df359b...ca369cbc83
- Servo fixups:2bc1e5183b...7edd19e2f0
Stylo tracking issue: https://github.com/servo/stylo/issues/178 --------- Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
1f6050f931
commit
2fa96cf961
9 changed files with 64 additions and 41 deletions
|
@ -25,6 +25,7 @@ use style::stylesheets::layer_rule::LayerOrder;
|
|||
use style::stylist::Stylist;
|
||||
use style::values::computed::font::GenericFontFamily;
|
||||
use style::values::computed::{Context, Length};
|
||||
use style::values::specified::font::QueryFontMetricsFlags;
|
||||
use test::{self, Bencher};
|
||||
use url::Url;
|
||||
|
||||
|
@ -37,8 +38,7 @@ impl FontMetricsProvider for DummyMetricsProvider {
|
|||
_vertical: bool,
|
||||
_font: &Font,
|
||||
_base_size: Length,
|
||||
_in_media_query: bool,
|
||||
_retrieve_math_scales: bool,
|
||||
_flags: QueryFontMetricsFlags,
|
||||
) -> FontMetrics {
|
||||
Default::default()
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ use style::stylist::{
|
|||
use style::thread_state::{self, ThreadState};
|
||||
use style::values::computed::Length;
|
||||
use style::values::computed::font::GenericFontFamily;
|
||||
use style::values::specified::font::QueryFontMetricsFlags;
|
||||
use stylo_atoms::Atom;
|
||||
use url::Url;
|
||||
|
||||
|
@ -38,8 +39,7 @@ impl FontMetricsProvider for DummyMetricsProvider {
|
|||
_vertical: bool,
|
||||
_font: &Font,
|
||||
_base_size: Length,
|
||||
_in_media_query: bool,
|
||||
_retrieve_math_scales: bool,
|
||||
_flags: QueryFontMetricsFlags,
|
||||
) -> FontMetrics {
|
||||
Default::default()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue