MCPcopy
hub / github.com/postcss/autoprefixer / withHackValue

Method withHackValue

lib/processor.js:699–707  ·  view source on GitHub ↗

* Some rare old values, which is not in standard

(decl)

Source from the content-addressed store, hash-verified

697 * Some rare old values, which is not in standard
698 */
699 withHackValue(decl) {
700 return (
701 (decl.prop === '-webkit-background-clip' && decl.value === 'text') ||
702 // Do not remove -webkit-box-orient when -webkit-line-clamp is present.
703 // https://github.com/postcss/autoprefixer/issues/1510
704 (decl.prop === '-webkit-box-orient' &&
705 decl.parent.some(d => d.prop === '-webkit-line-clamp'))
706 )
707 }
708}
709
710module.exports = Processor

Callers 1

removeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected