Commit 59f42844 authored by jan.koester's avatar jan.koester
Browse files

test

parent 818cc433
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1095,14 +1095,6 @@ void blogi::htmlimport::htmlElementToWidgetXml(
            normalizeShorthandProperties(cssProps);
            std::map<std::string,std::string> elementEnv =
                resolveCustomProperties(cssProps, frame.customPropertyEnv);
            if (cssClass.find("con-kit-fade-box") != std::string::npos && cssProps.count("height")) {
                std::string dataFit = el->getAtributte("data-fit");
                fprintf(stderr, "[DBG2] height=%s dataFit=%s parentClasses=",
                        cssProps["height"].c_str(), dataFit.empty() ? "<none>" : dataFit.c_str());
                for (auto &af : frame.ancestorChain)
                    fprintf(stderr, "[%s]", af.classes.empty() ? "" : af.classes.back().c_str());
                fprintf(stderr, "\n");
            }

            // This element's own attributes, so a descendant's matched rule
            // can verify an attribute-selector condition on THIS ancestor