frontend-engineering-explained.kit.com/posts/fronte...
frontend-engineering-explained.kit.com/posts/fronte...
papyrus: welcome to the shadowDOM
sans: how was the crawl
papyrus: welcome to the shadowDOM
sans: how was the crawl
i found (on a production site!) that VoiceOver completely skips over nested display:contents elements inside shadowDOM.
bug report (kindly opened by @knowler.dev): bugs.webkit.org/show_bug.cgi...
i found (on a production site!) that VoiceOver completely skips over nested display:contents elements inside shadowDOM.
bug report (kindly opened by @knowler.dev): bugs.webkit.org/show_bug.cgi...
Like:
- exposing functions is easy
- devtools integration is 🔥
- mental model relatively simple
- @lit.dev is lit
No Like:
- ShadowDom
- having to rely on lifecycle methods rather than render functions
- High barrier to local reasoning/state
Like:
- exposing functions is easy
- devtools integration is 🔥
- mental model relatively simple
- @lit.dev is lit
No Like:
- ShadowDom
- having to rely on lifecycle methods rather than render functions
- High barrier to local reasoning/state
codepen.io/matuzo/pen/R...
issues.chromium.org/issues/40228...
codepen.io/matuzo/pen/R...
issues.chromium.org/issues/40228...
:not:defined { display: none }
to prevent FOUCs or any other weird reason.
Because DSD - Declarative ShadowDOM
creates *undefined* Custom Elements
The Custom Elements JavaScript *API* makes them :defined
:not:defined { display: none }
to prevent FOUCs or any other weird reason.
Because DSD - Declarative ShadowDOM
creates *undefined* Custom Elements
The Custom Elements JavaScript *API* makes them :defined
Highlights from the last week:
• Continued progress to implement ShadowDOM
• Continued Flexbox improvements
• Add ReferrerPolicy IDL attribute to iframes
• Upgraded Stylo to 2024-12-04
1/2
Highlights from the last week:
• Continued progress to implement ShadowDOM
• Continued Flexbox improvements
• Add ReferrerPolicy IDL attribute to iframes
• Upgraded Stylo to 2024-12-04
1/2
Would be great if the browser could create variables from IDs in shadowDOM (on the Custom Element) like it does with "global" IDs (thank you Microsoft in 1996) saving us from typing querySelector / getElementById
Would be great if the browser could create variables from IDs in shadowDOM (on the Custom Element) like it does with "global" IDs (thank you Microsoft in 1996) saving us from typing querySelector / getElementById
github.com/jsakamoto/To...
Excluding now will work better even if an element is inside a shadowDOM. This change improves hotkey behavior on some UI component libraries, such as Fluent UI Blazor. #Blazor
github.com/jsakamoto/To...
Excluding now will work better even if an element is inside a shadowDOM. This change improves hotkey behavior on some UI component libraries, such as Fluent UI Blazor. #Blazor
I teach there are UNDefined and Defined Custom Elements
I didn't include shadowDOM because it can be set on Native and Custom Elements
But not on Unknown Elements
DSD-Declarative ShadowDOM IS a UNDefined Custom Element
I call a Native Element + shadowDOM a Web Component too
I teach there are UNDefined and Defined Custom Elements
I didn't include shadowDOM because it can be set on Native and Custom Elements
But not on Unknown Elements
DSD-Declarative ShadowDOM IS a UNDefined Custom Element
I call a Native Element + shadowDOM a Web Component too
Unless they try to do things it specifically prevents you from doing.
Unless they try to do things it specifically prevents you from doing.
Fixing drag events 🥸
Does anybody know a great DnD lib for react.js or vanilla?
#buildinpublic #javascript #shadowdom
Fixing drag events 🥸
Does anybody know a great DnD lib for react.js or vanilla?
#buildinpublic #javascript #shadowdom