diff --git a/web/core/src/jsTest/kotlin/InlineStyleTests.kt b/web/core/src/jsTest/kotlin/InlineStyleTests.kt index e754b64624..0dab657570 100644 --- a/web/core/src/jsTest/kotlin/InlineStyleTests.kt +++ b/web/core/src/jsTest/kotlin/InlineStyleTests.kt @@ -3,13 +3,7 @@ package org.jetbrains.compose.web.core.tests import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue -import org.jetbrains.compose.web.css.Color -import org.jetbrains.compose.web.css.backgroundColor -import org.jetbrains.compose.web.css.border -import org.jetbrains.compose.web.css.color -import org.jetbrains.compose.web.css.opacity -import org.jetbrains.compose.web.css.padding -import org.jetbrains.compose.web.css.px +import org.jetbrains.compose.web.css.* import org.jetbrains.compose.web.dom.Span import org.jetbrains.compose.web.dom.Text import kotlin.test.Test @@ -173,4 +167,21 @@ class InlineStyleTests { actual = root.innerHTML ) } + + @Test + fun heightAuto() = runTest { + composition { + Span({ + style { + height(auto) + } + id("container") + }) + } + + assertEquals( + expected = "", + actual = root.innerHTML + ) + } } \ No newline at end of file