Coder Social home page Coder Social logo

Comments (9)

TakayoshiKochi avatar TakayoshiKochi commented on May 11, 2024

Good catch, I don't think we have to support legacy behavior like quirks mode, as this is for a new API.

from construct-stylesheets.

TakayoshiKochi avatar TakayoshiKochi commented on May 11, 2024

As #25 concludes disallowing @import, let me close this.

from construct-stylesheets.

bzbarsky avatar bzbarsky commented on May 11, 2024

Um... I don't see a conclusion in #25 that "disallows import". Have you talked to the CSSWG about this? You can't just go creating your own separate CSS syntax willy-nilly!

from construct-stylesheets.

TakayoshiKochi avatar TakayoshiKochi commented on May 11, 2024

Well, sorry for the wording "conclusion" - it was not really a consensus.

from construct-stylesheets.

tabatkins avatar tabatkins commented on May 11, 2024

Ignoring #25 for the moment tho, I agree that we shouldn't support non-text/css responses in this API.

from construct-stylesheets.

TakayoshiKochi avatar TakayoshiKochi commented on May 11, 2024

@tabatkins shall we describe the response type restriction for each spec that involves any loading, or is there good one place to put all relevant information?

from construct-stylesheets.

tabatkins avatar tabatkins commented on May 11, 2024

I suspect that each spec should define their type restrictions; there's a lot of places where things are loaded, so having a single point that tries to define all of them is probably bad. But I think @annevk would have a more useful opinion on that.

from construct-stylesheets.

annevk avatar annevk commented on May 11, 2024

I'd actually expect a single point to be defined in CSS somewhere, suitably parameterized. Especially for security-sensitive code like loading you don't want too many independent decision makers.

from construct-stylesheets.

rakina avatar rakina commented on May 11, 2024

#35 resolves this - We don't handle non-text/css.

from construct-stylesheets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.