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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 perspective_(ComputedStyle::InitialPerspective()), | 75 perspective_(ComputedStyle::InitialPerspective()), |
76 shape_image_threshold_(ComputedStyle::InitialShapeImageThreshold()), | 76 shape_image_threshold_(ComputedStyle::InitialShapeImageThreshold()), |
77 order_(ComputedStyle::InitialOrder()), | 77 order_(ComputedStyle::InitialOrder()), |
78 perspective_origin_(ComputedStyle::InitialPerspectiveOrigin()), | 78 perspective_origin_(ComputedStyle::InitialPerspectiveOrigin()), |
79 object_position_(ComputedStyle::InitialObjectPosition()), | 79 object_position_(ComputedStyle::InitialObjectPosition()), |
80 line_clamp(ComputedStyle::InitialLineClamp()), | 80 line_clamp(ComputedStyle::InitialLineClamp()), |
81 draggable_region_mode_(kDraggableRegionNone), | 81 draggable_region_mode_(kDraggableRegionNone), |
82 shape_outside_(ComputedStyle::InitialShapeOutside()), | 82 shape_outside_(ComputedStyle::InitialShapeOutside()), |
83 clip_path_(ComputedStyle::InitialClipPath()), | 83 clip_path_(ComputedStyle::InitialClipPath()), |
84 mask_(kMaskFillLayer, true), | 84 mask_(kMaskFillLayer, true), |
| 85 mask_box_image_(NinePieceImage::MaskDefaults()), |
85 page_size_(), | 86 page_size_(), |
86 shape_margin_(ComputedStyle::InitialShapeMargin()), | 87 shape_margin_(ComputedStyle::InitialShapeMargin()), |
87 text_decoration_color_(StyleColor::CurrentColor()), | 88 text_decoration_color_(StyleColor::CurrentColor()), |
88 visited_link_text_decoration_color_(StyleColor::CurrentColor()), | 89 visited_link_text_decoration_color_(StyleColor::CurrentColor()), |
89 visited_link_background_color_(ComputedStyle::InitialBackgroundColor()), | 90 visited_link_background_color_(ComputedStyle::InitialBackgroundColor()), |
90 visited_link_outline_color_(StyleColor::CurrentColor()), | 91 visited_link_outline_color_(StyleColor::CurrentColor()), |
91 visited_link_border_left_color_(StyleColor::CurrentColor()), | 92 visited_link_border_left_color_(StyleColor::CurrentColor()), |
92 visited_link_border_right_color_(StyleColor::CurrentColor()), | 93 visited_link_border_right_color_(StyleColor::CurrentColor()), |
93 visited_link_border_top_color_(StyleColor::CurrentColor()), | 94 visited_link_border_top_color_(StyleColor::CurrentColor()), |
94 visited_link_border_bottom_color_(StyleColor::CurrentColor()), | 95 visited_link_border_bottom_color_(StyleColor::CurrentColor()), |
(...skipping 27 matching lines...) Expand all Loading... |
122 object_fit_(ComputedStyle::InitialObjectFit()), | 123 object_fit_(ComputedStyle::InitialObjectFit()), |
123 isolation_(ComputedStyle::InitialIsolation()), | 124 isolation_(ComputedStyle::InitialIsolation()), |
124 contain_(ComputedStyle::InitialContain()), | 125 contain_(ComputedStyle::InitialContain()), |
125 scroll_behavior_(ComputedStyle::InitialScrollBehavior()), | 126 scroll_behavior_(ComputedStyle::InitialScrollBehavior()), |
126 scroll_snap_type_(ComputedStyle::InitialScrollSnapType()), | 127 scroll_snap_type_(ComputedStyle::InitialScrollSnapType()), |
127 requires_accelerated_compositing_for_external_reasons_(false), | 128 requires_accelerated_compositing_for_external_reasons_(false), |
128 has_inline_transform_(false), | 129 has_inline_transform_(false), |
129 resize_(ComputedStyle::InitialResize()), | 130 resize_(ComputedStyle::InitialResize()), |
130 has_compositor_proxy_(false), | 131 has_compositor_proxy_(false), |
131 has_author_background_(false), | 132 has_author_background_(false), |
132 has_author_border_(false) { | 133 has_author_border_(false) {} |
133 mask_box_image_.SetMaskDefaults(); | |
134 } | |
135 | 134 |
136 StyleRareNonInheritedData::StyleRareNonInheritedData( | 135 StyleRareNonInheritedData::StyleRareNonInheritedData( |
137 const StyleRareNonInheritedData& o) | 136 const StyleRareNonInheritedData& o) |
138 : RefCounted<StyleRareNonInheritedData>(), | 137 : RefCounted<StyleRareNonInheritedData>(), |
139 opacity(o.opacity), | 138 opacity(o.opacity), |
140 perspective_(o.perspective_), | 139 perspective_(o.perspective_), |
141 shape_image_threshold_(o.shape_image_threshold_), | 140 shape_image_threshold_(o.shape_image_threshold_), |
142 order_(o.order_), | 141 order_(o.order_), |
143 perspective_origin_(o.perspective_origin_), | 142 perspective_origin_(o.perspective_origin_), |
144 object_position_(o.object_position_), | 143 object_position_(o.object_position_), |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 const StyleRareNonInheritedData& o) const { | 347 const StyleRareNonInheritedData& o) const { |
349 return DataEquivalent(shape_outside_, o.shape_outside_); | 348 return DataEquivalent(shape_outside_, o.shape_outside_); |
350 } | 349 } |
351 | 350 |
352 bool StyleRareNonInheritedData::ClipPathDataEquivalent( | 351 bool StyleRareNonInheritedData::ClipPathDataEquivalent( |
353 const StyleRareNonInheritedData& o) const { | 352 const StyleRareNonInheritedData& o) const { |
354 return DataEquivalent(clip_path_, o.clip_path_); | 353 return DataEquivalent(clip_path_, o.clip_path_); |
355 } | 354 } |
356 | 355 |
357 } // namespace blink | 356 } // namespace blink |
OLD | NEW |