aFarkas/webshim — Issue #71: Shims.css
Author: whatcould
Created: 2011-10-18 15:19:09+00:00
State: open

I'm using webshims for forms, and it's great. But even though I'm just calling this:

$.webshims.polyfill('forms')

My elements were being resized for some reason. Turns out that in shims.css, this section was setting the style of elements:

audio.webshims-controls,
video {
display: block;
width: 300px;
height: 150px;
min-height: 45px;
min-width: 40px;
}

I'm not sure what the solution is -- maybe adding a class to the body if you're shimming audio/video, and scoping this css?