diff options
Diffstat (limited to 'Base')
-rw-r--r-- | Base/res/html/misc/not-selector.html | 20 | ||||
-rw-r--r-- | Base/res/html/misc/welcome.html | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/Base/res/html/misc/not-selector.html b/Base/res/html/misc/not-selector.html new file mode 100644 index 0000000000..21200ccf48 --- /dev/null +++ b/Base/res/html/misc/not-selector.html @@ -0,0 +1,20 @@ +<html> +<head> +<title>:only-child test</title> +<style> +div { + background: yellow; +} + +div:not(div div) { + background: lime; +} +</style> +</head> +<body> + <div>I am not a descendant and should be green.</div> + <div> + <div>I am a descendant and should be yellow.</div> + </div> +</body> +</html> diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index 494b64cdbd..785b097625 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -109,6 +109,7 @@ <li><a href="nth-last-child.html">:nth-last-child</a></li> <li><a href="empty.html">:empty</a></li> <li><a href="root.html">:root</a></li> + <li><a href="not-selector.html">:not</a></li> <li><a href="form.html">form</a></li> <li><a href="borders.html">borders</a></li> <li><a href="css.html">css</a></li> |