Support text-align: start and end

This commit is contained in:
Matt Brubeck 2015-04-28 16:17:29 -07:00
parent 5b0c6c9d31
commit 81e8f18662
5 changed files with 59 additions and 4 deletions

View file

@ -1730,8 +1730,7 @@ pub mod longhands {
${new_style_struct("InheritedText", is_inherited=True)}
// TODO: initial value should be 'start' (CSS Text Level 3, direction-dependent.)
${single_keyword("text-align", "left right center justify")}
${single_keyword("text-align", "start end left right center justify")}
<%self:longhand name="letter-spacing">
use values::computed::{ToComputedValue, Context};