Skip to content

Commit 9178fbf

Browse files
committed
Remove applySVGInnerHTMLFix
1 parent 4abca82 commit 9178fbf

3 files changed

Lines changed: 0 additions & 128 deletions

File tree

packages/@glimmer/runtime/lib/compat/svg-inner-html-fix.ts

Lines changed: 0 additions & 118 deletions
This file was deleted.

packages/@glimmer/runtime/lib/dom/api.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ import type {
66
SimpleDocument,
77
SimpleElement,
88
} from '@glimmer/interfaces';
9-
import { NS_SVG } from '@glimmer/constants';
109
import { castToSimple } from '@glimmer/debug-util';
1110

12-
import { applySVGInnerHTMLFix } from '../compat/svg-inner-html-fix';
1311
import { applyTextNodeMergingFix } from '../compat/text-node-merging-fix';
1412
import { DOMOperations } from './operations';
1513

@@ -40,11 +38,6 @@ appliedTreeConstruction = applyTextNodeMergingFix(
4038
doc,
4139
appliedTreeConstruction
4240
) as typeof TreeConstruction;
43-
appliedTreeConstruction = applySVGInnerHTMLFix(
44-
doc,
45-
appliedTreeConstruction,
46-
NS_SVG
47-
) as typeof TreeConstruction;
4841

4942
export const DOMTreeConstruction = appliedTreeConstruction;
5043
export type DOMTreeConstruction = TreeConstruction;

packages/@glimmer/runtime/lib/dom/helper.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ import type {
55
SimpleElement,
66
SimpleNode,
77
} from '@glimmer/interfaces';
8-
import { NS_SVG } from '@glimmer/constants';
98
import { castToSimple } from '@glimmer/debug-util';
109

11-
import { applySVGInnerHTMLFix } from '../compat/svg-inner-html-fix';
1210
import { applyTextNodeMergingFix } from '../compat/text-node-merging-fix';
1311
import { BLACKLIST_TABLE, DOMOperations } from './operations';
1412

@@ -93,7 +91,6 @@ export class DOMChangesImpl extends DOMOperations implements GlimmerTreeChanges
9391
let helper = DOMChangesImpl;
9492

9593
helper = applyTextNodeMergingFix(doc, helper) as typeof DOMChangesImpl;
96-
helper = applySVGInnerHTMLFix(doc, helper, NS_SVG) as typeof DOMChangesImpl;
9794

9895
export const DOMChanges = helper;
9996
export { DOMTreeConstruction } from './api';

0 commit comments

Comments
 (0)