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

Side by Side Diff: Source/core/style/ComputedStyle.h

Issue 1328283005: Add support for multiple text decorations with same line positioning (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review feedback Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 struct InheritedFlags { 164 struct InheritedFlags {
165 bool operator==(const InheritedFlags& other) const 165 bool operator==(const InheritedFlags& other) const
166 { 166 {
167 return (_empty_cells == other._empty_cells) 167 return (_empty_cells == other._empty_cells)
168 && (_caption_side == other._caption_side) 168 && (_caption_side == other._caption_side)
169 && (_list_style_type == other._list_style_type) 169 && (_list_style_type == other._list_style_type)
170 && (_list_style_position == other._list_style_position) 170 && (_list_style_position == other._list_style_position)
171 && (_visibility == other._visibility) 171 && (_visibility == other._visibility)
172 && (_text_align == other._text_align) 172 && (_text_align == other._text_align)
173 && (_text_transform == other._text_transform) 173 && (_text_transform == other._text_transform)
174 && (m_textUnderline == other.m_textUnderline) 174 && (m_hasSimpleUnderline == other.m_hasSimpleUnderline)
175 && (_cursor_style == other._cursor_style) 175 && (_cursor_style == other._cursor_style)
176 && (_direction == other._direction) 176 && (_direction == other._direction)
177 && (_white_space == other._white_space) 177 && (_white_space == other._white_space)
178 && (_border_collapse == other._border_collapse) 178 && (_border_collapse == other._border_collapse)
179 && (_box_direction == other._box_direction) 179 && (_box_direction == other._box_direction)
180 && (m_rtlOrdering == other.m_rtlOrdering) 180 && (m_rtlOrdering == other.m_rtlOrdering)
181 && (m_printColorAdjust == other.m_printColorAdjust) 181 && (m_printColorAdjust == other.m_printColorAdjust)
182 && (_pointerEvents == other._pointerEvents) 182 && (_pointerEvents == other._pointerEvents)
183 && (_insideLink == other._insideLink) 183 && (_insideLink == other._insideLink)
184 && (m_writingMode == other.m_writingMode); 184 && (m_writingMode == other.m_writingMode);
185 } 185 }
186 186
187 bool operator!=(const InheritedFlags& other) const { return !(*this == o ther); } 187 bool operator!=(const InheritedFlags& other) const { return !(*this == o ther); }
188 188
189 unsigned _empty_cells : 1; // EEmptyCell 189 unsigned _empty_cells : 1; // EEmptyCell
190 unsigned _caption_side : 2; // ECaptionSide 190 unsigned _caption_side : 2; // ECaptionSide
191 unsigned _list_style_type : 7; // EListStyleType 191 unsigned _list_style_type : 7; // EListStyleType
192 unsigned _list_style_position : 1; // EListStylePosition 192 unsigned _list_style_position : 1; // EListStylePosition
193 unsigned _visibility : 2; // EVisibility 193 unsigned _visibility : 2; // EVisibility
194 unsigned _text_align : 4; // ETextAlign 194 unsigned _text_align : 4; // ETextAlign
195 unsigned _text_transform : 2; // ETextTransform 195 unsigned _text_transform : 2; // ETextTransform
196 unsigned m_textUnderline : 1; 196 unsigned m_hasSimpleUnderline : 1; // True if 'underline solid currentCo lor' is the only text decoration on this element
197 unsigned _cursor_style : 6; // ECursor 197 unsigned _cursor_style : 6; // ECursor
198 unsigned _direction : 1; // TextDirection 198 unsigned _direction : 1; // TextDirection
199 unsigned _white_space : 3; // EWhiteSpace 199 unsigned _white_space : 3; // EWhiteSpace
200 unsigned _border_collapse : 1; // EBorderCollapse 200 unsigned _border_collapse : 1; // EBorderCollapse
201 unsigned _box_direction : 1; // EBoxDirection (CSS3 box_direction proper ty, flexible box layout module) 201 unsigned _box_direction : 1; // EBoxDirection (CSS3 box_direction proper ty, flexible box layout module)
202 // 32 bits 202 // 32 bits
203 203
204 // non CSS2 inherited 204 // non CSS2 inherited
205 unsigned m_rtlOrdering : 1; // Order 205 unsigned m_rtlOrdering : 1; // Order
206 unsigned m_printColorAdjust : PrintColorAdjustBits; 206 unsigned m_printColorAdjust : PrintColorAdjustBits;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 protected: 290 protected:
291 void setBitDefaults() 291 void setBitDefaults()
292 { 292 {
293 inherited_flags._empty_cells = initialEmptyCells(); 293 inherited_flags._empty_cells = initialEmptyCells();
294 inherited_flags._caption_side = initialCaptionSide(); 294 inherited_flags._caption_side = initialCaptionSide();
295 inherited_flags._list_style_type = initialListStyleType(); 295 inherited_flags._list_style_type = initialListStyleType();
296 inherited_flags._list_style_position = initialListStylePosition(); 296 inherited_flags._list_style_position = initialListStylePosition();
297 inherited_flags._visibility = initialVisibility(); 297 inherited_flags._visibility = initialVisibility();
298 inherited_flags._text_align = initialTextAlign(); 298 inherited_flags._text_align = initialTextAlign();
299 inherited_flags._text_transform = initialTextTransform(); 299 inherited_flags._text_transform = initialTextTransform();
300 inherited_flags.m_textUnderline = false; 300 inherited_flags.m_hasSimpleUnderline = false;
301 inherited_flags._cursor_style = initialCursor(); 301 inherited_flags._cursor_style = initialCursor();
302 inherited_flags._direction = initialDirection(); 302 inherited_flags._direction = initialDirection();
303 inherited_flags._white_space = initialWhiteSpace(); 303 inherited_flags._white_space = initialWhiteSpace();
304 inherited_flags._border_collapse = initialBorderCollapse(); 304 inherited_flags._border_collapse = initialBorderCollapse();
305 inherited_flags.m_rtlOrdering = initialRTLOrdering(); 305 inherited_flags.m_rtlOrdering = initialRTLOrdering();
306 inherited_flags._box_direction = initialBoxDirection(); 306 inherited_flags._box_direction = initialBoxDirection();
307 inherited_flags.m_printColorAdjust = initialPrintColorAdjust(); 307 inherited_flags.m_printColorAdjust = initialPrintColorAdjust();
308 inherited_flags._pointerEvents = initialPointerEvents(); 308 inherited_flags._pointerEvents = initialPointerEvents();
309 inherited_flags._insideLink = NotInsideLink; 309 inherited_flags._insideLink = NotInsideLink;
310 inherited_flags.m_writingMode = initialWritingMode(); 310 inherited_flags.m_writingMode = initialWritingMode();
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 const Length& textIndent() const { return rareInheritedData->indent; } 580 const Length& textIndent() const { return rareInheritedData->indent; }
581 TextIndentLine textIndentLine() const { return static_cast<TextIndentLine>(r areInheritedData->m_textIndentLine); } 581 TextIndentLine textIndentLine() const { return static_cast<TextIndentLine>(r areInheritedData->m_textIndentLine); }
582 TextIndentType textIndentType() const { return static_cast<TextIndentType>(r areInheritedData->m_textIndentType); } 582 TextIndentType textIndentType() const { return static_cast<TextIndentType>(r areInheritedData->m_textIndentType); }
583 ETextAlign textAlign() const { return static_cast<ETextAlign>(inherited_flag s._text_align); } 583 ETextAlign textAlign() const { return static_cast<ETextAlign>(inherited_flag s._text_align); }
584 TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rare InheritedData->m_textAlignLast); } 584 TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rare InheritedData->m_textAlignLast); }
585 TextJustify textJustify() const { return static_cast<TextJustify>(rareInheri tedData->m_textJustify); } 585 TextJustify textJustify() const { return static_cast<TextJustify>(rareInheri tedData->m_textJustify); }
586 ETextTransform textTransform() const { return static_cast<ETextTransform>(in herited_flags._text_transform); } 586 ETextTransform textTransform() const { return static_cast<ETextTransform>(in herited_flags._text_transform); }
587 TextDecoration textDecorationsInEffect() const; 587 TextDecoration textDecorationsInEffect() const;
588 const Vector<AppliedTextDecoration>& appliedTextDecorations() const; 588 const Vector<AppliedTextDecoration>& appliedTextDecorations() const;
589 TextDecoration textDecoration() const { return static_cast<TextDecoration>(v isual->textDecoration); } 589 TextDecoration textDecoration() const { return static_cast<TextDecoration>(v isual->textDecoration); }
590 TextUnderlinePosition textUnderlinePosition() const { return static_cast<Tex tUnderlinePosition>(rareInheritedData->m_textUnderlinePosition); } 590 TextUnderlinePosition textUnderlinePosition() const { return static_cast<Tex tUnderlinePosition>(rareInheritedData->m_hasSimpleUnderlinePosition); }
591 TextDecorationStyle textDecorationStyle() const { return static_cast<TextDec orationStyle>(rareNonInheritedData->m_textDecorationStyle); } 591 TextDecorationStyle textDecorationStyle() const { return static_cast<TextDec orationStyle>(rareNonInheritedData->m_textDecorationStyle); }
592 float wordSpacing() const; 592 float wordSpacing() const;
593 float letterSpacing() const; 593 float letterSpacing() const;
594 594
595 float zoom() const { return visual->m_zoom; } 595 float zoom() const { return visual->m_zoom; }
596 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; } 596 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; }
597 597
598 TextDirection direction() const { return static_cast<TextDirection>(inherite d_flags._direction); } 598 TextDirection direction() const { return static_cast<TextDirection>(inherite d_flags._direction); }
599 bool isLeftToRightDirection() const { return direction() == LTR; } 599 bool isLeftToRightDirection() const { return direction() == LTR; }
600 bool selfOrAncestorHasDirAutoAttribute() const { return rareInheritedData->m _selfOrAncestorHasDirAutoAttribute; } 600 bool selfOrAncestorHasDirAutoAttribute() const { return rareInheritedData->m _selfOrAncestorHasDirAutoAttribute; }
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 void setTextAutosizingMultiplier(float); 1129 void setTextAutosizingMultiplier(float);
1130 1130
1131 void setColor(const Color&); 1131 void setColor(const Color&);
1132 void setTextIndent(const Length& v) { SET_VAR(rareInheritedData, indent, v); } 1132 void setTextIndent(const Length& v) { SET_VAR(rareInheritedData, indent, v); }
1133 void setTextIndentLine(TextIndentLine v) { SET_VAR(rareInheritedData, m_text IndentLine, v); } 1133 void setTextIndentLine(TextIndentLine v) { SET_VAR(rareInheritedData, m_text IndentLine, v); }
1134 void setTextIndentType(TextIndentType v) { SET_VAR(rareInheritedData, m_text IndentType, v); } 1134 void setTextIndentType(TextIndentType v) { SET_VAR(rareInheritedData, m_text IndentType, v); }
1135 void setTextAlign(ETextAlign v) { inherited_flags._text_align = v; } 1135 void setTextAlign(ETextAlign v) { inherited_flags._text_align = v; }
1136 void setTextAlignLast(TextAlignLast v) { SET_VAR(rareInheritedData, m_textAl ignLast, v); } 1136 void setTextAlignLast(TextAlignLast v) { SET_VAR(rareInheritedData, m_textAl ignLast, v); }
1137 void setTextJustify(TextJustify v) { SET_VAR(rareInheritedData, m_textJustif y, v); } 1137 void setTextJustify(TextJustify v) { SET_VAR(rareInheritedData, m_textJustif y, v); }
1138 void setTextTransform(ETextTransform v) { inherited_flags._text_transform = v; } 1138 void setTextTransform(ETextTransform v) { inherited_flags._text_transform = v; }
1139 void applyTextDecorations(); 1139 void applyTextDecorations(bool overrideExistingColors);
1140 void clearAppliedTextDecorations(); 1140 void clearAppliedTextDecorations();
1141 void setTextDecoration(TextDecoration v) { SET_VAR(visual, textDecoration, v ); } 1141 void setTextDecoration(TextDecoration v) { SET_VAR(visual, textDecoration, v ); }
1142 void setTextUnderlinePosition(TextUnderlinePosition v) { SET_VAR(rareInherit edData, m_textUnderlinePosition, v); } 1142 void setTextUnderlinePosition(TextUnderlinePosition v) { SET_VAR(rareInherit edData, m_hasSimpleUnderlinePosition, v); }
1143 void setTextDecorationStyle(TextDecorationStyle v) { SET_VAR(rareNonInherite dData, m_textDecorationStyle, v); } 1143 void setTextDecorationStyle(TextDecorationStyle v) { SET_VAR(rareNonInherite dData, m_textDecorationStyle, v); }
1144 void setDirection(TextDirection v) { inherited_flags._direction = v; } 1144 void setDirection(TextDirection v) { inherited_flags._direction = v; }
1145 void setSelfOrAncestorHasDirAutoAttribute(bool v) { SET_VAR(rareInheritedDat a, m_selfOrAncestorHasDirAutoAttribute, v); } 1145 void setSelfOrAncestorHasDirAutoAttribute(bool v) { SET_VAR(rareInheritedDat a, m_selfOrAncestorHasDirAutoAttribute, v); }
1146 void setLineHeight(const Length& specifiedLineHeight); 1146 void setLineHeight(const Length& specifiedLineHeight);
1147 bool setZoom(float); 1147 bool setZoom(float);
1148 bool setEffectiveZoom(float); 1148 bool setEffectiveZoom(float);
1149 void clearMultiCol(); 1149 void clearMultiCol();
1150 1150
1151 void setImageRendering(EImageRendering v) { SET_VAR(rareInheritedData, m_ima geRendering, v); } 1151 void setImageRendering(EImageRendering v) { SET_VAR(rareInheritedData, m_ima geRendering, v); }
1152 1152
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 void setTransformOriginY(const Length& v) { setTransformOrigin(TransformOrig in(transformOriginX(), v, transformOriginZ())); } 1374 void setTransformOriginY(const Length& v) { setTransformOrigin(TransformOrig in(transformOriginX(), v, transformOriginZ())); }
1375 void setTransformOriginZ(float f) { setTransformOrigin(TransformOrigin(trans formOriginX(), transformOriginY(), f)); } 1375 void setTransformOriginZ(float f) { setTransformOrigin(TransformOrigin(trans formOriginX(), transformOriginY(), f)); }
1376 void setTransformOrigin(const TransformOrigin& o) { SET_VAR(rareNonInherited Data.access()->m_transform, m_origin, o); } 1376 void setTransformOrigin(const TransformOrigin& o) { SET_VAR(rareNonInherited Data.access()->m_transform, m_origin, o); }
1377 void setTranslate(PassRefPtr<TranslateTransformOperation> v) { rareNonInheri tedData.access()->m_transform.access()->m_translate = v; } 1377 void setTranslate(PassRefPtr<TranslateTransformOperation> v) { rareNonInheri tedData.access()->m_transform.access()->m_translate = v; }
1378 void setRotate(PassRefPtr<RotateTransformOperation> v) { rareNonInheritedDat a.access()->m_transform.access()->m_rotate = v; } 1378 void setRotate(PassRefPtr<RotateTransformOperation> v) { rareNonInheritedDat a.access()->m_transform.access()->m_rotate = v; }
1379 void setScale(PassRefPtr<ScaleTransformOperation> v) { rareNonInheritedData. access()->m_transform.access()->m_scale = v; } 1379 void setScale(PassRefPtr<ScaleTransformOperation> v) { rareNonInheritedData. access()->m_transform.access()->m_scale = v; }
1380 1380
1381 void setSpeak(ESpeak s) { SET_VAR(rareInheritedData, speak, s); } 1381 void setSpeak(ESpeak s) { SET_VAR(rareInheritedData, speak, s); }
1382 void setTextCombine(TextCombine v) { SET_VAR(rareInheritedData, m_textCombin e, v); } 1382 void setTextCombine(TextCombine v) { SET_VAR(rareInheritedData, m_textCombin e, v); }
1383 void setTextDecorationColor(const StyleColor& c) { SET_VAR(rareNonInheritedD ata, m_textDecorationColor, c); } 1383 void setTextDecorationColor(const StyleColor& c) { SET_VAR(rareNonInheritedD ata, m_textDecorationColor, c); }
1384
1385 void setSimpleUnderlineColor(const Color& c) { SET_VAR(rareInheritedData, si mpleUnderlineColor, c); }
1386 void setSimpleUnderlineVisitedColor(const Color& c) { SET_VAR(rareInheritedD ata, simpleUnderlineVisitedColor, c); }
1384 void setTextEmphasisColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInh eritedData, textEmphasisColor, setTextEmphasisColor, c); } 1387 void setTextEmphasisColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInh eritedData, textEmphasisColor, setTextEmphasisColor, c); }
1385 void setTextEmphasisFill(TextEmphasisFill fill) { SET_VAR(rareInheritedData, textEmphasisFill, fill); } 1388 void setTextEmphasisFill(TextEmphasisFill fill) { SET_VAR(rareInheritedData, textEmphasisFill, fill); }
1386 void setTextEmphasisMark(TextEmphasisMark mark) { SET_VAR(rareInheritedData, textEmphasisMark, mark); } 1389 void setTextEmphasisMark(TextEmphasisMark mark) { SET_VAR(rareInheritedData, textEmphasisMark, mark); }
1387 void setTextEmphasisCustomMark(const AtomicString& mark) { SET_VAR(rareInher itedData, textEmphasisCustomMark, mark); } 1390 void setTextEmphasisCustomMark(const AtomicString& mark) { SET_VAR(rareInher itedData, textEmphasisCustomMark, mark); }
1388 void setTextEmphasisPosition(TextEmphasisPosition position) { SET_VAR(rareIn heritedData, textEmphasisPosition, position); } 1391 void setTextEmphasisPosition(TextEmphasisPosition position) { SET_VAR(rareIn heritedData, textEmphasisPosition, position); }
1389 bool setTextOrientation(TextOrientation); 1392 bool setTextOrientation(TextOrientation);
1390 1393
1394 Color visitedDependentSimpleUnderlineColor() const { return (insideLink() == InsideVisitedLink) ? rareInheritedData->simpleUnderlineVisitedColor : rareInher itedData->simpleUnderlineColor; }
1395
1391 void setMotionPath(PassRefPtr<StyleMotionPath>); 1396 void setMotionPath(PassRefPtr<StyleMotionPath>);
1392 void resetMotionPath(); 1397 void resetMotionPath();
1393 void setMotionOffset(const Length& motionOffset) { SET_VAR(rareNonInheritedD ata.access()->m_transform, m_motion.m_offset, motionOffset); } 1398 void setMotionOffset(const Length& motionOffset) { SET_VAR(rareNonInheritedD ata.access()->m_transform, m_motion.m_offset, motionOffset); }
1394 void setMotionRotation(float motionRotation) { SET_VAR(rareNonInheritedData. access()->m_transform, m_motion.m_rotation, motionRotation); } 1399 void setMotionRotation(float motionRotation) { SET_VAR(rareNonInheritedData. access()->m_transform, m_motion.m_rotation, motionRotation); }
1395 void setMotionRotationType(MotionRotationType motionRotationType) { SET_VAR( rareNonInheritedData.access()->m_transform, m_motion.m_rotationType, motionRotat ionType); } 1400 void setMotionRotationType(MotionRotationType motionRotationType) { SET_VAR( rareNonInheritedData.access()->m_transform, m_motion.m_rotationType, motionRotat ionType); }
1396 1401
1397 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit, f); } 1402 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit, f); }
1398 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData, m_objectPosition, position); } 1403 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData, m_objectPosition, position); }
1399 1404
1400 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r ubyPosition, position); } 1405 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r ubyPosition, position); }
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 1858
1854 StyleColor decorationColorIncludingFallback(bool visitedLink) const; 1859 StyleColor decorationColorIncludingFallback(bool visitedLink) const;
1855 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; 1860 Color colorIncludingFallback(int colorProperty, bool visitedLink) const;
1856 1861
1857 Color stopColor() const { return svgStyle().stopColor(); } 1862 Color stopColor() const { return svgStyle().stopColor(); }
1858 Color floodColor() const { return svgStyle().floodColor(); } 1863 Color floodColor() const { return svgStyle().floodColor(); }
1859 Color lightingColor() const { return svgStyle().lightingColor(); } 1864 Color lightingColor() const { return svgStyle().lightingColor(); }
1860 1865
1861 void appendContent(PassOwnPtrWillBeRawPtr<ContentData>); 1866 void appendContent(PassOwnPtrWillBeRawPtr<ContentData>);
1862 void addAppliedTextDecoration(const AppliedTextDecoration&); 1867 void addAppliedTextDecoration(const AppliedTextDecoration&);
1868 void updateAppliedTextDecoration(size_t index, Color newColor);
1863 void applyMotionPathTransform(float originX, float originY, TransformationMa trix&) const; 1869 void applyMotionPathTransform(float originX, float originY, TransformationMa trix&) const;
1864 1870
1865 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con st; 1871 bool diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& other) con st;
1866 bool diffNeedsFullLayout(const ComputedStyle& other) const; 1872 bool diffNeedsFullLayout(const ComputedStyle& other) const;
1867 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const; 1873 bool diffNeedsPaintInvalidationLayer(const ComputedStyle& other) const;
1868 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 1874 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
1869 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff erence&) const; 1875 void updatePropertySpecificDifferences(const ComputedStyle& other, StyleDiff erence&) const;
1870 1876
1871 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat h) const; 1877 bool requireTransformOrigin(ApplyTransformOrigin applyOrigin, ApplyMotionPat h) const;
1872 }; 1878 };
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1977 } 1983 }
1978 1984
1979 inline bool ComputedStyle::hasPseudoElementStyle() const 1985 inline bool ComputedStyle::hasPseudoElementStyle() const
1980 { 1986 {
1981 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1987 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1982 } 1988 }
1983 1989
1984 } // namespace blink 1990 } // namespace blink
1985 1991
1986 #endif // ComputedStyle_h 1992 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698