Merge pull request #18 from anoshenko/bug-fixes/writing-mode-property-fix

This commit is contained in:
Alexei Anoshenko 2026-04-15 14:59:58 +03:00 committed by GitHub
commit 087a504c55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)
}