7#ifndef CORE_FXCRT_CSS_CFX_CSSVALUELISTPARSER_H_
8#define CORE_FXCRT_CSS_CFX_CSSVALUELISTPARSER_H_
12#include "core/fxcrt/css/cfx_cssvalue.h"
19 const wchar_t** pStart,
24 size_t SkipToChar(
wchar_t wch);
25 size_t SkipToCharMatchingParens(
wchar_t wch);
28 const wchar_t* m_pCur;
29 const wchar_t* m_pEnd;
static const Property * GetPropertyByEnum(CFX_CSSProperty property)
static const Color * GetColorByName(WideStringView wsName)
static const LengthUnit * GetLengthUnitByName(WideStringView wsName)
static const Property * GetPropertyByName(WideStringView name)
static const PropertyValue * GetPropertyValueByName(WideStringView wsName)
CFX_CSSNumberValue(Unit unit, float value)
float Apply(float percentBase) const
~CFX_CSSNumberValue() override
UnownedPtr< CFX_CSSDeclaration > const pDeclaration
Data(CFX_CSSSelector *pSel, CFX_CSSDeclaration *pDecl)
UnownedPtr< CFX_CSSSelector > const pSelector
const std::vector< std::unique_ptr< Data > > * GetTagRuleData(const WideString &tagname) const
void SetRulesFromSheet(const CFX_CSSStyleSheet *sheet)
void SetUAStyleSheet(std::unique_ptr< CFX_CSSStyleSheet > pSheet)
void ComputeStyle(const std::vector< const CFX_CSSDeclaration * > &declArray, const WideString &styleString, const WideString &alignString, CFX_CSSComputedStyle *pDestStyle)
void SetDefaultFontSize(float fFontSize)
RetainPtr< CFX_CSSComputedStyle > CreateComputedStyle(const CFX_CSSComputedStyle *pParentStyle)
std::vector< const CFX_CSSDeclaration * > MatchDeclarations(const WideString &tagname)
CFX_CSSValueListParser(const wchar_t *psz, size_t nLen, wchar_t separator)
bool NextValue(CFX_CSSValue::PrimitiveType *eType, const wchar_t **pStart, size_t *nLength)
CFX_CSSNumberValue::Unit type
CFX_CSSPropertyValue eName
CFX_CSSValueTypeMask dwTypes