Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
@property not recognized in shadow DOM - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
6 replies
SelfMadeSystem
@property not recognized in shadow DOM
Now that
@property recently got shipped with firefox 128
, I thought it would be a good idea to try it out
.
It works just fine when using regular HTML and CSS
But if I use it in a shadow DOM
, it suddenly gets completely ignored
.
Any idea why or how I might convince it to work
?
Here
's a codepen illustrating the issue
https://codepen.io/true-cc/pen/eYwYJaM
I
've created a stackoverflow question too
https://stackoverflow.com/questions/78717295/property-not-recognized-in-shadow-dom
CodePen
Sms_Gamer
@property in Shadow DOM
.
.
.
Stack Overflow
@property not recognized in shadow DOM
Now that
@property recently got shipped with firefox 128
, I thought it would be a good idea to try it out
.
It works just fine when using regular HTML and CSS
@property
-
-a1
{
syntax
:
'
<ang
.
.
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Modify page contents via shadow dom?
KP-C
Kevin Powell - Community / front-end
3y ago
use cases for a closed shadow dom
KP-C
Kevin Powell - Community / front-end
15mo ago
Trying to inject styles in shadow-dom but element.shadowRoot is always null
KP-C
Kevin Powell - Community / front-end
2y ago
Scroll Shadow in CSS
KP-C
Kevin Powell - Community / front-end
2y ago