| 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 | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 * rights reserved. | 6 * rights reserved. |
| 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1878 return TextUnderlinePositionAuto; | 1878 return TextUnderlinePositionAuto; |
| 1879 } | 1879 } |
| 1880 TextUnderlinePosition getTextUnderlinePosition() const { | 1880 TextUnderlinePosition getTextUnderlinePosition() const { |
| 1881 return static_cast<TextUnderlinePosition>( | 1881 return static_cast<TextUnderlinePosition>( |
| 1882 m_rareInheritedData->m_textUnderlinePosition); | 1882 m_rareInheritedData->m_textUnderlinePosition); |
| 1883 } | 1883 } |
| 1884 void setTextUnderlinePosition(TextUnderlinePosition v) { | 1884 void setTextUnderlinePosition(TextUnderlinePosition v) { |
| 1885 SET_VAR(m_rareInheritedData, m_textUnderlinePosition, v); | 1885 SET_VAR(m_rareInheritedData, m_textUnderlinePosition, v); |
| 1886 } | 1886 } |
| 1887 | 1887 |
| 1888 // text-decoration-skip |
| 1889 static TextDecorationSkip initialTextDecorationSkip() { |
| 1890 return TextDecorationSkipObjects; |
| 1891 } |
| 1892 TextDecorationSkip getTextDecorationSkip() const { |
| 1893 return static_cast<TextDecorationSkip>( |
| 1894 m_rareInheritedData->m_textDecorationSkip); |
| 1895 } |
| 1896 void setTextDecorationSkip(TextDecorationSkip v) { |
| 1897 SET_VAR(m_rareInheritedData, m_textDecorationSkip, v); |
| 1898 } |
| 1899 |
| 1888 // text-overflow | 1900 // text-overflow |
| 1889 static TextOverflow initialTextOverflow() { return TextOverflowClip; } | 1901 static TextOverflow initialTextOverflow() { return TextOverflowClip; } |
| 1890 TextOverflow getTextOverflow() const { | 1902 TextOverflow getTextOverflow() const { |
| 1891 return static_cast<TextOverflow>(m_rareNonInheritedData->textOverflow); | 1903 return static_cast<TextOverflow>(m_rareNonInheritedData->textOverflow); |
| 1892 } | 1904 } |
| 1893 void setTextOverflow(TextOverflow overflow) { | 1905 void setTextOverflow(TextOverflow overflow) { |
| 1894 SET_VAR(m_rareNonInheritedData, textOverflow, overflow); | 1906 SET_VAR(m_rareNonInheritedData, textOverflow, overflow); |
| 1895 } | 1907 } |
| 1896 | 1908 |
| 1897 // touch-action | 1909 // touch-action |
| (...skipping 2199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4097 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); | 4109 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); |
| 4098 } | 4110 } |
| 4099 | 4111 |
| 4100 inline bool ComputedStyle::hasPseudoElementStyle() const { | 4112 inline bool ComputedStyle::hasPseudoElementStyle() const { |
| 4101 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 4113 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 4102 } | 4114 } |
| 4103 | 4115 |
| 4104 } // namespace blink | 4116 } // namespace blink |
| 4105 | 4117 |
| 4106 #endif // ComputedStyle_h | 4118 #endif // ComputedStyle_h |
| OLD | NEW |