svg:not(:root) specificity (normalize.sass needs to be updated) #16132
Labels
area/style
bug/0-needs-info
Need more info to reproduce
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
When combining Quasar with BabylonJS, normalize.sass styles are breaking the Node Material Editor in BabylonJS.
What did you expect to happen?
Quasar's css corrections should be neutral for most other libraries.
Reproduction URL
.
How to reproduce?
Actually, easier said than done… It's pretty straightforward but takes some time. Given that the fix is already in normalize.css, please let me know if I should actually provide something for reproducing this.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Style & Identity (quasar)
Platforms/Browsers
Firefox, Chrome
Quasar info output
No response
Relevant log output
No response
Additional context
Please see this ticket:
What happens is that BabylonJS is using an
<svg>
element that is arbitrarily sized, and then it expects the rendered elements to overflow.However,
quasar
sets this style:Which seems to change the default expectation. Therefore, content gets clipped.
This issue has been raised in normalize.css:
And it was resolved by this commit:
However, that change was not ported to Quasar yet. I think it should be.
The text was updated successfully, but these errors were encountered: