| 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 1975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1986 static short initialHorizontalBorderSpacing() { return 0; } | 1986 static short initialHorizontalBorderSpacing() { return 0; } |
| 1987 short horizontalBorderSpacing() const; | 1987 short horizontalBorderSpacing() const; |
| 1988 void setHorizontalBorderSpacing(short); | 1988 void setHorizontalBorderSpacing(short); |
| 1989 | 1989 |
| 1990 // -webkit-border-vertical-spacing | 1990 // -webkit-border-vertical-spacing |
| 1991 static short initialVerticalBorderSpacing() { return 0; } | 1991 static short initialVerticalBorderSpacing() { return 0; } |
| 1992 short verticalBorderSpacing() const; | 1992 short verticalBorderSpacing() const; |
| 1993 void setVerticalBorderSpacing(short); | 1993 void setVerticalBorderSpacing(short); |
| 1994 | 1994 |
| 1995 // cursor | 1995 // cursor |
| 1996 static ECursor initialCursor() { return ECursor::Auto; } | 1996 static ECursor initialCursor() { return ECursor::kAuto; } |
| 1997 ECursor cursor() const { | 1997 ECursor cursor() const { |
| 1998 return static_cast<ECursor>(m_inheritedData.m_cursorStyle); | 1998 return static_cast<ECursor>(m_inheritedData.m_cursorStyle); |
| 1999 } | 1999 } |
| 2000 void setCursor(ECursor c) { | 2000 void setCursor(ECursor c) { |
| 2001 m_inheritedData.m_cursorStyle = static_cast<unsigned>(c); | 2001 m_inheritedData.m_cursorStyle = static_cast<unsigned>(c); |
| 2002 } | 2002 } |
| 2003 | 2003 |
| 2004 // color | 2004 // color |
| 2005 static Color initialColor() { return Color::black; } | 2005 static Color initialColor() { return Color::black; } |
| 2006 void setColor(const Color&); | 2006 void setColor(const Color&); |
| (...skipping 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3935 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); | 3935 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); |
| 3936 } | 3936 } |
| 3937 | 3937 |
| 3938 inline bool ComputedStyle::hasPseudoElementStyle() const { | 3938 inline bool ComputedStyle::hasPseudoElementStyle() const { |
| 3939 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 3939 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 3940 } | 3940 } |
| 3941 | 3941 |
| 3942 } // namespace blink | 3942 } // namespace blink |
| 3943 | 3943 |
| 3944 #endif // ComputedStyle_h | 3944 #endif // ComputedStyle_h |
| OLD | NEW |