diff options
author | miere43 <x.miere@gmail.com> | 2021-05-08 23:19:25 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-09 11:24:04 +0200 |
commit | aa83539d7bc777ac309c0f637ca1a5c6c890967c (patch) | |
tree | 1db153c2c2a52601a132c6232e2f79093226af5c /Userland/Libraries/LibWeb/Dump.cpp | |
parent | 1e0e8b27c06ff6776d8b56a6cc4c545c007f8d1e (diff) | |
download | serenity-aa83539d7bc777ac309c0f637ca1a5c6c890967c.zip |
LibWeb: Implement :nth-child pseudo-class
Diffstat (limited to 'Userland/Libraries/LibWeb/Dump.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Dump.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Dump.cpp b/Userland/Libraries/LibWeb/Dump.cpp index abc35aca2f..a290178944 100644 --- a/Userland/Libraries/LibWeb/Dump.cpp +++ b/Userland/Libraries/LibWeb/Dump.cpp @@ -351,6 +351,9 @@ void dump_selector(StringBuilder& builder, const CSS::Selector& selector) case CSS::Selector::SimpleSelector::PseudoClass::LastOfType: pseudo_class_description = "LastOfType"; break; + case CSS::Selector::SimpleSelector::PseudoClass::NthChild: + pseudo_class_description = "NthChild"; + break; case CSS::Selector::SimpleSelector::PseudoClass::Focus: pseudo_class_description = "Focus"; break; |