Coder Social home page Coder Social logo

Comments (6)

akhleung avatar akhleung commented on August 20, 2024

Fixed.

from libsass.

lunelson avatar lunelson commented on August 20, 2024

This does not seem to be fixed.

Certain kinds of attribute selector matching—e.g. span[class|="lang"]—still throw an error, although they should be valid.

Reference:
https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors

from libsass.

techdragon avatar techdragon commented on August 20, 2024

this also throws an error

*[class|="has-background"] {
    background: #efefef;
    padding: 7px;
    border: 1px solid #888;
    margin-bottom: 5px;
    }

spits out

error: invalid attribute name in attribute selector

it seems that http://css2sass.heroku.com/ can correctly parse it, so i'm suspecting its libsass at work here.

from libsass.

akhleung avatar akhleung commented on August 20, 2024

Hmm, seems to be the |= operator that LIbSass doesn't like; thanks for the report. Also, whenever you find a valid bug in a closed ticket, please re-open the ticket -- otherwise it might fall through the cracks!

from libsass.

kennethormandy avatar kennethormandy commented on August 20, 2024

@hcatlin Unfortunately in that case, only people with commit access or the person who opened the issue can re-open it.

from libsass.

akhleung avatar akhleung commented on August 20, 2024

Okay, I pushed a fix to master. Please give it a try!

from libsass.

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.