mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement text-align
(except justify
)
This commit is contained in:
parent
6d91d77fba
commit
9f4b1a0f14
5 changed files with 84 additions and 13 deletions
|
@ -544,6 +544,7 @@ pub enum TextAlignKeyword {
|
|||
Left,
|
||||
Right,
|
||||
Center,
|
||||
#[cfg(any(feature = "gecko", feature = "servo-layout-2013"))]
|
||||
Justify,
|
||||
#[cfg(feature = "gecko")]
|
||||
MozCenter,
|
||||
|
@ -551,11 +552,11 @@ pub enum TextAlignKeyword {
|
|||
MozLeft,
|
||||
#[cfg(feature = "gecko")]
|
||||
MozRight,
|
||||
#[cfg(feature = "servo")]
|
||||
#[cfg(feature = "servo-layout-2013")]
|
||||
ServoCenter,
|
||||
#[cfg(feature = "servo")]
|
||||
#[cfg(feature = "servo-layout-2013")]
|
||||
ServoLeft,
|
||||
#[cfg(feature = "servo")]
|
||||
#[cfg(feature = "servo-layout-2013")]
|
||||
ServoRight,
|
||||
#[css(skip)]
|
||||
#[cfg(feature = "gecko")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue