| 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 1924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1935 } | 1935 } |
| 1936 void setOverflowWrap(EOverflowWrap b) { | 1936 void setOverflowWrap(EOverflowWrap b) { |
| 1937 SET_VAR(m_rareInheritedData, overflowWrap, b); | 1937 SET_VAR(m_rareInheritedData, overflowWrap, b); |
| 1938 } | 1938 } |
| 1939 | 1939 |
| 1940 // quotes | 1940 // quotes |
| 1941 static QuotesData* initialQuotes() { return 0; } | 1941 static QuotesData* initialQuotes() { return 0; } |
| 1942 QuotesData* quotes() const { return m_rareInheritedData->quotes.get(); } | 1942 QuotesData* quotes() const { return m_rareInheritedData->quotes.get(); } |
| 1943 void setQuotes(PassRefPtr<QuotesData>); | 1943 void setQuotes(PassRefPtr<QuotesData>); |
| 1944 | 1944 |
| 1945 // line-height-step | 1945 // snap-height |
| 1946 static uint8_t initialLineHeightStep() { return 0; } | 1946 uint8_t snapHeightPosition() const { |
| 1947 uint8_t lineHeightStep() const { | 1947 return m_rareInheritedData->m_snapHeightPosition; |
| 1948 return m_rareInheritedData->m_lineHeightStep; | |
| 1949 } | 1948 } |
| 1950 void setLineHeightStep(uint8_t unit) { | 1949 uint8_t snapHeightUnit() const { |
| 1951 SET_VAR(m_rareInheritedData, m_lineHeightStep, unit); | 1950 return m_rareInheritedData->m_snapHeightUnit; |
| 1951 } |
| 1952 void setSnapHeightPosition(uint8_t position) { |
| 1953 SET_VAR(m_rareInheritedData, m_snapHeightPosition, position); |
| 1954 } |
| 1955 void setSnapHeightUnit(uint8_t unit) { |
| 1956 SET_VAR(m_rareInheritedData, m_snapHeightUnit, unit); |
| 1952 } | 1957 } |
| 1953 | 1958 |
| 1954 // speak | 1959 // speak |
| 1955 static ESpeak initialSpeak() { return SpeakNormal; } | 1960 static ESpeak initialSpeak() { return SpeakNormal; } |
| 1956 ESpeak speak() const { | 1961 ESpeak speak() const { |
| 1957 return static_cast<ESpeak>(m_rareInheritedData->speak); | 1962 return static_cast<ESpeak>(m_rareInheritedData->speak); |
| 1958 } | 1963 } |
| 1959 void setSpeak(ESpeak s) { SET_VAR(m_rareInheritedData, speak, s); } | 1964 void setSpeak(ESpeak s) { SET_VAR(m_rareInheritedData, speak, s); } |
| 1960 | 1965 |
| 1961 // tab-size | 1966 // tab-size |
| (...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3800 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); | 3805 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); |
| 3801 } | 3806 } |
| 3802 | 3807 |
| 3803 inline bool ComputedStyle::hasPseudoElementStyle() const { | 3808 inline bool ComputedStyle::hasPseudoElementStyle() const { |
| 3804 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 3809 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 3805 } | 3810 } |
| 3806 | 3811 |
| 3807 } // namespace blink | 3812 } // namespace blink |
| 3808 | 3813 |
| 3809 #endif // ComputedStyle_h | 3814 #endif // ComputedStyle_h |
| OLD | NEW |