diff --git a/.changeset/slimy-clouds-roll.md b/.changeset/slimy-clouds-roll.md index 2972209269..f384c395db 100644 --- a/.changeset/slimy-clouds-roll.md +++ b/.changeset/slimy-clouds-roll.md @@ -1,7 +1,6 @@ --- 'lit-html': patch 'lit': patch -'lit-element': patch --- Allow numbers to be used as values in styleMap() diff --git a/packages/lit-html/src/test/directives/style-map_test.ts b/packages/lit-html/src/test/directives/style-map_test.ts index e65c318a93..fbe5d400bc 100644 --- a/packages/lit-html/src/test/directives/style-map_test.ts +++ b/packages/lit-html/src/test/directives/style-map_test.ts @@ -89,6 +89,7 @@ suite('styleMap', () => { assert.equal(el.style.marginTop, '2px'); assert.equal(el.style.paddingBottom, '4px'); assert.equal(el.style.opacity, '0.5'); + assert.equal(el.style.zIndex, '10'); renderStyleMap({ marginTop: '4px', paddingBottom: '8px', diff --git a/packages/tests/src/web-test-runner.config.ts b/packages/tests/src/web-test-runner.config.ts index dcbf0b8613..7873df15f4 100644 --- a/packages/tests/src/web-test-runner.config.ts +++ b/packages/tests/src/web-test-runner.config.ts @@ -24,8 +24,8 @@ const browserPresets = { // Default set of Playwright browsers to test when running locally. local: [ 'chromium', // keep browsers on separate lines - // 'firefox', // to make it easier to comment out - // 'webkit', // individual browsers + 'firefox', // to make it easier to comment out + 'webkit', // individual browsers ], // Browsers to test during automated continuous integration.