#lazyweb Does anyone know if declarative Shadow DOM been discussed at a spec level? If so what was consensus? cc @slightlylate
-
-
Replying to @BedeOverend
: was discussed frequently. We'd like to do it. Need other vendors to sign on. /cc
@domenic@tabatkins1 reply 0 retweets 2 likes -
Yup. I'm personally waiting for Shadow DOM v1 to stabilize in the wild before starting effort.
1 reply 0 retweets 2 likes -
Replying to @tabatkins @slightlylate and
Want to see usage patterns first to make sure we don't under/overdesign. Too easy of a trap.
1 reply 0 retweets 4 likes -
Very keen for this, heard a lot of concern re WC + server side rendering, can't see a proper soln w/o this
1 reply 0 retweets 0 likes -
Replying to @BedeOverend @tabatkins
: it's a one-liner to take a <template> and install it as a shadow root. Not fully declarative, tho.
1 reply 0 retweets 2 likes -
yeah, if your server can't generate one line of JS, you have other problems.
1 reply 0 retweets 1 like -
Replying to @domenic
: think the issue
@BedeOverend is raising is needing JS at all for what can be declaratively hooked up. Should get there1 reply 0 retweets 2 likes -
Exactly. Concerns I've heard are both perf and accessibility. Seems fully declarative resolves both those
1 reply 0 retweets 0 likes
: not sure declarative would be that much better in terms of perf. But a11y maybe. Perhaps. But probably not
-
-
This Tweet is unavailable.
-
: googlebot (at least) runs script
1 reply 0 retweets 1 like - 3 more replies
-
-
-
yeah a11y tools operate on (something derived from) the DOM tree, not on the source markup.
0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.