mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement CanvasRenderingContext2D.font property
This commit is contained in:
parent
15fd256302
commit
c21fde3751
11 changed files with 68 additions and 6 deletions
|
@ -2601,7 +2601,7 @@ pub mod style_structs {
|
|||
|
||||
% for style_struct in data.active_style_structs():
|
||||
% if style_struct.name == "Font":
|
||||
#[derive(Clone, Debug, MallocSizeOf)]
|
||||
#[derive(Clone, Debug, MallocSizeOf, Serialize, Deserialize)]
|
||||
% else:
|
||||
#[derive(Clone, Debug, MallocSizeOf, PartialEq)]
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue