Selectors Level 4 CR Test Suite

Linguistic Pseudo-classes (9 tests)

Test Refs Flags Info
+ 10 Linguistic Pseudo-classes
+ 10.1 The directionality pseudo-class :dir()
dir-style-01a = :dir() selector
  • Test checks :dir() basic functions with valid and invalid values.
dir-style-01b = :dir() selector
  • Test checks :dir() basic functions after dynamic directionality change on elements.
dir-style-02a = :dir() selector
  • Test checks :dir() basic functions when default document directionality is rtl.
dir-style-02b = :dir() selector
  • Test checks :dir() basic functions when document directionality is dynamically changed from ltr to rtl.
dir-style-03a = :dir() selector
  • Test checks if :dir() can work with other selectors correctly.
dir-style-03b = :dir() selector
  • Test checks if :dir() can work with other selectors correctly after a dynamic directionality change on specified divs.
dir-style-04 = :dir() selector
  • Test checks :dir() basic functions on runtime added elements.
selectors-dir-selector-ltr-001 = basic support for dir(ltr)
  • The :dir(ltr) pseudo-class matches an element that has a directionality of (ltr). Since the div element has dir=ltr, the selector matches.
selectors-dir-selector-rtl-001 = basic support for dir(rtl)
  • The :dir(rtl) pseudo-class matches an elment that has a directionality of right-to-left (rtl). Since the div element has dir=rtl, the selector matches.
+ 10.2 The language pseudo-class :lang()