| 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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 740     EJustifyContent justifyContent() const { return static_cast<EJustifyContent>
      (rareNonInheritedData->m_justifyContent); } | 740     EJustifyContent justifyContent() const { return static_cast<EJustifyContent>
      (rareNonInheritedData->m_justifyContent); } | 
| 741 | 741 | 
| 742     const Vector<GridTrackSize>& gridColumns() const { return rareNonInheritedDa
      ta->m_grid->m_gridColumns; } | 742     const Vector<GridTrackSize>& gridColumns() const { return rareNonInheritedDa
      ta->m_grid->m_gridColumns; } | 
| 743     const Vector<GridTrackSize>& gridRows() const { return rareNonInheritedData-
      >m_grid->m_gridRows; } | 743     const Vector<GridTrackSize>& gridRows() const { return rareNonInheritedData-
      >m_grid->m_gridRows; } | 
| 744     const NamedGridLinesMap& namedGridColumnLines() const { return rareNonInheri
      tedData->m_grid->m_namedGridColumnLines; } | 744     const NamedGridLinesMap& namedGridColumnLines() const { return rareNonInheri
      tedData->m_grid->m_namedGridColumnLines; } | 
| 745     const NamedGridLinesMap& namedGridRowLines() const { return rareNonInherited
      Data->m_grid->m_namedGridRowLines; } | 745     const NamedGridLinesMap& namedGridRowLines() const { return rareNonInherited
      Data->m_grid->m_namedGridRowLines; } | 
| 746     GridAutoFlow gridAutoFlow() const { return rareNonInheritedData->m_grid->m_g
      ridAutoFlow; } | 746     GridAutoFlow gridAutoFlow() const { return rareNonInheritedData->m_grid->m_g
      ridAutoFlow; } | 
| 747     const GridTrackSize& gridAutoColumns() const { return rareNonInheritedData->
      m_grid->m_gridAutoColumns; } | 747     const GridTrackSize& gridAutoColumns() const { return rareNonInheritedData->
      m_grid->m_gridAutoColumns; } | 
| 748     const GridTrackSize& gridAutoRows() const { return rareNonInheritedData->m_g
      rid->m_gridAutoRows; } | 748     const GridTrackSize& gridAutoRows() const { return rareNonInheritedData->m_g
      rid->m_gridAutoRows; } | 
| 749 | 749 | 
| 750     const GridPosition& gridStart() const { return rareNonInheritedData->m_gridI
      tem->m_gridStart; } | 750     const GridPosition& gridColumnStart() const { return rareNonInheritedData->m
      _gridItem->m_gridColumnStart; } | 
| 751     const GridPosition& gridEnd() const { return rareNonInheritedData->m_gridIte
      m->m_gridEnd; } | 751     const GridPosition& gridColumnEnd() const { return rareNonInheritedData->m_g
      ridItem->m_gridColumnEnd; } | 
| 752     const GridPosition& gridBefore() const { return rareNonInheritedData->m_grid
      Item->m_gridBefore; } | 752     const GridPosition& gridRowStart() const { return rareNonInheritedData->m_gr
      idItem->m_gridRowStart; } | 
| 753     const GridPosition& gridAfter() const { return rareNonInheritedData->m_gridI
      tem->m_gridAfter; } | 753     const GridPosition& gridRowEnd() const { return rareNonInheritedData->m_grid
      Item->m_gridRowEnd; } | 
| 754 | 754 | 
| 755     const ShadowData* boxShadow() const { return rareNonInheritedData->m_boxShad
      ow.get(); } | 755     const ShadowData* boxShadow() const { return rareNonInheritedData->m_boxShad
      ow.get(); } | 
| 756     void getBoxShadowExtent(LayoutUnit& top, LayoutUnit& right, LayoutUnit& bott
      om, LayoutUnit& left) const { getShadowExtent(boxShadow(), top, right, bottom, l
      eft); } | 756     void getBoxShadowExtent(LayoutUnit& top, LayoutUnit& right, LayoutUnit& bott
      om, LayoutUnit& left) const { getShadowExtent(boxShadow(), top, right, bottom, l
      eft); } | 
| 757     LayoutBoxExtent getBoxShadowInsetExtent() const { return getShadowInsetExten
      t(boxShadow()); } | 757     LayoutBoxExtent getBoxShadowInsetExtent() const { return getShadowInsetExten
      t(boxShadow()); } | 
| 758     void getBoxShadowHorizontalExtent(LayoutUnit& left, LayoutUnit& right) const
       { getShadowHorizontalExtent(boxShadow(), left, right); } | 758     void getBoxShadowHorizontalExtent(LayoutUnit& left, LayoutUnit& right) const
       { getShadowHorizontalExtent(boxShadow(), left, right); } | 
| 759     void getBoxShadowVerticalExtent(LayoutUnit& top, LayoutUnit& bottom) const {
       getShadowVerticalExtent(boxShadow(), top, bottom); } | 759     void getBoxShadowVerticalExtent(LayoutUnit& top, LayoutUnit& bottom) const {
       getShadowVerticalExtent(boxShadow(), top, bottom); } | 
| 760     void getBoxShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit& 
      logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logical
      Right); } | 760     void getBoxShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit& 
      logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logical
      Right); } | 
| 761     void getBoxShadowBlockDirectionExtent(LayoutUnit& logicalTop, LayoutUnit& lo
      gicalBottom) { getShadowBlockDirectionExtent(boxShadow(), logicalTop, logicalBot
      tom); } | 761     void getBoxShadowBlockDirectionExtent(LayoutUnit& logicalTop, LayoutUnit& lo
      gicalBottom) { getShadowBlockDirectionExtent(boxShadow(), logicalTop, logicalBot
      tom); } | 
| 762 | 762 | 
| 763     EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration
      Break(); } | 763     EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration
      Break(); } | 
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1189     void setFlexWrap(EFlexWrap w) { SET_VAR(rareNonInheritedData.access()->m_fle
      xibleBox, m_flexWrap, w); } | 1189     void setFlexWrap(EFlexWrap w) { SET_VAR(rareNonInheritedData.access()->m_fle
      xibleBox, m_flexWrap, w); } | 
| 1190     void setJustifyContent(EJustifyContent p) { SET_VAR(rareNonInheritedData, m_
      justifyContent, p); } | 1190     void setJustifyContent(EJustifyContent p) { SET_VAR(rareNonInheritedData, m_
      justifyContent, p); } | 
| 1191     void setGridAutoColumns(const GridTrackSize& length) { SET_VAR(rareNonInheri
      tedData.access()->m_grid, m_gridAutoColumns, length); } | 1191     void setGridAutoColumns(const GridTrackSize& length) { SET_VAR(rareNonInheri
      tedData.access()->m_grid, m_gridAutoColumns, length); } | 
| 1192     void setGridAutoRows(const GridTrackSize& length) { SET_VAR(rareNonInherited
      Data.access()->m_grid, m_gridAutoRows, length); } | 1192     void setGridAutoRows(const GridTrackSize& length) { SET_VAR(rareNonInherited
      Data.access()->m_grid, m_gridAutoRows, length); } | 
| 1193     void setGridColumns(const Vector<GridTrackSize>& lengths) { SET_VAR(rareNonI
      nheritedData.access()->m_grid, m_gridColumns, lengths); } | 1193     void setGridColumns(const Vector<GridTrackSize>& lengths) { SET_VAR(rareNonI
      nheritedData.access()->m_grid, m_gridColumns, lengths); } | 
| 1194     void setGridRows(const Vector<GridTrackSize>& lengths) { SET_VAR(rareNonInhe
      ritedData.access()->m_grid, m_gridRows, lengths); } | 1194     void setGridRows(const Vector<GridTrackSize>& lengths) { SET_VAR(rareNonInhe
      ritedData.access()->m_grid, m_gridRows, lengths); } | 
| 1195     void setNamedGridColumnLines(const NamedGridLinesMap& namedGridColumnLines) 
      { SET_VAR(rareNonInheritedData.access()->m_grid, m_namedGridColumnLines, namedGr
      idColumnLines); } | 1195     void setNamedGridColumnLines(const NamedGridLinesMap& namedGridColumnLines) 
      { SET_VAR(rareNonInheritedData.access()->m_grid, m_namedGridColumnLines, namedGr
      idColumnLines); } | 
| 1196     void setNamedGridRowLines(const NamedGridLinesMap& namedGridRowLines) { SET_
      VAR(rareNonInheritedData.access()->m_grid, m_namedGridRowLines, namedGridRowLine
      s); } | 1196     void setNamedGridRowLines(const NamedGridLinesMap& namedGridRowLines) { SET_
      VAR(rareNonInheritedData.access()->m_grid, m_namedGridRowLines, namedGridRowLine
      s); } | 
| 1197     void setGridAutoFlow(GridAutoFlow flow) { SET_VAR(rareNonInheritedData.acces
      s()->m_grid, m_gridAutoFlow, flow); } | 1197     void setGridAutoFlow(GridAutoFlow flow) { SET_VAR(rareNonInheritedData.acces
      s()->m_grid, m_gridAutoFlow, flow); } | 
| 1198 | 1198 | 
| 1199     void setGridStart(const GridPosition& startPosition) { SET_VAR(rareNonInheri
      tedData.access()->m_gridItem, m_gridStart, startPosition); } | 1199     void setGridColumnStart(const GridPosition& columnStartPosition) { SET_VAR(r
      areNonInheritedData.access()->m_gridItem, m_gridColumnStart, columnStartPosition
      ); } | 
| 1200     void setGridEnd(const GridPosition& endPosition) { SET_VAR(rareNonInheritedD
      ata.access()->m_gridItem, m_gridEnd, endPosition); } | 1200     void setGridColumnEnd(const GridPosition& columnEndPosition) { SET_VAR(rareN
      onInheritedData.access()->m_gridItem, m_gridColumnEnd, columnEndPosition); } | 
| 1201     void setGridBefore(const GridPosition& beforePosition) { SET_VAR(rareNonInhe
      ritedData.access()->m_gridItem, m_gridBefore, beforePosition); } | 1201     void setGridRowStart(const GridPosition& rowStartPosition) { SET_VAR(rareNon
      InheritedData.access()->m_gridItem, m_gridRowStart, rowStartPosition); } | 
| 1202     void setGridAfter(const GridPosition& afterPosition) { SET_VAR(rareNonInheri
      tedData.access()->m_gridItem, m_gridAfter, afterPosition); } | 1202     void setGridRowEnd(const GridPosition& rowEndPosition) { SET_VAR(rareNonInhe
      ritedData.access()->m_gridItem, m_gridRowEnd, rowEndPosition); } | 
| 1203 | 1203 | 
| 1204     void setMarqueeIncrement(Length f) { SET_VAR(rareNonInheritedData.access()->
      m_marquee, increment, f); } | 1204     void setMarqueeIncrement(Length f) { SET_VAR(rareNonInheritedData.access()->
      m_marquee, increment, f); } | 
| 1205     void setMarqueeSpeed(int f) { SET_VAR(rareNonInheritedData.access()->m_marqu
      ee, speed, f); } | 1205     void setMarqueeSpeed(int f) { SET_VAR(rareNonInheritedData.access()->m_marqu
      ee, speed, f); } | 
| 1206     void setMarqueeDirection(EMarqueeDirection d) { SET_VAR(rareNonInheritedData
      .access()->m_marquee, direction, d); } | 1206     void setMarqueeDirection(EMarqueeDirection d) { SET_VAR(rareNonInheritedData
      .access()->m_marquee, direction, d); } | 
| 1207     void setMarqueeBehavior(EMarqueeBehavior b) { SET_VAR(rareNonInheritedData.a
      ccess()->m_marquee, behavior, b); } | 1207     void setMarqueeBehavior(EMarqueeBehavior b) { SET_VAR(rareNonInheritedData.a
      ccess()->m_marquee, behavior, b); } | 
| 1208     void setMarqueeLoopCount(int i) { SET_VAR(rareNonInheritedData.access()->m_m
      arquee, loops, i); } | 1208     void setMarqueeLoopCount(int i) { SET_VAR(rareNonInheritedData.access()->m_m
      arquee, loops, i); } | 
| 1209     void setUserModify(EUserModify u) { SET_VAR(rareInheritedData, userModify, u
      ); } | 1209     void setUserModify(EUserModify u) { SET_VAR(rareInheritedData, userModify, u
      ); } | 
| 1210     void setUserDrag(EUserDrag d) { SET_VAR(rareNonInheritedData, userDrag, d); 
      } | 1210     void setUserDrag(EUserDrag d) { SET_VAR(rareNonInheritedData, userDrag, d); 
      } | 
| 1211     void setUserSelect(EUserSelect s) { SET_VAR(rareInheritedData, userSelect, s
      ); } | 1211     void setUserSelect(EUserSelect s) { SET_VAR(rareInheritedData, userSelect, s
      ); } | 
| 1212     void setTextOverflow(TextOverflow overflow) { SET_VAR(rareNonInheritedData, 
      textOverflow, overflow); } | 1212     void setTextOverflow(TextOverflow overflow) { SET_VAR(rareNonInheritedData, 
      textOverflow, overflow); } | 
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1600 | 1600 | 
| 1601     static GridAutoFlow initialGridAutoFlow() { return AutoFlowNone; } | 1601     static GridAutoFlow initialGridAutoFlow() { return AutoFlowNone; } | 
| 1602 | 1602 | 
| 1603     static GridTrackSize initialGridAutoColumns() { return GridTrackSize(Auto); 
      } | 1603     static GridTrackSize initialGridAutoColumns() { return GridTrackSize(Auto); 
      } | 
| 1604     static GridTrackSize initialGridAutoRows() { return GridTrackSize(Auto); } | 1604     static GridTrackSize initialGridAutoRows() { return GridTrackSize(Auto); } | 
| 1605 | 1605 | 
| 1606     static NamedGridLinesMap initialNamedGridColumnLines() { return NamedGridLin
      esMap(); } | 1606     static NamedGridLinesMap initialNamedGridColumnLines() { return NamedGridLin
      esMap(); } | 
| 1607     static NamedGridLinesMap initialNamedGridRowLines() { return NamedGridLinesM
      ap(); } | 1607     static NamedGridLinesMap initialNamedGridRowLines() { return NamedGridLinesM
      ap(); } | 
| 1608 | 1608 | 
| 1609     // 'auto' is the default. | 1609     // 'auto' is the default. | 
| 1610     static GridPosition initialGridStart() { return GridPosition(); } | 1610     static GridPosition initialGridColumnStart() { return GridPosition(); } | 
| 1611     static GridPosition initialGridEnd() { return GridPosition(); } | 1611     static GridPosition initialGridColumnEnd() { return GridPosition(); } | 
| 1612     static GridPosition initialGridBefore() { return GridPosition(); } | 1612     static GridPosition initialGridRowStart() { return GridPosition(); } | 
| 1613     static GridPosition initialGridAfter() { return GridPosition(); } | 1613     static GridPosition initialGridRowEnd() { return GridPosition(); } | 
| 1614 | 1614 | 
| 1615     static unsigned initialTabSize() { return 8; } | 1615     static unsigned initialTabSize() { return 8; } | 
| 1616 | 1616 | 
| 1617     static const AtomicString& initialLineGrid() { return nullAtom; } | 1617     static const AtomicString& initialLineGrid() { return nullAtom; } | 
| 1618     static LineSnap initialLineSnap() { return LineSnapNone; } | 1618     static LineSnap initialLineSnap() { return LineSnapNone; } | 
| 1619     static LineAlign initialLineAlign() { return LineAlignNone; } | 1619     static LineAlign initialLineAlign() { return LineAlignNone; } | 
| 1620 | 1620 | 
| 1621     static const AtomicString& initialFlowThread() { return nullAtom; } | 1621     static const AtomicString& initialFlowThread() { return nullAtom; } | 
| 1622     static const AtomicString& initialRegionThread() { return nullAtom; } | 1622     static const AtomicString& initialRegionThread() { return nullAtom; } | 
| 1623     static RegionFragment initialRegionFragment() { return AutoRegionFragment; } | 1623     static RegionFragment initialRegionFragment() { return AutoRegionFragment; } | 
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1754     if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) | 1754     if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) | 
| 1755         return false; | 1755         return false; | 
| 1756 | 1756 | 
| 1757     rareInheritedData.access()->m_textOrientation = textOrientation; | 1757     rareInheritedData.access()->m_textOrientation = textOrientation; | 
| 1758     return true; | 1758     return true; | 
| 1759 } | 1759 } | 
| 1760 | 1760 | 
| 1761 } // namespace WebCore | 1761 } // namespace WebCore | 
| 1762 | 1762 | 
| 1763 #endif // RenderStyle_h | 1763 #endif // RenderStyle_h | 
| OLD | NEW | 
|---|