Skip to content

Commit b6742b2

Browse files
committed
Allow using the modifier on math elements
1 parent 9ce17f6 commit b6742b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test-app/tests/integration/modifiers/style-test.ts

+6
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ module('Integration | Modifiers | style', function (hooks) {
6666
assert.dom('svg').hasStyle({ display: 'none' });
6767
});
6868

69+
test('it supports usage on math elements', async function (assert) {
70+
await render(hbs`<math {{style display="none"}}></math>`);
71+
72+
assert.dom('math').hasStyle({ display: 'none' });
73+
});
74+
6975
{
7076
interface Context extends TestContext {
7177
// eslint-disable-next-line @typescript-eslint/ban-types

0 commit comments

Comments
 (0)