mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
stylo: Use gecko's font metrics
This commit is contained in:
parent
1154600dd4
commit
25667d0321
10 changed files with 72 additions and 58 deletions
|
@ -58,6 +58,9 @@ pub struct Context<'a> {
|
|||
/// A font metrics provider, used to access font metrics to implement
|
||||
/// font-relative units.
|
||||
pub font_metrics_provider: &'a FontMetricsProvider,
|
||||
|
||||
/// Whether or not we are computing the media list in a media query
|
||||
pub in_media_query: bool,
|
||||
}
|
||||
|
||||
impl<'a> Context<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue