Prior to this change, element namespace was not set for host elements of dynamically created components that resulted in incorrect rendering in a browser. This commit adds the logic to pick and set correct namespace for host element when component is created dynamically. PR Close #35136
10 lines
329 B
TypeScript
10 lines
329 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
export const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
export const MATH_ML_NAMESPACE = 'http://www.w3.org/1998/MathML/'; |