Loading src/css.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -1242,6 +1242,14 @@ void libhtmlpp::CSSStyleSheet::collectApproximateMatches( (key == "visibility" && value == "hidden"))) continue; if (key == "width" && (std::find(classes.begin(), classes.end(), "status-dot") != classes.end() || std::find(classes.begin(), classes.end(), "appointment-badge") != classes.end())) { fprintf(stderr, "[WDBG] class=%s width=%s important=%d sel=[%s] spec=(%d,%d,%d)\n", cssClass.c_str(), value.c_str(), isImportant, branch.trimmedSelector.c_str(), branch.specificity[0], branch.specificity[1], branch.specificity[2]); } props[key] = value; specOf[key] = branch.specificity; if (isImportant) importantKeys.insert(key); Loading Loading
src/css.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -1242,6 +1242,14 @@ void libhtmlpp::CSSStyleSheet::collectApproximateMatches( (key == "visibility" && value == "hidden"))) continue; if (key == "width" && (std::find(classes.begin(), classes.end(), "status-dot") != classes.end() || std::find(classes.begin(), classes.end(), "appointment-badge") != classes.end())) { fprintf(stderr, "[WDBG] class=%s width=%s important=%d sel=[%s] spec=(%d,%d,%d)\n", cssClass.c_str(), value.c_str(), isImportant, branch.trimmedSelector.c_str(), branch.specificity[0], branch.specificity[1], branch.specificity[2]); } props[key] = value; specOf[key] = branch.specificity; if (isImportant) importantKeys.insert(key); Loading