Coder Social home page Coder Social logo

Comments (7)

OwenEdwards avatar OwenEdwards commented on June 3, 2024

FWIW, I've been tracing back a problem with Safari 7 and 6.1 which doesn't show up with Safari 6.0 or 5.1, nor with Chrome, Firefox or IE. It turns out that it is exactly related to this issue; the minified CSS script causes Safari 7/6.1 to render my pages in print mode (with URLs following the links, and with color removed). Using the unminified version of main.css does not cause the problem.

So it seems like the badly minified main.css hits some feature of Safari 7/6.1's errror handling which isn't activated in earlier versions of Safari, or in other browser.

If it helps, I'm using c579981, and HTML5 Boilerplate v4.3.0

from ant-build-script.

roblarsen avatar roblarsen commented on June 3, 2024

Hey guys... I'll have to research this a bit. I remember that opera specific rule being a problem somwhere, but the way the project is structured it's sometimes hard to trace problems back to their original source or original repo where it was reported.

from ant-build-script.

OwenEdwards avatar OwenEdwards commented on June 3, 2024

Thanks! It looks like it's Update HiDPI CSS @media rule ยท 1987e5a ยท h5bp/html5-boilerplate. But the main question is, is that CSS valid and the minification tool is choking, or is it invalid CSS? Based on Changeset 22629 โ€“ WordPress Trac it seems like it ought to be valid.

from ant-build-script.

roblarsen avatar roblarsen commented on June 3, 2024

I think it's a minification bug, but I don't remember exactly.

There may be an existing issue in the repo.

from ant-build-script.

roblarsen avatar roblarsen commented on June 3, 2024

THERE IS. It's a bug in YUI Compressor that was fixed, but I can't update to the latest YUI Compressor because they've given up on fixing this bug yui/yuicompressor#78

from ant-build-script.

stalsma avatar stalsma commented on June 3, 2024

There is already a bug against boilerplate itself (h5bp/html5-boilerplate#1315) for exactly this issue. But since it doesn't affect boilerplate w/o the ANT scripts, it was closed, as apparently Opera wants to see 5/4 instead of 1.25.

It just makes figuring out how the scripts play together really difficult if the resulting minified output is broken by default.

Maybe add something in the documentation?

from ant-build-script.

roblarsen avatar roblarsen commented on June 3, 2024

The original hope was to have the YUI bugs fixed, but they're not interested in providing cross platform support. I think we need to solve it some way. I'd hate to go through the trouble of looking for another minification tool, but I think that's the best solution.

I wonder if opera (blink derived) still needs the 5/4.

from ant-build-script.

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.