Contact emails
fer...@chromium.org, taba...@chromium.org
Explainer
::part and ::theme explainer. Note that this I2S is only for the ::part pseudo-element; ::theme requires more web developer feedback and implementation work.
Design doc/Spec
https://drafts.csswg.org/css-shadow-parts/
TAG review request: https://github.com/w3ctag/design-reviews/issues/230
Summary
Introduce part= and exportparts= attributes and ::part(ident) CSS pseudo element to allow custom elements to expose specific sub-elements for styling by the containing light-tree.
Link to “Intent to Implement” blink-dev discussion
There was no discussion on the previous Intent to Implement thread.
Motivation
Previous methods like /deep/ and >>> were overpowered, exposed implementation details of custom elements and had performance problems. This proposal gives custom elements a clear API and avoids leaking implementation details.
Risks
Interoperability and Compatibility
As this is a new feature which Chromium is leading with, we have solicited community feedback and submitted a complete WPT test suite. The spec had a lot of input from Apple, some input from Mozilla and Edge and agreement at CSS-WG
Edge: "I furthermore don't see any reason why Microsoft wouldn't support this spec moving forward as a prototype implementation in Blink. " in this issue
Firefox: "worth prototyping" in this issue
Safari: Supportive of approach in this issue
Web developers: Polymer team and Salesforce are supportive
Ergonomics
Significant time was spent on the syntax of part forwarding with the final syntax mimicking that of object destructuring assignment in JS. There is no API for programmatic manipulation of the exported parts map beyond string assignment of a new pending more investigation.
Activation
This feature is likely to require transpiler support for developers targeting legacy browsers. We're actively looking for feedback from Web Component authors. As the needs this feature is designed to address are a top request from Polymer and other framework users, we anticipate working with Web DevRel to reach those communities for feedback.
Debuggability
Search box in DevTools Elements tab supports this and be able to show where in the shadow tree a selector has matched.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Is this feature fully tested by web-platform-tests?
Yes.
Link to entry on the feature dashboard
https://www.chromestatus.com/feature/5763933658939392
Requesting approval to ship?
Yes
What about many issues marked in the editor's draft?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8f62f10e-2375-4084-928a-2d6700a6af1b%40chromium.org.
Debuggability
Search box in DevTools Elements tab supports this and be able to show where in the shadow tree a selector has matched.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Is this feature fully tested by web-platform-tests?
Yes.
Link to entry on the feature dashboard
https://www.chromestatus.com/feature/5763933658939392
Requesting approval to ship?
Yes
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEhrzUfyirAniN2UFeGRPBjgMb6wTG%2BN3Ycr_Dcr-YAW%3DnnnAw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEgX71RV%2Bw0Y_6g_shPnL6cT4GR3bnwY1z6rF6L88ryP4A%40mail.gmail.com.
Contact emails
fer...@chromium.org, taba...@chromium.org
Explainer
::part and ::theme explainer. Note that this I2S is only for the ::part pseudo-element; ::theme requires more web developer feedback and implementation work.
Design doc/Spec
https://drafts.csswg.org/css-shadow-parts/
TAG review request: https://github.com/w3ctag/design-reviews/issues/230
Summary
Introduce part= and exportparts= attributes and ::part(ident) CSS pseudo element to allow custom elements to expose specific sub-elements for styling by the containing light-tree.
Link to “Intent to Implement” blink-dev discussion
There was no discussion on the previous Intent to Implement thread.
Motivation
Previous methods like /deep/ and >>> were overpowered, exposed implementation details of custom elements and had performance problems. This proposal gives custom elements a clear API and avoids leaking implementation details.
Risks
Interoperability and Compatibility
As this is a new feature which Chromium is leading with, we have solicited community feedback and submitted a complete WPT test suite. The spec had a lot of input from Apple, some input from Mozilla and Edge and agreement at CSS-WG
Edge: "I furthermore don't see any reason why Microsoft wouldn't support this spec moving forward as a prototype implementation in Blink. " in this issue
Firefox: "worth prototyping" in this issue
Safari: Supportive of approach in this issue
Web developers: Polymer team and Salesforce are supportive
On Monday, December 10, 2018 at 1:42:02 AM UTC-8, Fergal Daly wrote:Contact emails
fer...@chromium.org, taba...@chromium.org
Explainer
::part and ::theme explainer. Note that this I2S is only for the ::part pseudo-element; ::theme requires more web developer feedback and implementation work.
Design doc/Spec
https://drafts.csswg.org/css-shadow-parts/
TAG review request: https://github.com/w3ctag/design-reviews/issues/230
Summary
Introduce part= and exportparts= attributes and ::part(ident) CSS pseudo element to allow custom elements to expose specific sub-elements for styling by the containing light-tree.
Link to “Intent to Implement” blink-dev discussion
There was no discussion on the previous Intent to Implement thread.
Motivation
Previous methods like /deep/ and >>> were overpowered, exposed implementation details of custom elements and had performance problems. This proposal gives custom elements a clear API and avoids leaking implementation details.
Risks
Interoperability and Compatibility
As this is a new feature which Chromium is leading with, we have solicited community feedback and submitted a complete WPT test suite. The spec had a lot of input from Apple, some input from Mozilla and Edge and agreement at CSS-WG
Edge: "I furthermore don't see any reason why Microsoft wouldn't support this spec moving forward as a prototype implementation in Blink. " in this issue
Firefox: "worth prototyping" in this issue
Safari: Supportive of approach in this issue
Web developers: Polymer team and Salesforce are supportive
The Chromium's WebUI team is also interested in this feature, so that we can start moving away from CSS mixins (currently working via Polymer's polyfil). Do you think this feature is ready for us to play with? If so, what flags do we need to use, and when can we expect this to be enabled by default?
Ergonomics
Significant time was spent on the syntax of part forwarding with the final syntax mimicking that of object destructuring assignment in JS. There is no API for programmatic manipulation of the exported parts map beyond string assignment of a new pending more investigation.
Activation
This feature is likely to require transpiler support for developers targeting legacy browsers. We're actively looking for feedback from Web Component authors. As the needs this feature is designed to address are a top request from Polymer and other framework users, we anticipate working with Web DevRel to reach those communities for feedback.
Debuggability
Search box in DevTools Elements tab supports this and be able to show where in the shadow tree a selector has matched.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Is this feature fully tested by web-platform-tests?
Yes.
Link to entry on the feature dashboard
https://www.chromestatus.com/feature/5763933658939392
Requesting approval to ship?
Yes
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8bbebf1d-e605-4f26-aa34-1f9907d80656%40chromium.org.
At Salesforce we just recently launched Lightning Web Components to all our +5M developers, and certainly we are super excited about parts and themes since it will enable the component customization we been looking for years in a multi-author multi-version ecosystem.We will ship it to our customers as soon as implementors do a +1 in the final spec and we have some implementations ready to run!
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/40dadd23-ca4f-47f8-98c2-7e252ac9b7cd%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/78c6c5fe-0042-41f7-bf00-7213df7b973d%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhDUvtt-wpqO2jYNhwbmiiCzGK-0gp38BrMVRgaBR1s%2Bg%40mail.gmail.com.
Thanks for you patience Yoav. We have feedback from 2 producers of component sets Salesforce and Component Kitchen.Part as it stands provides needed functionality for them. It seems pretty clear that there is still functionality missing and several ideas of how to expand the API to provide that, none of which confict with the basic API.I can think of a few options1 ship what we have an work with CSSWG to add more features2 don't ship what we have until we have agreed how to add more features3 other options???On the issue of an origin trial, we didn't really look at that because it doesn't seem like we would learn much about the ergonomics and capabilities of the API by sending live traffic to a site with these features enabled.I'm not really sure how to proceed here, I really don't like the look of #2,
You received this message because you are subscribed to the Google Groups "Polymer Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-team...@google.com.
To post to this group, send email to polyme...@google.com.
To view this discussion on the web visit https://groups.google.com/a/google.com/d/msgid/polymer-team/CAAozHLkVUUrMamfEaxs3OL-TGLpZH4bY%2B5601OCho9dPL_LaSg%40mail.gmail.com.
Hi all, I couldn't post with my Salesforce address, but can with my personal. So just to clarify, I'm Stephanie Rewis from the SLDS framework team.My team just spent some time on this over the past couple of days. We have some feedback and questions. Would you like me to post them here?Cheers
Thanks Fergal. We can post our feedback on github if that's better (we created a doc). We'd like to get a couple roadmap questions answered prior to saying, "Yes, I'll use it tomorrow." I'm sure you understand. Did you mean to link to the thread we should use?Cheers
For those interested, I've posted my team's findings and questions here: https://github.com/w3c/csswg-drafts/issues/3467
On Fri, Jan 11, 2019 at 11:40 PM <stephan...@gmail.com> wrote:For those interested, I've posted my team's findings and questions here: https://github.com/w3c/csswg-drafts/issues/3467Thanks for your feedback, Stephanie!Regarding the "Web Component default exportparts=" section, is that technique currently possible? Or is it something you want added to the API?Fergal & team - the question about "::before and ::after pseudo elements" seems potentially relevant to compatibility.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhTcDM1Rp5o%2B4LJ0mqxSQoQs9rmfeoR3%3DLFFsPUe3neJw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYfY_Tq0nCzgjXy8C4J_ohcsLDN3giTbo7uGoEmMve21ew%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw-ppk%2Bj8Rh%3D48j6QseZw8AwHSGc9pdyeeuHqq%3DDyXxdbQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFpjS_3da74xK-pnXiacGawbrhaGN%3D_xKSegHFnuYu2EN4tC0w%40mail.gmail.com.
The explainer doc link is invalid in https://www.chromestatus.com/feature/5763933658939392
On Monday, December 10, 2018 at 1:42:02 AM UTC-8, Fergal Daly wrote:Contact emails
fer...@chromium.org, taba...@chromium.org
Explainer
::part and ::theme explainer. Note that this I2S is only for the ::part pseudo-element; ::theme requires more web developer feedback and implementation work.
Design doc/Spec
https://drafts.csswg.org/css-shadow-parts/
TAG review request: https://github.com/w3ctag/design-reviews/issues/230
Summary
Introduce part= and exportparts= attributes and ::part(ident) CSS pseudo element to allow custom elements to expose specific sub-elements for styling by the containing light-tree.
Link to “Intent to Implement” blink-dev discussion
There was no discussion on the previous Intent to Implement thread.
Motivation
Previous methods like /deep/ and >>> were overpowered, exposed implementation details of custom elements and had performance problems. This proposal gives custom elements a clear API and avoids leaking implementation details.
Risks
Interoperability and Compatibility
As this is a new feature which Chromium is leading with, we have solicited community feedback and submitted a complete WPT test suite. The spec had a lot of input from Apple, some input from Mozilla and Edge and agreement at CSS-WG
Edge: "I furthermore don't see any reason why Microsoft wouldn't support this spec moving forward as a prototype implementation in Blink. " in this issue
Firefox: "worth prototyping" in this issue
Safari: Supportive of approach in this issue
Web developers: Polymer team and Salesforce are supportive
The Chromium's WebUI team is also interested in this feature, so that we can start moving away from CSS mixins (currently working via Polymer's polyfil). Do you think this feature is ready for us to play with? If so, what flags do we need to use, and when can we expect this to be enabled by default?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/9011b436-ea61-4e3d-a3a9-2892f25cca33%40chromium.org.