mirror of https://github.com/anoshenko/rui.git
Fixed writing-mode property css value generation
This commit is contained in:
parent
a9519016de
commit
62bfe6f25b
|
|
@ -303,7 +303,7 @@ func writeViewStyleCSS(style Properties, builder cssBuilder, session Session, ig
|
||||||
if data, ok := enumProperties[tag]; ok {
|
if data, ok := enumProperties[tag]; ok {
|
||||||
if tag != VerticalTextOrientation || (writingMode != VerticalLeftToRight && writingMode != VerticalRightToLeft) {
|
if tag != VerticalTextOrientation || (writingMode != VerticalLeftToRight && writingMode != VerticalRightToLeft) {
|
||||||
if value, ok := enumProperty(style, tag, session, 0); ok {
|
if value, ok := enumProperty(style, tag, session, 0); ok {
|
||||||
cssValue := data.values[value]
|
cssValue := data.cssValues[value]
|
||||||
if cssValue != "" {
|
if cssValue != "" {
|
||||||
builder.add(data.cssTag, cssValue)
|
builder.add(data.cssTag, cssValue)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue