Open fergald opened 6 years ago
As for IDL attribute, we feel very strongly that we should add a proper named setter to the IDL attribute. e.g. exportParts['inner'] = 'outer'
. If not, we shouldn't add an IDL attribute at this point. Any IDL attribute proposal which involves string manipulation is simply unacceptable to us.
OK, unless someone else feels strongly, I will remove the IDL section entirely and leave it as an open issue.
I don't think we should add any new objects with named setters (i.e., objects that require proxies).
We can move the string reflection to an experimental section, and gather developer feedback in Chrome before marking it as having consensus. I'd encourage those who believe something more complicated would benefit developers to propose something concrete and find developers who would use it, in the same way.
Agreed on no more use of legacy named setters in IDL.
Also agree on no named setters. We have the maplike<>
declaration for handling this in a much better fashion. (Otherwise, what's the behavior of creating a part named, say, __proto__
? That's a valid CSS ident!)
I'm fine with there being no IDL attribute yet; getAttribute()
suffices to get the string value.
Sure, maplike<>
would be fine too.
All that we object to is string IDL attribute.
I've added Agenda+ label to this. I think we have agreement on a minimal version. I'd like to confirm that and go ahead (specifying the parser and some other bits) without waiting for the F2F if we can agree on this on the call.
I'd appreciate if someone could add the time slot here for this discussion once that's determined.
This is the 6th (final) item on the agenda this week, so I don't know what time it would occur at. Meeting starts at 12:00 pm, Eastern Daylight Time (New York, GMT-04:00).
The CSS Working Group just discussed [css-shadow-parts] confirm browser support
.
The CSS Working Group just discussed this issue.
I've added IDL for .part (#2414) and given a full spec of the parser (#2412). Happy to get comments on either of those on the relevant issues.
Putting this on the agenda to make it FPWD. Any other comments etc welcome (on the relevant issues if they exist)
any update for exportparts=": " ? seems no browser support it
I am planning to implement the ::part() half of the shadow parts spec in Blink. In order to send an Intert To Implement for this (as an experimental feature), I need to know what support there is from other browsers. My understanding is that is that there is broad support for the basics of ::part from supported by Edge, Safari and Firefox. It would be very helpful if you could confirm this here. Thanks.
@travisleithead @smaug @rniwa