| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 StyleMultiColData::StyleMultiColData() | 28 StyleMultiColData::StyleMultiColData() |
| 29 : m_width(0) | 29 : m_width(0) |
| 30 , m_count(ComputedStyle::initialColumnCount()) | 30 , m_count(ComputedStyle::initialColumnCount()) |
| 31 , m_gap(0) | 31 , m_gap(0) |
| 32 , m_visitedLinkColumnRuleColor(StyleColor::currentColor()) | 32 , m_visitedLinkColumnRuleColor(StyleColor::currentColor()) |
| 33 , m_autoWidth(true) | 33 , m_autoWidth(true) |
| 34 , m_autoCount(true) | 34 , m_autoCount(true) |
| 35 , m_normalGap(true) | 35 , m_normalGap(true) |
| 36 , m_fill(ComputedStyle::initialColumnFill()) | 36 , m_fill(ComputedStyle::initialColumnFill()) |
| 37 , m_columnSpan(false) | 37 , m_columnSpan(false) |
| 38 , m_breakBefore(ComputedStyle::initialPageBreak()) | |
| 39 , m_breakAfter(ComputedStyle::initialPageBreak()) | |
| 40 , m_breakInside(ComputedStyle::initialPageBreak()) | |
| 41 { | 38 { |
| 42 } | 39 } |
| 43 | 40 |
| 44 StyleMultiColData::StyleMultiColData(const StyleMultiColData& o) | 41 StyleMultiColData::StyleMultiColData(const StyleMultiColData& o) |
| 45 : RefCounted<StyleMultiColData>() | 42 : RefCounted<StyleMultiColData>() |
| 46 , m_width(o.m_width) | 43 , m_width(o.m_width) |
| 47 , m_count(o.m_count) | 44 , m_count(o.m_count) |
| 48 , m_gap(o.m_gap) | 45 , m_gap(o.m_gap) |
| 49 , m_rule(o.m_rule) | 46 , m_rule(o.m_rule) |
| 50 , m_visitedLinkColumnRuleColor(o.m_visitedLinkColumnRuleColor) | 47 , m_visitedLinkColumnRuleColor(o.m_visitedLinkColumnRuleColor) |
| 51 , m_autoWidth(o.m_autoWidth) | 48 , m_autoWidth(o.m_autoWidth) |
| 52 , m_autoCount(o.m_autoCount) | 49 , m_autoCount(o.m_autoCount) |
| 53 , m_normalGap(o.m_normalGap) | 50 , m_normalGap(o.m_normalGap) |
| 54 , m_fill(o.m_fill) | 51 , m_fill(o.m_fill) |
| 55 , m_columnSpan(o.m_columnSpan) | 52 , m_columnSpan(o.m_columnSpan) |
| 56 , m_breakBefore(o.m_breakBefore) | |
| 57 , m_breakAfter(o.m_breakAfter) | |
| 58 , m_breakInside(o.m_breakInside) | |
| 59 { | 53 { |
| 60 } | 54 } |
| 61 | 55 |
| 62 bool StyleMultiColData::operator==(const StyleMultiColData& o) const | 56 bool StyleMultiColData::operator==(const StyleMultiColData& o) const |
| 63 { | 57 { |
| 64 return m_width == o.m_width && m_count == o.m_count && m_gap == o.m_gap | 58 return m_width == o.m_width && m_count == o.m_count && m_gap == o.m_gap |
| 65 && m_rule == o.m_rule && m_visitedLinkColumnRuleColor == o.m_visitedLink
ColumnRuleColor && m_breakBefore == o.m_breakBefore | 59 && m_rule == o.m_rule && m_visitedLinkColumnRuleColor == o.m_visitedLink
ColumnRuleColor |
| 66 && m_autoWidth == o.m_autoWidth && m_autoCount == o.m_autoCount && m_nor
malGap == o.m_normalGap | 60 && m_autoWidth == o.m_autoWidth && m_autoCount == o.m_autoCount && m_nor
malGap == o.m_normalGap |
| 67 && m_fill == o.m_fill && m_columnSpan == o.m_columnSpan | 61 && m_fill == o.m_fill && m_columnSpan == o.m_columnSpan; |
| 68 && m_breakAfter == o.m_breakAfter && m_breakInside == o.m_breakInside; | |
| 69 } | 62 } |
| 70 | 63 |
| 71 } // namespace blink | 64 } // namespace blink |
| OLD | NEW |