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

Side by Side Diff: Source/core/style/StyleRareInheritedData.cpp

Issue 1162793003: Add CSS image-orientation: from-image (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add converter Created 5 years, 5 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/style/StyleRareInheritedData.h ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | 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, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 , m_textOrientation(TextOrientationVerticalRight) 83 , m_textOrientation(TextOrientationVerticalRight)
84 , m_textCombine(ComputedStyle::initialTextCombine()) 84 , m_textCombine(ComputedStyle::initialTextCombine())
85 , m_textIndentLine(ComputedStyle::initialTextIndentLine()) 85 , m_textIndentLine(ComputedStyle::initialTextIndentLine())
86 , m_textIndentType(ComputedStyle::initialTextIndentLine()) 86 , m_textIndentType(ComputedStyle::initialTextIndentLine())
87 , m_lineBoxContain(ComputedStyle::initialLineBoxContain()) 87 , m_lineBoxContain(ComputedStyle::initialLineBoxContain())
88 , m_imageRendering(ComputedStyle::initialImageRendering()) 88 , m_imageRendering(ComputedStyle::initialImageRendering())
89 , m_textUnderlinePosition(ComputedStyle::initialTextUnderlinePosition()) 89 , m_textUnderlinePosition(ComputedStyle::initialTextUnderlinePosition())
90 , m_rubyPosition(ComputedStyle::initialRubyPosition()) 90 , m_rubyPosition(ComputedStyle::initialRubyPosition())
91 , m_subtreeWillChangeContents(false) 91 , m_subtreeWillChangeContents(false)
92 , m_selfOrAncestorHasDirAutoAttribute(false) 92 , m_selfOrAncestorHasDirAutoAttribute(false)
93 , m_respectImageOrientation(false)
93 , hyphenationLimitBefore(-1) 94 , hyphenationLimitBefore(-1)
94 , hyphenationLimitAfter(-1) 95 , hyphenationLimitAfter(-1)
95 , hyphenationLimitLines(-1) 96 , hyphenationLimitLines(-1)
96 , tapHighlightColor(ComputedStyle::initialTapHighlightColor()) 97 , tapHighlightColor(ComputedStyle::initialTapHighlightColor())
97 , m_tabSize(ComputedStyle::initialTabSize()) 98 , m_tabSize(ComputedStyle::initialTabSize())
98 { 99 {
99 } 100 }
100 101
101 StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o) 102 StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
102 : RefCounted<StyleRareInheritedData>() 103 : RefCounted<StyleRareInheritedData>()
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 , m_textOrientation(o.m_textOrientation) 139 , m_textOrientation(o.m_textOrientation)
139 , m_textCombine(o.m_textCombine) 140 , m_textCombine(o.m_textCombine)
140 , m_textIndentLine(o.m_textIndentLine) 141 , m_textIndentLine(o.m_textIndentLine)
141 , m_textIndentType(o.m_textIndentType) 142 , m_textIndentType(o.m_textIndentType)
142 , m_lineBoxContain(o.m_lineBoxContain) 143 , m_lineBoxContain(o.m_lineBoxContain)
143 , m_imageRendering(o.m_imageRendering) 144 , m_imageRendering(o.m_imageRendering)
144 , m_textUnderlinePosition(o.m_textUnderlinePosition) 145 , m_textUnderlinePosition(o.m_textUnderlinePosition)
145 , m_rubyPosition(o.m_rubyPosition) 146 , m_rubyPosition(o.m_rubyPosition)
146 , m_subtreeWillChangeContents(o.m_subtreeWillChangeContents) 147 , m_subtreeWillChangeContents(o.m_subtreeWillChangeContents)
147 , m_selfOrAncestorHasDirAutoAttribute(o.m_selfOrAncestorHasDirAutoAttribute) 148 , m_selfOrAncestorHasDirAutoAttribute(o.m_selfOrAncestorHasDirAutoAttribute)
149 , m_respectImageOrientation(o.m_respectImageOrientation)
148 , hyphenationString(o.hyphenationString) 150 , hyphenationString(o.hyphenationString)
149 , hyphenationLimitBefore(o.hyphenationLimitBefore) 151 , hyphenationLimitBefore(o.hyphenationLimitBefore)
150 , hyphenationLimitAfter(o.hyphenationLimitAfter) 152 , hyphenationLimitAfter(o.hyphenationLimitAfter)
151 , hyphenationLimitLines(o.hyphenationLimitLines) 153 , hyphenationLimitLines(o.hyphenationLimitLines)
152 , locale(o.locale) 154 , locale(o.locale)
153 , textEmphasisCustomMark(o.textEmphasisCustomMark) 155 , textEmphasisCustomMark(o.textEmphasisCustomMark)
154 , tapHighlightColor(o.tapHighlightColor) 156 , tapHighlightColor(o.tapHighlightColor)
155 , appliedTextDecorations(o.appliedTextDecorations) 157 , appliedTextDecorations(o.appliedTextDecorations)
156 , m_tabSize(o.m_tabSize) 158 , m_tabSize(o.m_tabSize)
157 { 159 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 && textEmphasisPosition == o.textEmphasisPosition 203 && textEmphasisPosition == o.textEmphasisPosition
202 && m_textAlignLast == o.m_textAlignLast 204 && m_textAlignLast == o.m_textAlignLast
203 && m_textJustify == o.m_textJustify 205 && m_textJustify == o.m_textJustify
204 && m_textOrientation == o.m_textOrientation 206 && m_textOrientation == o.m_textOrientation
205 && m_textCombine == o.m_textCombine 207 && m_textCombine == o.m_textCombine
206 && m_textIndentLine == o.m_textIndentLine 208 && m_textIndentLine == o.m_textIndentLine
207 && m_textIndentType == o.m_textIndentType 209 && m_textIndentType == o.m_textIndentType
208 && m_lineBoxContain == o.m_lineBoxContain 210 && m_lineBoxContain == o.m_lineBoxContain
209 && m_subtreeWillChangeContents == o.m_subtreeWillChangeContents 211 && m_subtreeWillChangeContents == o.m_subtreeWillChangeContents
210 && m_selfOrAncestorHasDirAutoAttribute == o.m_selfOrAncestorHasDirAutoAt tribute 212 && m_selfOrAncestorHasDirAutoAttribute == o.m_selfOrAncestorHasDirAutoAt tribute
213 && m_respectImageOrientation == o.m_respectImageOrientation
211 && hyphenationString == o.hyphenationString 214 && hyphenationString == o.hyphenationString
212 && locale == o.locale 215 && locale == o.locale
213 && textEmphasisCustomMark == o.textEmphasisCustomMark 216 && textEmphasisCustomMark == o.textEmphasisCustomMark
214 && quotesDataEquivalent(o) 217 && quotesDataEquivalent(o)
215 && m_tabSize == o.m_tabSize 218 && m_tabSize == o.m_tabSize
216 && m_imageRendering == o.m_imageRendering 219 && m_imageRendering == o.m_imageRendering
217 && m_textUnderlinePosition == o.m_textUnderlinePosition 220 && m_textUnderlinePosition == o.m_textUnderlinePosition
218 && m_rubyPosition == o.m_rubyPosition 221 && m_rubyPosition == o.m_rubyPosition
219 && dataEquivalent(listStyleImage.get(), o.listStyleImage.get()) 222 && dataEquivalent(listStyleImage.get(), o.listStyleImage.get())
220 && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations); 223 && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations);
221 } 224 }
222 225
223 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const 226 bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const
224 { 227 {
225 return dataEquivalent(textShadow.get(), o.textShadow.get()); 228 return dataEquivalent(textShadow.get(), o.textShadow.get());
226 } 229 }
227 230
228 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const 231 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const
229 { 232 {
230 return dataEquivalent(quotes, o.quotes); 233 return dataEquivalent(quotes, o.quotes);
231 } 234 }
232 235
233 } // namespace blink 236 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/style/StyleRareInheritedData.h ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698