Files
Monkey-Test/WebDriverAgent/Inspector/node_modules/normalize-selector
2019-01-25 17:01:52 +08:00
..
fix
2019-01-25 17:01:52 +08:00
fix
2019-01-25 17:01:52 +08:00
fix
2019-01-25 17:01:52 +08:00
fix
2019-01-25 17:01:52 +08:00
fix
2019-01-25 17:01:52 +08:00
fix
2019-01-25 17:01:52 +08:00

Normalize-Selector

Normalize CSS selectors.

Examples:

  • #foo>.bar -> #foo > .bar
  • #foo > .bar -> #foo > .bar
  • foo[ a = 'b' ] -> foo[a='b']

Tests

Run mocha tests on node.js with:

npm test

or:

node ./test/mocha/node-suite.js

rawgithub

View the browser suite directly on rawgithub

License

The code and all the documentation are released under the MIT license.

http://getify.mit-license.org/