mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-03 02:09:30 +08:00
71 lines
1.9 KiB
Text
71 lines
1.9 KiB
Text
/**
|
|
* @param {string[]} selectorsA
|
|
* @param {string[]} selectorsB
|
|
* @return {boolean}
|
|
*/
|
|
export function sameVendor(selectorsA: string[], selectorsB: string[]): boolean;
|
|
/**
|
|
* @param {string} selector
|
|
* @return {boolean}
|
|
*/
|
|
export function noVendor(selector: string): boolean;
|
|
export const pseudoElements: {
|
|
':active': string;
|
|
':after': string;
|
|
':any-link': 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;
|
|
':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;
|
|
':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;
|
|
':required': string;
|
|
':root': string;
|
|
':target': string;
|
|
'::after': string;
|
|
'::backdrop': string;
|
|
'::before': string;
|
|
'::first-letter': string;
|
|
'::first-line': string;
|
|
'::marker': string;
|
|
'::placeholder': string;
|
|
'::selection': string;
|
|
':valid': string;
|
|
':visited': string;
|
|
};
|
|
/**
|
|
* @param {string[]} selectors
|
|
* @param{string[]=} browsers
|
|
* @param{Map<string,boolean>=} compatibilityCache
|
|
* @return {boolean}
|
|
*/
|
|
export function ensureCompatibility(selectors: string[], browsers?: string[] | undefined, compatibilityCache?: Map<string, boolean> | undefined): boolean;
|