I don't believe 'float' accepts inline-{start,end} values. They're in
the current draft of CSS Logical Properties, but we haven't implemented
them yet AFAIK.
See
https://bugzilla.mozilla.org/show_bug.cgi?id=1122918.
> • absolute positioning: {left,right} can be replaced by
> offset-inline-{start,end}
> • -moz-{margin,padding,border}-{start,end} can be replaced by
> {margin,padding,border}-inline-{start,end}
Yes, these should work fine.
JK
>
> This could be applied to all elements that don’t have a `dir="auto"`
> attribute: fewer html[dir="{ltr,rtl}"] selectors, and fewer
> occurrences of `left` and `right` in stylesheets (thus, making it
> easier to check their BiDi-friendliness).
>
> The main drawback we see for now is that the CSS linter doesn’t
> support these properties yet, because the build system still uses
> Gecko 39. If we can’t upgrade it to Gecko 43, we could just activate
> the `layout.css.vertical-text.enabled` pref: that would work for
> {offset,margin,padding,border}-inline-{start,end}, but not for
> `float: inline-{start,end}` — in which case, we’d either keep
> `float: {left,right}` behind a `html[dir]` or add a few lines to
> csslint/xfail.list.
>
> Do you see other reasons for *not* using these CSS properties?
>
> Cheers,
> :kazé
>
>
>
>
> _______________________________________________
> dev-gaia mailing list
>
dev-...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-gaia
>