CSS hack: Difference between revisions

Content deleted Content added
m Reverted edits by 107.77.173.10 (talk): nonconstructive edits (HG) (3.3.0)
m Disambiguating links to Polyfill (link changed to Polyester Fiberfill) using DisamAssist.
Line 119:
 
=== JavaScript polyfills ===
While JavaScript feature detection and <code>@supports</code> rules can help to target browsers that require fallback functionality, they will not address bugs in specific browsers or enable that advanced functionality. [[PolyfillPolyester Fiberfill|Polyfills]], scripts that make behavior consistent across all browsers, can be used to add support for new CSS rules (for example, [[media queries]] in IE 8) as well as fix bugs in specific browsers (for example, [https://github.com/rodneyrehm/viewport-units-buggyfill fixing the implementation of viewport units in mobile Safari]). Since polyfills add or fix functionality in browsers that don't have it, they serve a different purpose than feature queries, but can be used in combination with them.
 
==See also==