Comments (9)
Interesting, this should work as we do parse this as math
namespace, but then fail to validate it correctly.
from angular.
Yeah the compiler output clearly has the MathML support in it.
The DomRenderer
relies on createElementNS()
but it looks like the namespace is wrong.
It should be http://www.w3.org/1998/Math/MathML
per this
from angular.
With #55622 we'll at least get the support for MathML but it will still require NO_ERRORS_SCHEMA
.
from angular.
@lukewarlow Yes, we're looking at landing this "fix" into 17.3 and the upcomming 18.0 !
from angular.
Intersting, this should work as we do parse this as math namespace, but then fail to validate it correctly.
Yeah, there's definitely some level of support for it, the namespace appears correct but then it seems to get the prototype wrong (not even sure how that's possible?). As a guess it's not using createElementNS(), it's doing something else.
from angular.
With #55622 we'll at least get the support for MathML but it will still require
NO_ERRORS_SCHEMA
.
Yeah that error is because DomSchemaChecker is looking up the definition using the prefixed tagname :math:math
which isn't present, as it only contains non-prefixed tagnames.
We should ideally have a branded type for those prefixed tag names, that will likely expose some inconsistencies.
from angular.
@JeanMeche great catch! I was just helping someone else with a similar issue where createElementNS was returning an Element and it was an invalid namespace which brought me back here, you're one step ahead though
from angular.
Would be good to reopen this issue until #55622 is merged (or go ahead and merge that as it's approved)
from angular.
Closing this now that the second PR has been merged.
from angular.
Related Issues (20)
- Angular SSG: Incompatibility between withXsrfConfiguration( ) (HttpClient) & Relative Paths in SSG HOT 2
- Angulars Service Worker - "beforePushNotification" HOT 1
- input signal effects are not run when attaching a directive to an IonButton HOT 3
- Mejorar uso de Pipes HOT 1
- Computed signals and Effects should produce runtime warning if dependencies reaches zero HOT 1
- Dead area for scrolling: Column for right hand menu HOT 1
- More user testing of angular.io HOT 4
- URL containing space fails to be fetched during prerender phase HOT 1
- Help me - could not resolve module angular/node_modules/mermaid/dist/mermaid.js HOT 4
- angular tutorial image file missing HOT 1
- dispatchEvent won't call FormGroup.valueChanges in test HOT 4
- Add signals reflecting state of the AbstractControl HOT 3
- Add WritableComputed to allow computed with write operations HOT 5
- Error Message for missing [ngModelOptions]="{standalone: true}" entry dont show line in code where it is missing
- signal(Observable<T>) to signal<T>() operator HOT 5
- I smell a rat, stop ruining angular HOT 4
- Hydration doesn't work for ng-templates that are defined inside of another component
- The system cannot find the file specified. HOT 1
- easier access to untracked function for more readability HOT 1
- Angular.dev: Missing Overview Page for Components HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular.