mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Use shortest serialization for computed text-emphasis-style too.
Differential Revision: https://phabricator.services.mozilla.com/D41513
This commit is contained in:
parent
0844439bb2
commit
566f1ea600
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ impl TextDecorationsInEffect {
|
||||||
pub enum TextEmphasisStyle {
|
pub enum TextEmphasisStyle {
|
||||||
/// [ <fill> || <shape> ]
|
/// [ <fill> || <shape> ]
|
||||||
Keyword {
|
Keyword {
|
||||||
|
#[css(skip_if = "TextEmphasisFillMode::is_filled")]
|
||||||
fill: TextEmphasisFillMode,
|
fill: TextEmphasisFillMode,
|
||||||
shape: TextEmphasisShapeKeyword,
|
shape: TextEmphasisShapeKeyword,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue