• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/css/

Lines Matching +defs:font +defs:size

243     matchedProperties.grow(matchedProperties.size() + 1);
306 renderView->style().font().update(fontSelector());
361 for (size_t i = 0; i < matchedProperties.size(); ++i) {
368 for (size_t i = 0; i < toRemove.size(); ++i)
376 for (unsigned i = 0; i < classNames.size(); ++i) {
754 s_styleNotYetAvailable->font().update(m_fontSelector);
838 cascade.addMatches(result, false, 0, result.matchedProperties.size() - 1);
842 // If our font got dirtied, go ahead and update it now.
845 // Line-height is set when we are sure we decided on the font-size
852 // If our font got dirtied by one of the non-essential font props,
892 for (unsigned i = 0; i < keyframes.size(); ++i) {
905 for (size_t keyIndex = 0; keyIndex < keys.size(); ++keyIndex) {
912 int initialListSize = list.size();
925 if (initialListSize > 0 && (list[list.size() - 1].key() != 1)) {
1009 cascade.addMatches(result, false, 0, result.matchedProperties.size() - 1);
1013 // If our font got dirtied, go ahead and update it now.
1016 // Line-height is set when we are sure we decided on the font-size.
1037 m_state.style()->font().update(fontSelector());
1039 m_state.style()->font().update(0);
1372 unsigned rulesSize = m_ruleSets.authorStyle()->regionSelectorsAndRuleSets().size();
1380 rulesSize = m_ruleSets.userStyle()->regionSelectorsAndRuleSets().size();
1419 style->font().update(m_fontSelector);
1519 unsigned StyleResolver::computeMatchedPropertiesHash(const MatchedProperties* properties, unsigned size)
1521 return StringHasher::hashMemory(properties, sizeof(MatchedProperties) * size);
1558 size_t size = matchResult.matchedProperties.size();
1559 if (size != cacheItem.matchedProperties.size())
1561 for (size_t i = 0; i < size; ++i) {
1662 unsigned cacheHash = shouldUseMatchedPropertiesCache && matchResult.isCacheable ? computeMatchedPropertiesHash(matchResult.matchedProperties.data(), matchResult.matchedProperties.size()) : 0;
1709 if (!cascade.addMatches(matchResult, false, 0, matchResult.matchedProperties.size() - 1, applyInheritedOnly)
1724 // If our font got dirtied, go ahead and update it now.
1727 // Line-height is set when we are sure we decided on the font-size.
1731 // If the font changed, we can't use the matched properties cache. Start over.
1859 // properties that are NOT allowed to scale within a zoomed SVG document (letter/word-spacing/font-size).
1969 // The parser should have rejected any <track-list> without any <track-size> as
2240 // Double-check and see if the theme did anything. If not, don't bother updating the font.
2242 // Make sure the rendering mode and printer font settings are updated.
2255 CSSFontValue* font = toCSSFontValue(value);
2256 if (!font->style || !font->variant || !font->weight
2257 || !font->size || !font->lineHeight || !font->family)
2259 applyProperty(CSSPropertyFontStyle, font->style.get());
2260 applyProperty(CSSPropertyFontVariant, font->variant.get());
2261 applyProperty(CSSPropertyFontWeight, font->weight.get());
2262 // The previous properties can dirty our font but they don't try to read the font's
2263 // properties back, which is safe. However if font-size is using the 'ex' unit, it will
2264 // need query the dirtied font's x-height to get the computed size. To be safe in this
2265 // case, let's just update the font now.
2267 applyProperty(CSSPropertyFontSize, font->size.get());
2269 state.setLineHeightValue(font->lineHeight.get());
2271 applyProperty(CSSPropertyFontFamily, font->family.get());
2386 case CSSPropertySrc: // Only used in @font-face rules.
2388 case CSSPropertyUnicodeRange: // Only used in @font-face rules.
3224 // We know the parent is monospace or the child is monospace, and that font
3225 // size was unspecified. We want to scale our font size as appropriate.
3226 // If the font uses a keyword size, then we refetch from the table rather than
3228 float size;
3230 size = Style::fontSizeForKeyword(CSSValueXxSmall + childFont.keywordSize() - 1, childFont.useFixedDefaultSize(), document());
3236 size = parentFont.useFixedDefaultSize() ?
3242 setFontSize(newFontDescription, size);
3262 void StyleResolver::setFontSize(FontDescription& fontDescription, float size)
3264 fontDescription.setSpecifiedSize(size);
3265 fontDescription.setComputedSize(Style::computedFontSizeFromSpecifiedSize(size, fontDescription.isAbsoluteSize(), useSVGZoomRules(), m_state.style(), document()));
3351 unsigned s = m_viewportDependentMediaQueryResults.size();
3630 for (size_t i = 0; i < cursorList->size(); ++i) {
3738 ASSERT(id < m_propertyIsPresent.size());
3767 ASSERT(id < m_propertyIsPresent.size());