#include "core/fxcrt/css/cfx_cssrulecollection.h"
#include <algorithm>
#include <utility>
#include "core/fxcrt/css/cfx_cssdeclaration.h"
#include "core/fxcrt/css/cfx_cssselector.h"
#include "core/fxcrt/css/cfx_cssstylerule.h"
#include "core/fxcrt/css/cfx_cssstylesheet.h"
#include "core/fxcrt/css/cfx_csssyntaxparser.h"
CFX_CSSRuleCollection::CFX_CSSRuleCollection() = default;
CFX_CSSRuleCollection::~CFX_CSSRuleCollection() = default;
const std::vector<std::unique_ptr<CFX_CSSRuleCollection::Data>>*
CFX_CSSRuleCollection::GetTagRuleData(const WideString& tagname) const { … }
void CFX_CSSRuleCollection::SetRulesFromSheet(const CFX_CSSStyleSheet* sheet) { … }
void CFX_CSSRuleCollection::AddRule(CFX_CSSStyleRule* pStyleRule) { … }
CFX_CSSRuleCollection::Data::Data(CFX_CSSSelector* pSel,
CFX_CSSDeclaration* pDecl)
: … { … }
CFX_CSSRuleCollection::Data::~Data() = default;