Loading test/htmlcsstest.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -120,9 +120,9 @@ int main(){ check(!CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "", &unrelatedAncestors), "leading compound absent from the supplied ancestor chain -- no longer matches (the actual bug)"); check(!CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "", check(CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "", static_cast<const std::vector<AncestorFrame>*>(nullptr)), "sanity: explicit nullptr behaves the same as the default"); "sanity: explicit nullptr behaves the same as the default (still matches, unverified)"); std::vector<AncestorFrame> outOfOrderAncestors = { {"div", {"b"}, ""}, Loading Loading
test/htmlcsstest.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -120,9 +120,9 @@ int main(){ check(!CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "", &unrelatedAncestors), "leading compound absent from the supplied ancestor chain -- no longer matches (the actual bug)"); check(!CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "", check(CSSStyleSheet::approximateSelectorMatch(".header .frame", "div", classes, "", static_cast<const std::vector<AncestorFrame>*>(nullptr)), "sanity: explicit nullptr behaves the same as the default"); "sanity: explicit nullptr behaves the same as the default (still matches, unverified)"); std::vector<AncestorFrame> outOfOrderAncestors = { {"div", {"b"}, ""}, Loading