Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Side by Side Diff: Source/core/rendering/style/StyleRareNonInheritedData.cpp

Issue 16337002: Revert "Revert "Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT"" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/rendering/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 , m_alignItems(RenderStyle::initialAlignItems()) 65 , m_alignItems(RenderStyle::initialAlignItems())
66 , m_alignSelf(RenderStyle::initialAlignSelf()) 66 , m_alignSelf(RenderStyle::initialAlignSelf())
67 , m_justifyContent(RenderStyle::initialJustifyContent()) 67 , m_justifyContent(RenderStyle::initialJustifyContent())
68 , userDrag(RenderStyle::initialUserDrag()) 68 , userDrag(RenderStyle::initialUserDrag())
69 , textOverflow(RenderStyle::initialTextOverflow()) 69 , textOverflow(RenderStyle::initialTextOverflow())
70 , marginBeforeCollapse(MCOLLAPSE) 70 , marginBeforeCollapse(MCOLLAPSE)
71 , marginAfterCollapse(MCOLLAPSE) 71 , marginAfterCollapse(MCOLLAPSE)
72 , m_appearance(RenderStyle::initialAppearance()) 72 , m_appearance(RenderStyle::initialAppearance())
73 , m_borderFit(RenderStyle::initialBorderFit()) 73 , m_borderFit(RenderStyle::initialBorderFit())
74 , m_textCombine(RenderStyle::initialTextCombine()) 74 , m_textCombine(RenderStyle::initialTextCombine())
75 #if ENABLE(CSS3_TEXT)
76 , m_textDecorationStyle(RenderStyle::initialTextDecorationStyle()) 75 , m_textDecorationStyle(RenderStyle::initialTextDecorationStyle())
77 #endif // CSS3_TEXT
78 , m_wrapFlow(RenderStyle::initialWrapFlow()) 76 , m_wrapFlow(RenderStyle::initialWrapFlow())
79 , m_wrapThrough(RenderStyle::initialWrapThrough()) 77 , m_wrapThrough(RenderStyle::initialWrapThrough())
80 , m_runningAcceleratedAnimation(false) 78 , m_runningAcceleratedAnimation(false)
81 , m_hasAspectRatio(false) 79 , m_hasAspectRatio(false)
82 , m_effectiveBlendMode(RenderStyle::initialBlendMode()) 80 , m_effectiveBlendMode(RenderStyle::initialBlendMode())
83 , m_touchAction(RenderStyle::initialTouchAction()) 81 , m_touchAction(RenderStyle::initialTouchAction())
84 { 82 {
85 m_maskBoxImage.setMaskDefaults(); 83 m_maskBoxImage.setMaskDefaults();
86 } 84 }
87 85
(...skipping 22 matching lines...) Expand all
110 , m_animations(o.m_animations ? adoptPtr(new CSSAnimationDataList(*o.m_anima tions)) : nullptr) 108 , m_animations(o.m_animations ? adoptPtr(new CSSAnimationDataList(*o.m_anima tions)) : nullptr)
111 , m_transitions(o.m_transitions ? adoptPtr(new CSSAnimationDataList(*o.m_tra nsitions)) : nullptr) 109 , m_transitions(o.m_transitions ? adoptPtr(new CSSAnimationDataList(*o.m_tra nsitions)) : nullptr)
112 , m_mask(o.m_mask) 110 , m_mask(o.m_mask)
113 , m_maskBoxImage(o.m_maskBoxImage) 111 , m_maskBoxImage(o.m_maskBoxImage)
114 , m_pageSize(o.m_pageSize) 112 , m_pageSize(o.m_pageSize)
115 , m_shapeInside(o.m_shapeInside) 113 , m_shapeInside(o.m_shapeInside)
116 , m_shapeOutside(o.m_shapeOutside) 114 , m_shapeOutside(o.m_shapeOutside)
117 , m_shapeMargin(o.m_shapeMargin) 115 , m_shapeMargin(o.m_shapeMargin)
118 , m_shapePadding(o.m_shapePadding) 116 , m_shapePadding(o.m_shapePadding)
119 , m_clipPath(o.m_clipPath) 117 , m_clipPath(o.m_clipPath)
120 #if ENABLE(CSS3_TEXT)
121 , m_textDecorationColor(o.m_textDecorationColor) 118 , m_textDecorationColor(o.m_textDecorationColor)
122 , m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor) 119 , m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor)
123 #endif // CSS3_TEXT
124 , m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor) 120 , m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor)
125 , m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor) 121 , m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor)
126 , m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor) 122 , m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor)
127 , m_visitedLinkBorderRightColor(o.m_visitedLinkBorderRightColor) 123 , m_visitedLinkBorderRightColor(o.m_visitedLinkBorderRightColor)
128 , m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor) 124 , m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor)
129 , m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor) 125 , m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor)
130 , m_order(o.m_order) 126 , m_order(o.m_order)
131 , m_flowThread(o.m_flowThread) 127 , m_flowThread(o.m_flowThread)
132 , m_regionThread(o.m_regionThread) 128 , m_regionThread(o.m_regionThread)
133 , m_regionOverflow(o.m_regionOverflow) 129 , m_regionOverflow(o.m_regionOverflow)
134 , m_regionBreakAfter(o.m_regionBreakAfter) 130 , m_regionBreakAfter(o.m_regionBreakAfter)
135 , m_regionBreakBefore(o.m_regionBreakBefore) 131 , m_regionBreakBefore(o.m_regionBreakBefore)
136 , m_regionBreakInside(o.m_regionBreakInside) 132 , m_regionBreakInside(o.m_regionBreakInside)
137 , m_pageSizeType(o.m_pageSizeType) 133 , m_pageSizeType(o.m_pageSizeType)
138 , m_transformStyle3D(o.m_transformStyle3D) 134 , m_transformStyle3D(o.m_transformStyle3D)
139 , m_backfaceVisibility(o.m_backfaceVisibility) 135 , m_backfaceVisibility(o.m_backfaceVisibility)
140 , m_alignContent(o.m_alignContent) 136 , m_alignContent(o.m_alignContent)
141 , m_alignItems(o.m_alignItems) 137 , m_alignItems(o.m_alignItems)
142 , m_alignSelf(o.m_alignSelf) 138 , m_alignSelf(o.m_alignSelf)
143 , m_justifyContent(o.m_justifyContent) 139 , m_justifyContent(o.m_justifyContent)
144 , userDrag(o.userDrag) 140 , userDrag(o.userDrag)
145 , textOverflow(o.textOverflow) 141 , textOverflow(o.textOverflow)
146 , marginBeforeCollapse(o.marginBeforeCollapse) 142 , marginBeforeCollapse(o.marginBeforeCollapse)
147 , marginAfterCollapse(o.marginAfterCollapse) 143 , marginAfterCollapse(o.marginAfterCollapse)
148 , m_appearance(o.m_appearance) 144 , m_appearance(o.m_appearance)
149 , m_borderFit(o.m_borderFit) 145 , m_borderFit(o.m_borderFit)
150 , m_textCombine(o.m_textCombine) 146 , m_textCombine(o.m_textCombine)
151 #if ENABLE(CSS3_TEXT)
152 , m_textDecorationStyle(o.m_textDecorationStyle) 147 , m_textDecorationStyle(o.m_textDecorationStyle)
153 #endif // CSS3_TEXT
154 , m_wrapFlow(o.m_wrapFlow) 148 , m_wrapFlow(o.m_wrapFlow)
155 , m_wrapThrough(o.m_wrapThrough) 149 , m_wrapThrough(o.m_wrapThrough)
156 , m_runningAcceleratedAnimation(o.m_runningAcceleratedAnimation) 150 , m_runningAcceleratedAnimation(o.m_runningAcceleratedAnimation)
157 , m_hasAspectRatio(o.m_hasAspectRatio) 151 , m_hasAspectRatio(o.m_hasAspectRatio)
158 , m_effectiveBlendMode(o.m_effectiveBlendMode) 152 , m_effectiveBlendMode(o.m_effectiveBlendMode)
159 , m_touchAction(o.m_touchAction) 153 , m_touchAction(o.m_touchAction)
160 { 154 {
161 } 155 }
162 156
163 StyleRareNonInheritedData::~StyleRareNonInheritedData() 157 StyleRareNonInheritedData::~StyleRareNonInheritedData()
(...skipping 25 matching lines...) Expand all
189 && animationDataEquivalent(o) 183 && animationDataEquivalent(o)
190 && transitionDataEquivalent(o) 184 && transitionDataEquivalent(o)
191 && m_mask == o.m_mask 185 && m_mask == o.m_mask
192 && m_maskBoxImage == o.m_maskBoxImage 186 && m_maskBoxImage == o.m_maskBoxImage
193 && m_pageSize == o.m_pageSize 187 && m_pageSize == o.m_pageSize
194 && m_shapeInside == o.m_shapeInside 188 && m_shapeInside == o.m_shapeInside
195 && m_shapeOutside == o.m_shapeOutside 189 && m_shapeOutside == o.m_shapeOutside
196 && m_shapeMargin == o.m_shapeMargin 190 && m_shapeMargin == o.m_shapeMargin
197 && m_shapePadding == o.m_shapePadding 191 && m_shapePadding == o.m_shapePadding
198 && m_clipPath == o.m_clipPath 192 && m_clipPath == o.m_clipPath
199 #if ENABLE(CSS3_TEXT)
200 && m_textDecorationColor == o.m_textDecorationColor 193 && m_textDecorationColor == o.m_textDecorationColor
201 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r 194 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r
202 #endif // CSS3_TEXT
203 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor 195 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor
204 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor 196 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor
205 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor 197 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor
206 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor 198 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor
207 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor 199 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor
208 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor 200 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor
209 && m_order == o.m_order 201 && m_order == o.m_order
210 && m_flowThread == o.m_flowThread 202 && m_flowThread == o.m_flowThread
211 && m_regionThread == o.m_regionThread 203 && m_regionThread == o.m_regionThread
212 && m_regionOverflow == o.m_regionOverflow 204 && m_regionOverflow == o.m_regionOverflow
213 && m_regionBreakAfter == o.m_regionBreakAfter 205 && m_regionBreakAfter == o.m_regionBreakAfter
214 && m_regionBreakBefore == o.m_regionBreakBefore 206 && m_regionBreakBefore == o.m_regionBreakBefore
215 && m_regionBreakInside == o.m_regionBreakInside 207 && m_regionBreakInside == o.m_regionBreakInside
216 && m_pageSizeType == o.m_pageSizeType 208 && m_pageSizeType == o.m_pageSizeType
217 && m_transformStyle3D == o.m_transformStyle3D 209 && m_transformStyle3D == o.m_transformStyle3D
218 && m_backfaceVisibility == o.m_backfaceVisibility 210 && m_backfaceVisibility == o.m_backfaceVisibility
219 && m_alignContent == o.m_alignContent 211 && m_alignContent == o.m_alignContent
220 && m_alignItems == o.m_alignItems 212 && m_alignItems == o.m_alignItems
221 && m_alignSelf == o.m_alignSelf 213 && m_alignSelf == o.m_alignSelf
222 && m_justifyContent == o.m_justifyContent 214 && m_justifyContent == o.m_justifyContent
223 && userDrag == o.userDrag 215 && userDrag == o.userDrag
224 && textOverflow == o.textOverflow 216 && textOverflow == o.textOverflow
225 && marginBeforeCollapse == o.marginBeforeCollapse 217 && marginBeforeCollapse == o.marginBeforeCollapse
226 && marginAfterCollapse == o.marginAfterCollapse 218 && marginAfterCollapse == o.marginAfterCollapse
227 && m_appearance == o.m_appearance 219 && m_appearance == o.m_appearance
228 && m_borderFit == o.m_borderFit 220 && m_borderFit == o.m_borderFit
229 && m_textCombine == o.m_textCombine 221 && m_textCombine == o.m_textCombine
230 #if ENABLE(CSS3_TEXT)
231 && m_textDecorationStyle == o.m_textDecorationStyle 222 && m_textDecorationStyle == o.m_textDecorationStyle
232 #endif // CSS3_TEXT
233 && m_wrapFlow == o.m_wrapFlow 223 && m_wrapFlow == o.m_wrapFlow
234 && m_wrapThrough == o.m_wrapThrough 224 && m_wrapThrough == o.m_wrapThrough
235 && !m_runningAcceleratedAnimation && !o.m_runningAcceleratedAnimation 225 && !m_runningAcceleratedAnimation && !o.m_runningAcceleratedAnimation
236 && m_effectiveBlendMode == o.m_effectiveBlendMode 226 && m_effectiveBlendMode == o.m_effectiveBlendMode
237 && m_hasAspectRatio == o.m_hasAspectRatio 227 && m_hasAspectRatio == o.m_hasAspectRatio
238 && m_touchAction == o.m_touchAction; 228 && m_touchAction == o.m_touchAction;
239 } 229 }
240 230
241 bool StyleRareNonInheritedData::contentDataEquivalent(const StyleRareNonInherite dData& o) const 231 bool StyleRareNonInheritedData::contentDataEquivalent(const StyleRareNonInherite dData& o) const
242 { 232 {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 info.addMember(m_regionThread, "regionThread"); 313 info.addMember(m_regionThread, "regionThread");
324 314
325 info.ignoreMember(m_perspectiveOriginX); 315 info.ignoreMember(m_perspectiveOriginX);
326 info.ignoreMember(m_perspectiveOriginY); 316 info.ignoreMember(m_perspectiveOriginY);
327 info.ignoreMember(m_pageSize); 317 info.ignoreMember(m_pageSize);
328 info.ignoreMember(m_shapeMargin); 318 info.ignoreMember(m_shapeMargin);
329 info.ignoreMember(m_shapePadding); 319 info.ignoreMember(m_shapePadding);
330 } 320 }
331 321
332 } // namespace WebCore 322 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698