Searched refs:specifiedSize (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DFontSize.h38 static float getComputedSizeFromSpecifiedSize(const Document*, float zoomFactor, bool isAbsoluteSize, float specifiedSize, ESmartMinimumForFontSize = UseSmartMinimumForFontFize);
H A DFontSize.cpp38 float FontSize::getComputedSizeFromSpecifiedSize(const Document* document, float zoomFactor, bool isAbsoluteSize, float specifiedSize, ESmartMinimumForFontSize useSmartMinimumForFontSize) argument
44 if (fabsf(specifiedSize) < std::numeric_limits<float>::epsilon())
63 float zoomedSize = specifiedSize * zoomFactor;
73 if (useSmartMinimumForFontSize && zoomedSize < minLogicalSize && (specifiedSize >= minLogicalSize || !isAbsoluteSize))
H A DCSSPrimitiveValue.cpp537 factor = computingFontSize ? style->fontDescription().specifiedSize() : style->fontDescription().computedSize();
541 // We really need to compute EX using fontMetrics for the original specifiedSize and not use
546 factor = (computingFontSize ? style->fontDescription().specifiedSize() : style->fontDescription().computedSize()) / 2.0;
550 factor = computingFontSize ? rootStyle->fontDescription().specifiedSize() : rootStyle->fontDescription().computedSize();
H A DCSSComputedStyleDeclaration.cpp1455 return zoomAdjustedPixelValue(static_cast<int>(length.percent() * style->fontDescription().specifiedSize()) / 100, style);
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebFontDescription.cpp45 size = desc.specifiedSize();
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DFontBuilder.h102 float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);
H A DFontBuilder.cpp138 fontDescription.setComputedSize(getComputedSizeFromSpecifiedSize(fontDescription, effectiveZoom, fontDescription.specifiedSize()));
265 float size = parentFontDescription.specifiedSize();
303 parentSize = parentStyle->fontDescription().specifiedSize();
520 float FontBuilder::getComputedSizeFromSpecifiedSize(FontDescription& fontDescription, float effectiveZoom, float specifiedSize) argument
530 return FontSize::getComputedSizeFromSpecifiedSize(m_document, zoomFactor, fontDescription.isAbsoluteSize(), specifiedSize);
616 scope.fontDescription().specifiedSize() / fixedScaleFactor :
617 scope.fontDescription().specifiedSize() * fixedScaleFactor;
630 setSize(scope.fontDescription(), style->effectiveZoom(), scope.fontDescription().specifiedSize());
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DTextAutosizer.h54 static float computeAutosizedFontSize(float specifiedSize, float multiplier);
H A DTextAutosizer.cpp281 float TextAutosizer::computeAutosizedFontSize(float specifiedSize, float multiplier) argument
288 // For specifiedSize between 0 and pleasantSize we directly apply the
289 // multiplier; hence for specifiedSize == pleasantSize, computedSize will be
292 // specifiedSize beyond pleasantSize we will only increase computedSize
294 // computedSize = specifiedSize line, after which we stay on that line (so
295 // then every 1px increase in specifiedSize increases computedSize by 1px).
299 if (specifiedSize <= pleasantSize)
300 computedSize = multiplier * specifiedSize;
302 computedSize = multiplier * pleasantSize + gradientAfterPleasantSize * (specifiedSize - pleasantSize);
303 if (computedSize < specifiedSize)
[all...]
H A DRenderEmbeddedObject.cpp191 fontDescription.setComputedSize(fontDescription.specifiedSize());
H A DRenderListBox.cpp243 int specifiedSize = selectElement()->size(); local
244 if (specifiedSize > 1)
245 return max(minSize, specifiedSize);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DFontDescription.h107 float specifiedSize() const { return m_specifiedSize; } function in class:WebCore::FontDescription
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGInlineText.cpp242 fontDescription.setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(document, scalingFactor, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), DoNotUseSmartMinimumForFontSize));
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp1148 float RenderStyle::specifiedFontSize() const { return fontDescription().specifiedSize(); }
1202 // size must be specifiedSize if Text Autosizing is enabled, but computedSize if text
H A DRenderStyle.h1035 setFontSize(fontDescription().specifiedSize());

Completed in 627 milliseconds