mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement CanvasRenderingContext2D.font property
This commit is contained in:
parent
15fd256302
commit
c21fde3751
11 changed files with 68 additions and 6 deletions
|
@ -496,6 +496,8 @@ impl ToComputedValue for FontStretch {
|
|||
ToCss,
|
||||
ToResolvedValue,
|
||||
ToShmem,
|
||||
Serialize,
|
||||
Deserialize,
|
||||
)]
|
||||
#[allow(missing_docs)]
|
||||
pub enum KeywordSize {
|
||||
|
@ -540,6 +542,8 @@ impl Default for KeywordSize {
|
|||
ToCss,
|
||||
ToResolvedValue,
|
||||
ToShmem,
|
||||
Serialize,
|
||||
Deserialize,
|
||||
)]
|
||||
/// Additional information for keyword-derived font sizes.
|
||||
pub struct KeywordInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue