Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

[css-shadow-parts-1] part should be a superglobal in the HTML spec #3424

Open

Description

@fergald

spec

Update the DOM spec.

Activity

  1. NullVoxPopuli commented on Feb 29, 2020

    @NullVoxPopuli

    I arrived at this draft from a few links about @apply being abandoned. After reading this spec, I, in no way, see how this is related -- it doesn't solve the same problem.

    The path I took to get here:

    I'm confused. I want to compose CSS classes :-\

  2. fergald commented on Mar 2, 2020

    @fergald
    ContributorAuthor

    @NullVoxPopuli Sorry, I don't know why this is listed as an alternative solution (I am not at all familiar with postcss-apply). Please take that up with the authors of the postcss-apply doc.

  3. tabatkins commented on Mar 4, 2020

    @tabatkins
    Member

    The reason is that my blog post about abandoning @apply says precisely that. ^_^

    The motivating use-case for @apply was passing bags of properties into custom elements, so you didn't have to reinvent all of CSS as custom properties just to allow arbitrary styling of something inside a shadow tree. That use-case was replaced by ::part().

    The more general use-case of using @apply to compose classes, however, isn't addressed by this. (And @apply is still bad for that, for all the reasons I gave in my blog post. We probably want to eventually do @extend to address that case.)

  4. annevk commented on Nov 18, 2022

    @annevk
    Member

    @fergald any ETA on this? This feature has shipped reportedly so this seems overdue. If it's superglobal it should be in DOM probably.

  5. fergald commented on Nov 21, 2022

    @fergald
    ContributorAuthor

    @mfreed7 @domenic Please take a look.

  6. mfreed7 commented on Dec 5, 2022

    @mfreed7
    Contributor

    @mfreed7 @domenic Please take a look.

    LGTM to make part superglobal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions