UNPKG

cssnano

Version:

A modular CSS minifier, built on top of the PostCSS ecosystem.

87 lines • 2.54 kB
export declare const pseudoElements: { ':active': string; ':after': string; ':any-link': string; ':autofill': string; ':before': string; ':checked': string; ':default': string; ':dir': string; ':disabled': string; ':empty': string; ':enabled': string; ':first-child': string; ':first-letter': string; ':first-line': string; ':first-of-type': string; ':focus': string; ':focus-within': string; ':focus-visible': string; ':fullscreen': string; ':has': string; ':hover': string; ':in-range': string; ':indeterminate': string; ':invalid': string; ':is': string; ':lang': string; ':last-child': string; ':last-of-type': string; ':link': string; ':matches': string; ':modal': string; ':not': string; ':nth-child': string; ':nth-last-child': string; ':nth-last-of-type': string; ':nth-of-type': string; ':only-child': string; ':only-of-type': string; ':optional': string; ':out-of-range': string; ':placeholder-shown': string; ':read-only': string; ':read-write': string; ':required': string; ':root': string; ':target': string; ':where': string; '::after': string; '::backdrop': string; '::before': string; '::file-selector-button': string; '::first-letter': string; '::first-line': string; '::marker': string; '::placeholder': string; '::selection': string; ':valid': string; ':visited': string; }; /** * Whether a pseudo-class or pseudo-element name is a vendor-specific * extension. CSS reserves every name starting with a dash for them, including * prefixes no browser is known to use. * * @param {string} name unescaped * @return {boolean} */ export declare function isVendorExtension(name: string): boolean; /** * The vendor prefix of a pseudo-class or pseudo-element name, such as * `-moz-` for `-moz-selection`; a prefix is meaningful only at the start of * an identifier, so `x-moz-y` has none. * * @param {string} name unescaped and in ASCII lower case * @return {string} the prefix, or the empty string when there is none */ export declare function vendorPrefixOf(name: string): string; /** * Internet Explorer uses :-ms-input-placeholder. * Microsoft Edge uses ::-ms-input-placeholder. * * @param {string} name unescaped and in ASCII lower case * @return {boolean} */ export declare function isMsInputPlaceholder(name: string): boolean; //# sourceMappingURL=pseudoSupport.d.ts.map