mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Merge pull request #3459 from glennw/small-caps
Add support for small-caps font-variant.
This commit is contained in:
commit
98222cf24c
7 changed files with 37 additions and 14 deletions
|
@ -802,7 +802,7 @@ pub mod longhands {
|
|||
|
||||
|
||||
${single_keyword("font-style", "normal italic oblique")}
|
||||
${single_keyword("font-variant", "normal")} // Add small-caps when supported
|
||||
${single_keyword("font-variant", "normal small-caps")}
|
||||
|
||||
<%self:single_component_value name="font-weight">
|
||||
#[deriving(Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue