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 30 matching lines...) Expand all Loading... |
41 max_height_(ComputedStyle::InitialMaxHeight()), | 41 max_height_(ComputedStyle::InitialMaxHeight()), |
42 z_index_(0), | 42 z_index_(0), |
43 has_auto_z_index_(true), | 43 has_auto_z_index_(true), |
44 box_sizing_(static_cast<unsigned>(ComputedStyle::InitialBoxSizing())), | 44 box_sizing_(static_cast<unsigned>(ComputedStyle::InitialBoxSizing())), |
45 box_decoration_break_(kBoxDecorationBreakSlice) {} | 45 box_decoration_break_(kBoxDecorationBreakSlice) {} |
46 | 46 |
47 bool StyleBoxData::operator==(const StyleBoxData& o) const { | 47 bool StyleBoxData::operator==(const StyleBoxData& o) const { |
48 return width_ == o.width_ && height_ == o.height_ && | 48 return width_ == o.width_ && height_ == o.height_ && |
49 min_width_ == o.min_width_ && max_width_ == o.max_width_ && | 49 min_width_ == o.min_width_ && max_width_ == o.max_width_ && |
50 min_height_ == o.min_height_ && max_height_ == o.max_height_ && | 50 min_height_ == o.min_height_ && max_height_ == o.max_height_ && |
51 vertical_align_ == o.vertical_align_ && z_index_ == o.z_index_ && | 51 vertical_align_length_ == o.vertical_align_length_ && |
52 has_auto_z_index_ == o.has_auto_z_index_ && | 52 z_index_ == o.z_index_ && has_auto_z_index_ == o.has_auto_z_index_ && |
53 box_sizing_ == o.box_sizing_ && | 53 box_sizing_ == o.box_sizing_ && |
54 box_decoration_break_ == o.box_decoration_break_; | 54 box_decoration_break_ == o.box_decoration_break_; |
55 } | 55 } |
56 | 56 |
57 } // namespace blink | 57 } // namespace blink |
OLD | NEW |