Giter VIP home page Giter VIP logo

Comments (5)

tabatkins avatar tabatkins commented on August 16, 2024

The only thing that's kinda close to this is that, theoretically, things like list-style: bullet can render the bullet with an image. There's nothing else in CSS that creates something image-like without the user explicitly asking for a URL.

from css-houdini-drafts.

FremyCompany avatar FremyCompany commented on August 16, 2024

Aren't bullets & co just unicode glyphs?
(in which case you can draw them using drawText)

from css-houdini-drafts.

bfgeek avatar bfgeek commented on August 16, 2024

For us these are just paths painted onto the canvas.
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp&l=22

I can't think of anything which magically accesses a resource on the network magically.

from css-houdini-drafts.

tabatkins avatar tabatkins commented on August 16, 2024

Yeah, my point is that they're allowed to be that. In actual browsers they're either text or manually-drawn stuff, but there's nothing preventing them from being a network-fetched url. (It would just be a terrible idea.)

That's the only place where it's even possible, tho. Nowhere else does a built-in CSS property even have a chance of fetching anything.

from css-houdini-drafts.

bfgeek avatar bfgeek commented on August 16, 2024

Moved to LVL 2

from css-houdini-drafts.

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.