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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
787 const NamedGridAreaMap& namedGridArea() const { return rareNonInheritedData- >m_grid->m_namedGridArea; } | 787 const NamedGridAreaMap& namedGridArea() const { return rareNonInheritedData- >m_grid->m_namedGridArea; } |
788 size_t namedGridAreaRowCount() const { return rareNonInheritedData->m_grid-> m_namedGridAreaRowCount; } | 788 size_t namedGridAreaRowCount() const { return rareNonInheritedData->m_grid-> m_namedGridAreaRowCount; } |
789 size_t namedGridAreaColumnCount() const { return rareNonInheritedData->m_gri d->m_namedGridAreaColumnCount; } | 789 size_t namedGridAreaColumnCount() const { return rareNonInheritedData->m_gri d->m_namedGridAreaColumnCount; } |
790 GridAutoFlow gridAutoFlow() const { return static_cast<GridAutoFlow>(rareNon InheritedData->m_grid->m_gridAutoFlow); } | 790 GridAutoFlow gridAutoFlow() const { return static_cast<GridAutoFlow>(rareNon InheritedData->m_grid->m_gridAutoFlow); } |
791 bool isGridAutoFlowDirectionRow() const { return (rareNonInheritedData->m_gr id->m_gridAutoFlow & InternalAutoFlowDirectionRow) == InternalAutoFlowDirectionR ow; } | 791 bool isGridAutoFlowDirectionRow() const { return (rareNonInheritedData->m_gr id->m_gridAutoFlow & InternalAutoFlowDirectionRow) == InternalAutoFlowDirectionR ow; } |
792 bool isGridAutoFlowDirectionColumn() const { return (rareNonInheritedData->m _grid->m_gridAutoFlow & InternalAutoFlowDirectionColumn) == InternalAutoFlowDire ctionColumn; } | 792 bool isGridAutoFlowDirectionColumn() const { return (rareNonInheritedData->m _grid->m_gridAutoFlow & InternalAutoFlowDirectionColumn) == InternalAutoFlowDire ctionColumn; } |
793 bool isGridAutoFlowAlgorithmSparse() const { return (rareNonInheritedData->m _grid->m_gridAutoFlow & InternalAutoFlowAlgorithmSparse) == InternalAutoFlowAlgo rithmSparse; } | 793 bool isGridAutoFlowAlgorithmSparse() const { return (rareNonInheritedData->m _grid->m_gridAutoFlow & InternalAutoFlowAlgorithmSparse) == InternalAutoFlowAlgo rithmSparse; } |
794 bool isGridAutoFlowAlgorithmDense() const { return (rareNonInheritedData->m_ grid->m_gridAutoFlow & InternalAutoFlowAlgorithmDense) == InternalAutoFlowAlgori thmDense; } | 794 bool isGridAutoFlowAlgorithmDense() const { return (rareNonInheritedData->m_ grid->m_gridAutoFlow & InternalAutoFlowAlgorithmDense) == InternalAutoFlowAlgori thmDense; } |
795 const GridTrackSize& gridAutoColumns() const { return rareNonInheritedData-> m_grid->m_gridAutoColumns; } | 795 const GridTrackSize& gridAutoColumns() const { return rareNonInheritedData-> m_grid->m_gridAutoColumns; } |
796 const GridTrackSize& gridAutoRows() const { return rareNonInheritedData->m_g rid->m_gridAutoRows; } | 796 const GridTrackSize& gridAutoRows() const { return rareNonInheritedData->m_g rid->m_gridAutoRows; } |
797 const Length& gridColumnGap() const { return rareNonInheritedData->m_grid->m _gridColumnGap; } | |
798 const Length& gridRowGap() const { return rareNonInheritedData->m_grid->m_gr idRowGap; } | |
799 | |
rune
2015/10/05 12:23:39
Why the extra empty line?
svillar
2015/10/05 12:36:01
Will remove it.
| |
797 | 800 |
798 const GridPosition& gridColumnStart() const { return rareNonInheritedData->m _gridItem->m_gridColumnStart; } | 801 const GridPosition& gridColumnStart() const { return rareNonInheritedData->m _gridItem->m_gridColumnStart; } |
799 const GridPosition& gridColumnEnd() const { return rareNonInheritedData->m_g ridItem->m_gridColumnEnd; } | 802 const GridPosition& gridColumnEnd() const { return rareNonInheritedData->m_g ridItem->m_gridColumnEnd; } |
800 const GridPosition& gridRowStart() const { return rareNonInheritedData->m_gr idItem->m_gridRowStart; } | 803 const GridPosition& gridRowStart() const { return rareNonInheritedData->m_gr idItem->m_gridRowStart; } |
801 const GridPosition& gridRowEnd() const { return rareNonInheritedData->m_grid Item->m_gridRowEnd; } | 804 const GridPosition& gridRowEnd() const { return rareNonInheritedData->m_grid Item->m_gridRowEnd; } |
802 | 805 |
803 ShadowList* boxShadow() const { return rareNonInheritedData->m_boxShadow.get (); } | 806 ShadowList* boxShadow() const { return rareNonInheritedData->m_boxShadow.get (); } |
804 | 807 |
805 EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration Break(); } | 808 EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration Break(); } |
806 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl ect.get(); } | 809 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl ect.get(); } |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1332 void setOrderedNamedGridRowLines(const OrderedNamedGridLines& orderedNamedGr idRowLines) { SET_VAR(rareNonInheritedData.access()->m_grid, m_orderedNamedGridR owLines, orderedNamedGridRowLines); } | 1335 void setOrderedNamedGridRowLines(const OrderedNamedGridLines& orderedNamedGr idRowLines) { SET_VAR(rareNonInheritedData.access()->m_grid, m_orderedNamedGridR owLines, orderedNamedGridRowLines); } |
1333 void setNamedGridArea(const NamedGridAreaMap& namedGridArea) { SET_VAR(rareN onInheritedData.access()->m_grid, m_namedGridArea, namedGridArea); } | 1336 void setNamedGridArea(const NamedGridAreaMap& namedGridArea) { SET_VAR(rareN onInheritedData.access()->m_grid, m_namedGridArea, namedGridArea); } |
1334 void setNamedGridAreaRowCount(size_t rowCount) { SET_VAR(rareNonInheritedDat a.access()->m_grid, m_namedGridAreaRowCount, rowCount); } | 1337 void setNamedGridAreaRowCount(size_t rowCount) { SET_VAR(rareNonInheritedDat a.access()->m_grid, m_namedGridAreaRowCount, rowCount); } |
1335 void setNamedGridAreaColumnCount(size_t columnCount) { SET_VAR(rareNonInheri tedData.access()->m_grid, m_namedGridAreaColumnCount, columnCount); } | 1338 void setNamedGridAreaColumnCount(size_t columnCount) { SET_VAR(rareNonInheri tedData.access()->m_grid, m_namedGridAreaColumnCount, columnCount); } |
1336 void setGridAutoFlow(GridAutoFlow flow) { SET_VAR(rareNonInheritedData.acces s()->m_grid, m_gridAutoFlow, flow); } | 1339 void setGridAutoFlow(GridAutoFlow flow) { SET_VAR(rareNonInheritedData.acces s()->m_grid, m_gridAutoFlow, flow); } |
1337 | 1340 |
1338 void setGridColumnStart(const GridPosition& columnStartPosition) { SET_VAR(r areNonInheritedData.access()->m_gridItem, m_gridColumnStart, columnStartPosition ); } | 1341 void setGridColumnStart(const GridPosition& columnStartPosition) { SET_VAR(r areNonInheritedData.access()->m_gridItem, m_gridColumnStart, columnStartPosition ); } |
1339 void setGridColumnEnd(const GridPosition& columnEndPosition) { SET_VAR(rareN onInheritedData.access()->m_gridItem, m_gridColumnEnd, columnEndPosition); } | 1342 void setGridColumnEnd(const GridPosition& columnEndPosition) { SET_VAR(rareN onInheritedData.access()->m_gridItem, m_gridColumnEnd, columnEndPosition); } |
1340 void setGridRowStart(const GridPosition& rowStartPosition) { SET_VAR(rareNon InheritedData.access()->m_gridItem, m_gridRowStart, rowStartPosition); } | 1343 void setGridRowStart(const GridPosition& rowStartPosition) { SET_VAR(rareNon InheritedData.access()->m_gridItem, m_gridRowStart, rowStartPosition); } |
1341 void setGridRowEnd(const GridPosition& rowEndPosition) { SET_VAR(rareNonInhe ritedData.access()->m_gridItem, m_gridRowEnd, rowEndPosition); } | 1344 void setGridRowEnd(const GridPosition& rowEndPosition) { SET_VAR(rareNonInhe ritedData.access()->m_gridItem, m_gridRowEnd, rowEndPosition); } |
1345 void setGridColumnGap(const Length& v) { SET_VAR(rareNonInheritedData.access ()->m_grid, m_gridColumnGap, v); } | |
1346 void setGridRowGap(const Length& v) { SET_VAR(rareNonInheritedData.access()- >m_grid, m_gridRowGap, v); } | |
1342 | 1347 |
1343 void setUserModify(EUserModify u) { SET_VAR(rareInheritedData, userModify, u ); } | 1348 void setUserModify(EUserModify u) { SET_VAR(rareInheritedData, userModify, u ); } |
1344 void setUserDrag(EUserDrag d) { SET_VAR(rareNonInheritedData, userDrag, d); } | 1349 void setUserDrag(EUserDrag d) { SET_VAR(rareNonInheritedData, userDrag, d); } |
1345 void setUserSelect(EUserSelect s) { SET_VAR(rareInheritedData, userSelect, s ); } | 1350 void setUserSelect(EUserSelect s) { SET_VAR(rareInheritedData, userSelect, s ); } |
1346 void setTextOverflow(TextOverflow overflow) { SET_VAR(rareNonInheritedData, textOverflow, overflow); } | 1351 void setTextOverflow(TextOverflow overflow) { SET_VAR(rareNonInheritedData, textOverflow, overflow); } |
1347 void setMarginBeforeCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedDa ta, marginBeforeCollapse, c); } | 1352 void setMarginBeforeCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedDa ta, marginBeforeCollapse, c); } |
1348 void setMarginAfterCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedDat a, marginAfterCollapse, c); } | 1353 void setMarginAfterCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedDat a, marginAfterCollapse, c); } |
1349 void setWordBreak(EWordBreak b) { SET_VAR(rareInheritedData, wordBreak, b); } | 1354 void setWordBreak(EWordBreak b) { SET_VAR(rareInheritedData, wordBreak, b); } |
1350 void setOverflowWrap(EOverflowWrap b) { SET_VAR(rareInheritedData, overflowW rap, b); } | 1355 void setOverflowWrap(EOverflowWrap b) { SET_VAR(rareInheritedData, overflowW rap, b); } |
1351 void setLineBreak(LineBreak b) { SET_VAR(rareInheritedData, lineBreak, b); } | 1356 void setLineBreak(LineBreak b) { SET_VAR(rareInheritedData, lineBreak, b); } |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1756 | 1761 |
1757 static NamedGridLinesMap initialNamedGridColumnLines() { return NamedGridLin esMap(); } | 1762 static NamedGridLinesMap initialNamedGridColumnLines() { return NamedGridLin esMap(); } |
1758 static NamedGridLinesMap initialNamedGridRowLines() { return NamedGridLinesM ap(); } | 1763 static NamedGridLinesMap initialNamedGridRowLines() { return NamedGridLinesM ap(); } |
1759 | 1764 |
1760 static OrderedNamedGridLines initialOrderedNamedGridColumnLines() { return O rderedNamedGridLines(); } | 1765 static OrderedNamedGridLines initialOrderedNamedGridColumnLines() { return O rderedNamedGridLines(); } |
1761 static OrderedNamedGridLines initialOrderedNamedGridRowLines() { return Orde redNamedGridLines(); } | 1766 static OrderedNamedGridLines initialOrderedNamedGridRowLines() { return Orde redNamedGridLines(); } |
1762 | 1767 |
1763 static NamedGridAreaMap initialNamedGridArea() { return NamedGridAreaMap(); } | 1768 static NamedGridAreaMap initialNamedGridArea() { return NamedGridAreaMap(); } |
1764 static size_t initialNamedGridAreaCount() { return 0; } | 1769 static size_t initialNamedGridAreaCount() { return 0; } |
1765 | 1770 |
1771 static Length initialGridColumnGap() { return Length(Fixed); } | |
1772 static Length initialGridRowGap() { return Length(Fixed); } | |
1773 | |
1766 // 'auto' is the default. | 1774 // 'auto' is the default. |
1767 static GridPosition initialGridColumnStart() { return GridPosition(); } | 1775 static GridPosition initialGridColumnStart() { return GridPosition(); } |
1768 static GridPosition initialGridColumnEnd() { return GridPosition(); } | 1776 static GridPosition initialGridColumnEnd() { return GridPosition(); } |
1769 static GridPosition initialGridRowStart() { return GridPosition(); } | 1777 static GridPosition initialGridRowStart() { return GridPosition(); } |
1770 static GridPosition initialGridRowEnd() { return GridPosition(); } | 1778 static GridPosition initialGridRowEnd() { return GridPosition(); } |
1771 | 1779 |
1772 static TabSize initialTabSize() { return TabSize(8); } | 1780 static TabSize initialTabSize() { return TabSize(8); } |
1773 | 1781 |
1774 static WrapFlow initialWrapFlow() { return WrapFlowAuto; } | 1782 static WrapFlow initialWrapFlow() { return WrapFlowAuto; } |
1775 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } | 1783 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1979 } | 1987 } |
1980 | 1988 |
1981 inline bool ComputedStyle::hasPseudoElementStyle() const | 1989 inline bool ComputedStyle::hasPseudoElementStyle() const |
1982 { | 1990 { |
1983 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1991 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1984 } | 1992 } |
1985 | 1993 |
1986 } // namespace blink | 1994 } // namespace blink |
1987 | 1995 |
1988 #endif // ComputedStyle_h | 1996 #endif // ComputedStyle_h |
OLD | NEW |