Loading editor/src/htmlimport.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -1095,6 +1095,14 @@ 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 Loading Loading
editor/src/htmlimport.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -1095,6 +1095,14 @@ 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 Loading