/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | ElementRuleCollector.cpp | 44 #include "core/rendering/style/StyleInheritedData.h" 49 const SelectorFilter& filter, RenderStyle* style) 52 , m_style(style) 127 // c) the rules comes from a scoped style sheet within the same tree scope 130 // d) the rules comes from a scoped style sheet within an active shadow root whose host is the given element 152 // b) the rules comes from a scoped style sheet within the same tree scope 153 // c) the rules comes from a scoped style sheet within an active shadow root whose host is the given element 249 // FIXME: Matching should not modify the style directly. 298 // FIXME: Matching should not modify the style directly. 48 ElementRuleCollector(const ElementResolveContext& context, const SelectorFilter& filter, RenderStyle* style) argument
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | StyleResolverState.h | 35 #include "core/rendering/style/CachedUAStyle.h" 36 #include "core/rendering/style/RenderStyle.h" 37 #include "core/rendering/style/StyleInheritedData.h" 63 void setStyle(PassRefPtr<RenderStyle> style) { m_style = style; m_cssToLengthConversionData.setStyle(m_style.get()); } argument 64 const RenderStyle* style() const { return m_style.get(); } function in class:blink::StyleResolverState 65 RenderStyle* style() { return m_style.get(); } function in class:blink::StyleResolverState 79 // map functions. When we map from CSS to style objects we use this state object 96 // RenderTheme only needs the cached style if it has an appearance, 98 if (!style() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | PresentationAttributeStyle.cpp | 178 RefPtrWillBeRawPtr<StylePropertySet> style = nullptr; local 180 style = cacheValue->value->value; 183 style = MutableStylePropertySet::create(element.isSVGElement() ? SVGAttributeMode : HTMLAttributeMode); 187 element.collectStyleForPresentationAttribute(it->name(), it->value(), toMutableStylePropertySet(style)); 191 return style.release(); 195 newEntry->value = style; 207 return style.release();
|
H A D | Text.cpp | 240 bool Text::textRendererIsNeeded(const RenderStyle& style, const RenderObject& parent) argument 248 if (style.display() == NONE) 257 if (style.preserveNewline()) // pre/pre-wrap/pre-line always make renderers. 294 RenderText* Text::createTextRenderer(RenderStyle* style) argument 299 if (style->hasTextCombine()) 327 // need to create one if the parent style now has white-space: pre. 331 if (RenderStyle* style = parentRenderStyle()) 332 return style->preserveNewline(); 341 if (!textRenderer || !textRendererIsNeeded(*textRenderer->style(), *textRenderer->parent())) {
|
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/ |
H A D | InsertionPoint.cpp | 183 bool InsertionPoint::rendererIsNeeded(const RenderStyle& style) argument 185 return !isActive() && HTMLElement::rendererIsNeeded(style);
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | ApplyBlockElementCommand.cpp | 40 #include "core/rendering/style/RenderStyle.h" 250 RenderStyle* style = renderStyleOfEnclosingTextNode(position); local 251 if (!style) 255 if (!style->preserveNewline() || !position.offsetInContainerNode() || !isNewLineAtPosition(firstPositionInNode(text.get())))
|
H A D | EditingStyle.h | 86 static PassRefPtrWillBeRawPtr<EditingStyle> create(const StylePropertySet* style) argument 88 return adoptRefWillBeNoop(new EditingStyle(style)); 98 MutableStylePropertySet* style() { return m_mutableStyle.get(); } function in class:blink::FINAL
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLObjectElement.cpp | 90 void HTMLObjectElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) argument 93 applyBorderAttributeToStyle(value, style); 95 HTMLPlugInElement::collectStyleForPresentationAttribute(name, value, style); 309 bool HTMLObjectElement::rendererIsNeeded(const RenderStyle& style) argument 314 return HTMLPlugInElement::rendererIsNeeded(style);
|
H A D | HTMLVideoElement.cpp | 73 bool HTMLVideoElement::rendererIsNeeded(const RenderStyle& style) argument 75 return HTMLElement::rendererIsNeeded(style); 97 void HTMLVideoElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) argument 100 addHTMLLengthToStyle(style, CSSPropertyWidth, value); 102 addHTMLLengthToStyle(style, CSSPropertyHeight, value); 104 HTMLMediaElement::collectStyleForPresentationAttribute(name, value, style);
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | InlineFlowBoxPainter.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 31 if (m_inlineFlowBox.renderer().style()->visibility() == VISIBLE && m_inlineFlowBox.renderer().style()->hasOutline() && !m_inlineFlowBox.isRootInlineBox()) { 99 bool hasFillImage = img && img->canRender(m_inlineFlowBox.renderer(), m_inlineFlowBox.renderer().style()->effectiveZoom()); 100 if ((!hasFillImage && !m_inlineFlowBox.renderer().style()->hasBorderRadius()) || (!m_inlineFlowBox.prevLineBox() && !m_inlineFlowBox.nextLineBox()) || !m_inlineFlowBox.parent()) { 102 } else if (m_inlineFlowBox.renderer().style()->boxDecorationBreak() == DCLONE) { 115 if (m_inlineFlowBox.renderer().style()->direction() == LTR) { 154 RenderStyle* style = box->renderer().style(); local 155 LayoutBoxExtent outsets = style [all...] |
H A D | ObjectPainter.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 11 #include "core/rendering/style/RenderStyle.h" 17 void ObjectPainter::paintFocusRing(PaintInfo& paintInfo, const LayoutPoint& paintOffset, RenderStyle* style) argument 21 ASSERT(style->outlineStyleIsAuto()); 25 paintInfo.context->drawFocusRing(focusRingIntRects, style->outlineWidth(), style->outlineOffset(), m_renderObject.resolveColor(style, CSSPropertyOutlineColor)); 30 RenderStyle* styleToUse = m_renderObject.style(); 97 BoxSide side, Color color, EBorderStyle style, 115 if (style 96 drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, EBorderStyle style, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 152 drawDashedOrDottedBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, int thickness, EBorderStyle style, bool antialias) argument 255 drawRidgeOrGrooveBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, EBorderStyle style, int adjacentWidth1, int adjacentWidth2, bool antialias) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | FilterEffectRenderer.cpp | 91 const RenderStyle* style = renderer->style(); local 92 float invZoom = style ? 1.0f / style->effectiveZoom() : 1.0f; 314 const RenderStyle* style = renderer ? renderer->style() : 0; local 315 float zoom = style ? style->effectiveZoom() : 1.0f;
|
H A D | RenderGeometryMap.cpp | 173 if (!layer->subtreeIsInvisible() && lastRenderer->style()->visibility() == VISIBLE) { 200 const RenderStyle* style = current->style(); local 201 if (style->position() == FixedPosition || style->isFlippedBlocksWritingMode()) 238 bool accumulatingTransform = layer->renderer()->style()->preserves3D() || ancestorLayer->renderer()->style()->preserves3D();
|
H A D | RenderTextControl.cpp | 73 // We may have set the width and the height in the old style in layout(). 75 innerEditorRenderer->style()->setHeight(Length()); 76 innerEditorRenderer->style()->setWidth(Length()); 77 innerEditorRenderer->setStyle(createInnerEditorStyle(style())); 83 static inline void updateUserModifyProperty(HTMLTextFormControlElement* node, RenderStyle* style) argument 85 style->setUserModify(node->isDisabledOrReadOnly() ? READ_ONLY : READ_WRITE_PLAINTEXT_ONLY); 91 // so we need to inherit the direction and unicode-bidi style from the element. 92 textBlockStyle->setDirection(style()->direction()); 93 textBlockStyle->setUnicodeBidi(style()->unicodeBidi()); 119 updateUserModifyProperty(textFormControlElement(), innerEditor->renderer()->style()); [all...] |
H A D | TextPainter.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 13 #include "core/rendering/style/RenderStyle.h" 14 #include "core/rendering/style/ShadowList.h" 111 TextPainter::Style TextPainter::textPaintingStyle(RenderObject& renderer, RenderStyle* style, bool forceBlackText, bool isPrinting) argument 119 textStyle.strokeWidth = style->textStrokeWidth(); 122 textStyle.fillColor = renderer.resolveColor(style, CSSPropertyWebkitTextFillColor); 123 textStyle.strokeColor = renderer.resolveColor(style, CSSPropertyWebkitTextStrokeColor); 124 textStyle.emphasisMarkColor = renderer.resolveColor(style, CSSPropertyWebkitTextEmphasisColor); 125 textStyle.strokeWidth = style->textStrokeWidth(); 126 textStyle.shadow = style [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | ShapeOutsideInfo.cpp | 52 bool isHorizontalWritingMode = m_renderer.containingBlock()->style()->isHorizontalWritingMode(); 53 switch (referenceBox(*m_renderer.style()->shapeOutside())) { 122 styleImage->setContainerSizeForRenderer(&m_renderer, imageSize, m_renderer.style()->effectiveZoom()); 147 const RenderStyle& style = *m_renderer.style(); local 149 const RenderStyle& containingBlockStyle = *m_renderer.containingBlock()->style(); 153 float margin = floatValueForLength(m_renderer.style()->shapeMargin(), maximumValue.toFloat()); 155 float shapeImageThreshold = style.shapeImageThreshold(); 156 ASSERT(style.shapeOutside()); 157 const ShapeValue& shapeValue = *style 219 borderStartWithStyleForWritingMode(const RenderBox& renderer, const RenderStyle* style) argument 233 borderAndPaddingStartWithStyleForWritingMode(const RenderBox& renderer, const RenderStyle* style) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGInlineText.cpp | 81 bool newPreserves = style() ? style()->whiteSpace() == PRE : false; 96 // The text metrics may be influenced by style changes. 213 computeNewScaledFontForStyle(this, style(), m_scalingFactor, m_scaledFont); 216 void RenderSVGInlineText::computeNewScaledFontForStyle(RenderObject* renderer, const RenderStyle* style, float& scalingFactor, Font& scaledFont) argument 218 ASSERT(style); 223 if (style->effectiveZoom() == 1 && (scalingFactor == 1 || !scalingFactor)) { 225 scaledFont = style->font(); 229 if (style->fontDescription().textRendering() == GeometricPrecision) 232 FontDescription fontDescription(style [all...] |
H A D | RenderSVGResourceClipper.cpp | 89 if (!style()->svgStyle().clipperResource().isEmpty()) 104 RenderStyle* style = renderer->style(); local 105 if (!style || style->display() == NONE || style->visibility() != VISIBLE) 107 const SVGRenderStyle& svgStyle = style->svgStyle(); 166 ASSERT(style()); 167 animatedLocalTransform.scale(style()->effectiveZoom()); 277 RenderStyle* style local 318 RenderStyle* style = renderer->style(); local [all...] |
H A D | SVGRenderingContext.cpp | 105 RenderStyle* style = m_object->style(); local 106 ASSERT(style); 108 const SVGRenderStyle& svgStyle = style->svgStyle(); 113 float opacity = (object->isSVGRoot() || isRenderingMask) ? 1 : style->opacity(); 114 bool hasBlendMode = style->hasBlendMode() && !isRenderingMask; 116 if (opacity < 1 || hasBlendMode || style->hasIsolation()) { 125 m_paintInfo->context->setCompositeOperation(CompositeSourceOver, style->blendMode()); 136 ClipPathOperation* clipPathOperation = style->clipPath(); 153 if (!masker->applyResource(m_object, style, m_paintInf [all...] |
H A D | SVGTextMetricsBuilder.cpp | 100 RenderStyle* style = m_text->style(); local 101 m_textDirection = style->direction(); 102 if (isOverride(style->unicodeBidi())) 197 bool preserveWhiteSpace = text->style()->whiteSpace() == PRE;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGGraphicsElement.cpp | 127 RenderStyle* style = renderer() ? renderer()->style() : 0; local 130 if (style && style->hasTransform()) { 132 float zoom = style->effectiveZoom(); 146 style->applyTransform(transform, scaledBBox); 149 style->applyTransform(transform, renderer()->objectBoundingBox());
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/ |
H A D | StylesSidebarPane.js | 48 addButton.id = "add-style-button-test-id"; 638 styleRules.push({ style: rule.style, selectorText: rule.selectorText, media: rule.media, rule: rule, editable: !!(rule.style && rule.style.styleSheetId) }); 663 section.styleRule.style = nodeComputedStyle; 664 var styleRule = { section: section, style: section.styleRule.style, computedStyle: section.computedStyle, rule: section.rule, editable: !!(section.styleRule.style && section.styleRule.style [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | FontPlatformData.h | 129 void setHinting(SkPaint::Hinting style) argument 132 m_style.hintStyle = style;
|
H A D | FontTraits.h | 75 FontTraits(FontStyle style, FontVariant variant, FontWeight weight, FontStretch stretch) argument 77 m_traits.m_style = style; 90 FontStyle style() const { return static_cast<FontStyle>(m_traits.m_style); } function in struct:blink::FontTraits
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsContextState.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 81 void GraphicsContextState::setStrokeStyle(StrokeStyle style) argument 83 m_strokeData.setStyle(style);
|