HomeSort by relevance Sort by last modified time
    Searched refs:propertyID (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/css/
DOMWindowCSS.cpp 61 CSSPropertyID propertyID = cssPropertyID(property.stripWhiteSpace());
62 if (propertyID == CSSPropertyInvalid)
65 if (!RuntimeCSSEnabled::isCSSPropertyEnabled(propertyID))
78 return CSSParser::parseValue(dummyStyle.get(), propertyID, normalizedValue, false, HTMLStandardMode, 0);
PropertySetCSSStyleDeclaration.cpp 170 CSSPropertyID propertyID = cssPropertyID(propertyName);
171 if (!propertyID)
173 return cloneAndCacheForCSSOM(m_propertySet->getPropertyCSSValue(propertyID).get());
178 CSSPropertyID propertyID = cssPropertyID(propertyName);
179 if (!propertyID)
181 return m_propertySet->getPropertyValue(propertyID);
186 CSSPropertyID propertyID = cssPropertyID(propertyName);
187 if (!propertyID)
189 return m_propertySet->propertyIsImportant(propertyID) ? "important" : "";
194 CSSPropertyID propertyID = cssPropertyID(propertyName)
    [all...]
StylePropertySet.cpp 109 String StylePropertySet::getPropertyValue(CSSPropertyID propertyID) const
111 RefPtr<CSSValue> value = getPropertyCSSValue(propertyID);
115 return StylePropertySerializer(*this).getPropertyValue(propertyID);
118 PassRefPtr<CSSValue> StylePropertySet::getPropertyCSSValue(CSSPropertyID propertyID) const
120 int foundPropertyIndex = findPropertyIndex(propertyID);
146 bool MutableStylePropertySet::removeShorthandProperty(CSSPropertyID propertyID)
148 StylePropertyShorthand shorthand = shorthandForProperty(propertyID);
154 CSSPropertyID prefixingVariant = prefixingVariantForPropertyId(propertyID);
155 if (prefixingVariant == propertyID)
162 bool MutableStylePropertySet::removeProperty(CSSPropertyID propertyID, String* returnText
    [all...]
StylePropertyShorthandCustom.cpp 90 const StylePropertyShorthand& parsingShorthandForProperty(CSSPropertyID propertyID)
92 switch (propertyID) {
100 return shorthandForProperty(propertyID);
CSSProperty.h 35 StylePropertyMetadata(CSSPropertyID propertyID, bool isSetFromShorthand, int indexInShorthandsVector, bool important, bool implicit, bool inherited)
36 : m_propertyID(propertyID)
57 CSSProperty(CSSPropertyID propertyID, PassRefPtr<CSSValue> value, bool important = false, bool isSetFromShorthand = false, int indexInShorthandsVector = 0, bool implicit = false)
58 : m_metadata(propertyID, isSetFromShorthand, indexInShorthandsVector, important, implicit, isInheritedProperty(propertyID))
61 ASSERT((propertyID == CSSPropertyVariable) == (m_value && m_value->isVariableValue()));
96 CSSPropertyID propertyId = CSSPropertyInvalid;
99 propertyId = CSSPropertyWebkitAnimation;
102 propertyId = CSSPropertyWebkitAnimationDelay;
105 propertyId = CSSPropertyWebkitAnimationDirection
    [all...]
FontFace.cpp 92 static PassRefPtr<CSSValue> parseCSSValue(const String& s, CSSPropertyID propertyID)
97 CSSParser::parseValue(parsedStyle.get(), propertyID, s, true, HTMLStandardMode, 0);
98 return parsedStyle->getPropertyCSSValue(propertyID);
245 void FontFace::setPropertyFromString(const String& s, CSSPropertyID propertyID, ExceptionState& exceptionState)
247 RefPtr<CSSValue> value = parseCSSValue(s, propertyID);
248 if (!value || !setPropertyValue(value, propertyID))
252 bool FontFace::setPropertyFromStyle(const StylePropertySet* properties, CSSPropertyID propertyID)
254 return setPropertyValue(properties->getPropertyCSSValue(propertyID), propertyID);
257 bool FontFace::setPropertyValue(PassRefPtr<CSSValue> value, CSSPropertyID propertyID)
    [all...]
CSSPrimitiveValue.cpp 205 static const AtomicString& propertyName(CSSPropertyID propertyID)
207 ASSERT_ARG(propertyID, propertyID >= 0);
208 ASSERT_ARG(propertyID, (propertyID >= firstCSSProperty && propertyID < firstCSSProperty + numCSSProperties));
210 if (propertyID < 0)
213 return getPropertyNameAtomicString(propertyID);
238 CSSPrimitiveValue::CSSPrimitiveValue(CSSPropertyID propertyID)
242 m_value.propertyID = propertyID
    [all...]
CSSComputedStyleDeclaration.cpp 602 static PassRefPtr<CSSValueList> createPositionListForLayer(CSSPropertyID propertyID, const FillLayer* layer, const RenderStyle& style)
606 ASSERT_UNUSED(propertyID, propertyID == CSSPropertyBackgroundPosition || propertyID == CSSPropertyWebkitMaskPosition);
611 ASSERT(propertyID == CSSPropertyBackgroundPosition || propertyID == CSSPropertyWebkitMaskPosition);
618 static PassRefPtr<CSSValue> valueForPositionOffset(RenderStyle& style, CSSPropertyID propertyID, const RenderObject* renderer, RenderView* renderView)
621 switch (propertyID) {
639 LayoutUnit containingBlockSize = (propertyID == CSSPropertyLeft || propertyID == CSSPropertyRight)
    [all...]
SVGCSSComputedStyleDeclaration.cpp 91 PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getSVGPropertyCSSValue(CSSPropertyID propertyID, EUpdateLayout updateLayout) const
109 switch (propertyID) {
227 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", propertyID);
229 WTF_LOG_ERROR("unimplemented propertyID: %d", propertyID);
CSSPrimitiveValue.h 202 static PassRefPtr<CSSPrimitiveValue> createIdentifier(CSSPropertyID propertyID) { return adoptRef(new CSSPrimitiveValue(propertyID)); }
305 CSSPropertyID getPropertyID() const { return m_primitiveUnitType == CSS_PROPERTY_ID ? m_value.propertyID : CSSPropertyInvalid; }
372 CSSPropertyID propertyID;
StylePropertySerializer.cpp 64 CSSPropertyID propertyID = property.id();
66 ASSERT(RuntimeCSSEnabled::isCSSPropertyEnabled(propertyID) || isInternalProperty(propertyID));
71 switch (propertyID) {
223 propertyID = shorthandPropertyID;
229 if (value == "initial" && !CSSProperty::isInheritedProperty(propertyID))
234 result.append(getPropertyName(propertyID));
311 String StylePropertySerializer::getPropertyValue(CSSPropertyID propertyID) const
314 switch (propertyID) {
418 void StylePropertySerializer::appendFontLonghandValueIfExplicit(CSSPropertyID propertyID, StringBuilder& result, String& commonValue) cons
    [all...]
CSSProperty.cpp 179 CSSPropertyID CSSProperty::resolveDirectionAwareProperty(CSSPropertyID propertyID, TextDirection direction, WritingMode writingMode)
181 switch (propertyID) {
255 return propertyID;
259 bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID)
261 switch (propertyID) {
CSSParser-in.cpp 291 static inline bool isColorPropertyID(CSSPropertyID propertyId)
293 switch (propertyId) {
320 static bool parseColorValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, CSSParserMode cssParserMode)
324 if (!isColorPropertyID(propertyId))
341 declaration->addParsedProperty(CSSProperty(propertyId, value.release(), important));
348 declaration->addParsedProperty(CSSProperty(propertyId, value.release(), important));
352 static inline bool isSimpleLengthPropertyID(CSSPropertyID propertyId, bool& acceptsNegativeNumbers)
354 switch (propertyId) {
416 static bool parseSimpleLengthValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, CSSParserMode cssParserMode)
422 if (isCSSViewportParsingEnabledForMode(cssParserMode) || !isSimpleLengthPropertyID(propertyId, acceptsNegativeNumbers)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/build/scripts/templates/
StylePropertyShorthand.cpp.tmpl 46 const StylePropertyShorthand& shorthandForProperty(CSSPropertyID propertyID)
49 switch (propertyID) {
66 void getMatchingShorthandsForLonghand(CSSPropertyID propertyID, Vector<StylePropertyShorthand, 4>* result)
69 switch (propertyID) {
  /external/chromium_org/third_party/WebKit/Source/core/editing/
EditingStyle.cpp 155 static PassOwnPtr<HTMLElementEquivalent> create(CSSPropertyID propertyID, CSSValueID primitiveValue, const QualifiedName& tagName)
157 return adoptPtr(new HTMLElementEquivalent(propertyID, primitiveValue, tagName));
242 static PassOwnPtr<HTMLAttributeEquivalent> create(CSSPropertyID propertyID, const QualifiedName& tagName, const QualifiedName& attrName)
244 return adoptPtr(new HTMLAttributeEquivalent(propertyID, tagName, attrName));
246 static PassOwnPtr<HTMLAttributeEquivalent> create(CSSPropertyID propertyID, const QualifiedName& attrName)
248 return adoptPtr(new HTMLAttributeEquivalent(propertyID, attrName));
368 EditingStyle::EditingStyle(CSSPropertyID propertyID, const String& value)
373 setProperty(propertyID, value);
485 void EditingStyle::setProperty(CSSPropertyID propertyID, const String& value, bool important)
490 m_mutableStyle->setProperty(propertyID, value, important)
    [all...]
EditingStyle.h 95 static PassRefPtr<EditingStyle> create(CSSPropertyID propertyID, const String& value)
97 return adoptRef(new EditingStyle(propertyID, value));
EditorCommand.cpp 117 static bool executeApplyStyle(Frame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const String& propertyValue)
120 style->setProperty(propertyID, propertyValue);
124 static bool executeApplyStyle(Frame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, CSSValueID propertyValue)
127 style->setProperty(propertyID, propertyValue);
134 static bool executeToggleStyleInList(Frame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, CSSValue* value)
140 RefPtr<CSSValue> selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID);
154 newMutableStyle->setProperty(propertyID, newStyle);
158 static bool executeToggleStyle(Frame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const char* offValue, const char* onValue)
166 styleIsPresent = frame.editor().selectionStartHasStyle(propertyID, onValue);
168 styleIsPresent = frame.editor().selectionHasStyle(propertyID, onValue) == TrueTriState
    [all...]
Editor.cpp 720 bool Editor::selectionStartHasStyle(CSSPropertyID propertyID, const String& value) const
722 return EditingStyle::create(propertyID, value)->triStateOfStyle(
723 EditingStyle::styleAtSelectionStart(m_frame.selection().selection(), propertyID == CSSPropertyBackgroundColor).get());
726 TriState Editor::selectionHasStyle(CSSPropertyID propertyID, const String& value) const
728 return EditingStyle::create(propertyID, value)->triStateOfStyle(m_frame.selection().selection());
731 String Editor::selectionStartCSSPropertyValue(CSSPropertyID propertyID)
734 propertyID == CSSPropertyBackgroundColor);
738 if (propertyID == CSSPropertyFontSize)
740 return selectionStyle->style()->getPropertyValue(propertyID);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8CSSStyleDeclarationCustom.cpp 149 CSSPropertyID propertyID = cssPropertyID(propName);
150 if (propertyID && RuntimeCSSEnabled::isCSSPropertyEnabled(propertyID)) {
152 propInfo->propID = propertyID;
169 CSSPropertyID propertyId = static_cast<CSSPropertyID>(id);
170 if (RuntimeCSSEnabled::isCSSPropertyEnabled(propertyId))
171 propertyNames.append(getJSPropertyName(propertyId));
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
CSSToStyleMap.cpp 55 PassRefPtr<StyleImage> CSSToStyleMap::styleImage(CSSPropertyID propertyId, CSSValue* value)
57 return m_elementStyleResources.styleImage(m_state.document().textLinkColors(), m_state.style()->color(), propertyId, value);
226 void CSSToStyleMap::mapFillXPosition(CSSPropertyID propertyID, FillLayer* layer, CSSValue* value) const
239 ASSERT_UNUSED(propertyID, propertyID == CSSPropertyBackgroundPositionX || propertyID == CSSPropertyWebkitMaskPositionX);
251 void CSSToStyleMap::mapFillYPosition(CSSPropertyID propertyID, FillLayer* layer, CSSValue* value) const
264 ASSERT_UNUSED(propertyID, propertyID == CSSPropertyBackgroundPositionY || propertyID == CSSPropertyWebkitMaskPositionY)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLElement.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGElement.cpp 66 CSSPropertyID propertyId = cssPropertyID(attrName.localName());
67 if (!propertyId && attrName == transform_originAttr)
68 propertyId = CSSPropertyWebkitTransformOrigin; // cssPropertyID("-webkit-transform-origin")
69 ASSERT(propertyId > 0);
70 propertyNameToIdMap->set(attrName.localName().impl(), propertyId);
292 CSSPropertyID propertyID = SVGElement::cssPropertyIdForSVGAttributeName(attr->name());
293 style->setProperty(propertyID, attr->value());
294 RefPtr<CSSValue> cssValue = style->getPropertyCSSValue(propertyID);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/frame/animation/
CSSPropertyAnimation.cpp 290 static void addPropertyWrapper(CSSPropertyID propertyID, AnimationPropertyWrapperBase* wrapper)
292 int propIndex = propertyID - firstCSSProperty;
301 static AnimationPropertyWrapperBase* wrapperForProperty(CSSPropertyID propertyID)
303 int propIndex = propertyID - firstCSSProperty;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Element.cpp     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ui.views_3.5.0.I20100527-0800.jar 

Completed in 384 milliseconds

1 2