Fixed writing-mode property css value generation

This commit is contained in:
Mikalai Turankou 2026-04-15 13:12:58 +03:00
parent a9519016de
commit 62bfe6f25b
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ func writeViewStyleCSS(style Properties, builder cssBuilder, session Session, ig
if data, ok := enumProperties[tag]; ok {
if tag != VerticalTextOrientation || (writingMode != VerticalLeftToRight && writingMode != VerticalRightToLeft) {
if value, ok := enumProperty(style, tag, session, 0); ok {
cssValue := data.values[value]
cssValue := data.cssValues[value]
if cssValue != "" {
builder.add(data.cssTag, cssValue)
}