-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typo in exportparts syntax example #2
Conversation
[According to the spec](https://drafts.csswg.org/css-shadow-parts/#parsing-mapping), when forwarding parts, the idents in the part mapping should be separated by a colon (`:`) not a space. Perhaps this was an accidental omission (I have not tested the code). The example in the spec [Example 2](https://drafts.csswg.org/css-shadow-parts/#example-d23fb781) is seemingly at odds with the explanation of the algorithm for parsing the parts mapping, also missing the comma.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Space was used as the separator in an early draft, I guess I just missed that one when updating. Thanks! |
As noted in the [fix for the explainer doc](fergald/docs#2), this missing colon is probably an oversight after the syntax change.
Thank you for merging! I tried to update the example in the spec too, but it seems I can't because my account fails an affiliation check. It is a non-substantive change (fixing a typo). You may decide what's easier: either accept that PR as-is or fix the typo in another commit at your convenience. |
Looks like @tabatkins got it already. Thanks.
…On Wed, 12 Dec 2018 at 03:17, Razvan Caliman ***@***.***> wrote:
Thank you for merging!
I tried to update <w3c/csswg-drafts#3429> the
example in the spec too, but it seems I can't because my account fails an
affiliation check. It is a non-substantive change (fixing a typo).
You may decide what's easier: either accept that PR as-is or fix the typo
in another commit at your convenience.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEDu51nkaHD_qxxZ1sKL1eERrcglfAW_ks5u3_algaJpZM4ZL34p>
.
|
Yeah, it was a non-substantial edit, so the affiliation check doesn't matter and I just bypassed it. |
Thank you, both!
…On Fri, Dec 14, 2018 at 11:49 PM Tab Atkins Jr. ***@***.***> wrote:
Yeah, it was a non-substantial edit, so the affiliation check doesn't
matter and I just bypassed it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD5m0um9vfYn0E_70trxpWbprk7NlaOks5u5BzsgaJpZM4ZL34p>
.
|
According to the spec, when forwarding parts, the idents in the part mapping should be separated by a colon (
:
) not a space. Perhaps this was an accidental omission (I have not tested the code).The example in the spec Example 2 is seemingly at odds with the explanation of the algorithm for parsing the parts mapping, also missing the colon.