OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:styleToUse
(Results
1 - 17
of
17
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderSlider.cpp
67
RenderStyle*
styleToUse
= style();
69
if (
styleToUse
->width().isFixed() &&
styleToUse
->width().value() > 0)
70
m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->width().value());
74
if (
styleToUse
->minWidth().isFixed() &&
styleToUse
->minWidth().value() > 0) {
75
m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->minWidth().value()));
76
m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->minWidth().value()));
79
if (
styleToUse
->maxWidth().isFixed()) {
80
m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->maxWidth().value()))
[
all
...]
RenderFileUploadControl.cpp
176
RenderStyle*
styleToUse
= style();
178
if (
styleToUse
->width().isFixed() &&
styleToUse
->width().value() > 0)
179
m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->width().value());
183
if (
styleToUse
->minWidth().isFixed() &&
styleToUse
->minWidth().value() > 0) {
184
m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->minWidth().value()));
185
m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->minWidth().value()));
188
if (
styleToUse
->maxWidth().isFixed()) {
189
m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->maxWidth().value()))
[
all
...]
RenderTextControl.cpp
261
RenderStyle*
styleToUse
= style();
263
if (
styleToUse
->logicalWidth().isFixed() &&
styleToUse
->logicalWidth().value() >= 0)
264
m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalWidth().value());
268
if (
styleToUse
->logicalMinWidth().isFixed() &&
styleToUse
->logicalMinWidth().value() > 0) {
269
m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMinWidth().value()));
270
m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMinWidth().value()));
273
if (
styleToUse
->logicalMaxWidth().isFixed()) {
274
m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMaxWidth().value()))
[
all
...]
RenderBoxModelObject.cpp
126
RenderStyle*
styleToUse
= style();
127
ASSERT(
styleToUse
);
128
return hasBackground() ||
styleToUse
->hasBorder() ||
styleToUse
->hasAppearance() ||
styleToUse
->boxShadow();
135
RenderStyle*
styleToUse
= style();
137
setInline(
styleToUse
->isDisplayInlineType());
138
setPositionState(
styleToUse
->position());
139
setHorizontalWritingMode(
styleToUse
->isHorizontalWritingMode());
RenderMenuList.cpp
349
RenderStyle*
styleToUse
= style();
351
if (
styleToUse
->width().isFixed() &&
styleToUse
->width().value() > 0)
352
m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->width().value());
356
if (
styleToUse
->minWidth().isFixed() &&
styleToUse
->minWidth().value() > 0) {
357
m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->minWidth().value()));
358
m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->minWidth().value()));
361
if (
styleToUse
->maxWidth().isFixed()) {
362
m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->maxWidth().value()))
[
all
...]
RenderReplaced.cpp
450
RenderStyle*
styleToUse
= style();
451
if (
styleToUse
->logicalWidth().isPercent() ||
styleToUse
->logicalMaxWidth().isPercent())
454
if (
styleToUse
->logicalMinWidth().isFixed() &&
styleToUse
->logicalMinWidth().value() > 0) {
455
m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMinWidth().value()));
456
m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMinWidth().value()));
459
if (
styleToUse
->logicalMaxWidth().isFixed()) {
460
m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMaxWidth().value()));
461
m_minPreferredLogicalWidth = std::min(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMaxWidth().value()))
[
all
...]
RenderDeprecatedFlexibleBox.cpp
223
RenderStyle*
styleToUse
= style();
225
if (
styleToUse
->width().isFixed() &&
styleToUse
->width().value() > 0)
226
m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->width().value());
230
if (
styleToUse
->minWidth().isFixed() &&
styleToUse
->minWidth().value() > 0) {
231
m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->minWidth().value()));
232
m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->minWidth().value()));
235
if (
styleToUse
->maxWidth().isFixed()) {
236
m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->maxWidth().value()))
[
all
...]
RenderTable.cpp
681
RenderStyle*
styleToUse
= style();
683
if (
styleToUse
->logicalMinWidth().isFixed() &&
styleToUse
->logicalMinWidth().value() > 0) {
684
m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMinWidth().value()));
685
m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMinWidth().value()));
689
if (
styleToUse
->logicalMaxWidth().isFixed()) {
691
m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(
styleToUse
->logicalMaxWidth().value()));
[
all
...]
InlineTextBox.cpp
218
RenderStyle*
styleToUse
= renderer().style(isFirstLineStyle());
219
const Font& font =
styleToUse
->font();
223
TextRun textRun = constructTextRun(
styleToUse
, font, respectHyphen ? &charactersWithHyphen : 0);
432
RenderStyle*
styleToUse
= renderer().style(isFirstLineStyle());
434
adjustedPaintOffset.move(0,
styleToUse
->isHorizontalWritingMode() ? 0 : -logicalHeight());
440
RenderCombineText* combinedText =
styleToUse
->hasTextCombine() && renderer().isCombineText() && toRenderCombineText(renderer()).isCombined() ? &toRenderCombineText(renderer()) : 0;
451
TextPainter::Style textStyle = TextPainter::textPaintingStyle(renderer(),
styleToUse
, paintInfo.forceBlackText(), isPrinting);
457
const Font& font =
styleToUse
->font();
467
paintCompositionBackgrounds(context, boxOrigin,
styleToUse
, font, useCustomUnderlines);
470
paintDocumentMarkers(context, boxOrigin,
styleToUse
, font, true)
[
all
...]
RenderBlockLineLayout.cpp
[
all
...]
RenderBox.h
299
const RenderStyle*
styleToUse
= overrideStyle ? overrideStyle : style();
300
return m_marginBox.start(
styleToUse
->writingMode(),
styleToUse
->direction());
304
const RenderStyle*
styleToUse
= overrideStyle ? overrideStyle : style();
305
return m_marginBox.end(
styleToUse
->writingMode(),
styleToUse
->direction());
311
const RenderStyle*
styleToUse
= overrideStyle ? overrideStyle : style();
312
m_marginBox.setStart(
styleToUse
->writingMode(),
styleToUse
->direction(), value);
316
const RenderStyle*
styleToUse
= overrideStyle ? overrideStyle : style()
[
all
...]
RenderText.cpp
[
all
...]
RenderObject.cpp
[
all
...]
RenderBlock.cpp
[
all
...]
RenderBox.cpp
267
RenderStyle*
styleToUse
= style();
275
setFloating(!isOutOfFlowPositioned() &&
styleToUse
->isFloating());
278
if (!
styleToUse
->isOverflowVisible() && isRenderBlock() && !isViewObject) {
293
setHasTransform(
styleToUse
->hasTransformRelatedProperty());
294
setHasReflection(
styleToUse
->boxReflect());
525
RenderStyle*
styleToUse
= style();
526
if (!
styleToUse
->logicalMaxWidth().isMaxSizeNone())
527
logicalWidth = std::min(logicalWidth, computeLogicalWidthUsing(MaxSize,
styleToUse
->logicalMaxWidth(), availableWidth, cb));
528
return std::max(logicalWidth, computeLogicalWidthUsing(MinSize,
styleToUse
->logicalMinWidth(), availableWidth, cb));
533
RenderStyle*
styleToUse
= style()
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/paint/
InlinePainter.cpp
28
RenderStyle*
styleToUse
= m_renderInline.style();
29
if (!
styleToUse
->hasOutline())
32
if (
styleToUse
->outlineStyleIsAuto()) {
35
ObjectPainter(m_renderInline).paintFocusRing(paintInfo, paintOffset,
styleToUse
);
40
if (
styleToUse
->outlineStyle() == BNONE)
54
Color outlineColor = m_renderInline.resolveColor(
styleToUse
, CSSPropertyOutlineColor);
73
RenderStyle*
styleToUse
= m_renderInline.style();
74
int outlineWidth =
styleToUse
->outlineWidth();
75
EBorderStyle outlineStyle =
styleToUse
->outlineStyle();
ObjectPainter.cpp
30
RenderStyle*
styleToUse
= m_renderObject.style();
31
if (!
styleToUse
->hasOutline())
34
LayoutUnit outlineWidth =
styleToUse
->outlineWidth();
36
int outlineOffset =
styleToUse
->outlineOffset();
38
if (
styleToUse
->outlineStyleIsAuto()) {
41
paintFocusRing(paintInfo, paintRect.location(),
styleToUse
);
46
if (
styleToUse
->outlineStyle() == BNONE)
59
EBorderStyle outlineStyle =
styleToUse
->outlineStyle();
60
Color outlineColor = m_renderObject.resolveColor(
styleToUse
, CSSPropertyOutlineColor);
Completed in 369 milliseconds