mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Query layout to resolve canvas font property value
This commit is contained in:
parent
f161ab8e57
commit
7883718c12
11 changed files with 161 additions and 9 deletions
|
@ -117,6 +117,7 @@ pub enum QueryMsg {
|
|||
ResolvedStyleQuery(TrustedNodeAddress, Option<PseudoElement>, PropertyId),
|
||||
StyleQuery,
|
||||
ElementInnerTextQuery(TrustedNodeAddress),
|
||||
ParseFontQuery(TrustedNodeAddress, PropertyId, String),
|
||||
InnerWindowDimensionsQuery(BrowsingContextId),
|
||||
}
|
||||
|
||||
|
@ -145,6 +146,7 @@ impl ReflowGoal {
|
|||
QueryMsg::NodeScrollGeometryQuery(_) |
|
||||
QueryMsg::NodeScrollIdQuery(_) |
|
||||
QueryMsg::ResolvedStyleQuery(..) |
|
||||
QueryMsg::ParseFontQuery(..) |
|
||||
QueryMsg::OffsetParentQuery(_) |
|
||||
QueryMsg::StyleQuery => false,
|
||||
},
|
||||
|
@ -166,6 +168,7 @@ impl ReflowGoal {
|
|||
QueryMsg::NodeScrollGeometryQuery(_) |
|
||||
QueryMsg::NodeScrollIdQuery(_) |
|
||||
QueryMsg::ResolvedStyleQuery(..) |
|
||||
QueryMsg::ParseFontQuery(..) |
|
||||
QueryMsg::OffsetParentQuery(_) |
|
||||
QueryMsg::InnerWindowDimensionsQuery(_) |
|
||||
QueryMsg::StyleQuery => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue