diff --git a/src/web/vaev-style/select.cpp b/src/web/vaev-style/select.cpp index 9df89c5f1b..e9b831e0bc 100644 --- a/src/web/vaev-style/select.cpp +++ b/src/web/vaev-style/select.cpp @@ -216,6 +216,9 @@ static bool _match(Pseudo const &s, Markup::Element const &el) { case Pseudo::LINK: return _matchLink(el); + case Pseudo::ROOT: + return el.tagName == Html::HTML; + case Pseudo::FIRST_OF_TYPE: return _matchFirstOfType(el);