Home | History | Annotate | Download | only in css

Lines Matching refs:propertyId

262 static inline bool isColorPropertyID(int propertyId)
264 switch (propertyId) {
289 static bool parseColorValue(CSSMutableStyleDeclaration* declaration, int propertyId, const String& string, bool important, bool strict)
293 if (!isColorPropertyID(propertyId))
313 CSSProperty property(propertyId, stylesheet->document()->cssPrimitiveValueCache()->createIdentifierValue(valueID), important);
320 CSSProperty property(propertyId, stylesheet->document()->cssPrimitiveValueCache()->createColorValue(color), important);
325 static inline bool isSimpleLengthPropertyID(int propertyId, bool& acceptsNegativeNumbers)
327 switch (propertyId) {
367 static bool parseSimpleLengthValue(CSSMutableStyleDeclaration* declaration, int propertyId, const String& string, bool important, bool strict)
374 if (!isSimpleLengthPropertyID(propertyId, acceptsNegativeNumbers))
404 CSSProperty property(propertyId, stylesheet->document()->cssPrimitiveValueCache()->createValue(number, unit), important);
409 bool CSSParser::parseValue(CSSMutableStyleDeclaration* declaration, int propertyId, const String& string, bool important, bool strict)
411 if (parseSimpleLengthValue(declaration, propertyId, string, important, strict))
413 if (parseColorValue(declaration, propertyId, string, important, strict))
416 return parser.parseValue(declaration, propertyId, string, important);
419 bool CSSParser::parseValue(CSSMutableStyleDeclaration* declaration, int propertyId, const String& string, bool important)
426 m_id = propertyId;