Searched refs:expValue (Results 1 – 5 of 5) sorted by relevance
214 , m_expValue(other.expValue()) in MediaQueryExp()218 MediaQueryExp::MediaQueryExp(const String& mediaFeature, const MediaQueryExpValue& expValue) in MediaQueryExp() argument220 , m_expValue(expValue) in MediaQueryExp()228 MediaQueryExpValue expValue; in createIfValid() local240 expValue.id = value->id; in createIfValid()241 expValue.unit = CSSPrimitiveValue::CSS_VALUE_ID; in createIfValid()242 expValue.isID = true; in createIfValid()247 expValue.value = value->fValue; in createIfValid()248 expValue.unit = (CSSPrimitiveValue::UnitType)value->unit; in createIfValid()249 expValue.isValue = true; in createIfValid()[all …]
67 bool equals(const MediaQueryExpValue& expValue) const in equals()70 return (id == expValue.id); in equals()72 return (value == expValue.value); in equals()74 return (numerator == expValue.numerator && denominator == expValue.denominator); in equals()75 return !expValue.isValid(); in equals()87 MediaQueryExpValue expValue() const { return m_expValue; } in expValue() function
304 MediaQueryExpValue expValue = expression->expValue(); in reportMediaQueryWarningIfNeeded() local305 if (expValue.isValue) { in reportMediaQueryWarningIfNeeded()306 if (CSSPrimitiveValue::isDotsPerPixel(expValue.unit)) in reportMediaQueryWarningIfNeeded()308 …else if (CSSPrimitiveValue::isDotsPerInch(expValue.unit) || CSSPrimitiveValue::isDotsPerCentimeter… in reportMediaQueryWarningIfNeeded()309 suspiciousType = expValue.unit; in reportMediaQueryWarningIfNeeded()
657 return func(expr->expValue(), NoPrefix, *m_mediaValues); in eval()
1022 MediaQueryExpValue expValue = mediaQueryExp->expValue(); in buildMediaObject() local1023 if (!expValue.isValue) in buildMediaObject()1025 const char* valueName = CSSPrimitiveValue::unitTypeToString(expValue.unit); in buildMediaObject()1027 .setValue(expValue.value) in buildMediaObject()1032 if (mediaValues->computeLength(expValue.value, expValue.unit, computedLength)) in buildMediaObject()