Giter Club home page Giter Club logo

Comments (2)

stowball avatar stowball commented on August 26, 2024

No worries.

Although browsers allow them, the spec for img height and width attributes have never allowed px units, they should always be a "non-negative integer" (http://dev.w3.org/html5/markup/img.html).

It would be fairly trivial to support them, but I don't think I want to add a bit extra weight to the plugin to deal with this edge case.

from jquery-rwdimagemaps.

ecotypes avatar ecotypes commented on August 26, 2024

Hi --

I was not suggesting that you support them.

I was suggesting that you change the documentation to tell new users
that they are not supported. It took getting smart enough to look at
the javascript to figure that out.

Thanks.

On 9/11/2013 6:59 PM, Matt Stow wrote:

No worries.

Although browsers allow them, the spec for img height and width
attributes have never allowed px units, they should always be a
"non-negative integer" (http://dev.w3.org/html5/markup/img.html).

It would be fairly trivial to support them, but I don't think I want
to add a bit extra weight to the plugin to deal with this edge case.


Reply to this email directly or view it on GitHub
#35 (comment).

/Shirley Denton/

from jquery-rwdimagemaps.

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.