This test case checks the current browser's support for CSS selectors currently defined in the specification (L1-L4). It works by invoking the insertRule method of a stylesheet within a try/catch block as unsupported selectors throw an error. This project can be found at https://github.com/ryanmorr/is-selector-supported.