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