final-hill / cathedral

Requirements Engineering
https://cathedral.final-hill.com/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Fix required field render bug #28

Closed mlhaufe closed 8 months ago

mlhaufe commented 8 months ago

For some reason the .required::after class is not being applied. Is this due to some bug with the shadow DOM or is it a bug with the CSSOM insertRule method?

mlhaufe commented 8 months ago

Well, that's irritating. Looks like ::after and ::before pseudos don't work under the shadowRoot (at least in Chromium). I can't find a bug report but there are a couple other people who stumbled upon this problem:

So an extra element will be needed here: <span> *</span>