Git Product home page Git Product logo

Comments (13)

AndrewEQ avatar AndrewEQ commented on July 18, 2024

Dropped ya a mail, just send me what ya got and I'll have a look at it.

from css-purge.

dominikwilkowski avatar dominikwilkowski commented on July 18, 2024

👍
I will investigate some reduced cases today. Let me know when you find something.

from css-purge.

AndrewEQ avatar AndrewEQ commented on July 18, 2024

In the input.css that you sent me, I was able to find .table-bordered t>thead>tr>th,.table-bordered t>thead>tr>td. Yeah, I think if you can try narrow it down to the problematic css (if any), it would help a lot. The rule/selector count came to 1217, is this about right?

from css-purge.

dominikwilkowski avatar dominikwilkowski commented on July 18, 2024

Hey @AndrewEQ

I had a bit of time in investigate the issues. First of I made sure my CSS is valid and then went in and inspected the elements that were broken after running purge.

Consider this CSS:

.test {
    padding-left: 20px;
}

@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

.test {
    padding-left: 40px;
}

Purge will output this:

.test {
    padding-left: 20px;
}
@-moz-document url-prefix() {
}

Apparently @-moz-document url-prefix() {} causes issues here.

from css-purge.

AndrewEQ avatar AndrewEQ commented on July 18, 2024

Hey @dominikwilkowski, sorry I've been away, will have a look at it soon.

from css-purge.

dominikwilkowski avatar dominikwilkowski commented on July 18, 2024

👍 and welcome back

from css-purge.

AndrewEQ avatar AndrewEQ commented on July 18, 2024

...sorry for the delay, things been hectic over here, also thinking of doing a rewrite too.

from css-purge.

dominikwilkowski avatar dominikwilkowski commented on July 18, 2024

great idea. I think this has a lot of potential if it worked with files like bootstrap...
let me know if you need help.

from css-purge.

dominikwilkowski avatar dominikwilkowski commented on July 18, 2024

Hey @AndrewEQ
I will have a stab at a rewrite and commit it to another repo for testing. I feel you don't have enough time for this and we are in need for an application such as this. I will credit you and this repo in it and am always open for collaboration or insights.
I will start doing this next week and might use css.js as a css parser for it. Let's see how we go :)

from css-purge.

AndrewEQ avatar AndrewEQ commented on July 18, 2024

Yeah, sorry man, lots of things been happening, gonna try squeeze in some time here and there in these next few weeks.

from css-purge.

cabezayunke avatar cabezayunke commented on July 18, 2024

Has anyone had a look at this? I'ḿ still seeing this issue with the "@-moz-document url-prefix()" css. Thanks in advance! Good work btw :)

from css-purge.

AndrewEQ avatar AndrewEQ commented on July 18, 2024

Hi guys, I'm taking some time out to work on a new version, will take this into consideration and let ya know when its out ;)

from css-purge.

AndrewEQ avatar AndrewEQ commented on July 18, 2024

Just launched the new version!

http://rbtech.github.io/css-purge

from css-purge.

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.