HomeSort by relevance Sort by last modified time
    Searched refs:propertyID (Results 1 - 25 of 30) 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)
64 ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID));
76 return CSSParser::parseValue(dummyStyle.get(), propertyID, normalizedValue, false, HTMLStandardMode, 0);
PropertySetCSSStyleDeclaration.cpp 177 CSSPropertyID propertyID = cssPropertyID(propertyName);
178 if (!propertyID)
180 return cloneAndCacheForCSSOM(propertySet().getPropertyCSSValue(propertyID).get());
185 CSSPropertyID propertyID = cssPropertyID(propertyName);
186 if (!propertyID)
188 return propertySet().getPropertyValue(propertyID);
193 CSSPropertyID propertyID = cssPropertyID(propertyName);
194 if (!propertyID)
196 return propertySet().propertyIsImportant(propertyID) ? "important" : "";
201 CSSPropertyID propertyID = cssPropertyID(propertyName)
    [all...]
StylePropertySet.cpp 103 int ImmutableStylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
105 // Convert here propertyID into an uint16_t to compare it with the metadata's m_propertyID to avoid
107 uint16_t id = static_cast<uint16_t>(propertyID);
111 ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID) || isInternalProperty(propertyID));
139 String StylePropertySet::getPropertyValue(CSSPropertyID propertyID) const
141 RefPtrWillBeRawPtr<CSSValue> value = getPropertyCSSValue(propertyID);
145 return StylePropertySerializer(*this).getPropertyValue(propertyID);
148 PassRefPtrWillBeRawPtr<CSSValue> StylePropertySet::getPropertyCSSValue(CSSPropertyID propertyID) const
150 int foundPropertyIndex = findPropertyIndex(propertyID);
    [all...]
CSSProperty.h 36 StylePropertyMetadata(CSSPropertyID propertyID, bool isSetFromShorthand, int indexInShorthandsVector, bool important, bool implicit, bool inherited)
37 : m_propertyID(propertyID)
59 CSSProperty(CSSPropertyID propertyID, PassRefPtrWillBeRawPtr<CSSValue> value, bool important = false, bool isSetFromShorthand = false, int indexInShorthandsVector = 0, bool implicit = false)
60 : m_metadata(propertyID, isSetFromShorthand, indexInShorthandsVector, important, implicit, CSSPropertyMetadata::isInheritedProperty(propertyID))
StylePropertyShorthandCustom.cpp 115 const StylePropertyShorthand& parsingShorthandForProperty(CSSPropertyID propertyID)
117 switch (propertyID) {
129 return shorthandForProperty(propertyID);
145 bool isExpandedShorthandForAll(CSSPropertyID propertyId)
156 if (propertyId == CSSPropertyMarker || propertyId == CSSPropertyFont)
158 return shorthandForProperty(propertyId).length();
CSSProperty.cpp 179 CSSPropertyID CSSProperty::resolveDirectionAwareProperty(CSSPropertyID propertyID, TextDirection direction, WritingMode writingMode)
181 switch (propertyID) {
255 return propertyID;
259 bool CSSProperty::isAffectedByAllProperty(CSSPropertyID propertyID)
261 if (propertyID == CSSPropertyAll)
270 return propertyID != CSSPropertyUnicodeBidi && propertyID != CSSPropertyDirection;
StylePropertySerializer.cpp 46 String StylePropertySerializer::getPropertyText(CSSPropertyID propertyID, const String& value, bool isImportant, bool isNotFirstDecl) const
51 result.append(getPropertyName(propertyID));
71 CSSPropertyID propertyID = property.id();
73 ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID) || isInternalProperty(propertyID));
78 switch (propertyID) {
232 propertyID = shorthandPropertyID;
238 if (value == "initial" && !CSSPropertyMetadata::isInheritedProperty(propertyID))
241 result.append(getPropertyText(propertyID, value, property.isImportant(), numDecls++));
251 String StylePropertySerializer::getPropertyValue(CSSPropertyID propertyID) cons
    [all...]
CSSPrimitiveValue.cpp 241 static const AtomicString& propertyName(CSSPropertyID propertyID)
243 ASSERT_ARG(propertyID, propertyID >= 0);
244 ASSERT_ARG(propertyID, (propertyID >= firstCSSProperty && propertyID < firstCSSProperty + numCSSProperties));
246 if (propertyID < 0)
249 return getPropertyNameAtomicString(propertyID);
274 CSSPrimitiveValue::CSSPrimitiveValue(CSSPropertyID propertyID)
278 m_value.propertyID = propertyID
    [all...]
SVGCSSComputedStyleDeclaration.cpp 111 PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getSVGPropertyCSSValue(CSSPropertyID propertyID, EUpdateLayout updateLayout) const
127 switch (propertyID) {
242 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", propertyID);
244 WTF_LOG_ERROR("unimplemented propertyID: %d", propertyID);
FontFace.cpp 65 static PassRefPtrWillBeRawPtr<CSSValue> parseCSSValue(const Document* document, const String& s, CSSPropertyID propertyID)
68 return CSSParser::parseSingleValue(propertyID, s, context);
213 void FontFace::setPropertyFromString(const Document* document, const String& s, CSSPropertyID propertyID, ExceptionState* exceptionState)
215 RefPtrWillBeRawPtr<CSSValue> value = parseCSSValue(document, s, propertyID);
216 if (value && setPropertyValue(value, propertyID))
226 bool FontFace::setPropertyFromStyle(const StylePropertySet& properties, CSSPropertyID propertyID)
228 return setPropertyValue(properties.getPropertyCSSValue(propertyID), propertyID);
231 bool FontFace::setPropertyValue(PassRefPtrWillBeRawPtr<CSSValue> value, CSSPropertyID propertyID)
233 switch (propertyID) {
    [all...]
CSSComputedStyleDeclaration.cpp 587 static PassRefPtrWillBeRawPtr<CSSValueList> createPositionListForLayer(CSSPropertyID propertyID, const FillLayer& layer, const RenderStyle& style)
591 ASSERT_UNUSED(propertyID, propertyID == CSSPropertyBackgroundPosition || propertyID == CSSPropertyWebkitMaskPosition);
596 ASSERT(propertyID == CSSPropertyBackgroundPosition || propertyID == CSSPropertyWebkitMaskPosition);
603 static PassRefPtrWillBeRawPtr<CSSValue> valueForPositionOffset(RenderStyle& style, CSSPropertyID propertyID, const RenderObject* renderer)
606 switch (propertyID) {
624 LayoutUnit containingBlockSize = (propertyID == CSSPropertyLeft || propertyID == CSSPropertyRight)
    [all...]
CSSPrimitiveValue.h 220 static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createIdentifier(CSSPropertyID propertyID)
222 return adoptRefWillBeNoop(new CSSPrimitiveValue(propertyID));
324 CSSPropertyID getPropertyID() const { return m_primitiveUnitType == CSS_PROPERTY_ID ? m_value.propertyID : CSSPropertyInvalid; }
389 CSSPropertyID propertyID;
StylePropertySet.h 295 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
298 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID);
299 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID);
  /external/chromium_org/third_party/WebKit/Source/build/scripts/templates/
StylePropertyShorthand.cpp.tmpl 45 const StylePropertyShorthand& shorthandForProperty(CSSPropertyID propertyID)
48 if (propertyID == CSSPropertyTextDecoration && !RuntimeEnabledFeatures::css3TextDecorationsEnabled())
50 switch (propertyID) {
61 void getMatchingShorthandsForLonghand(CSSPropertyID propertyID, Vector<StylePropertyShorthand, 4>* result)
64 switch (propertyID) {
  /external/chromium_org/third_party/WebKit/Source/core/css/parser/
CSSParser.cpp 39 bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const String& string, bool important, CSSParserMode parserMode, StyleSheetContents* styleSheet)
41 return BisonCSSParser::parseValue(declaration, propertyID, string, important, parserMode, styleSheet);
44 bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const String& string, bool important, const CSSParserContext& context)
46 return BisonCSSParser::parseValue(declaration, propertyID, string, important, context);
49 PassRefPtrWillBeRawPtr<CSSValue> CSSParser::parseSingleValue(CSSPropertyID propertyID, const String& string, const CSSParserContext& context)
54 bool success = parseValue(stylePropertySet.get(), propertyID, string, false, context);
55 ASSERT_UNUSED(success, success == stylePropertySet->hasProperty(propertyID));
56 return stylePropertySet->getPropertyCSSValue(propertyID);
BisonCSSParser-in.cpp 203 static inline bool isColorPropertyID(CSSPropertyID propertyId)
205 switch (propertyId) {
228 static bool parseColorValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, CSSParserMode cssParserMode)
232 if (!isColorPropertyID(propertyId))
249 declaration->addParsedProperty(CSSProperty(propertyId, value.release(), important));
256 declaration->addParsedProperty(CSSProperty(propertyId, value.release(), important));
260 static inline bool isSimpleLengthPropertyID(CSSPropertyID propertyId, bool& acceptsNegativeNumbers)
262 switch (propertyId) {
323 static bool parseSimpleLengthValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, CSSParserMode cssParserMode)
329 if (isCSSViewportParsingEnabledForMode(cssParserMode) || !isSimpleLengthPropertyID(propertyId, acceptsNegativeNumbers)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
DeferredLegacyStyleInterpolationTest.cpp 20 static bool test(CSSPropertyID propertyID, const String& string)
23 if (propertyID == CSSPropertyFloodColor)
25 RefPtrWillBeRawPtr<CSSValue> value = CSSParser::parseSingleValue(propertyID, string, CSSParserContext(parserMode, 0));
  /external/chromium_org/third_party/WebKit/Source/core/editing/
EditingStyle.cpp 161 static PassOwnPtrWillBeRawPtr<HTMLElementEquivalent> create(CSSPropertyID propertyID, CSSValueID primitiveValue, const HTMLQualifiedName& tagName)
163 return adoptPtrWillBeNoop(new HTMLElementEquivalent(propertyID, primitiveValue, tagName));
253 static PassOwnPtrWillBeRawPtr<HTMLAttributeEquivalent> create(CSSPropertyID propertyID, const HTMLQualifiedName& tagName, const QualifiedName& attrName)
255 return adoptPtrWillBeNoop(new HTMLAttributeEquivalent(propertyID, tagName, attrName));
257 static PassOwnPtrWillBeRawPtr<HTMLAttributeEquivalent> create(CSSPropertyID propertyID, const QualifiedName& attrName)
259 return adoptPtrWillBeNoop(new HTMLAttributeEquivalent(propertyID, attrName));
377 EditingStyle::EditingStyle(CSSPropertyID propertyID, const String& value)
382 setProperty(propertyID, value);
495 void EditingStyle::setProperty(CSSPropertyID propertyID, const String& value, bool important)
500 m_mutableStyle->setProperty(propertyID, value, important)
    [all...]
EditingStyle.h 91 static PassRefPtrWillBeRawPtr<EditingStyle> create(CSSPropertyID propertyID, const String& value)
93 return adoptRefWillBeNoop(new EditingStyle(propertyID, value));
EditorCommand.cpp 121 static bool executeApplyStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const String& propertyValue)
124 style->setProperty(propertyID, propertyValue);
128 static bool executeApplyStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, CSSValueID propertyValue)
131 style->setProperty(propertyID, propertyValue);
138 static bool executeToggleStyleInList(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, CSSValue* value)
144 RefPtrWillBeRawPtr<CSSValue> selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID);
158 newMutableStyle->setProperty(propertyID, newStyle);
162 static bool executeToggleStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const char* offValue, const char* onValue)
170 styleIsPresent = frame.editor().selectionStartHasStyle(propertyID, onValue);
172 styleIsPresent = frame.editor().selectionHasStyle(propertyID, onValue) == TrueTriState
    [all...]
Editor.cpp 628 bool Editor::selectionStartHasStyle(CSSPropertyID propertyID, const String& value) const
630 return EditingStyle::create(propertyID, value)->triStateOfStyle(
631 EditingStyle::styleAtSelectionStart(frame().selection().selection(), propertyID == CSSPropertyBackgroundColor).get());
634 TriState Editor::selectionHasStyle(CSSPropertyID propertyID, const String& value) const
636 return EditingStyle::create(propertyID, value)->triStateOfStyle(frame().selection().selection());
639 String Editor::selectionStartCSSPropertyValue(CSSPropertyID propertyID)
642 propertyID == CSSPropertyBackgroundColor);
646 if (propertyID == CSSPropertyFontSize)
648 return selectionStyle->style()->getPropertyValue(propertyID);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLElement.cpp     [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 
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGElement.cpp 292 CSSPropertyID propertyId = cssPropertyID(attrName.localName());
293 ASSERT(propertyId > 0);
294 propertyNameToIdMap->set(attrName.localName().impl(), propertyId);
714 CSSPropertyID propertyID = cssPropertyIdForSVGAttributeName(name);
715 if (propertyID > 0)
716 addPropertyToPresentationAttributeStyle(style, propertyID, value);
    [all...]

Completed in 661 milliseconds

1 2