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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 unsigned affectedByFocus : 1; | 278 unsigned affectedByFocus : 1; |
279 unsigned affectedByHover : 1; | 279 unsigned affectedByHover : 1; |
280 unsigned affectedByActive : 1; | 280 unsigned affectedByActive : 1; |
281 unsigned affectedByDrag : 1; | 281 unsigned affectedByDrag : 1; |
282 | 282 |
283 unsigned isLink : 1; | 283 unsigned isLink : 1; |
284 | 284 |
285 mutable unsigned hasRemUnits : 1; | 285 mutable unsigned hasRemUnits : 1; |
286 // If you add more style bits here, you will also need to update Compute
dStyle::copyNonInheritedFromCached() | 286 // If you add more style bits here, you will also need to update Compute
dStyle::copyNonInheritedFromCached() |
287 // 63 bits | 287 // 63 bits |
| 288 |
| 289 // GreenWeb QoS flags |
| 290 // continuous: true (1, CONTINUOUS), single: false (0, DISCRETE). Here i
s what we defined: enum EQoSType { DISCRETE, CONTINUOUS }; |
| 291 unsigned OnclickQoSType : 1; |
| 292 // long: true (1, LONG), short: false (0, SHORT). Here is what we define
d: enum EQoSDuration { SHORT, LONG }; |
| 293 unsigned OnclickQoSVduration : 1; |
| 294 unsigned OnscrollQoSType : 1; |
| 295 unsigned OnscrollQoSVduration : 1; |
| 296 unsigned OntouchstartQoSType : 1; |
| 297 unsigned OntouchstartQoSVduration : 1; |
| 298 unsigned OntouchendQoSType : 1; |
| 299 unsigned OntouchendQoSVduration : 1; |
| 300 unsigned OntouchmoveQoSType : 1; |
| 301 unsigned OntouchmoveQoSVduration : 1; |
288 } noninherited_flags; | 302 } noninherited_flags; |
289 | 303 |
290 // !END SYNC! | 304 // !END SYNC! |
291 | 305 |
292 protected: | 306 protected: |
293 void setBitDefaults() | 307 void setBitDefaults() |
294 { | 308 { |
295 inherited_flags._empty_cells = initialEmptyCells(); | 309 inherited_flags._empty_cells = initialEmptyCells(); |
296 inherited_flags._caption_side = initialCaptionSide(); | 310 inherited_flags._caption_side = initialCaptionSide(); |
297 inherited_flags._list_style_type = initialListStyleType(); | 311 inherited_flags._list_style_type = initialListStyleType(); |
(...skipping 30 matching lines...) Expand all Loading... |
328 noninherited_flags.explicitInheritance = false; | 342 noninherited_flags.explicitInheritance = false; |
329 noninherited_flags.unique = false; | 343 noninherited_flags.unique = false; |
330 noninherited_flags.emptyState = false; | 344 noninherited_flags.emptyState = false; |
331 noninherited_flags.hasViewportUnits = false; | 345 noninherited_flags.hasViewportUnits = false; |
332 noninherited_flags.affectedByFocus = false; | 346 noninherited_flags.affectedByFocus = false; |
333 noninherited_flags.affectedByHover = false; | 347 noninherited_flags.affectedByHover = false; |
334 noninherited_flags.affectedByActive = false; | 348 noninherited_flags.affectedByActive = false; |
335 noninherited_flags.affectedByDrag = false; | 349 noninherited_flags.affectedByDrag = false; |
336 noninherited_flags.isLink = false; | 350 noninherited_flags.isLink = false; |
337 noninherited_flags.hasRemUnits = false; | 351 noninherited_flags.hasRemUnits = false; |
| 352 noninherited_flags.OnclickQoSType = false; |
| 353 noninherited_flags.OnclickQoSVduration = false; |
| 354 noninherited_flags.OnscrollQoSType = true; |
| 355 noninherited_flags.OnscrollQoSVduration = false; |
| 356 noninherited_flags.OntouchstartQoSType = false; |
| 357 noninherited_flags.OntouchstartQoSVduration = false; |
| 358 noninherited_flags.OntouchendQoSType = false; |
| 359 noninherited_flags.OntouchendQoSVduration = false; |
| 360 noninherited_flags.OntouchmoveQoSType = true; |
| 361 noninherited_flags.OntouchmoveQoSVduration = false; |
338 } | 362 } |
339 | 363 |
340 private: | 364 private: |
341 ALWAYS_INLINE ComputedStyle(); | 365 ALWAYS_INLINE ComputedStyle(); |
342 | 366 |
343 enum InitialStyleTag { | 367 enum InitialStyleTag { |
344 InitialStyle | 368 InitialStyle |
345 }; | 369 }; |
346 ALWAYS_INLINE explicit ComputedStyle(InitialStyleTag); | 370 ALWAYS_INLINE explicit ComputedStyle(InitialStyleTag); |
347 ALWAYS_INLINE ComputedStyle(const ComputedStyle&); | 371 ALWAYS_INLINE ComputedStyle(const ComputedStyle&); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 bool isStyleAvailable() const; | 470 bool isStyleAvailable() const; |
447 | 471 |
448 bool hasAnyPublicPseudoStyles() const; | 472 bool hasAnyPublicPseudoStyles() const; |
449 bool hasPseudoStyle(PseudoId) const; | 473 bool hasPseudoStyle(PseudoId) const; |
450 void setHasPseudoStyle(PseudoId); | 474 void setHasPseudoStyle(PseudoId); |
451 bool hasUniquePseudoStyle() const; | 475 bool hasUniquePseudoStyle() const; |
452 bool hasPseudoElementStyle() const; | 476 bool hasPseudoElementStyle() const; |
453 | 477 |
454 // attribute getter methods | 478 // attribute getter methods |
455 | 479 |
| 480 EOnclickType onclickType() const { return static_cast<EOnclickType>(noninher
ited_flags.OnclickQoSType); } |
| 481 EOnclickVduration onclickVduration() const { return static_cast<EOnclickVdur
ation>(noninherited_flags.OnclickQoSVduration); } |
| 482 int onclickVpi() const { return rareNonInheritedData->m_onclickVpi; } |
| 483 int onclickVpu() const { return rareNonInheritedData->m_onclickVpu; } |
| 484 |
| 485 EOnscrollType onscrollType() const { return static_cast<EOnscrollType>(nonin
herited_flags.OnscrollQoSType); } |
| 486 EOnscrollVduration onscrollVduration() const { return static_cast<EOnscrollV
duration>(noninherited_flags.OnscrollQoSVduration); } |
| 487 int onscrollVpi() const { return rareNonInheritedData->m_onscrollVpi; } |
| 488 int onscrollVpu() const { return rareNonInheritedData->m_onscrollVpu; } |
| 489 |
| 490 EOntouchstartType ontouchstartType() const { return static_cast<EOntouchstar
tType>(noninherited_flags.OntouchstartQoSType); } |
| 491 EOntouchstartVduration ontouchstartVduration() const { return static_cast<EO
ntouchstartVduration>(noninherited_flags.OntouchstartQoSVduration); } |
| 492 int ontouchstartVpi() const { return rareNonInheritedData->m_ontouchstartVpi
; } |
| 493 int ontouchstartVpu() const { return rareNonInheritedData->m_ontouchstartVpu
; } |
| 494 |
| 495 EOntouchendType ontouchendType() const { return static_cast<EOntouchendType>
(noninherited_flags.OntouchendQoSType); } |
| 496 EOntouchendVduration ontouchendVduration() const { return static_cast<EOntou
chendVduration>(noninherited_flags.OntouchendQoSVduration); } |
| 497 int ontouchendVpi() const { return rareNonInheritedData->m_ontouchendVpi; } |
| 498 int ontouchendVpu() const { return rareNonInheritedData->m_ontouchendVpu; } |
| 499 |
| 500 EOntouchmoveType ontouchmoveType() const { return static_cast<EOntouchmoveTy
pe>(noninherited_flags.OntouchmoveQoSType); } |
| 501 EOntouchmoveVduration ontouchmoveVduration() const { return static_cast<EOnt
ouchmoveVduration>(noninherited_flags.OntouchmoveQoSVduration); } |
| 502 int ontouchmoveVpi() const { return rareNonInheritedData->m_ontouchmoveVpi;
} |
| 503 int ontouchmoveVpu() const { return rareNonInheritedData->m_ontouchmoveVpu;
} |
| 504 |
456 EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.e
ffectiveDisplay); } | 505 EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.e
ffectiveDisplay); } |
457 EDisplay originalDisplay() const { return static_cast<EDisplay>(noninherited
_flags.originalDisplay); } | 506 EDisplay originalDisplay() const { return static_cast<EDisplay>(noninherited
_flags.originalDisplay); } |
458 | 507 |
459 const Length& left() const { return surround->offset.left(); } | 508 const Length& left() const { return surround->offset.left(); } |
460 const Length& right() const { return surround->offset.right(); } | 509 const Length& right() const { return surround->offset.right(); } |
461 const Length& top() const { return surround->offset.top(); } | 510 const Length& top() const { return surround->offset.top(); } |
462 const Length& bottom() const { return surround->offset.bottom(); } | 511 const Length& bottom() const { return surround->offset.bottom(); } |
463 | 512 |
464 // Accessors for positioned object edges that take into account writing mode
. | 513 // Accessors for positioned object edges that take into account writing mode
. |
465 const Length& logicalLeft() const { return surround->offset.logicalLeft(writ
ingMode()); } | 514 const Length& logicalLeft() const { return surround->offset.logicalLeft(writ
ingMode()); } |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 Vector<LengthPoint> scrollSnapCoordinate() const { return rareNonInheritedDa
ta->m_scrollSnap->m_coordinates; } | 1029 Vector<LengthPoint> scrollSnapCoordinate() const { return rareNonInheritedDa
ta->m_scrollSnap->m_coordinates; } |
981 LengthPoint scrollSnapDestination() const { return rareNonInheritedData->m_s
crollSnap->m_destination; } | 1030 LengthPoint scrollSnapDestination() const { return rareNonInheritedData->m_s
crollSnap->m_destination; } |
982 | 1031 |
983 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } | 1032 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } |
984 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } | 1033 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } |
985 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } | 1034 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } |
986 bool hasWillChangeCompositingHint() const; | 1035 bool hasWillChangeCompositingHint() const; |
987 bool hasWillChangeTransformHint() const; | 1036 bool hasWillChangeTransformHint() const; |
988 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } | 1037 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } |
989 | 1038 |
990 // attribute setter methods | 1039 // attribute setter methods |
| 1040 |
| 1041 void setOnclickType(EOnclickType v) |
| 1042 { |
| 1043 noninherited_flags.OnclickQoSType = v; |
| 1044 if (v == DISCRETE) { |
| 1045 setOnclickVpi(100); |
| 1046 setOnclickVpu(300); |
| 1047 } else { |
| 1048 ASSERT(v == CONTINUOUS); |
| 1049 setOnclickVpi(16); |
| 1050 setOnclickVpu(33); |
| 1051 } |
| 1052 } |
| 1053 void setOnclickVduration(EOnclickVduration v) |
| 1054 { |
| 1055 noninherited_flags.OnclickQoSVduration = v; |
| 1056 if (v == SHORT) { |
| 1057 setOnclickVpi(100); |
| 1058 setOnclickVpu(300); |
| 1059 } else { |
| 1060 ASSERT(v == LONG); |
| 1061 setOnclickVpi(1000); |
| 1062 setOnclickVpu(10000); |
| 1063 } |
| 1064 } |
| 1065 void setOnclickVpi(int pi) { if (pi >= 0) { SET_VAR(rareNonInheritedData, m_
onclickVpi, pi); } } |
| 1066 void setOnclickVpu(int pu) { if (pu >= 0) { SET_VAR(rareNonInheritedData, m_
onclickVpu, pu); } } |
| 1067 |
| 1068 void setOnscrollType(EOnscrollType v) |
| 1069 { |
| 1070 noninherited_flags.OnscrollQoSType = v; |
| 1071 if (v == DISCRETE) { |
| 1072 setOnscrollVpi(100); |
| 1073 setOnscrollVpu(300); |
| 1074 } else { |
| 1075 ASSERT(v == CONTINUOUS); |
| 1076 setOnscrollVpi(16); |
| 1077 setOnscrollVpu(33); |
| 1078 } |
| 1079 } |
| 1080 void setOnscrollVduration(EOnscrollVduration v) |
| 1081 { |
| 1082 noninherited_flags.OnscrollQoSVduration = v; |
| 1083 if (v == SHORT) { |
| 1084 setOnscrollVpi(100); |
| 1085 setOnscrollVpu(300); |
| 1086 } else { |
| 1087 ASSERT(v == LONG); |
| 1088 setOnscrollVpi(1000); |
| 1089 setOnscrollVpu(10000); |
| 1090 } |
| 1091 } |
| 1092 void setOnscrollVpi(int pi) { if (pi >= 0) { SET_VAR(rareNonInheritedData, m
_onscrollVpi, pi); } } |
| 1093 void setOnscrollVpu(int pu) { if (pu >= 0) { SET_VAR(rareNonInheritedData, m
_onscrollVpu, pu); } } |
| 1094 |
| 1095 void setOntouchstartType(EOntouchstartType v) |
| 1096 { |
| 1097 noninherited_flags.OntouchstartQoSType = v; |
| 1098 if (v == DISCRETE) { |
| 1099 setOntouchstartVpi(100); |
| 1100 setOntouchstartVpu(300); |
| 1101 } else { |
| 1102 ASSERT(v == CONTINUOUS); |
| 1103 setOntouchstartVpi(16); |
| 1104 setOntouchstartVpu(33); |
| 1105 } |
| 1106 } |
| 1107 void setOntouchstartVduration(EOntouchstartVduration v) |
| 1108 { |
| 1109 noninherited_flags.OntouchstartQoSVduration = v; |
| 1110 if (v == SHORT) { |
| 1111 setOntouchstartVpi(100); |
| 1112 setOntouchstartVpu(300); |
| 1113 } else { |
| 1114 ASSERT(v == LONG); |
| 1115 setOntouchstartVpi(1000); |
| 1116 setOntouchstartVpu(10000); |
| 1117 } |
| 1118 } |
| 1119 void setOntouchstartVpi(int pi) { if (pi >= 0) { SET_VAR(rareNonInheritedDat
a, m_ontouchstartVpi, pi); } } |
| 1120 void setOntouchstartVpu(int pu) { if (pu >= 0) { SET_VAR(rareNonInheritedDat
a, m_ontouchstartVpu, pu); } } |
| 1121 |
| 1122 void setOntouchendType(EOntouchendType v) |
| 1123 { |
| 1124 noninherited_flags.OntouchendQoSType = v; |
| 1125 if (v == DISCRETE) { |
| 1126 setOntouchendVpi(100); |
| 1127 setOntouchendVpu(300); |
| 1128 } else { |
| 1129 ASSERT(v == CONTINUOUS); |
| 1130 setOntouchendVpi(16); |
| 1131 setOntouchendVpu(33); |
| 1132 } |
| 1133 } |
| 1134 void setOntouchendVduration(EOntouchendVduration v) |
| 1135 { |
| 1136 noninherited_flags.OntouchendQoSVduration = v; |
| 1137 if (v == SHORT) { |
| 1138 setOntouchendVpi(100); |
| 1139 setOntouchendVpu(300); |
| 1140 } else { |
| 1141 ASSERT(v == LONG); |
| 1142 setOntouchendVpi(1000); |
| 1143 setOntouchendVpu(10000); |
| 1144 } |
| 1145 } |
| 1146 void setOntouchendVpi(int pi) { if (pi >= 0) { SET_VAR(rareNonInheritedData,
m_ontouchendVpi, pi); } } |
| 1147 void setOntouchendVpu(int pu) { if (pu >= 0) { SET_VAR(rareNonInheritedData,
m_ontouchendVpu, pu); } } |
| 1148 |
| 1149 void setOntouchmoveType(EOntouchmoveType v) |
| 1150 { |
| 1151 noninherited_flags.OntouchmoveQoSType = v; |
| 1152 if (v == DISCRETE) { |
| 1153 setOntouchmoveVpi(100); |
| 1154 setOntouchmoveVpu(300); |
| 1155 } else { |
| 1156 ASSERT(v == CONTINUOUS); |
| 1157 setOntouchmoveVpi(16); |
| 1158 setOntouchmoveVpu(33); |
| 1159 } |
| 1160 } |
| 1161 void setOntouchmoveVduration(EOntouchmoveVduration v) |
| 1162 { |
| 1163 noninherited_flags.OntouchmoveQoSVduration = v; |
| 1164 if (v == SHORT) { |
| 1165 setOntouchmoveVpi(100); |
| 1166 setOntouchmoveVpu(300); |
| 1167 } else { |
| 1168 ASSERT(v == LONG); |
| 1169 setOntouchmoveVpi(1000); |
| 1170 setOntouchmoveVpu(10000); |
| 1171 } |
| 1172 } |
| 1173 void setOntouchmoveVpi(int pi) { if (pi >= 0) { SET_VAR(rareNonInheritedData
, m_ontouchmoveVpi, pi); } } |
| 1174 void setOntouchmoveVpu(int pu) { if (pu >= 0) { SET_VAR(rareNonInheritedData
, m_ontouchmoveVpu, pu); } } |
991 | 1175 |
992 void setDisplay(EDisplay v) { noninherited_flags.effectiveDisplay = v; } | 1176 void setDisplay(EDisplay v) { noninherited_flags.effectiveDisplay = v; } |
993 void setOriginalDisplay(EDisplay v) { noninherited_flags.originalDisplay = v
; } | 1177 void setOriginalDisplay(EDisplay v) { noninherited_flags.originalDisplay = v
; } |
994 void setPosition(EPosition v) { noninherited_flags.position = v; } | 1178 void setPosition(EPosition v) { noninherited_flags.position = v; } |
995 void setFloating(EFloat v) { noninherited_flags.floating = v; } | 1179 void setFloating(EFloat v) { noninherited_flags.floating = v; } |
996 | 1180 |
997 void setLeft(const Length& v) { SET_VAR(surround, offset.m_left, v); } | 1181 void setLeft(const Length& v) { SET_VAR(surround, offset.m_left, v); } |
998 void setRight(const Length& v) { SET_VAR(surround, offset.m_right, v); } | 1182 void setRight(const Length& v) { SET_VAR(surround, offset.m_right, v); } |
999 void setTop(const Length& v) { SET_VAR(surround, offset.m_top, v); } | 1183 void setTop(const Length& v) { SET_VAR(surround, offset.m_top, v); } |
1000 void setBottom(const Length& v) { SET_VAR(surround, offset.m_bottom, v); } | 1184 void setBottom(const Length& v) { SET_VAR(surround, offset.m_bottom, v); } |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1600 | 1784 |
1601 bool borderObscuresBackground() const; | 1785 bool borderObscuresBackground() const; |
1602 void getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLeftEdge = tru
e, bool includeLogicalRightEdge = true) const; | 1786 void getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLeftEdge = tru
e, bool includeLogicalRightEdge = true) const; |
1603 | 1787 |
1604 void setHasAuthorBackground(bool authorBackground) { SET_VAR(rareNonInherite
dData, m_hasAuthorBackground, authorBackground); } | 1788 void setHasAuthorBackground(bool authorBackground) { SET_VAR(rareNonInherite
dData, m_hasAuthorBackground, authorBackground); } |
1605 void setHasAuthorBorder(bool authorBorder) { SET_VAR(rareNonInheritedData, m
_hasAuthorBorder, authorBorder); } | 1789 void setHasAuthorBorder(bool authorBorder) { SET_VAR(rareNonInheritedData, m
_hasAuthorBorder, authorBorder); } |
1606 bool hasAuthorBackground() const { return rareNonInheritedData->m_hasAuthorB
ackground; }; | 1790 bool hasAuthorBackground() const { return rareNonInheritedData->m_hasAuthorB
ackground; }; |
1607 bool hasAuthorBorder() const { return rareNonInheritedData->m_hasAuthorBorde
r; }; | 1791 bool hasAuthorBorder() const { return rareNonInheritedData->m_hasAuthorBorde
r; }; |
1608 | 1792 |
1609 // Initial values for all the properties | 1793 // Initial values for all the properties |
| 1794 static EOnclickType initialOnclickType() { return DISCRETE; } |
| 1795 static EOnclickVduration initialOnclickVduration() { return SHORT; } |
| 1796 static int initialOnclickVpi() { return 100; } |
| 1797 static int initialOnclickVpu() { return 300; } |
| 1798 |
| 1799 static EOnscrollType initialOnscrollType() { return CONTINUOUS; } |
| 1800 static EOnscrollVduration initialOnscrollVduration() { return SHORT; } |
| 1801 static int initialOnscrollVpi() { return 16; } |
| 1802 static int initialOnscrollVpu() { return 33; } |
| 1803 |
| 1804 static EOntouchstartType initialOntouchstartType() { return DISCRETE; } |
| 1805 static EOntouchstartVduration initialOntouchstartVduration() { return SHORT;
} |
| 1806 static int initialOntouchstartVpi() { return 100; } |
| 1807 static int initialOntouchstartVpu() { return 300; } |
| 1808 |
| 1809 static EOntouchendType initialOntouchendType() { return DISCRETE; } |
| 1810 static EOntouchendVduration initialOntouchendVduration() { return SHORT; } |
| 1811 static int initialOntouchendVpi() { return 100; } |
| 1812 static int initialOntouchendVpu() { return 300; } |
| 1813 |
| 1814 static EOntouchmoveType initialOntouchmoveType() { return CONTINUOUS; } |
| 1815 static EOntouchmoveVduration initialOntouchmoveVduration() { return SHORT; } |
| 1816 static int initialOntouchmoveVpi() { return 16; } |
| 1817 static int initialOntouchmoveVpu() { return 33; } |
| 1818 |
1610 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } | 1819 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } |
1611 static EBorderStyle initialBorderStyle() { return BNONE; } | 1820 static EBorderStyle initialBorderStyle() { return BNONE; } |
1612 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } | 1821 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } |
1613 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } | 1822 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } |
1614 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } | 1823 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } |
1615 static ECaptionSide initialCaptionSide() { return CAPTOP; } | 1824 static ECaptionSide initialCaptionSide() { return CAPTOP; } |
1616 static EClear initialClear() { return CNONE; } | 1825 static EClear initialClear() { return CNONE; } |
1617 static LengthBox initialClip() { return LengthBox(); } | 1826 static LengthBox initialClip() { return LengthBox(); } |
1618 static TextDirection initialDirection() { return LTR; } | 1827 static TextDirection initialDirection() { return LTR; } |
1619 static WritingMode initialWritingMode() { return TopToBottomWritingMode; } | 1828 static WritingMode initialWritingMode() { return TopToBottomWritingMode; } |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1986 } | 2195 } |
1987 | 2196 |
1988 inline bool ComputedStyle::hasPseudoElementStyle() const | 2197 inline bool ComputedStyle::hasPseudoElementStyle() const |
1989 { | 2198 { |
1990 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 2199 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1991 } | 2200 } |
1992 | 2201 |
1993 } // namespace blink | 2202 } // namespace blink |
1994 | 2203 |
1995 #endif // ComputedStyle_h | 2204 #endif // ComputedStyle_h |
OLD | NEW |