Home | History | Annotate | Download | only in css

Lines Matching full:value

88         if (properties[i]->value()->isVariableDependentValue())
97 // don't attach it to the same node, just leave the current m_node value
105 RefPtr<CSSValue> value = getPropertyCSSValue(propertyID);
106 if (value)
107 return value->cssText();
148 String value = getCommonValue(properties[i], 4);
149 if (!value.isNull()) {
152 res += value;
250 RefPtr<CSSValue> value = getPropertyCSSValue(CSSPropertyMarkerStart);
251 if (value)
252 return value->cssText();
313 RefPtr<CSSValue> value;
316 value = static_cast<CSSValueList*>(values[j].get())->item(i);
318 value = values[j];
323 value = 0;
325 value = 0;
330 // then it was written with only one value. Here we figure out which value that was so we can
341 int xId = static_cast<CSSPrimitiveValue*>(value.get())->getIdent();
358 if (value && !value->isImplicitInitialValue()) {
369 layerRes += value->cssText();
371 layerRes += value->cssText();
390 RefPtr<CSSValue> value = getPropertyCSSValue(properties[i]);
391 // FIXME: provide default value if !value
392 if (value) {
395 res += value->cssText();
402 // only returns a non-null value if all properties have the same, non-null value
408 RefPtr<CSSValue> value = getPropertyCSSValue(properties[i]);
409 if (!value)
411 String text = value->cssText();
426 return property ? property->value() : 0;
452 String value = returnText ? foundProperty->value()->cssText() : String();
454 if (foundProperty->value()->isVariableDependentValue())
464 return value;
508 void CSSMutableStyleDeclaration::setProperty(int propertyID, const String& value, bool important, ExceptionCode& ec)
511 setProperty(propertyID, value, important, true);
520 bool CSSMutableStyleDeclaration::setProperty(int propertyID, const String& value, bool important, bool notifyChanged)
524 // Setting the value to an empty string just removes the property in both IE and Gecko.
526 if (value.isEmpty()) {
531 // When replacing an existing property value, this moves the property to the end of the list.
534 bool success = parser.parseValue(this, propertyID, value, important);
558 bool CSSMutableStyleDeclaration::setProperty(int propertyID, int value, bool important, bool notifyChanged)
560 CSSProperty property(propertyID, CSSPrimitiveValue::createIdentifier(value), important);
567 void CSSMutableStyleDeclaration::setStringProperty(int propertyId, const String &value, CSSPrimitiveValue::UnitTypes type, bool important)
571 setPropertyInternal(CSSProperty(propertyId, CSSPrimitiveValue::create(value, type), important));
605 if (properties[i]->value()->isVariableDependentValue())
620 void CSSMutableStyleDeclaration::setLengthProperty(int propertyId, const String& value, bool important, bool /*multiLength*/)
626 setProperty(propertyId, value, important);
673 if (positionXProp->value()->isValueList() || positionYProp->value()->isValueList())
676 positionValue = positionXProp->value()->cssText() + " " + positionYProp->value()->cssText();
689 if (repeatXProp->value()->isValueList() || repeatYProp->value()->isValueList())
692 repeatValue = repeatXProp->value()->cssText() + " " + repeatYProp->value()->cssText();
725 if (!argOverridesOnConflict && old->value())
740 m_properties[i].value()->addSubresourceStyleURLs(urls, sheet);