| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 // don't inherit | 175 // don't inherit |
| 176 struct NonInheritedFlags { | 176 struct NonInheritedFlags { |
| 177 bool operator==(const NonInheritedFlags& other) const | 177 bool operator==(const NonInheritedFlags& other) const |
| 178 { | 178 { |
| 179 return effectiveDisplay == other.effectiveDisplay | 179 return effectiveDisplay == other.effectiveDisplay |
| 180 && originalDisplay == other.originalDisplay | 180 && originalDisplay == other.originalDisplay |
| 181 && overflowX == other.overflowX | 181 && overflowX == other.overflowX |
| 182 && overflowY == other.overflowY | 182 && overflowY == other.overflowY |
| 183 && verticalAlign == other.verticalAlign | 183 && verticalAlign == other.verticalAlign |
| 184 && clear == other.clear | |
| 185 && position == other.position | 184 && position == other.position |
| 186 && floating == other.floating | |
| 187 && tableLayout == other.tableLayout | 185 && tableLayout == other.tableLayout |
| 188 && pageBreakBefore == other.pageBreakBefore | 186 && pageBreakBefore == other.pageBreakBefore |
| 189 && pageBreakAfter == other.pageBreakAfter | 187 && pageBreakAfter == other.pageBreakAfter |
| 190 && pageBreakInside == other.pageBreakInside | 188 && pageBreakInside == other.pageBreakInside |
| 191 && styleType == other.styleType | 189 && styleType == other.styleType |
| 192 && affectedByFocus == other.affectedByFocus | 190 && affectedByFocus == other.affectedByFocus |
| 193 && affectedByHover == other.affectedByHover | 191 && affectedByHover == other.affectedByHover |
| 194 && affectedByActive == other.affectedByActive | 192 && affectedByActive == other.affectedByActive |
| 195 && unicodeBidi == other.unicodeBidi | 193 && unicodeBidi == other.unicodeBidi |
| 196 && explicitInheritance == other.explicitInheritance | 194 && explicitInheritance == other.explicitInheritance |
| 197 && currentColor == other.currentColor | 195 && currentColor == other.currentColor |
| 198 && unique == other.unique | 196 && unique == other.unique |
| 199 && emptyState == other.emptyState | 197 && emptyState == other.emptyState |
| 200 && firstChildState == other.firstChildState | 198 && firstChildState == other.firstChildState |
| 201 && lastChildState == other.lastChildState | 199 && lastChildState == other.lastChildState |
| 202 && isLink == other.isLink; | 200 && isLink == other.isLink; |
| 203 } | 201 } |
| 204 | 202 |
| 205 bool operator!=(const NonInheritedFlags& other) const { return !(*this =
= other); } | 203 bool operator!=(const NonInheritedFlags& other) const { return !(*this =
= other); } |
| 206 | 204 |
| 207 unsigned effectiveDisplay : 5; // EDisplay | 205 unsigned effectiveDisplay : 5; // EDisplay |
| 208 unsigned originalDisplay : 5; // EDisplay | 206 unsigned originalDisplay : 5; // EDisplay |
| 209 unsigned overflowX : 3; // EOverflow | 207 unsigned overflowX : 3; // EOverflow |
| 210 unsigned overflowY : 3; // EOverflow | 208 unsigned overflowY : 3; // EOverflow |
| 211 unsigned verticalAlign : 4; // EVerticalAlign | 209 unsigned verticalAlign : 4; // EVerticalAlign |
| 212 unsigned clear : 2; // EClear | |
| 213 unsigned position : 3; // EPosition | 210 unsigned position : 3; // EPosition |
| 214 unsigned floating : 2; // EFloat | |
| 215 unsigned tableLayout : 1; // ETableLayout | 211 unsigned tableLayout : 1; // ETableLayout |
| 216 unsigned unicodeBidi : 3; // EUnicodeBidi | 212 unsigned unicodeBidi : 3; // EUnicodeBidi |
| 217 | 213 |
| 218 // This is set if we used viewport units when resolving a length. | 214 // This is set if we used viewport units when resolving a length. |
| 219 // It is mutable so we can pass around const RenderStyles to resolve len
gths. | 215 // It is mutable so we can pass around const RenderStyles to resolve len
gths. |
| 220 mutable unsigned hasViewportUnits : 1; | 216 mutable unsigned hasViewportUnits : 1; |
| 221 | 217 |
| 222 // 32 bits | 218 // 32 bits |
| 223 | 219 |
| 224 unsigned pageBreakBefore : 2; // EPageBreak | 220 unsigned pageBreakBefore : 2; // EPageBreak |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 inherited_flags._white_space = initialWhiteSpace(); | 256 inherited_flags._white_space = initialWhiteSpace(); |
| 261 inherited_flags._border_collapse = initialBorderCollapse(); | 257 inherited_flags._border_collapse = initialBorderCollapse(); |
| 262 inherited_flags.m_rtlOrdering = initialRTLOrdering(); | 258 inherited_flags.m_rtlOrdering = initialRTLOrdering(); |
| 263 inherited_flags.m_printColorAdjust = initialPrintColorAdjust(); | 259 inherited_flags.m_printColorAdjust = initialPrintColorAdjust(); |
| 264 inherited_flags._pointerEvents = initialPointerEvents(); | 260 inherited_flags._pointerEvents = initialPointerEvents(); |
| 265 | 261 |
| 266 noninherited_flags.effectiveDisplay = noninherited_flags.originalDisplay
= initialDisplay(); | 262 noninherited_flags.effectiveDisplay = noninherited_flags.originalDisplay
= initialDisplay(); |
| 267 noninherited_flags.overflowX = initialOverflowX(); | 263 noninherited_flags.overflowX = initialOverflowX(); |
| 268 noninherited_flags.overflowY = initialOverflowY(); | 264 noninherited_flags.overflowY = initialOverflowY(); |
| 269 noninherited_flags.verticalAlign = initialVerticalAlign(); | 265 noninherited_flags.verticalAlign = initialVerticalAlign(); |
| 270 noninherited_flags.clear = initialClear(); | |
| 271 noninherited_flags.position = initialPosition(); | 266 noninherited_flags.position = initialPosition(); |
| 272 noninherited_flags.floating = initialFloating(); | |
| 273 noninherited_flags.tableLayout = initialTableLayout(); | 267 noninherited_flags.tableLayout = initialTableLayout(); |
| 274 noninherited_flags.unicodeBidi = initialUnicodeBidi(); | 268 noninherited_flags.unicodeBidi = initialUnicodeBidi(); |
| 275 noninherited_flags.pageBreakBefore = initialPageBreak(); | 269 noninherited_flags.pageBreakBefore = initialPageBreak(); |
| 276 noninherited_flags.pageBreakAfter = initialPageBreak(); | 270 noninherited_flags.pageBreakAfter = initialPageBreak(); |
| 277 noninherited_flags.pageBreakInside = initialPageBreak(); | 271 noninherited_flags.pageBreakInside = initialPageBreak(); |
| 278 noninherited_flags.explicitInheritance = false; | 272 noninherited_flags.explicitInheritance = false; |
| 279 noninherited_flags.currentColor = false; | 273 noninherited_flags.currentColor = false; |
| 280 noninherited_flags.unique = false; | 274 noninherited_flags.unique = false; |
| 281 noninherited_flags.emptyState = false; | 275 noninherited_flags.emptyState = false; |
| 282 noninherited_flags.firstChildState = false; | 276 noninherited_flags.firstChildState = false; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 bool affectedByFocus() const { return noninherited_flags.affectedByFocus; } | 319 bool affectedByFocus() const { return noninherited_flags.affectedByFocus; } |
| 326 bool affectedByHover() const { return noninherited_flags.affectedByHover; } | 320 bool affectedByHover() const { return noninherited_flags.affectedByHover; } |
| 327 bool affectedByActive() const { return noninherited_flags.affectedByActive;
} | 321 bool affectedByActive() const { return noninherited_flags.affectedByActive;
} |
| 328 | 322 |
| 329 void setAffectedByFocus() { noninherited_flags.affectedByFocus = true; } | 323 void setAffectedByFocus() { noninherited_flags.affectedByFocus = true; } |
| 330 void setAffectedByHover() { noninherited_flags.affectedByHover = true; } | 324 void setAffectedByHover() { noninherited_flags.affectedByHover = true; } |
| 331 void setAffectedByActive() { noninherited_flags.affectedByActive = true; } | 325 void setAffectedByActive() { noninherited_flags.affectedByActive = true; } |
| 332 | 326 |
| 333 bool operator==(const RenderStyle& other) const; | 327 bool operator==(const RenderStyle& other) const; |
| 334 bool operator!=(const RenderStyle& other) const { return !(*this == other);
} | 328 bool operator!=(const RenderStyle& other) const { return !(*this == other);
} |
| 335 bool isFloating() const { return noninherited_flags.floating != NoFloat; } | |
| 336 bool hasMargin() const { return surround->margin.nonZero(); } | 329 bool hasMargin() const { return surround->margin.nonZero(); } |
| 337 bool hasBorder() const { return surround->border.hasBorder(); } | 330 bool hasBorder() const { return surround->border.hasBorder(); } |
| 338 bool hasPadding() const { return surround->padding.nonZero(); } | 331 bool hasPadding() const { return surround->padding.nonZero(); } |
| 339 bool hasOffset() const { return surround->offset.nonZero(); } | 332 bool hasOffset() const { return surround->offset.nonZero(); } |
| 340 bool hasMarginBeforeQuirk() const { return marginBefore().quirk(); } | 333 bool hasMarginBeforeQuirk() const { return marginBefore().quirk(); } |
| 341 bool hasMarginAfterQuirk() const { return marginAfter().quirk(); } | 334 bool hasMarginAfterQuirk() const { return marginAfter().quirk(); } |
| 342 | 335 |
| 343 bool hasBackgroundImage() const { return m_background->background().hasImage
(); } | 336 bool hasBackgroundImage() const { return m_background->background().hasImage
(); } |
| 344 bool hasFixedBackgroundImage() const { return m_background->background().has
FixedImage(); } | 337 bool hasFixedBackgroundImage() const { return m_background->background().has
FixedImage(); } |
| 345 | 338 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 // Whether or not a positioned element requires normal flow x/y to be comput
ed | 388 // Whether or not a positioned element requires normal flow x/y to be comput
ed |
| 396 // to determine its position. | 389 // to determine its position. |
| 397 bool hasAutoLeftAndRight() const { return left().isAuto() && right().isAuto(
); } | 390 bool hasAutoLeftAndRight() const { return left().isAuto() && right().isAuto(
); } |
| 398 bool hasAutoTopAndBottom() const { return top().isAuto() && bottom().isAuto(
); } | 391 bool hasAutoTopAndBottom() const { return top().isAuto() && bottom().isAuto(
); } |
| 399 bool hasStaticInlinePosition() const { return hasAutoLeftAndRight(); } | 392 bool hasStaticInlinePosition() const { return hasAutoLeftAndRight(); } |
| 400 bool hasStaticBlockPosition() const { return hasAutoTopAndBottom(); } | 393 bool hasStaticBlockPosition() const { return hasAutoTopAndBottom(); } |
| 401 | 394 |
| 402 EPosition position() const { return static_cast<EPosition>(noninherited_flag
s.position); } | 395 EPosition position() const { return static_cast<EPosition>(noninherited_flag
s.position); } |
| 403 bool hasOutOfFlowPosition() const { return position() == AbsolutePosition; } | 396 bool hasOutOfFlowPosition() const { return position() == AbsolutePosition; } |
| 404 bool hasInFlowPosition() const { return position() == RelativePosition; } | 397 bool hasInFlowPosition() const { return position() == RelativePosition; } |
| 405 EFloat floating() const { return static_cast<EFloat>(noninherited_flags.floa
ting); } | |
| 406 | 398 |
| 407 const Length& width() const { return m_box->width(); } | 399 const Length& width() const { return m_box->width(); } |
| 408 const Length& height() const { return m_box->height(); } | 400 const Length& height() const { return m_box->height(); } |
| 409 const Length& minWidth() const { return m_box->minWidth(); } | 401 const Length& minWidth() const { return m_box->minWidth(); } |
| 410 const Length& maxWidth() const { return m_box->maxWidth(); } | 402 const Length& maxWidth() const { return m_box->maxWidth(); } |
| 411 const Length& minHeight() const { return m_box->minHeight(); } | 403 const Length& minHeight() const { return m_box->minHeight(); } |
| 412 const Length& maxHeight() const { return m_box->maxHeight(); } | 404 const Length& maxHeight() const { return m_box->maxHeight(); } |
| 413 | 405 |
| 414 const Length& logicalWidth() const { return width(); } | 406 const Length& logicalWidth() const { return width(); } |
| 415 const Length& logicalHeight() const { return height(); } | 407 const Length& logicalHeight() const { return height(); } |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 | 473 |
| 482 const Length& clipLeft() const { return visual->clip.left(); } | 474 const Length& clipLeft() const { return visual->clip.left(); } |
| 483 const Length& clipRight() const { return visual->clip.right(); } | 475 const Length& clipRight() const { return visual->clip.right(); } |
| 484 const Length& clipTop() const { return visual->clip.top(); } | 476 const Length& clipTop() const { return visual->clip.top(); } |
| 485 const Length& clipBottom() const { return visual->clip.bottom(); } | 477 const Length& clipBottom() const { return visual->clip.bottom(); } |
| 486 const LengthBox& clip() const { return visual->clip; } | 478 const LengthBox& clip() const { return visual->clip; } |
| 487 bool hasAutoClip() const { return visual->hasAutoClip; } | 479 bool hasAutoClip() const { return visual->hasAutoClip; } |
| 488 | 480 |
| 489 EUnicodeBidi unicodeBidi() const { return static_cast<EUnicodeBidi>(noninher
ited_flags.unicodeBidi); } | 481 EUnicodeBidi unicodeBidi() const { return static_cast<EUnicodeBidi>(noninher
ited_flags.unicodeBidi); } |
| 490 | 482 |
| 491 EClear clear() const { return static_cast<EClear>(noninherited_flags.clear);
} | |
| 492 ETableLayout tableLayout() const { return static_cast<ETableLayout>(noninher
ited_flags.tableLayout); } | 483 ETableLayout tableLayout() const { return static_cast<ETableLayout>(noninher
ited_flags.tableLayout); } |
| 493 bool isFixedTableLayout() const { return tableLayout() == TFIXED && !logical
Width().isAuto(); } | 484 bool isFixedTableLayout() const { return tableLayout() == TFIXED && !logical
Width().isAuto(); } |
| 494 | 485 |
| 495 const Font& font() const; | 486 const Font& font() const; |
| 496 const FontMetrics& fontMetrics() const; | 487 const FontMetrics& fontMetrics() const; |
| 497 const FontDescription& fontDescription() const; | 488 const FontDescription& fontDescription() const; |
| 498 float specifiedFontSize() const; | 489 float specifiedFontSize() const; |
| 499 float computedFontSize() const; | 490 float computedFontSize() const; |
| 500 int fontSize() const; | 491 int fontSize() const; |
| 501 FontWeight fontWeight() const; | 492 FontWeight fontWeight() const; |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } | 820 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } |
| 830 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } | 821 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } |
| 831 bool hasWillChangeCompositingHint() const; | 822 bool hasWillChangeCompositingHint() const; |
| 832 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } | 823 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } |
| 833 | 824 |
| 834 // attribute setter methods | 825 // attribute setter methods |
| 835 | 826 |
| 836 void setDisplay(EDisplay v) { noninherited_flags.effectiveDisplay = v; } | 827 void setDisplay(EDisplay v) { noninherited_flags.effectiveDisplay = v; } |
| 837 void setOriginalDisplay(EDisplay v) { noninherited_flags.originalDisplay = v
; } | 828 void setOriginalDisplay(EDisplay v) { noninherited_flags.originalDisplay = v
; } |
| 838 void setPosition(EPosition v) { noninherited_flags.position = v; } | 829 void setPosition(EPosition v) { noninherited_flags.position = v; } |
| 839 void setFloating(EFloat v) { noninherited_flags.floating = v; } | |
| 840 | 830 |
| 841 void setLeft(const Length& v) { SET_VAR(surround, offset.m_left, v); } | 831 void setLeft(const Length& v) { SET_VAR(surround, offset.m_left, v); } |
| 842 void setRight(const Length& v) { SET_VAR(surround, offset.m_right, v); } | 832 void setRight(const Length& v) { SET_VAR(surround, offset.m_right, v); } |
| 843 void setTop(const Length& v) { SET_VAR(surround, offset.m_top, v); } | 833 void setTop(const Length& v) { SET_VAR(surround, offset.m_top, v); } |
| 844 void setBottom(const Length& v) { SET_VAR(surround, offset.m_bottom, v); } | 834 void setBottom(const Length& v) { SET_VAR(surround, offset.m_bottom, v); } |
| 845 | 835 |
| 846 void setWidth(const Length& v) { SET_VAR(m_box, m_width, v); } | 836 void setWidth(const Length& v) { SET_VAR(m_box, m_width, v); } |
| 847 void setHeight(const Length& v) { SET_VAR(m_box, m_height, v); } | 837 void setHeight(const Length& v) { SET_VAR(m_box, m_height, v); } |
| 848 | 838 |
| 849 void setLogicalWidth(const Length& v) | 839 void setLogicalWidth(const Length& v) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 void setOverflowY(EOverflow v) { noninherited_flags.overflowY = v; } | 945 void setOverflowY(EOverflow v) { noninherited_flags.overflowY = v; } |
| 956 void setVisibility(EVisibility v) { inherited_flags._visibility = v; } | 946 void setVisibility(EVisibility v) { inherited_flags._visibility = v; } |
| 957 void setVerticalAlign(EVerticalAlign v) { noninherited_flags.verticalAlign =
v; } | 947 void setVerticalAlign(EVerticalAlign v) { noninherited_flags.verticalAlign =
v; } |
| 958 void setVerticalAlignLength(const Length& length) { setVerticalAlign(LENGTH)
; SET_VAR(m_box, m_verticalAlign, length); } | 948 void setVerticalAlignLength(const Length& length) { setVerticalAlign(LENGTH)
; SET_VAR(m_box, m_verticalAlign, length); } |
| 959 | 949 |
| 960 void setHasAutoClip() { SET_VAR(visual, hasAutoClip, true); SET_VAR(visual,
clip, RenderStyle::initialClip()); } | 950 void setHasAutoClip() { SET_VAR(visual, hasAutoClip, true); SET_VAR(visual,
clip, RenderStyle::initialClip()); } |
| 961 void setClip(const LengthBox& box) { SET_VAR(visual, hasAutoClip, false); SE
T_VAR(visual, clip, box); } | 951 void setClip(const LengthBox& box) { SET_VAR(visual, hasAutoClip, false); SE
T_VAR(visual, clip, box); } |
| 962 | 952 |
| 963 void setUnicodeBidi(EUnicodeBidi b) { noninherited_flags.unicodeBidi = b; } | 953 void setUnicodeBidi(EUnicodeBidi b) { noninherited_flags.unicodeBidi = b; } |
| 964 | 954 |
| 965 void setClear(EClear v) { noninherited_flags.clear = v; } | |
| 966 void setTableLayout(ETableLayout v) { noninherited_flags.tableLayout = v; } | 955 void setTableLayout(ETableLayout v) { noninherited_flags.tableLayout = v; } |
| 967 | 956 |
| 968 bool setFontDescription(const FontDescription&); | 957 bool setFontDescription(const FontDescription&); |
| 969 // Only used for blending font sizes when animating and for text autosizing. | 958 // Only used for blending font sizes when animating and for text autosizing. |
| 970 void setFontSize(float); | 959 void setFontSize(float); |
| 971 void setFontStretch(FontStretch); | 960 void setFontStretch(FontStretch); |
| 972 void setFontWeight(FontWeight); | 961 void setFontWeight(FontWeight); |
| 973 | 962 |
| 974 void setColor(const Color&); | 963 void setColor(const Color&); |
| 975 void setTextIndent(const Length& v) { SET_VAR(rareInheritedData, indent, v);
} | 964 void setTextIndent(const Length& v) { SET_VAR(rareInheritedData, indent, v);
} |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 | 1274 |
| 1286 bool hasBoxDecorations() const { return hasBorder() || hasBorderRadius() ||
hasOutline() || boxShadow() || hasFilter(); } | 1275 bool hasBoxDecorations() const { return hasBorder() || hasBorderRadius() ||
hasOutline() || boxShadow() || hasFilter(); } |
| 1287 | 1276 |
| 1288 // Initial values for all the properties | 1277 // Initial values for all the properties |
| 1289 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } | 1278 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } |
| 1290 static EBorderStyle initialBorderStyle() { return BNONE; } | 1279 static EBorderStyle initialBorderStyle() { return BNONE; } |
| 1291 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } | 1280 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } |
| 1292 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } | 1281 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } |
| 1293 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } | 1282 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } |
| 1294 static ECaptionSide initialCaptionSide() { return CAPTOP; } | 1283 static ECaptionSide initialCaptionSide() { return CAPTOP; } |
| 1295 static EClear initialClear() { return CNONE; } | |
| 1296 static LengthBox initialClip() { return LengthBox(); } | 1284 static LengthBox initialClip() { return LengthBox(); } |
| 1297 static TextDirection initialDirection() { return LTR; } | 1285 static TextDirection initialDirection() { return LTR; } |
| 1298 static TextOrientation initialTextOrientation() { return TextOrientationVert
icalRight; } | 1286 static TextOrientation initialTextOrientation() { return TextOrientationVert
icalRight; } |
| 1299 static ObjectFit initialObjectFit() { return ObjectFitFill; } | 1287 static ObjectFit initialObjectFit() { return ObjectFitFill; } |
| 1300 static LengthPoint initialObjectPosition() { return LengthPoint(Length(50.0,
Percent), Length(50.0, Percent)); } | 1288 static LengthPoint initialObjectPosition() { return LengthPoint(Length(50.0,
Percent), Length(50.0, Percent)); } |
| 1301 static EDisplay initialDisplay() { return BLOCK; } | 1289 static EDisplay initialDisplay() { return BLOCK; } |
| 1302 static EEmptyCell initialEmptyCells() { return SHOW; } | 1290 static EEmptyCell initialEmptyCells() { return SHOW; } |
| 1303 static EFloat initialFloating() { return NoFloat; } | |
| 1304 static EListStylePosition initialListStylePosition() { return OUTSIDE; } | 1291 static EListStylePosition initialListStylePosition() { return OUTSIDE; } |
| 1305 static EListStyleType initialListStyleType() { return Disc; } | 1292 static EListStyleType initialListStyleType() { return Disc; } |
| 1306 static EOverflow initialOverflowX() { return OVISIBLE; } | 1293 static EOverflow initialOverflowX() { return OVISIBLE; } |
| 1307 static EOverflow initialOverflowY() { return OVISIBLE; } | 1294 static EOverflow initialOverflowY() { return OVISIBLE; } |
| 1308 static EPageBreak initialPageBreak() { return PBAUTO; } | 1295 static EPageBreak initialPageBreak() { return PBAUTO; } |
| 1309 static EPosition initialPosition() { return StaticPosition; } | 1296 static EPosition initialPosition() { return StaticPosition; } |
| 1310 static ETableLayout initialTableLayout() { return TAUTO; } | 1297 static ETableLayout initialTableLayout() { return TAUTO; } |
| 1311 static EUnicodeBidi initialUnicodeBidi() { return UBNormal; } | 1298 static EUnicodeBidi initialUnicodeBidi() { return UBNormal; } |
| 1312 static EVisibility initialVisibility() { return VISIBLE; } | 1299 static EVisibility initialVisibility() { return VISIBLE; } |
| 1313 static EWhiteSpace initialWhiteSpace() { return NORMAL; } | 1300 static EWhiteSpace initialWhiteSpace() { return NORMAL; } |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1559 | 1546 |
| 1560 rareInheritedData.access()->m_textOrientation = textOrientation; | 1547 rareInheritedData.access()->m_textOrientation = textOrientation; |
| 1561 return true; | 1548 return true; |
| 1562 } | 1549 } |
| 1563 | 1550 |
| 1564 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1551 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1565 | 1552 |
| 1566 } // namespace blink | 1553 } // namespace blink |
| 1567 | 1554 |
| 1568 #endif // RenderStyle_h | 1555 #endif // RenderStyle_h |
| OLD | NEW |