diff --git a/.changeset/nice-pillows-cough.md b/.changeset/nice-pillows-cough.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/nice-pillows-cough.md @@ -0,0 +1,2 @@ +--- +--- 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 eceef044da..2ef950a15d 100644 --- a/packages/lit-html/src/test/directives/style-map_test.ts +++ b/packages/lit-html/src/test/directives/style-map_test.ts @@ -133,7 +133,9 @@ suite('styleMap', () => { assert.equal(el.style.getPropertyValue('--size'), ''); }); - test('adds priority in updated properties', () => { + // IE does not seeem to properly handle priority argument to + // CSSStyleDeclaration.setProperty() + (isIE ? test.skip : test)('adds priority in updated properties', () => { renderStyleMap({color: 'blue !important'}); const el = container.firstElementChild as HTMLElement; assert.equal(el.style.getPropertyValue('color'), 'blue');