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 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 | 1305 |
1306 // CSS3 Setters | 1306 // CSS3 Setters |
1307 void setOutlineOffset(int v) { SET_VAR(m_background, m_outline.m_offset, v);
} | 1307 void setOutlineOffset(int v) { SET_VAR(m_background, m_outline.m_offset, v);
} |
1308 void setTextShadow(PassRefPtr<ShadowList>); | 1308 void setTextShadow(PassRefPtr<ShadowList>); |
1309 void setTextStrokeColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInher
itedData, textStrokeColor, setTextStrokeColor, c); } | 1309 void setTextStrokeColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInher
itedData, textStrokeColor, setTextStrokeColor, c); } |
1310 void setTextStrokeWidth(float w) { SET_VAR(rareInheritedData, textStrokeWidt
h, w); } | 1310 void setTextStrokeWidth(float w) { SET_VAR(rareInheritedData, textStrokeWidt
h, w); } |
1311 void setTextFillColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInherit
edData, textFillColor, setTextFillColor, c); } | 1311 void setTextFillColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInherit
edData, textFillColor, setTextFillColor, c); } |
1312 void setOpacity(float f) { float v = clampTo<float>(f, 0, 1); SET_VAR(rareNo
nInheritedData, opacity, v); } | 1312 void setOpacity(float f) { float v = clampTo<float>(f, 0, 1); SET_VAR(rareNo
nInheritedData, opacity, v); } |
1313 void setAppearance(ControlPart a) { SET_VAR(rareNonInheritedData, m_appearan
ce, a); } | 1313 void setAppearance(ControlPart a) { SET_VAR(rareNonInheritedData, m_appearan
ce, a); } |
1314 // For valid values of box-align see http://www.w3.org/TR/2009/WD-css3-flexb
ox-20090723/#alignment | 1314 // For valid values of box-align see http://www.w3.org/TR/2009/WD-css3-flexb
ox-20090723/#alignment |
1315 void setBoxAlign(EBoxAlignment a) { SET_VAR(rareNonInheritedData.access()->m
_deprecatedFlexibleBox, align, a); } | 1315 void setBoxAlign(EBoxAlignment a) { SET_NESTED_VAR(rareNonInheritedData, m_d
eprecatedFlexibleBox, align, a); } |
1316 void setBoxDecorationBreak(EBoxDecorationBreak b) { SET_VAR(m_box, m_boxDeco
rationBreak, b); } | 1316 void setBoxDecorationBreak(EBoxDecorationBreak b) { SET_VAR(m_box, m_boxDeco
rationBreak, b); } |
1317 void setBoxDirection(EBoxDirection d) { inherited_flags._box_direction = d;
} | 1317 void setBoxDirection(EBoxDirection d) { inherited_flags._box_direction = d;
} |
1318 void setBoxFlex(float f) { SET_VAR(rareNonInheritedData.access()->m_deprecat
edFlexibleBox, flex, f); } | 1318 void setBoxFlex(float f) { SET_NESTED_VAR(rareNonInheritedData, m_deprecated
FlexibleBox, flex, f); } |
1319 void setBoxFlexGroup(unsigned fg) { SET_VAR(rareNonInheritedData.access()->m
_deprecatedFlexibleBox, flexGroup, fg); } | 1319 void setBoxFlexGroup(unsigned fg) { SET_NESTED_VAR(rareNonInheritedData, m_d
eprecatedFlexibleBox, flexGroup, fg); } |
1320 void setBoxLines(EBoxLines l) { SET_VAR(rareNonInheritedData.access()->m_dep
recatedFlexibleBox, lines, l); } | 1320 void setBoxLines(EBoxLines l) { SET_NESTED_VAR(rareNonInheritedData, m_depre
catedFlexibleBox, lines, l); } |
1321 void setBoxOrdinalGroup(unsigned og) { SET_VAR(rareNonInheritedData.access()
->m_deprecatedFlexibleBox, ordinalGroup, og); } | 1321 void setBoxOrdinalGroup(unsigned og) { SET_NESTED_VAR(rareNonInheritedData,
m_deprecatedFlexibleBox, ordinalGroup, og); } |
1322 void setBoxOrient(EBoxOrient o) { SET_VAR(rareNonInheritedData.access()->m_d
eprecatedFlexibleBox, orient, o); } | 1322 void setBoxOrient(EBoxOrient o) { SET_NESTED_VAR(rareNonInheritedData, m_dep
recatedFlexibleBox, orient, o); } |
1323 void setBoxPack(EBoxPack p) { SET_VAR(rareNonInheritedData.access()->m_depre
catedFlexibleBox, pack, p); } | 1323 void setBoxPack(EBoxPack p) { SET_NESTED_VAR(rareNonInheritedData, m_depreca
tedFlexibleBox, pack, p); } |
1324 void setBoxShadow(PassRefPtr<ShadowList>); | 1324 void setBoxShadow(PassRefPtr<ShadowList>); |
1325 void setBoxReflect(PassRefPtr<StyleReflection> reflect) { if (rareNonInherit
edData->m_boxReflect != reflect) rareNonInheritedData.access()->m_boxReflect = r
eflect; } | 1325 void setBoxReflect(PassRefPtr<StyleReflection> reflect) { if (rareNonInherit
edData->m_boxReflect != reflect) rareNonInheritedData.access()->m_boxReflect = r
eflect; } |
1326 void setBoxSizing(EBoxSizing s) { SET_VAR(m_box, m_boxSizing, s); } | 1326 void setBoxSizing(EBoxSizing s) { SET_VAR(m_box, m_boxSizing, s); } |
1327 void setContain(Containment contain) { SET_VAR(rareNonInheritedData, m_conta
in, contain); } | 1327 void setContain(Containment contain) { SET_VAR(rareNonInheritedData, m_conta
in, contain); } |
1328 void setFlexGrow(float f) { SET_VAR(rareNonInheritedData.access()->m_flexibl
eBox, m_flexGrow, f); } | 1328 void setFlexGrow(float f) { SET_NESTED_VAR(rareNonInheritedData, m_flexibleB
ox, m_flexGrow, f); } |
1329 void setFlexShrink(float f) { SET_VAR(rareNonInheritedData.access()->m_flexi
bleBox, m_flexShrink, f); } | 1329 void setFlexShrink(float f) { SET_NESTED_VAR(rareNonInheritedData, m_flexibl
eBox, m_flexShrink, f); } |
1330 void setFlexBasis(const Length& length) { SET_VAR(rareNonInheritedData.acces
s()->m_flexibleBox, m_flexBasis, length); } | 1330 void setFlexBasis(const Length& length) { SET_NESTED_VAR(rareNonInheritedDat
a, m_flexibleBox, m_flexBasis, length); } |
1331 // We restrict the smallest value to int min + 2 because we use int min and
int min + 1 as special values in a hash set. | 1331 // We restrict the smallest value to int min + 2 because we use int min and
int min + 1 as special values in a hash set. |
1332 void setOrder(int o) { SET_VAR(rareNonInheritedData, m_order, max(std::numer
ic_limits<int>::min() + 2, o)); } | 1332 void setOrder(int o) { SET_VAR(rareNonInheritedData, m_order, max(std::numer
ic_limits<int>::min() + 2, o)); } |
1333 void addCallbackSelector(const String& selector); | 1333 void addCallbackSelector(const String& selector); |
1334 void setAlignContent(const StyleContentAlignmentData& data) { SET_VAR(rareNo
nInheritedData, m_alignContent, data); } | 1334 void setAlignContent(const StyleContentAlignmentData& data) { SET_VAR(rareNo
nInheritedData, m_alignContent, data); } |
1335 void setAlignContentPosition(ContentPosition position) { rareNonInheritedDat
a.access()->m_alignContent.setPosition(position); } | 1335 void setAlignContentPosition(ContentPosition position) { rareNonInheritedDat
a.access()->m_alignContent.setPosition(position); } |
1336 void setAlignContentDistribution(ContentDistributionType distribution) { rar
eNonInheritedData.access()->m_alignContent.setDistribution(distribution); } | 1336 void setAlignContentDistribution(ContentDistributionType distribution) { rar
eNonInheritedData.access()->m_alignContent.setDistribution(distribution); } |
1337 void setAlignContentOverflow(OverflowAlignment overflow) { rareNonInheritedD
ata.access()->m_alignContent.setOverflow(overflow); } | 1337 void setAlignContentOverflow(OverflowAlignment overflow) { rareNonInheritedD
ata.access()->m_alignContent.setOverflow(overflow); } |
1338 void setAlignItems(const StyleSelfAlignmentData& data) { SET_VAR(rareNonInhe
ritedData, m_alignItems, data); } | 1338 void setAlignItems(const StyleSelfAlignmentData& data) { SET_VAR(rareNonInhe
ritedData, m_alignItems, data); } |
1339 void setAlignItemsPosition(ItemPosition position) { rareNonInheritedData.acc
ess()->m_alignItems.setPosition(position); } | 1339 void setAlignItemsPosition(ItemPosition position) { rareNonInheritedData.acc
ess()->m_alignItems.setPosition(position); } |
1340 void setAlignItemsOverflow(OverflowAlignment overflow) { rareNonInheritedDat
a.access()->m_alignItems.setOverflow(overflow); } | 1340 void setAlignItemsOverflow(OverflowAlignment overflow) { rareNonInheritedDat
a.access()->m_alignItems.setOverflow(overflow); } |
1341 void setAlignSelf(const StyleSelfAlignmentData& data) { SET_VAR(rareNonInher
itedData, m_alignSelf, data); } | 1341 void setAlignSelf(const StyleSelfAlignmentData& data) { SET_VAR(rareNonInher
itedData, m_alignSelf, data); } |
1342 void setAlignSelfPosition(ItemPosition position) { rareNonInheritedData.acce
ss()->m_alignSelf.setPosition(position); } | 1342 void setAlignSelfPosition(ItemPosition position) { rareNonInheritedData.acce
ss()->m_alignSelf.setPosition(position); } |
1343 void setAlignSelfOverflow(OverflowAlignment overflow) { rareNonInheritedData
.access()->m_alignSelf.setOverflow(overflow); } | 1343 void setAlignSelfOverflow(OverflowAlignment overflow) { rareNonInheritedData
.access()->m_alignSelf.setOverflow(overflow); } |
1344 void setFlexDirection(EFlexDirection direction) { SET_VAR(rareNonInheritedDa
ta.access()->m_flexibleBox, m_flexDirection, direction); } | 1344 void setFlexDirection(EFlexDirection direction) { SET_NESTED_VAR(rareNonInhe
ritedData, m_flexibleBox, m_flexDirection, direction); } |
1345 void setFlexWrap(EFlexWrap w) { SET_VAR(rareNonInheritedData.access()->m_fle
xibleBox, m_flexWrap, w); } | 1345 void setFlexWrap(EFlexWrap w) { SET_NESTED_VAR(rareNonInheritedData, m_flexi
bleBox, m_flexWrap, w); } |
1346 void setJustifyContent(const StyleContentAlignmentData& data) { SET_VAR(rare
NonInheritedData, m_justifyContent, data); } | 1346 void setJustifyContent(const StyleContentAlignmentData& data) { SET_VAR(rare
NonInheritedData, m_justifyContent, data); } |
1347 void setJustifyContentPosition(ContentPosition position) { rareNonInheritedD
ata.access()->m_justifyContent.setPosition(position); } | 1347 void setJustifyContentPosition(ContentPosition position) { rareNonInheritedD
ata.access()->m_justifyContent.setPosition(position); } |
1348 void setJustifyContentDistribution(ContentDistributionType distribution) { r
areNonInheritedData.access()->m_justifyContent.setDistribution(distribution); } | 1348 void setJustifyContentDistribution(ContentDistributionType distribution) { r
areNonInheritedData.access()->m_justifyContent.setDistribution(distribution); } |
1349 void setJustifyContentOverflow(OverflowAlignment overflow) { rareNonInherite
dData.access()->m_justifyContent.setOverflow(overflow); } | 1349 void setJustifyContentOverflow(OverflowAlignment overflow) { rareNonInherite
dData.access()->m_justifyContent.setOverflow(overflow); } |
1350 void setJustifyItems(const StyleSelfAlignmentData& data) { SET_VAR(rareNonIn
heritedData, m_justifyItems, data); } | 1350 void setJustifyItems(const StyleSelfAlignmentData& data) { SET_VAR(rareNonIn
heritedData, m_justifyItems, data); } |
1351 void setJustifyItemsPosition(ItemPosition position) { rareNonInheritedData.a
ccess()->m_justifyItems.setPosition(position); } | 1351 void setJustifyItemsPosition(ItemPosition position) { rareNonInheritedData.a
ccess()->m_justifyItems.setPosition(position); } |
1352 void setJustifyItemsOverflow(OverflowAlignment overflow) { rareNonInheritedD
ata.access()->m_justifyItems.setOverflow(overflow); } | 1352 void setJustifyItemsOverflow(OverflowAlignment overflow) { rareNonInheritedD
ata.access()->m_justifyItems.setOverflow(overflow); } |
1353 void setJustifyItemsPositionType(ItemPositionType positionType) { rareNonInh
eritedData.access()->m_justifyItems.setPositionType(positionType); } | 1353 void setJustifyItemsPositionType(ItemPositionType positionType) { rareNonInh
eritedData.access()->m_justifyItems.setPositionType(positionType); } |
1354 void setJustifySelf(const StyleSelfAlignmentData& data) { SET_VAR(rareNonInh
eritedData, m_justifySelf, data); } | 1354 void setJustifySelf(const StyleSelfAlignmentData& data) { SET_VAR(rareNonInh
eritedData, m_justifySelf, data); } |
1355 void setJustifySelfPosition(ItemPosition position) { rareNonInheritedData.ac
cess()->m_justifySelf.setPosition(position); } | 1355 void setJustifySelfPosition(ItemPosition position) { rareNonInheritedData.ac
cess()->m_justifySelf.setPosition(position); } |
1356 void setJustifySelfOverflow(OverflowAlignment overflow) { rareNonInheritedDa
ta.access()->m_justifySelf.setOverflow(overflow); } | 1356 void setJustifySelfOverflow(OverflowAlignment overflow) { rareNonInheritedDa
ta.access()->m_justifySelf.setOverflow(overflow); } |
1357 void setGridAutoColumns(const GridTrackSize& length) { SET_VAR(rareNonInheri
tedData.access()->m_grid, m_gridAutoColumns, length); } | 1357 void setGridAutoColumns(const GridTrackSize& length) { SET_NESTED_VAR(rareNo
nInheritedData, m_grid, m_gridAutoColumns, length); } |
1358 void setGridAutoRows(const GridTrackSize& length) { SET_VAR(rareNonInherited
Data.access()->m_grid, m_gridAutoRows, length); } | 1358 void setGridAutoRows(const GridTrackSize& length) { SET_NESTED_VAR(rareNonIn
heritedData, m_grid, m_gridAutoRows, length); } |
1359 void setGridTemplateColumns(const Vector<GridTrackSize>& lengths) { SET_VAR(
rareNonInheritedData.access()->m_grid, m_gridTemplateColumns, lengths); } | 1359 void setGridTemplateColumns(const Vector<GridTrackSize>& lengths) { SET_NEST
ED_VAR(rareNonInheritedData, m_grid, m_gridTemplateColumns, lengths); } |
1360 void setGridTemplateRows(const Vector<GridTrackSize>& lengths) { SET_VAR(rar
eNonInheritedData.access()->m_grid, m_gridTemplateRows, lengths); } | 1360 void setGridTemplateRows(const Vector<GridTrackSize>& lengths) { SET_NESTED_
VAR(rareNonInheritedData, m_grid, m_gridTemplateRows, lengths); } |
1361 void setNamedGridColumnLines(const NamedGridLinesMap& namedGridColumnLines)
{ SET_VAR(rareNonInheritedData.access()->m_grid, m_namedGridColumnLines, namedGr
idColumnLines); } | 1361 void setNamedGridColumnLines(const NamedGridLinesMap& namedGridColumnLines)
{ SET_NESTED_VAR(rareNonInheritedData, m_grid, m_namedGridColumnLines, namedGrid
ColumnLines); } |
1362 void setNamedGridRowLines(const NamedGridLinesMap& namedGridRowLines) { SET_
VAR(rareNonInheritedData.access()->m_grid, m_namedGridRowLines, namedGridRowLine
s); } | 1362 void setNamedGridRowLines(const NamedGridLinesMap& namedGridRowLines) { SET_
NESTED_VAR(rareNonInheritedData, m_grid, m_namedGridRowLines, namedGridRowLines)
; } |
1363 void setOrderedNamedGridColumnLines(const OrderedNamedGridLines& orderedName
dGridColumnLines) { SET_VAR(rareNonInheritedData.access()->m_grid, m_orderedName
dGridColumnLines, orderedNamedGridColumnLines); } | 1363 void setOrderedNamedGridColumnLines(const OrderedNamedGridLines& orderedName
dGridColumnLines) { SET_NESTED_VAR(rareNonInheritedData, m_grid, m_orderedNamedG
ridColumnLines, orderedNamedGridColumnLines); } |
1364 void setOrderedNamedGridRowLines(const OrderedNamedGridLines& orderedNamedGr
idRowLines) { SET_VAR(rareNonInheritedData.access()->m_grid, m_orderedNamedGridR
owLines, orderedNamedGridRowLines); } | 1364 void setOrderedNamedGridRowLines(const OrderedNamedGridLines& orderedNamedGr
idRowLines) { SET_NESTED_VAR(rareNonInheritedData, m_grid, m_orderedNamedGridRow
Lines, orderedNamedGridRowLines); } |
1365 void setNamedGridArea(const NamedGridAreaMap& namedGridArea) { SET_VAR(rareN
onInheritedData.access()->m_grid, m_namedGridArea, namedGridArea); } | 1365 void setNamedGridArea(const NamedGridAreaMap& namedGridArea) { SET_NESTED_VA
R(rareNonInheritedData, m_grid, m_namedGridArea, namedGridArea); } |
1366 void setNamedGridAreaRowCount(size_t rowCount) { SET_VAR(rareNonInheritedDat
a.access()->m_grid, m_namedGridAreaRowCount, rowCount); } | 1366 void setNamedGridAreaRowCount(size_t rowCount) { SET_NESTED_VAR(rareNonInher
itedData, m_grid, m_namedGridAreaRowCount, rowCount); } |
1367 void setNamedGridAreaColumnCount(size_t columnCount) { SET_VAR(rareNonInheri
tedData.access()->m_grid, m_namedGridAreaColumnCount, columnCount); } | 1367 void setNamedGridAreaColumnCount(size_t columnCount) { SET_NESTED_VAR(rareNo
nInheritedData, m_grid, m_namedGridAreaColumnCount, columnCount); } |
1368 void setGridAutoFlow(GridAutoFlow flow) { SET_VAR(rareNonInheritedData.acces
s()->m_grid, m_gridAutoFlow, flow); } | 1368 void setGridAutoFlow(GridAutoFlow flow) { SET_NESTED_VAR(rareNonInheritedDat
a, m_grid, m_gridAutoFlow, flow); } |
1369 | 1369 |
1370 void setGridColumnStart(const GridPosition& columnStartPosition) { SET_VAR(r
areNonInheritedData.access()->m_gridItem, m_gridColumnStart, columnStartPosition
); } | 1370 void setGridColumnStart(const GridPosition& columnStartPosition) { SET_NESTE
D_VAR(rareNonInheritedData, m_gridItem, m_gridColumnStart, columnStartPosition);
} |
1371 void setGridColumnEnd(const GridPosition& columnEndPosition) { SET_VAR(rareN
onInheritedData.access()->m_gridItem, m_gridColumnEnd, columnEndPosition); } | 1371 void setGridColumnEnd(const GridPosition& columnEndPosition) { SET_NESTED_VA
R(rareNonInheritedData, m_gridItem, m_gridColumnEnd, columnEndPosition); } |
1372 void setGridRowStart(const GridPosition& rowStartPosition) { SET_VAR(rareNon
InheritedData.access()->m_gridItem, m_gridRowStart, rowStartPosition); } | 1372 void setGridRowStart(const GridPosition& rowStartPosition) { SET_NESTED_VAR(
rareNonInheritedData, m_gridItem, m_gridRowStart, rowStartPosition); } |
1373 void setGridRowEnd(const GridPosition& rowEndPosition) { SET_VAR(rareNonInhe
ritedData.access()->m_gridItem, m_gridRowEnd, rowEndPosition); } | 1373 void setGridRowEnd(const GridPosition& rowEndPosition) { SET_NESTED_VAR(rare
NonInheritedData, m_gridItem, m_gridRowEnd, rowEndPosition); } |
1374 void setGridColumnGap(const Length& v) { SET_VAR(rareNonInheritedData.access
()->m_grid, m_gridColumnGap, v); } | 1374 void setGridColumnGap(const Length& v) { SET_NESTED_VAR(rareNonInheritedData
, m_grid, m_gridColumnGap, v); } |
1375 void setGridRowGap(const Length& v) { SET_VAR(rareNonInheritedData.access()-
>m_grid, m_gridRowGap, v); } | 1375 void setGridRowGap(const Length& v) { SET_NESTED_VAR(rareNonInheritedData, m
_grid, m_gridRowGap, v); } |
1376 | 1376 |
1377 void setUserModify(EUserModify u) { SET_VAR(rareInheritedData, userModify, u
); } | 1377 void setUserModify(EUserModify u) { SET_VAR(rareInheritedData, userModify, u
); } |
1378 void setUserDrag(EUserDrag d) { SET_VAR(rareNonInheritedData, userDrag, d);
} | 1378 void setUserDrag(EUserDrag d) { SET_VAR(rareNonInheritedData, userDrag, d);
} |
1379 void setUserSelect(EUserSelect s) { SET_VAR(rareInheritedData, userSelect, s
); } | 1379 void setUserSelect(EUserSelect s) { SET_VAR(rareInheritedData, userSelect, s
); } |
1380 void setTextOverflow(TextOverflow overflow) { SET_VAR(rareNonInheritedData,
textOverflow, overflow); } | 1380 void setTextOverflow(TextOverflow overflow) { SET_VAR(rareNonInheritedData,
textOverflow, overflow); } |
1381 void setMarginBeforeCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedDa
ta, marginBeforeCollapse, c); } | 1381 void setMarginBeforeCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedDa
ta, marginBeforeCollapse, c); } |
1382 void setMarginAfterCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedDat
a, marginAfterCollapse, c); } | 1382 void setMarginAfterCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedDat
a, marginAfterCollapse, c); } |
1383 void setWordBreak(EWordBreak b) { SET_VAR(rareInheritedData, wordBreak, b);
} | 1383 void setWordBreak(EWordBreak b) { SET_VAR(rareInheritedData, wordBreak, b);
} |
1384 void setOverflowWrap(EOverflowWrap b) { SET_VAR(rareInheritedData, overflowW
rap, b); } | 1384 void setOverflowWrap(EOverflowWrap b) { SET_VAR(rareInheritedData, overflowW
rap, b); } |
1385 void setLineBreak(LineBreak b) { SET_VAR(rareInheritedData, lineBreak, b); } | 1385 void setLineBreak(LineBreak b) { SET_VAR(rareInheritedData, lineBreak, b); } |
1386 void setHighlight(const AtomicString& h) { SET_VAR(rareInheritedData, highli
ght, h); } | 1386 void setHighlight(const AtomicString& h) { SET_VAR(rareInheritedData, highli
ght, h); } |
1387 void setHyphenationString(const AtomicString& h) { SET_VAR(rareInheritedData
, hyphenationString, h); } | 1387 void setHyphenationString(const AtomicString& h) { SET_VAR(rareInheritedData
, hyphenationString, h); } |
1388 void setResize(EResize r) { SET_VAR(rareNonInheritedData, m_resize, r); } | 1388 void setResize(EResize r) { SET_VAR(rareNonInheritedData, m_resize, r); } |
1389 void setColumnWidth(float f) { SET_VAR(rareNonInheritedData.access()->m_mult
iCol, m_autoWidth, false); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_
width, f); } | 1389 void setColumnWidth(float f) { SET_NESTED_VAR(rareNonInheritedData, m_multiC
ol, m_autoWidth, false); SET_NESTED_VAR(rareNonInheritedData, m_multiCol, m_widt
h, f); } |
1390 void setHasAutoColumnWidth() { SET_VAR(rareNonInheritedData.access()->m_mult
iCol, m_autoWidth, true); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_w
idth, 0); } | 1390 void setHasAutoColumnWidth() { SET_NESTED_VAR(rareNonInheritedData, m_multiC
ol, m_autoWidth, true); SET_NESTED_VAR(rareNonInheritedData, m_multiCol, m_width
, 0); } |
1391 void setColumnCount(unsigned short c) { SET_VAR(rareNonInheritedData.access(
)->m_multiCol, m_autoCount, false); SET_VAR(rareNonInheritedData.access()->m_mul
tiCol, m_count, c); } | 1391 void setColumnCount(unsigned short c) { SET_NESTED_VAR(rareNonInheritedData,
m_multiCol, m_autoCount, false); SET_NESTED_VAR(rareNonInheritedData, m_multiCo
l, m_count, c); } |
1392 void setHasAutoColumnCount() { SET_VAR(rareNonInheritedData.access()->m_mult
iCol, m_autoCount, true); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_c
ount, initialColumnCount()); } | 1392 void setHasAutoColumnCount() { SET_NESTED_VAR(rareNonInheritedData, m_multiC
ol, m_autoCount, true); SET_NESTED_VAR(rareNonInheritedData, m_multiCol, m_count
, initialColumnCount()); } |
1393 void setColumnFill(ColumnFill columnFill) { SET_VAR(rareNonInheritedData.acc
ess()->m_multiCol, m_fill, columnFill); } | 1393 void setColumnFill(ColumnFill columnFill) { SET_NESTED_VAR(rareNonInheritedD
ata, m_multiCol, m_fill, columnFill); } |
1394 void setColumnGap(float f) { SET_VAR(rareNonInheritedData.access()->m_multiC
ol, m_normalGap, false); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_ga
p, f); } | 1394 void setColumnGap(float f) { SET_NESTED_VAR(rareNonInheritedData, m_multiCol
, m_normalGap, false); SET_NESTED_VAR(rareNonInheritedData, m_multiCol, m_gap, f
); } |
1395 void setHasNormalColumnGap() { SET_VAR(rareNonInheritedData.access()->m_mult
iCol, m_normalGap, true); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_g
ap, 0); } | 1395 void setHasNormalColumnGap() { SET_NESTED_VAR(rareNonInheritedData, m_multiC
ol, m_normalGap, true); SET_NESTED_VAR(rareNonInheritedData, m_multiCol, m_gap,
0); } |
1396 void setColumnRuleColor(const StyleColor& c) { SET_BORDERVALUE_COLOR(rareNon
InheritedData.access()->m_multiCol, m_rule, c); } | 1396 void setColumnRuleColor(const StyleColor& c) { SET_BORDERVALUE_COLOR(rareNon
InheritedData.access()->m_multiCol, m_rule, c); } |
1397 void setColumnRuleStyle(EBorderStyle b) { SET_VAR(rareNonInheritedData.acces
s()->m_multiCol, m_rule.m_style, b); } | 1397 void setColumnRuleStyle(EBorderStyle b) { SET_NESTED_VAR(rareNonInheritedDat
a, m_multiCol, m_rule.m_style, b); } |
1398 void setColumnRuleWidth(unsigned short w) { SET_VAR(rareNonInheritedData.acc
ess()->m_multiCol, m_rule.m_width, w); } | 1398 void setColumnRuleWidth(unsigned short w) { SET_NESTED_VAR(rareNonInheritedD
ata, m_multiCol, m_rule.m_width, w); } |
1399 void setColumnSpan(ColumnSpan columnSpan) { SET_VAR(rareNonInheritedData.acc
ess()->m_multiCol, m_columnSpan, columnSpan); } | 1399 void setColumnSpan(ColumnSpan columnSpan) { SET_NESTED_VAR(rareNonInheritedD
ata, m_multiCol, m_columnSpan, columnSpan); } |
1400 void setColumnBreakBefore(EPageBreak p) { SET_VAR(rareNonInheritedData.acces
s()->m_multiCol, m_breakBefore, p); } | 1400 void setColumnBreakBefore(EPageBreak p) { SET_NESTED_VAR(rareNonInheritedDat
a, m_multiCol, m_breakBefore, p); } |
1401 // For valid values of column-break-inside see http://www.w3.org/TR/css3-mul
ticol/#break-before-break-after-break-inside | 1401 // For valid values of column-break-inside see http://www.w3.org/TR/css3-mul
ticol/#break-before-break-after-break-inside |
1402 void setColumnBreakInside(EPageBreak p) { ASSERT(p == PBAUTO || p == PBAVOID
); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_breakInside, p); } | 1402 void setColumnBreakInside(EPageBreak p) { ASSERT(p == PBAUTO || p == PBAVOID
); SET_NESTED_VAR(rareNonInheritedData, m_multiCol, m_breakInside, p); } |
1403 void setColumnBreakAfter(EPageBreak p) { SET_VAR(rareNonInheritedData.access
()->m_multiCol, m_breakAfter, p); } | 1403 void setColumnBreakAfter(EPageBreak p) { SET_NESTED_VAR(rareNonInheritedData
, m_multiCol, m_breakAfter, p); } |
1404 void inheritColumnPropertiesFrom(const ComputedStyle& parent) { rareNonInher
itedData.access()->m_multiCol = parent.rareNonInheritedData->m_multiCol; } | 1404 void inheritColumnPropertiesFrom(const ComputedStyle& parent) { rareNonInher
itedData.access()->m_multiCol = parent.rareNonInheritedData->m_multiCol; } |
1405 void setHasInlineTransform(bool b) { SET_VAR(rareNonInheritedData, m_hasInli
neTransform, b); } | 1405 void setHasInlineTransform(bool b) { SET_VAR(rareNonInheritedData, m_hasInli
neTransform, b); } |
1406 void setHasCompositorProxy(bool b) { SET_VAR(rareNonInheritedData, m_hasComp
ositorProxy, b); } | 1406 void setHasCompositorProxy(bool b) { SET_VAR(rareNonInheritedData, m_hasComp
ositorProxy, b); } |
1407 void setTransform(const TransformOperations& ops) { SET_VAR(rareNonInherited
Data.access()->m_transform, m_operations, ops); } | 1407 void setTransform(const TransformOperations& ops) { SET_NESTED_VAR(rareNonIn
heritedData, m_transform, m_operations, ops); } |
1408 void setTransformOriginX(const Length& v) { setTransformOrigin(TransformOrig
in(v, transformOriginY(), transformOriginZ())); } | 1408 void setTransformOriginX(const Length& v) { setTransformOrigin(TransformOrig
in(v, transformOriginY(), transformOriginZ())); } |
1409 void setTransformOriginY(const Length& v) { setTransformOrigin(TransformOrig
in(transformOriginX(), v, transformOriginZ())); } | 1409 void setTransformOriginY(const Length& v) { setTransformOrigin(TransformOrig
in(transformOriginX(), v, transformOriginZ())); } |
1410 void setTransformOriginZ(float f) { setTransformOrigin(TransformOrigin(trans
formOriginX(), transformOriginY(), f)); } | 1410 void setTransformOriginZ(float f) { setTransformOrigin(TransformOrigin(trans
formOriginX(), transformOriginY(), f)); } |
1411 void setTransformOrigin(const TransformOrigin& o) { SET_NESTED_VAR(rareNonIn
heritedData, m_transform, m_origin, o); } | 1411 void setTransformOrigin(const TransformOrigin& o) { SET_NESTED_VAR(rareNonIn
heritedData, m_transform, m_origin, o); } |
1412 void setTranslate(PassRefPtr<TranslateTransformOperation> v) { rareNonInheri
tedData.access()->m_transform.access()->m_translate = v; } | 1412 void setTranslate(PassRefPtr<TranslateTransformOperation> v) { rareNonInheri
tedData.access()->m_transform.access()->m_translate = v; } |
1413 void setRotate(PassRefPtr<RotateTransformOperation> v) { rareNonInheritedDat
a.access()->m_transform.access()->m_rotate = v; } | 1413 void setRotate(PassRefPtr<RotateTransformOperation> v) { rareNonInheritedDat
a.access()->m_transform.access()->m_rotate = v; } |
1414 void setScale(PassRefPtr<ScaleTransformOperation> v) { rareNonInheritedData.
access()->m_transform.access()->m_scale = v; } | 1414 void setScale(PassRefPtr<ScaleTransformOperation> v) { rareNonInheritedData.
access()->m_transform.access()->m_scale = v; } |
1415 | 1415 |
1416 void setSpeak(ESpeak s) { SET_VAR(rareInheritedData, speak, s); } | 1416 void setSpeak(ESpeak s) { SET_VAR(rareInheritedData, speak, s); } |
1417 void setTextCombine(TextCombine v) { SET_VAR(rareInheritedData, m_textCombin
e, v); } | 1417 void setTextCombine(TextCombine v) { SET_VAR(rareInheritedData, m_textCombin
e, v); } |
1418 void setTextDecorationColor(const StyleColor& c) { SET_VAR(rareNonInheritedD
ata, m_textDecorationColor, c); } | 1418 void setTextDecorationColor(const StyleColor& c) { SET_VAR(rareNonInheritedD
ata, m_textDecorationColor, c); } |
1419 void setTextEmphasisColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInh
eritedData, textEmphasisColor, setTextEmphasisColor, c); } | 1419 void setTextEmphasisColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInh
eritedData, textEmphasisColor, setTextEmphasisColor, c); } |
1420 void setTextEmphasisFill(TextEmphasisFill fill) { SET_VAR(rareInheritedData,
textEmphasisFill, fill); } | 1420 void setTextEmphasisFill(TextEmphasisFill fill) { SET_VAR(rareInheritedData,
textEmphasisFill, fill); } |
1421 void setTextEmphasisMark(TextEmphasisMark mark) { SET_VAR(rareInheritedData,
textEmphasisMark, mark); } | 1421 void setTextEmphasisMark(TextEmphasisMark mark) { SET_VAR(rareInheritedData,
textEmphasisMark, mark); } |
1422 void setTextEmphasisCustomMark(const AtomicString& mark) { SET_VAR(rareInher
itedData, textEmphasisCustomMark, mark); } | 1422 void setTextEmphasisCustomMark(const AtomicString& mark) { SET_VAR(rareInher
itedData, textEmphasisCustomMark, mark); } |
1423 void setTextEmphasisPosition(TextEmphasisPosition position) { SET_VAR(rareIn
heritedData, textEmphasisPosition, position); } | 1423 void setTextEmphasisPosition(TextEmphasisPosition position) { SET_VAR(rareIn
heritedData, textEmphasisPosition, position); } |
1424 bool setTextOrientation(TextOrientation); | 1424 bool setTextOrientation(TextOrientation); |
1425 | 1425 |
1426 void setMotionPath(PassRefPtr<StyleMotionPath>); | 1426 void setMotionPath(PassRefPtr<StyleMotionPath>); |
1427 void resetMotionPath(); | 1427 void resetMotionPath(); |
1428 void setMotionOffset(const Length& motionOffset) { SET_VAR(rareNonInheritedD
ata.access()->m_transform, m_motion.m_offset, motionOffset); } | 1428 void setMotionOffset(const Length& motionOffset) { SET_NESTED_VAR(rareNonInh
eritedData, m_transform, m_motion.m_offset, motionOffset); } |
1429 void setMotionRotation(float motionRotation) { SET_VAR(rareNonInheritedData.
access()->m_transform, m_motion.m_rotation, motionRotation); } | 1429 void setMotionRotation(float motionRotation) { SET_NESTED_VAR(rareNonInherit
edData, m_transform, m_motion.m_rotation, motionRotation); } |
1430 void setMotionRotationType(MotionRotationType motionRotationType) { SET_VAR(
rareNonInheritedData.access()->m_transform, m_motion.m_rotationType, motionRotat
ionType); } | 1430 void setMotionRotationType(MotionRotationType motionRotationType) { SET_NEST
ED_VAR(rareNonInheritedData, m_transform, m_motion.m_rotationType, motionRotatio
nType); } |
1431 | 1431 |
1432 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit,
f); } | 1432 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit,
f); } |
1433 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData,
m_objectPosition, position); } | 1433 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData,
m_objectPosition, position); } |
1434 | 1434 |
1435 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r
ubyPosition, position); } | 1435 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r
ubyPosition, position); } |
1436 | 1436 |
1437 void setFilter(const FilterOperations& ops) { SET_VAR(rareNonInheritedData.a
ccess()->m_filter, m_operations, ops); } | 1437 void setFilter(const FilterOperations& ops) { SET_NESTED_VAR(rareNonInherite
dData, m_filter, m_operations, ops); } |
1438 void setBackdropFilter(const FilterOperations& ops) { SET_VAR(rareNonInherit
edData.access()->m_backdropFilter, m_operations, ops); } | 1438 void setBackdropFilter(const FilterOperations& ops) { SET_NESTED_VAR(rareNon
InheritedData, m_backdropFilter, m_operations, ops); } |
1439 | 1439 |
1440 void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size);
} | 1440 void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size);
} |
1441 | 1441 |
1442 void setRespectImageOrientation(RespectImageOrientationEnum v) { SET_VAR(rar
eInheritedData, m_respectImageOrientation, v); } | 1442 void setRespectImageOrientation(RespectImageOrientationEnum v) { SET_VAR(rar
eInheritedData, m_respectImageOrientation, v); } |
1443 | 1443 |
1444 // End CSS3 Setters | 1444 // End CSS3 Setters |
1445 | 1445 |
1446 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl
ow, wrapFlow); } | 1446 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl
ow, wrapFlow); } |
1447 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData,
m_wrapThrough, wrapThrough); } | 1447 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData,
m_wrapThrough, wrapThrough); } |
1448 | 1448 |
(...skipping 21 matching lines...) Expand all Loading... |
1470 void setIsRunningBackdropFilterAnimationOnCompositor(bool b = true) { SET_VA
R(rareNonInheritedData, m_runningBackdropFilterAnimationOnCompositor, b); } | 1470 void setIsRunningBackdropFilterAnimationOnCompositor(bool b = true) { SET_VA
R(rareNonInheritedData, m_runningBackdropFilterAnimationOnCompositor, b); } |
1471 | 1471 |
1472 void setLineClamp(LineClampValue c) { SET_VAR(rareNonInheritedData, lineClam
p, c); } | 1472 void setLineClamp(LineClampValue c) { SET_VAR(rareNonInheritedData, lineClam
p, c); } |
1473 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi
ghlightColor, c); } | 1473 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi
ghlightColor, c); } |
1474 void setTextSecurity(ETextSecurity aTextSecurity) { SET_VAR(rareInheritedDat
a, textSecurity, aTextSecurity); } | 1474 void setTextSecurity(ETextSecurity aTextSecurity) { SET_VAR(rareInheritedDat
a, textSecurity, aTextSecurity); } |
1475 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } | 1475 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } |
1476 | 1476 |
1477 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s
crollBehavior, b); } | 1477 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s
crollBehavior, b); } |
1478 | 1478 |
1479 void setScrollSnapType(ScrollSnapType b) { SET_VAR(rareNonInheritedData, m_s
crollSnapType, b); } | 1479 void setScrollSnapType(ScrollSnapType b) { SET_VAR(rareNonInheritedData, m_s
crollSnapType, b); } |
1480 void setScrollSnapPointsX(const ScrollSnapPoints& b) { SET_VAR(rareNonInheri
tedData.access()->m_scrollSnap, m_xPoints, b); } | 1480 void setScrollSnapPointsX(const ScrollSnapPoints& b) { SET_NESTED_VAR(rareNo
nInheritedData, m_scrollSnap, m_xPoints, b); } |
1481 void setScrollSnapPointsY(const ScrollSnapPoints& b) { SET_VAR(rareNonInheri
tedData.access()->m_scrollSnap, m_yPoints, b); } | 1481 void setScrollSnapPointsY(const ScrollSnapPoints& b) { SET_NESTED_VAR(rareNo
nInheritedData, m_scrollSnap, m_yPoints, b); } |
1482 void setScrollSnapDestination(const LengthPoint& b) { SET_VAR(rareNonInherit
edData.access()->m_scrollSnap, m_destination, b); } | 1482 void setScrollSnapDestination(const LengthPoint& b) { SET_NESTED_VAR(rareNon
InheritedData, m_scrollSnap, m_destination, b); } |
1483 void setScrollSnapCoordinate(const Vector<LengthPoint>& b) { SET_VAR(rareNon
InheritedData.access()->m_scrollSnap, m_coordinates, b); } | 1483 void setScrollSnapCoordinate(const Vector<LengthPoint>& b) { SET_NESTED_VAR(
rareNonInheritedData, m_scrollSnap, m_coordinates, b); } |
1484 | 1484 |
1485 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } | 1485 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
NESTED_VAR(rareNonInheritedData, m_willChange, m_properties, properties); } |
1486 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()->
m_willChange, m_contents, b); } | 1486 void setWillChangeContents(bool b) { SET_NESTED_VAR(rareNonInheritedData, m_
willChange, m_contents, b); } |
1487 void setWillChangeScrollPosition(bool b) { SET_VAR(rareNonInheritedData.acce
ss()->m_willChange, m_scrollPosition, b); } | 1487 void setWillChangeScrollPosition(bool b) { SET_NESTED_VAR(rareNonInheritedDa
ta, m_willChange, m_scrollPosition, b); } |
1488 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub
treeWillChangeContents, b); } | 1488 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub
treeWillChangeContents, b); } |
1489 | 1489 |
1490 bool requiresAcceleratedCompositingForExternalReasons(bool b) { return rareN
onInheritedData->m_requiresAcceleratedCompositingForExternalReasons; } | 1490 bool requiresAcceleratedCompositingForExternalReasons(bool b) { return rareN
onInheritedData->m_requiresAcceleratedCompositingForExternalReasons; } |
1491 void setRequiresAcceleratedCompositingForExternalReasons(bool b) { SET_VAR(r
areNonInheritedData, m_requiresAcceleratedCompositingForExternalReasons, b); } | 1491 void setRequiresAcceleratedCompositingForExternalReasons(bool b) { SET_VAR(r
areNonInheritedData, m_requiresAcceleratedCompositingForExternalReasons, b); } |
1492 | 1492 |
1493 const SVGComputedStyle& svgStyle() const { return *m_svgStyle.get(); } | 1493 const SVGComputedStyle& svgStyle() const { return *m_svgStyle.get(); } |
1494 SVGComputedStyle& accessSVGStyle() { return *m_svgStyle.access(); } | 1494 SVGComputedStyle& accessSVGStyle() { return *m_svgStyle.access(); } |
1495 | 1495 |
1496 const SVGPaintType& fillPaintType() const { return svgStyle().fillPaintType(
); } | 1496 const SVGPaintType& fillPaintType() const { return svgStyle().fillPaintType(
); } |
1497 Color fillPaintColor() const { return svgStyle().fillPaintColor(); } | 1497 Color fillPaintColor() const { return svgStyle().fillPaintColor(); } |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1832 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; } | 1832 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; } |
1833 static EIsolation initialIsolation() { return IsolationAuto; } | 1833 static EIsolation initialIsolation() { return IsolationAuto; } |
1834 private: | 1834 private: |
1835 void setVisitedLinkColor(const Color&); | 1835 void setVisitedLinkColor(const Color&); |
1836 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBackgroundColor, v); } | 1836 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBackgroundColor, v); } |
1837 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBorderLeftColor, v); } | 1837 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBorderLeftColor, v); } |
1838 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn
heritedData, m_visitedLinkBorderRightColor, v); } | 1838 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn
heritedData, m_visitedLinkBorderRightColor, v); } |
1839 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI
nheritedData, m_visitedLinkBorderBottomColor, v); } | 1839 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI
nheritedData, m_visitedLinkBorderBottomColor, v); } |
1840 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe
ritedData, m_visitedLinkBorderTopColor, v); } | 1840 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe
ritedData, m_visitedLinkBorderTopColor, v); } |
1841 void setVisitedLinkOutlineColor(const StyleColor& v) { SET_VAR(rareNonInheri
tedData, m_visitedLinkOutlineColor, v); } | 1841 void setVisitedLinkOutlineColor(const StyleColor& v) { SET_VAR(rareNonInheri
tedData, m_visitedLinkOutlineColor, v); } |
1842 void setVisitedLinkColumnRuleColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData.access()->m_multiCol, m_visitedLinkColumnRuleColor, v); } | 1842 void setVisitedLinkColumnRuleColor(const StyleColor& v) { SET_NESTED_VAR(rar
eNonInheritedData, m_multiCol, m_visitedLinkColumnRuleColor, v); } |
1843 void setVisitedLinkTextDecorationColor(const StyleColor& v) { SET_VAR(rareNo
nInheritedData, m_visitedLinkTextDecorationColor, v); } | 1843 void setVisitedLinkTextDecorationColor(const StyleColor& v) { SET_VAR(rareNo
nInheritedData, m_visitedLinkTextDecorationColor, v); } |
1844 void setVisitedLinkTextEmphasisColor(const StyleColor& v) { SET_VAR_WITH_SET
TER(rareInheritedData, visitedLinkTextEmphasisColor, setVisitedLinkTextEmphasisC
olor, v); } | 1844 void setVisitedLinkTextEmphasisColor(const StyleColor& v) { SET_VAR_WITH_SET
TER(rareInheritedData, visitedLinkTextEmphasisColor, setVisitedLinkTextEmphasisC
olor, v); } |
1845 void setVisitedLinkTextFillColor(const StyleColor& v) { SET_VAR_WITH_SETTER(
rareInheritedData, visitedLinkTextFillColor, setVisitedLinkTextFillColor, v); } | 1845 void setVisitedLinkTextFillColor(const StyleColor& v) { SET_VAR_WITH_SETTER(
rareInheritedData, visitedLinkTextFillColor, setVisitedLinkTextFillColor, v); } |
1846 void setVisitedLinkTextStrokeColor(const StyleColor& v) { SET_VAR_WITH_SETTE
R(rareInheritedData, visitedLinkTextStrokeColor, setVisitedLinkTextStrokeColor,
v); } | 1846 void setVisitedLinkTextStrokeColor(const StyleColor& v) { SET_VAR_WITH_SETTE
R(rareInheritedData, visitedLinkTextStrokeColor, setVisitedLinkTextStrokeColor,
v); } |
1847 | 1847 |
1848 void inheritUnicodeBidiFrom(const ComputedStyle& parent) { noninherited_flag
s.unicodeBidi = parent.noninherited_flags.unicodeBidi; } | 1848 void inheritUnicodeBidiFrom(const ComputedStyle& parent) { noninherited_flag
s.unicodeBidi = parent.noninherited_flags.unicodeBidi; } |
1849 | 1849 |
1850 bool isDisplayFlexibleBox(EDisplay display) const | 1850 bool isDisplayFlexibleBox(EDisplay display) const |
1851 { | 1851 { |
1852 return display == FLEX || display == INLINE_FLEX; | 1852 return display == FLEX || display == INLINE_FLEX; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2021 } | 2021 } |
2022 | 2022 |
2023 inline bool ComputedStyle::hasPseudoElementStyle() const | 2023 inline bool ComputedStyle::hasPseudoElementStyle() const |
2024 { | 2024 { |
2025 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 2025 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
2026 } | 2026 } |
2027 | 2027 |
2028 } // namespace blink | 2028 } // namespace blink |
2029 | 2029 |
2030 #endif // ComputedStyle_h | 2030 #endif // ComputedStyle_h |
OLD | NEW |