diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-06 15:41:16 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-06 15:41:16 +0200 |
commit | cad326f3230620512e7b8a5e7c65af4827421092 (patch) | |
tree | 3fa0495f5be6be2c31402ea322c498e080033dde /Base/home/anon/www | |
parent | 156b35742a947c7179bd4f6cbad363eb8918a261 (diff) | |
download | serenity-cad326f3230620512e7b8a5e7c65af4827421092.zip |
LibHTML: Implement immediate-child selectors (#foo > #bar)
Diffstat (limited to 'Base/home/anon/www')
-rw-r--r-- | Base/home/anon/www/selectors.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Base/home/anon/www/selectors.html b/Base/home/anon/www/selectors.html index 2ad965f2c1..88c248e467 100644 --- a/Base/home/anon/www/selectors.html +++ b/Base/home/anon/www/selectors.html @@ -11,6 +11,10 @@ border-width: 1; border-color: #00ff00; } +div > .boo > .bee { + background-color: #000000; + color: #ff00ff; +} </style> </head> <body> @@ -28,5 +32,18 @@ <div>hello</div> </div> </div> + <div> + <div class="boo"> + <div class="bee">Spooky!</div> + </div> + </div> + <div> + <div class="boo"> + <div> + <div class="bee"> + Not spooky! + </div> + </div> + </div> </body> </html> |