This group of tests have been designed to designed to check various internal functions to ensure that
selectivizr is correctly parsing style sheet content. The results of these tests are NOT dependant on
the choice of selector library and should therefore always pass.
@import url("...") |
Testing @import rule with url wrapped in double quotes and prefixed with the url() qualifier
|
@import url('...') |
Testing @import rule with url wrapped in single quotes and prefixed with the url() qualifier
|
@import url(...) |
Testing @import rule with url without quotes and prefixed with the url() qualifier
|
@import "..." |
Testing @import rule with url wrapped in double quotes without the url() qualifier
|
@import '...' |
Testing @import rule with url wrapped in single quotes without the url() qualifier
|
@import url("../file.css") |
Testing @import rule with a relative path
|
@import url("/path/file.css") |
Testing @import rule with a root-relative path (see note in 'master.css')
|
@import url("http://domain/path/file.css") |
Testing @import rule with a fully qualified path (see note in 'master.css')
|
These tests are designed to identify problems or unsupported features with specific selector engines.
E[foo~="bar"] |
Check attribute "foo" contains value "bar" in a list of whitespace-separated values |
E[foo~="bar"] |
Check attribute "foo" contains the value "bar" when "bar" is the only value in the list |
E[foo|="bar"] |
Check attribute "foo" begins with the value "bar" in a list of hyphen-separated values |
E[foo^="bar"] |
Check attribute "foo" begins with the value "bar" |
E[foo$="bar"] |
Check attribute "foo" ends with the value "bar" |
E[foo*="bar"] |
Check attribute "foo" contains the value "bar" |
E[foo^=""] |
Check library catches native IE selector bug when testing against empty attribute value |
E[foo$=""] |
Check library catches native IE selector bug when testing against empty attribute value |
E[foo*=""] |
Check library catches native IE selector bug when testing against empty attribute value |