CSS2 Selectors
RichTextBox for Windows Phone supports several CSS2 selectors. The following table lists CSS2 selectors by pattern and CSS level and notes whether they are supported by RichTextBox for Windows Phone.
Pattern | CSS level | Supported |
* | 2 | Yes |
E | 1 | Yes |
E[foo] | 2 | Yes |
E[foo="bar"] | 2 | Yes |
E[foo~="bar"] | 2 | Yes |
E[foo^="bar"] | 3 | Yes |
E[foo$="bar"] | 3 | Yes |
E[foo*="bar"] | 3 | Yes |
E[foo|="en"] | 2 | Yes |
E:root | 3 | No |
E:nth-child(n) | 3 | No |
E:nth-last-child(n) | 3 | No |
E:nth-of-type(n) | 3 | No |
E:nth-last-of-type(n) | 3 | No |
E:first-child | 2 | No |
E:last-child | 3 | No |
E:first-of-type | 3 | No |
E:last-of-type | 3 | No |
E:only-child | 3 | No |
E:only-of-type | 3 | No |
E:empty | 3 | No |
E:link | 1 | No |
E:visited | 1 | No |
E:active | 2 | No |
E:hover | 2 | No |
E:focus | 2 | No |
E:target | 3 | No |
E:lang(fr) | 2 | No |
E:enabled | 3 | No |
E:disabled | 3 | No |
E:checked | 3 | No |
E::first-line | 1 | No |
E::first-letter | 1 | No |
E::before | 2 | No |
E::after | 2 | No |
E.warning | 1 | No |
E#myid | 1 | Yes |
E:not(s) | 3 | No |
E F | 1 | Yes |
E > F | 2 | Yes |
E + F | 2 | Yes |
E ~ F | 3 | Yes |