Code Monkey home page Code Monkey logo

Comments (9)

GoalSmashers avatar GoalSmashers commented on August 10, 2024 3

If you consider Outlook 2007 a browser then good for you. 👍

from yuicompressor.

tml avatar tml commented on August 10, 2024

This was merged into 2.4.8

from yuicompressor.

GoalSmashers avatar GoalSmashers commented on August 10, 2024

@tml @namanyayg Could you provide any examples where stripping a space before '!important' leads to a broken styling?

We got the similar request in https://github.com/GoalSmashers/clean-css but without a test case it's not possible to verify if you made a mistake or if there is a very specific case where the space has to be there.

According to our tests it is OK to get rid of it. What's more such code has been used in production for couple years now without any issues.

from yuicompressor.

nanodeath avatar nanodeath commented on August 10, 2024

Can we get some background or data on this, or revert the change? Without any more information, this seems like a needless regression. We've also been using 2.4.7 for a while now in production without issue.

from yuicompressor.

blowsie avatar blowsie commented on August 10, 2024

I can confirm that this space is important in some browsers / mail clients.

Outlook 2007 is definitely effected by this.

from yuicompressor.

blowsie avatar blowsie commented on August 10, 2024

Also, although its not in the spec that a space should be present, all of their examples have it.
http://www.w3.org/TR/CSS2/cascade.html#important-rules

from yuicompressor.

GoalSmashers avatar GoalSmashers commented on August 10, 2024

So you punish all other browsers because of Outlook 2007?

from yuicompressor.

blowsie avatar blowsie commented on August 10, 2024

Yes. And punish? Hardly. The rule shouldn't really be used anyway. But its required to fix bad implementations of browers etc. eg. Outlook 2007 etc.

from yuicompressor.

blowsie avatar blowsie commented on August 10, 2024

@GoalSmashers Really? I even stated bad implementations of browsers.

Outlook makes up for a huge percentage of the mail client market share.

from yuicompressor.

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.