| 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 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool shouldPaint(const CollapsedBorderValue& tableCurrentBorderValue) const | 73 bool shouldPaint(const CollapsedBorderValue& tableCurrentBorderValue) const |
| 74 { | 74 { |
| 75 return style() > BHIDDEN && !isTransparent() && exists() && isSameIgnori
ngColor(tableCurrentBorderValue); | 75 return style() > BHIDDEN && !isTransparent() && exists() && isSameIgnori
ngColor(tableCurrentBorderValue); |
| 76 } | 76 } |
| 77 | 77 |
| 78 private: | 78 private: |
| 79 Color m_color; | 79 Color m_color; |
| 80 unsigned m_colorIsCurrentColor : 1; | 80 unsigned m_colorIsCurrentColor : 1; |
| 81 // TODO(bugsnash): change m_width to float |
| 81 unsigned m_width : 23; | 82 unsigned m_width : 23; |
| 82 unsigned m_style : 4; // EBorderStyle | 83 unsigned m_style : 4; // EBorderStyle |
| 83 unsigned m_precedence : 3; // EBorderPrecedence | 84 unsigned m_precedence : 3; // EBorderPrecedence |
| 84 unsigned m_transparent : 1; | 85 unsigned m_transparent : 1; |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 } // namespace blink | 88 } // namespace blink |
| 88 | 89 |
| 89 #endif // CollapsedBorderValue_h | 90 #endif // CollapsedBorderValue_h |
| OLD | NEW |