From b6742b23f8006e0219b0fd4a10594b256250465c Mon Sep 17 00:00:00 2001 From: Boris Petrov Date: Mon, 12 Feb 2024 18:36:25 +0200 Subject: [PATCH] Allow using the modifier on `math` elements --- test-app/tests/integration/modifiers/style-test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test-app/tests/integration/modifiers/style-test.ts b/test-app/tests/integration/modifiers/style-test.ts index a1c6dfe5..8d364b3c 100644 --- a/test-app/tests/integration/modifiers/style-test.ts +++ b/test-app/tests/integration/modifiers/style-test.ts @@ -66,6 +66,12 @@ module('Integration | Modifiers | style', function (hooks) { assert.dom('svg').hasStyle({ display: 'none' }); }); + test('it supports usage on math elements', async function (assert) { + await render(hbs``); + + assert.dom('math').hasStyle({ display: 'none' }); + }); + { interface Context extends TestContext { // eslint-disable-next-line @typescript-eslint/ban-types