Viewport Units Buggyfill Versions Save

Making viewport units (vh|vw|vmin|vmax) work properly in Mobile Safari.

v0.6.2

5 years ago
  • allow appending generated CSS to <body> - #84
  • do not break URLs when replacing viewport units - #78
  • wrapping everything in an IIFE - #80

v0.6.1

5 years ago

v0.6.0

5 years ago
  • enabling the buggyfill for iOS 8 and iOS 9 - #67, #35
  • enabling the buggyfill for Microsoft Edge, as it still does not understand vmax - #60
  • adding init option ignoreVmax to prevent IE9+ from engaging the hack - #56
  • fixing foreign origin access violation in Internet Explorer - #61, #38

v0.5.5

7 years ago
  • adding events viewport-unit-buggyfill-init and viewport-unit-buggyfill-style (#63 by redaxmedia, #62)

v0.5.4

7 years ago
  • changing Internet Explorer detection from Conditional Comments to UA sniffing - (#57 by dillonlucente, #43, #40)

v0.5.3

7 years ago
  • fixing CORS importer to respect data-viewport-units-buggyfill="ignore" (#48)

v0.5.2

7 years ago
  • fixing init for IE8 and below to avoid exception due to bad CSSOM (#46, #47 by zoltan-dulac)

v0.5.1

7 years ago
  • fixing generated <style> element to maintain highest precedence (#36)
  • fixing the preservation of !important rules (#44, #45 by mderazon)

v0.5.0

8 years ago

WARNING: Breaking Changes (and a Merry Christmas to you, too :)

  • not engaging the buggyfill on iOS8+ anymore (#19, #23, #27)
  • also engaging buggyfill for WebViews in <iOS8 (#30)
  • fixing stock Android browser behavior of viewport units when changing breakpoints
  • fixing content hack breaking in Opera Mini (because it actually inlines the content everywhere)
  • fixing rule.cssText throwing an Error in IE (not reproducible, whatever) #21)
  • remove separate CSS content and behavior hacks and merge them into one. This is a backward compatibility breaking change! The only acceptable way to specify viewport-unit rules to a non-supporting browser now is content: "viewport-units-buggyfill; width: 20vw;" (#20, #25)
  • removing need for initialization options behaviorHack and contentHack, passing hacks will suffice (#20, #25)
  • adding IE11 to the list to fix its vmax support (#31)
  • adding <link rel="…" data-viewport-units-buggyfill="ignore"> to prevent specific style sheets from being processed (suggested in #11)

v0.4.1

8 years ago
  • fixing bower.json (… narf)