Skip to content

Commit 3c9bfb2

Browse files
Lodincalebdwilliams
authored andcommitted
refactor: use alternative implementation approach to fix safari issues
1 parent 4e03571 commit 3c9bfb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/polyfill.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,8 @@ describe('Constructible Style Sheets polyfill', () => {
745745
});
746746

747747
it('handles rule on addRule', () => {
748+
css.addRule('.foo::before', 'content: "bar"', 0);
749+
748750
css.addRule('.foo', 'background: none !important', 0);
749751
css.addRule('.foo', 'background: blue', 1);
750752
checkContent();

0 commit comments

Comments
 (0)