feat: return selector node representing wildcard selector with highest degree penalty 3
This commit is contained in:
@@ -354,9 +354,15 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
function any(): Node {
|
||||
return {
|
||||
name: '*',
|
||||
penalty: 3,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user