Home
last modified time | relevance | path

Searched refs:fontWeight (Results 1 – 14 of 14) sorted by relevance

/external/webkit/Source/WebCore/css/
DCSSFontSelector.cpp142 if (RefPtr<CSSValue> fontWeight = style->getPropertyCSSValue(CSSPropertyFontWeight)) { in addFontFaceRule() local
143 if (fontWeight->isPrimitiveValue()) { in addFontFaceRule()
145 list->append(fontWeight); in addFontFaceRule()
146 fontWeight = list; in addFontFaceRule()
147 } else if (!fontWeight->isValueList()) in addFontFaceRule()
150 CSSValueList* weightList = static_cast<CSSValueList*>(fontWeight.get()); in addFontFaceRule()
/external/webkit/Source/WebCore/platform/graphics/qt/
DFontPlatformDataQt.cpp30 static inline QFont::Weight toQFontWeight(FontWeight fontWeight) in toQFontWeight() argument
32 switch (fontWeight) { in toQFontWeight()
/external/webkit/Source/WebCore/platform/mac/
DWebFontCache.mm170 NSInteger fontWeight = [[fontInfo objectAtIndex:2] intValue];
171 fixUpWeight(fontWeight, fontFullName);
174 traitsMasks.append(toTraitsMask(fontTraits, fontWeight));
234 NSInteger fontWeight = [[fontInfo objectAtIndex:2] intValue];
235 fixUpWeight(fontWeight, fontFullName);
243 …r = betterChoice(desiredTraits, desiredWeight, chosenTraits, chosenWeight, fontTraits, fontWeight);
247 chosenWeight = fontWeight;
DHTMLConverter.mm629 …], *fontStyle = [self _stringForNode:element property:@"font-style"], *fontWeight = [self _stringF…
639 if ([fontWeight hasPrefix:@"bold"] || [fontWeight integerValue] >= 700) {
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp1327 int fontWeight = -1; in getAttributeSetForAccessibilityObject() local
1330 fontWeight = 100; in getAttributeSetForAccessibilityObject()
1333 fontWeight = 200; in getAttributeSetForAccessibilityObject()
1336 fontWeight = 300; in getAttributeSetForAccessibilityObject()
1339 fontWeight = 400; in getAttributeSetForAccessibilityObject()
1342 fontWeight = 500; in getAttributeSetForAccessibilityObject()
1345 fontWeight = 600; in getAttributeSetForAccessibilityObject()
1348 fontWeight = 700; in getAttributeSetForAccessibilityObject()
1351 fontWeight = 800; in getAttributeSetForAccessibilityObject()
1354 fontWeight = 900; in getAttributeSetForAccessibilityObject()
[all …]
/external/webkit/Source/WebCore/bindings/objc/
DDOMCSS.h160 - (NSString *)fontWeight;
161 - (void)setFontWeight:(NSString *)fontWeight;
DDOMCSS.mm667 - (NSString *)fontWeight
672 - (void)setFontWeight:(NSString *)fontWeight
674 [self setProperty:@"font-weight" value:fontWeight priority:@""];
/external/webkit/Source/WebCore/platform/graphics/wince/
DFontPlatformData.cpp295 static LONG toGDIFontWeight(FontWeight fontWeight) in create() argument
308 return gdiFontWeights[fontWeight]; in create()
/external/webkit/Source/WebCore/platform/graphics/mac/
DFontCacheMac.mm73 static int toAppKitFontWeight(FontWeight fontWeight)
86 return appKitFontWeights[fontWeight];
/external/webkit/Source/WebCore/editing/
DEditingStyle.cpp938 RefPtr<CSSValue> fontWeight = style->getPropertyCSSValue(CSSPropertyFontWeight); in fontWeightIsBold() local
940 if (!fontWeight) in fontWeightIsBold()
942 if (!fontWeight->isPrimitiveValue()) in fontWeightIsBold()
947 switch (static_cast<CSSPrimitiveValue*>(fontWeight.get())->getIdent()) { in fontWeightIsBold()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontCacheChromiumWin.cpp336 static LONG toGDIFontWeight(FontWeight fontWeight) in toGDIFontWeight() argument
349 return gdiFontWeights[fontWeight]; in toGDIFontWeight()
/external/webkit/Source/WebCore/platform/graphics/win/
DFontCacheWin.cpp368 static LONG toGDIFontWeight(FontWeight fontWeight) in toGDIFontWeight() argument
381 return gdiFontWeights[fontWeight]; in toGDIFontWeight()
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
Dmootools-1.2.2-core-nc.js2242 zIndex: '@', 'zoom': '@', fontWeight: '@', textIndent: '@px', opacity: '@' property
Dconcat-jquery-mootools-prototype.js6618 zIndex: '@', 'zoom': '@', fontWeight: '@', textIndent: '@px', opacity: '@' property