mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Geckolib: Implement font-weight.
This commit is contained in:
parent
2c69278067
commit
9fdb791e93
2 changed files with 14 additions and 1 deletions
|
@ -173,6 +173,7 @@ ${helpers.single_keyword("font-variant", "normal small-caps")}
|
|||
pub mod computed_value {
|
||||
use std::fmt;
|
||||
#[derive(PartialEq, Eq, Copy, Clone, Hash, Deserialize, Serialize, HeapSizeOf, Debug)]
|
||||
#[repr(u16)]
|
||||
pub enum T {
|
||||
% for weight in range(100, 901, 100):
|
||||
Weight${weight} = ${weight},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue