Home
last modified time | relevance | path

Searched refs:style (Results 1 – 25 of 5239) sorted by relevance

12345678910>>...210

/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleAdjuster.cpp105 static bool doesNotInheritTextDecoration(const RenderStyle* style, const Element* e) in doesNotInheritTextDecoration() argument
107 return style->display() == TABLE || style->display() == INLINE_TABLE in doesNotInheritTextDecoration()
108 … || style->display() == INLINE_BLOCK || style->display() == INLINE_BOX || isAtShadowBoundary(e) in doesNotInheritTextDecoration()
109 || style->isFloating() || style->hasOutOfFlowPosition(); in doesNotInheritTextDecoration()
114 static bool isInTopLayer(const Element* element, const RenderStyle* style) in isInTopLayer() argument
116 return (element && element->isInTopLayer()) || (style && style->styleType() == BACKDROP); in isInTopLayer()
124 static bool hasWillChangeThatCreatesStackingContext(const RenderStyle* style) in hasWillChangeThatCreatesStackingContext() argument
126 for (size_t i = 0; i < style->willChangeProperties().size(); ++i) { in hasWillChangeThatCreatesStackingContext()
127 switch (style->willChangeProperties()[i]) { in hasWillChangeThatCreatesStackingContext()
155 void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentStyle, Element *e, con… in adjustRenderStyle() argument
[all …]
DAnimatedStyleBuilder.cpp70 return toAnimatableLength(value)->length(state.style()->effectiveZoom(), range); in animatableValueToLength()
79 …return BorderImageLength(toAnimatableLength(value)->length(state.style()->effectiveZoom(), ValueRa… in animatableValueToBorderImageLength()
262 RenderStyle* style = state.style(); in applyProperty() local
265 style->setBackgroundColor(toAnimatableColor(value)->color()); in applyProperty()
266 style->setVisitedLinkBackgroundColor(toAnimatableColor(value)->visitedLinkColor()); in applyProperty()
269 setOnFillLayers<CSSPropertyBackgroundImage>(style->accessBackgroundLayers(), value, state); in applyProperty()
272 … setOnFillLayers<CSSPropertyBackgroundPositionX>(style->accessBackgroundLayers(), value, state); in applyProperty()
275 … setOnFillLayers<CSSPropertyBackgroundPositionY>(style->accessBackgroundLayers(), value, state); in applyProperty()
278 setOnFillLayers<CSSPropertyBackgroundSize>(style->accessBackgroundLayers(), value, state); in applyProperty()
281 style->setBaselineShiftValue(toAnimatableSVGLength(value)->toSVGLength()); in applyProperty()
[all …]
DStyleBuilderCustom.cpp132 state.style()->setColor(color); in applyInitialCSSPropertyColor()
134 state.style()->setVisitedLinkColor(color); in applyInitialCSSPropertyColor()
141 state.style()->setColor(color); in applyInheritCSSPropertyColor()
143 state.style()->setVisitedLinkColor(color); in applyInheritCSSPropertyColor()
156 state.style()->setColor(StyleBuilderConverter::convertColor(state, value)); in applyValueCSSPropertyColor()
158 state.style()->setVisitedLinkColor(StyleBuilderConverter::convertColor(state, value, true)); in applyValueCSSPropertyColor()
163 state.style()->setJustifyItems(RenderStyle::initialJustifyItems()); in applyInitialCSSPropertyJustifyItems()
164 …state.style()->setJustifyItemsOverflowAlignment(RenderStyle::initialJustifyItemsOverflowAlignment(… in applyInitialCSSPropertyJustifyItems()
165 state.style()->setJustifyItemsPositionType(RenderStyle::initialJustifyItemsPositionType()); in applyInitialCSSPropertyJustifyItems()
170 state.style()->setJustifyItems(state.parentStyle()->justifyItems()); in applyInheritCSSPropertyJustifyItems()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimatableValueFactory.cpp65 …efPtrWillBeRawPtr<AnimatableValue> createFromLength(const Length& length, const RenderStyle& style) in createFromLength() argument
71 return AnimatableLength::create(length, style.effectiveZoom()); in createFromLength()
92 …rWillBeRawPtr<AnimatableValue> createFromLineHeight(const Length& length, const RenderStyle& style) in createFromLineHeight() argument
101 return createFromLength(length, style); in createFromLineHeight()
109 …BeRawPtr<AnimatableValue> createFromLengthBox(const LengthBox& lengthBox, const RenderStyle& style) in createFromLengthBox() argument
112 createFromLength(lengthBox.left(), style), in createFromLengthBox()
113 createFromLength(lengthBox.right(), style), in createFromLengthBox()
114 createFromLength(lengthBox.top(), style), in createFromLengthBox()
115 createFromLength(lengthBox.bottom(), style)); in createFromLengthBox()
118 …> createFromBorderImageLength(const BorderImageLength& borderImageLength, const RenderStyle& style) in createFromBorderImageLength() argument
[all …]
/external/chromium_org/third_party/libxslt/libxslt/
Dpreproc.c71 xsltCheckTopLevelElement(xsltStylesheetPtr style, xmlNodePtr inst, int err) { in xsltCheckTopLevelElement() argument
73 if ((style == NULL) || (inst == NULL) || (inst->ns == NULL)) in xsltCheckTopLevelElement()
79 xsltTransformError(NULL, style, inst, in xsltCheckTopLevelElement()
81 style->errors++; in xsltCheckTopLevelElement()
91 xsltTransformError(NULL, style, inst, in xsltCheckTopLevelElement()
94 style->errors++; in xsltCheckTopLevelElement()
109 xsltCheckInstructionElement(xsltStylesheetPtr style, xmlNodePtr inst) { in xsltCheckInstructionElement() argument
113 if ((style == NULL) || (inst == NULL) || (inst->ns == NULL) || in xsltCheckInstructionElement()
114 (style->literal_result)) in xsltCheckInstructionElement()
117 has_ext = (style->extInfos != NULL); in xsltCheckInstructionElement()
[all …]
Dimports.c66 xsltStylesheetPtr style) { in xsltFixImportedCompSteps() argument
68 xmlHashScan(style->templatesHash, in xsltFixImportedCompSteps()
70 master->extrasNr += style->extrasNr; in xsltFixImportedCompSteps()
71 for (res = style->imports; res != NULL; res = res->next) { in xsltFixImportedCompSteps()
87 xsltParseStylesheetImport(xsltStylesheetPtr style, xmlNodePtr cur) { in xsltParseStylesheetImport() argument
96 if ((cur == NULL) || (style == NULL)) in xsltParseStylesheetImport()
101 xsltTransformError(NULL, style, cur, in xsltParseStylesheetImport()
106 base = xmlNodeGetBase(style->doc, cur); in xsltParseStylesheetImport()
109 xsltTransformError(NULL, style, cur, in xsltParseStylesheetImport()
114 res = style; in xsltParseStylesheetImport()
[all …]
Dxslt.c125 xsltParseContentError(xsltStylesheetPtr style, in xsltParseContentError() argument
128 if ((style == NULL) || (node == NULL)) in xsltParseContentError()
132 xsltTransformError(NULL, style, node, in xsltParseContentError()
136 xsltTransformError(NULL, style, node, in xsltParseContentError()
139 style->errors++; in xsltParseContentError()
155 exclPrefixPush(xsltStylesheetPtr style, xmlChar * value) in exclPrefixPush() argument
159 if (style->exclPrefixMax == 0) { in exclPrefixPush()
160 style->exclPrefixMax = 4; in exclPrefixPush()
161 style->exclPrefixTab = in exclPrefixPush()
162 (xmlChar * *)xmlMalloc(style->exclPrefixMax * in exclPrefixPush()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSComputedStyleDeclaration.cpp450 …imitiveValue> valueForNinePieceImageQuad(const BorderImageLengthBox& box, const RenderStyle& style) in valueForNinePieceImageQuad() argument
461 top = cssValuePool().createValue(box.top().length(), style); in valueForNinePieceImageQuad()
471 right = cssValuePool().createValue(box.right().length(), style); in valueForNinePieceImageQuad()
480 bottom = cssValuePool().createValue(box.bottom().length(), style); in valueForNinePieceImageQuad()
488 left = cssValuePool().createValue(box.left().length(), style); in valueForNinePieceImageQuad()
515 …illBeRawPtr<CSSValue> valueForNinePieceImage(const NinePieceImage& image, const RenderStyle& style) in valueForNinePieceImage() argument
529 …efPtrWillBeRawPtr<CSSValue> borderSlices = valueForNinePieceImageQuad(image.borderSlices(), style); in valueForNinePieceImage()
532 RefPtrWillBeRawPtr<CSSValue> outset = valueForNinePieceImageQuad(image.outset(), style); in valueForNinePieceImage()
540 …efPtrWillBeRawPtr<CSSPrimitiveValue> zoomAdjustedPixelValue(double value, const RenderStyle& style) in zoomAdjustedPixelValue() argument
542 …return cssValuePool().createValue(adjustFloatForAbsoluteZoom(value, style), CSSPrimitiveValue::CSS… in zoomAdjustedPixelValue()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTheme.cpp90 void RenderTheme::adjustStyle(RenderStyle* style, Element* e, const CachedUAStyle* uaStyle) in adjustStyle() argument
93 ControlPart part = style->appearance(); in adjustStyle()
94 …if (style->display() == INLINE || style->display() == INLINE_TABLE || style->display() == TABLE_RO… in adjustStyle()
95 || style->display() == TABLE_HEADER_GROUP || style->display() == TABLE_FOOTER_GROUP in adjustStyle()
96 …|| style->display() == TABLE_ROW || style->display() == TABLE_COLUMN_GROUP || style->display() == … in adjustStyle()
97 || style->display() == TABLE_CELL || style->display() == TABLE_CAPTION) in adjustStyle()
98 style->setDisplay(INLINE_BLOCK); in adjustStyle()
99 else if (style->display() == LIST_ITEM || style->display() == TABLE) in adjustStyle()
100 style->setDisplay(BLOCK); in adjustStyle()
102 if (uaStyle && uaStyle->hasAppearance && isControlStyled(style, uaStyle)) { in adjustStyle()
[all …]
DTextRunConstructor.cpp42 …nst Font& font, const CharacterType* characters, int length, RenderStyle* style, TextDirection dir… in constructTextRunInternal() argument
44 ASSERT(style); in constructTextRunInternal()
46 bool directionalOverride = style->rtlOrdering() == VisualOrder; in constructTextRunInternal()
55 …nst Font& font, const CharacterType* characters, int length, RenderStyle* style, TextDirection dir… in constructTextRunInternal() argument
57 ASSERT(style); in constructTextRunInternal()
60 bool directionalOverride = style->rtlOrdering() == VisualOrder; in constructTextRunInternal()
63 textDirection = style->direction(); in constructTextRunInternal()
65 directionalOverride |= isOverride(style->unicodeBidi()); in constructTextRunInternal()
75 …text, const Font& font, const LChar* characters, int length, RenderStyle* style, TextDirection dir… in constructTextRun() argument
77 return constructTextRunInternal(context, font, characters, length, style, direction, expansion); in constructTextRun()
[all …]
DRenderDeprecatedFlexibleBox.cpp45 if (m_box->style()->boxOrient() == HORIZONTAL && !m_box->style()->isLeftToRightDirection()) in FlexBoxIterator()
46 m_forward = m_box->style()->boxDirection() != BNORMAL; in FlexBoxIterator()
48 m_forward = m_box->style()->boxDirection() == BNORMAL; in FlexBoxIterator()
53 if (child->style()->boxOrdinalGroup() > m_largestOrdinal) in FlexBoxIterator()
54 m_largestOrdinal = child->style()->boxOrdinalGroup(); in FlexBoxIterator()
99 m_ordinalValues.add(m_currentChild->style()->boxOrdinalGroup()); in next()
101 && m_currentChild->style()->boxOrdinalGroup() != m_currentOrdinal)); in next()
109 …return m_currentOrdinal == firstOrdinalValue && m_currentChild->style()->boxOrdinalGroup() != firs… in notFirstOrdinalValue()
147 Length marginLeft = child->style()->marginLeft(); in marginWidthForChild()
148 Length marginRight = child->style()->marginRight(); in marginWidthForChild()
[all …]
/external/chromium_org/tools/binary_size/template/
DD3SymbolTreeMap.js157 .style('position', 'relative')
158 .style('width', this._mapWidth)
159 .style('height', this._mapHeight)
160 .style('padding', 0)
161 .style('margin', 0)
162 .style('box-shadow', '5px 5px 5px #888');
251 this._mapContainer.style('width', width).style('height', height);
400 .style('z-index', function(datum) { return datum.id * 2; })
401 .style('position', 'absolute')
402 .style('left', function(datum) { return datum.x; })
[all …]
/external/bison/tests/
Doutput.at268 0 -> 1 [style=dashed label="exp"]
269 0 -> 2 [style=dashed label="a"]
270 0 -> "0R2" [style=solid]
271 "0R2" [label="R2", fillcolor=3, shape=diamond, style=filled]
273 1 -> 3 [style=solid label="$end"]
275 2 -> 4 [style=solid label="'?'"]
277 3 -> "3R0" [style=solid]
278 "3R0" [label="Acc", fillcolor=1, shape=diamond, style=filled]
280 4 -> 5 [style=solid label="'b'"]
281 4 -> 6 [style=dashed label="b"]
[all …]
/external/icu/icu4c/source/io/
Dlocbund.cpp37 int32_t style; in locbund_cleanup() local
38 for (style = 0; style < ULOCALEBUNDLE_NUMBERFORMAT_COUNT; style++) { in locbund_cleanup()
39 unum_close(gPosixNumberFormat[style]); in locbund_cleanup()
40 gPosixNumberFormat[style] = NULL; in locbund_cleanup()
47 …ic inline UNumberFormat * copyInvariantFormatter(ULocaleBundle *result, UNumberFormatStyle style) { in copyInvariantFormatter() argument
50 if (result->fNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
51 if (gPosixNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
53 UNumberFormat *formatAlias = unum_open(style, NULL, 0, "en_US_POSIX", NULL, &status); in copyInvariantFormatter()
55 gPosixNumberFormat[style-1] = formatAlias; in copyInvariantFormatter()
60 if (gPosixNumberFormat[style-1] != NULL) { in copyInvariantFormatter()
[all …]
/external/chromium_org/third_party/icu/source/io/
Dlocbund.cpp37 int32_t style; in locbund_cleanup() local
38 for (style = 0; style < ULOCALEBUNDLE_NUMBERFORMAT_COUNT; style++) { in locbund_cleanup()
39 unum_close(gPosixNumberFormat[style]); in locbund_cleanup()
40 gPosixNumberFormat[style] = NULL; in locbund_cleanup()
47 …ic inline UNumberFormat * copyInvariantFormatter(ULocaleBundle *result, UNumberFormatStyle style) { in copyInvariantFormatter() argument
50 if (result->fNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
51 if (gPosixNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
53 UNumberFormat *formatAlias = unum_open(style, NULL, 0, "en_US_POSIX", NULL, &status); in copyInvariantFormatter()
55 gPosixNumberFormat[style-1] = formatAlias; in copyInvariantFormatter()
60 if (gPosixNumberFormat[style-1] != NULL) { in copyInvariantFormatter()
[all …]
/external/chromium_org/v8/tools/
Ddraw_instruction_graph.sh99 set style line 2 lc rgb '#800000'
100 set style line 3 lc rgb '#d00000'
101 set style line 4 lc rgb '#ff6000'
102 set style line 5 lc rgb '#ffc000'
103 set style line 6 lc rgb '#ffff00'
105 set style line 7 lc rgb '#ff00ff'
106 set style line 8 lc rgb '#ffc0ff'
108 set style line 9 lc rgb '#004040'
109 set style line 10 lc rgb '#008080'
110 set style line 11 lc rgb '#40c0c0'
[all …]
/external/smack/src/org/jivesoftware/smackx/
DXHTMLText.java41 public XHTMLText(String style, String lang) { in XHTMLText() argument
42 appendOpenBodyTag(style, lang); in XHTMLText()
51 public void appendOpenAnchorTag(String href, String style) { in appendOpenAnchorTag() argument
58 if (style != null) { in appendOpenAnchorTag()
60 sb.append(style); in appendOpenAnchorTag()
80 public void appendOpenBlockQuoteTag(String style) { in appendOpenBlockQuoteTag() argument
82 if (style != null) { in appendOpenBlockQuoteTag()
84 sb.append(style); in appendOpenBlockQuoteTag()
105 private void appendOpenBodyTag(String style, String lang) { in appendOpenBodyTag() argument
107 if (style != null) { in appendOpenBodyTag()
[all …]
/external/chromium_org/ui/views/widget/
Dwidget_hwnd_utils.cc28 DWORD* style, in CalculateWindowStylesFromInitParams() argument
31 *style = WS_CLIPCHILDREN | WS_CLIPSIBLINGS; in CalculateWindowStylesFromInitParams()
37 *style |= WS_CHILD; in CalculateWindowStylesFromInitParams()
39 *style |= WS_MAXIMIZE; in CalculateWindowStylesFromInitParams()
41 *style |= WS_MINIMIZE; in CalculateWindowStylesFromInitParams()
79 *style |= WS_POPUP; in CalculateWindowStylesFromInitParams()
87 *style |= WS_OVERLAPPEDWINDOW; in CalculateWindowStylesFromInitParams()
89 *style &= ~WS_MAXIMIZEBOX; in CalculateWindowStylesFromInitParams()
91 *style &= ~WS_MINIMIZEBOX; in CalculateWindowStylesFromInitParams()
93 *style &= ~(WS_THICKFRAME | WS_MAXIMIZEBOX); in CalculateWindowStylesFromInitParams()
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/
Dbraille_overlay_widget.js90 containerNode.style['opacity'] = '1.0';
104 containerNode.style.opacity = '0.0';
139 containerNode.style['position'] = 'fixed';
140 containerNode.style['top'] = '50%';
141 containerNode.style['left'] = '50%';
142 containerNode.style['-webkit-transition'] = 'all 0.3s ease-in';
143 containerNode.style['opacity'] = '0.0';
144 containerNode.style['z-index'] = '2147483647';
159 overlayNode.style['position'] = 'fixed';
160 overlayNode.style['left'] = '40px';
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
Dpdf_processor.js41 headerDiv.style.position = 'relative';
42 headerDiv.style.background = 'white';
43 headerDiv.style.margin = '20pt';
44 headerDiv.style.padding = '20pt';
45 headerDiv.style.border = '1px solid #000';
60 div.style.position = 'relative';
61 div.style.background = '#CCC';
62 div.style.paddingTop = '1pt';
63 div.style.paddingBottom = '1pt';
64 div.style.width = '100%';
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLHRElement.cpp50 …tionAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) in collectStyleForPresentationAttribute() argument
54 …addPropertyToPresentationAttributeStyle(style, CSSPropertyMarginLeft, 0, CSSPrimitiveValue::CSS_PX… in collectStyleForPresentationAttribute()
55 addPropertyToPresentationAttributeStyle(style, CSSPropertyMarginRight, CSSValueAuto); in collectStyleForPresentationAttribute()
57 addPropertyToPresentationAttributeStyle(style, CSSPropertyMarginLeft, CSSValueAuto); in collectStyleForPresentationAttribute()
58 …addPropertyToPresentationAttributeStyle(style, CSSPropertyMarginRight, 0, CSSPrimitiveValue::CSS_P… in collectStyleForPresentationAttribute()
60 addPropertyToPresentationAttributeStyle(style, CSSPropertyMarginLeft, CSSValueAuto); in collectStyleForPresentationAttribute()
61 addPropertyToPresentationAttributeStyle(style, CSSPropertyMarginRight, CSSValueAuto); in collectStyleForPresentationAttribute()
67 … addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 1, CSSPrimitiveValue::CSS_PX); in collectStyleForPresentationAttribute()
69 addHTMLLengthToStyle(style, CSSPropertyWidth, value); in collectStyleForPresentationAttribute()
71 addPropertyToPresentationAttributeStyle(style, CSSPropertyBorderStyle, CSSValueSolid); in collectStyleForPresentationAttribute()
[all …]
DHTMLTableElement.cpp279 …tionAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) in collectStyleForPresentationAttribute() argument
282 addHTMLLengthToStyle(style, CSSPropertyWidth, value); in collectStyleForPresentationAttribute()
284 addHTMLLengthToStyle(style, CSSPropertyHeight, value); in collectStyleForPresentationAttribute()
286 …addPropertyToPresentationAttributeStyle(style, CSSPropertyBorderWidth, parseBorderWidthAttribute(v… in collectStyleForPresentationAttribute()
289 addHTMLColorToStyle(style, CSSPropertyBorderColor, value); in collectStyleForPresentationAttribute()
291 addHTMLColorToStyle(style, CSSPropertyBackgroundColor, value); in collectStyleForPresentationAttribute()
297 style->setProperty(CSSProperty(CSSPropertyBackgroundImage, imageValue.release())); in collectStyleForPresentationAttribute()
301 addPropertyToPresentationAttributeStyle(style, CSSPropertyVerticalAlign, value); in collectStyleForPresentationAttribute()
304 addHTMLLengthToStyle(style, CSSPropertyBorderSpacing, value); in collectStyleForPresentationAttribute()
307 addHTMLLengthToStyle(style, CSSPropertyMarginTop, value); in collectStyleForPresentationAttribute()
[all …]
/external/chromium_org/third_party/polymer/components-chromium/core-overlay/
Dcore-overlay-extracted.js179 this.target.style.display = 'none';
187 old.style.position = '';
188 old.style.outline = '';
190 old.style.display = '';
201 this.target.style.display = '';
212 this.target.style.position = this.targetStyle.position;
213 this.target.style.outline = 'none';
215 this.target.style.display = 'none';
227 this.target.style.display = '';
253 this.target.style.position = 'absolute';
[all …]
/external/chromium_org/ui/webui/resources/js/cr/ui/table/
Dtable_list.js55 row.children[i].style.width = cm.getWidth(i) + 'px';
57 row.style.width = cm.totalWidth + 'px';
59 this.afterFiller_.style.width = cm.totalWidth + 'px';
93 var style = this.style;
95 if (style.overflow != 'hidden') {
96 style.overflow = 'hidden';
107 if (style.overflowX != 'scroll') {
108 style.overflowX = 'scroll';
115 if (cm.totalWidth <= offsetWidth && style.overflowX != 'hidden') {
116 style.overflowX = 'hidden';
[all …]
/external/bison/doc/figs/
Dexample.dot11 0 -> 1 [style=solid label="\"0\""]
12 0 -> 2 [style=dashed label="exp"]
13 0 -> 3 [style=dashed label="a"]
14 0 -> 4 [style=dashed label="b"]
16 1 -> "1R3" [style=solid]
17 "1R3" [label="R3", fillcolor=3, shape=diamond, style=filled]
18 1 -> "1R4" [label="[\".\"]", style=solid]
19 "1R4" [label="R4", fillcolor=3, shape=diamond, style=filled]
21 2 -> 5 [style=solid label="$end"]
23 3 -> 6 [style=solid label="\";\""]
[all …]

12345678910>>...210