Skip to content

Should use "fetch a CSS style sheet" from CSSOM #968

Open

Activity

  1. self-assigned this
    on Mar 30, 2016
  2. annevk commented on Jun 14, 2019

    @annevk
    Member

    The issue in the HTML Standard says this would replace "default fetch and process the linked resource", but I'm not sure how good that is given how much common infrastructure it covers, such as referrer policy and integrity.

  3. domenic commented on Jun 14, 2019

    @domenic
    Member

    Yes, these days I'd kind of prefer to invert the model. Especially after @domfarolino's work revamping link fetching to be more hookable, I think more likely we could define "linked resource fetch setup steps" for stylesheets, and keep it all centralized in HTML.

  4. removed their assignment
    on Jun 14, 2019
  5. annevk commented on Jan 7, 2020

    @annevk
    Member

    I noticed that the CSSOM variant does not check for the response's status to be 2xx.

  6. noamr commented on Oct 6, 2021

    @noamr
    Contributor

    Yes, these days I'd kind of prefer to invert the model. Especially after @domfarolino's work revamping link fetching to be more hookable, I think more likely we could define "linked resource fetch setup steps" for stylesheets, and keep it all centralized in HTML.

    I tend to agree. To make the CSS variant variable it would need to copy or import things from HTML such as "potentail-CORS" stuff which should have knowledge about crossorigin attributes of link elements - an HTML concern rather than CSS.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions