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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 1681273003: Add CSS parser support for break-after, break-before and break-inside. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update some text expectations, and move the new properties into ComputedStyle, since they aren't ra… Created 4 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
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 Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 CSSPropertyBorderRightStyle, 81 CSSPropertyBorderRightStyle,
82 CSSPropertyBorderRightWidth, 82 CSSPropertyBorderRightWidth,
83 CSSPropertyBorderTopColor, 83 CSSPropertyBorderTopColor,
84 CSSPropertyBorderTopLeftRadius, 84 CSSPropertyBorderTopLeftRadius,
85 CSSPropertyBorderTopRightRadius, 85 CSSPropertyBorderTopRightRadius,
86 CSSPropertyBorderTopStyle, 86 CSSPropertyBorderTopStyle,
87 CSSPropertyBorderTopWidth, 87 CSSPropertyBorderTopWidth,
88 CSSPropertyBottom, 88 CSSPropertyBottom,
89 CSSPropertyBoxShadow, 89 CSSPropertyBoxShadow,
90 CSSPropertyBoxSizing, 90 CSSPropertyBoxSizing,
91 CSSPropertyBreakAfter,
92 CSSPropertyBreakBefore,
93 CSSPropertyBreakInside,
91 CSSPropertyCaptionSide, 94 CSSPropertyCaptionSide,
92 CSSPropertyClear, 95 CSSPropertyClear,
93 CSSPropertyClip, 96 CSSPropertyClip,
94 CSSPropertyColor, 97 CSSPropertyColor,
95 CSSPropertyContent, 98 CSSPropertyContent,
96 CSSPropertyCursor, 99 CSSPropertyCursor,
97 CSSPropertyDirection, 100 CSSPropertyDirection,
98 CSSPropertyDisplay, 101 CSSPropertyDisplay,
99 CSSPropertyEmptyCells, 102 CSSPropertyEmptyCells,
100 CSSPropertyFloat, 103 CSSPropertyFloat,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 CSSPropertyOutlineOffset, 142 CSSPropertyOutlineOffset,
140 CSSPropertyOutlineStyle, 143 CSSPropertyOutlineStyle,
141 CSSPropertyOutlineWidth, 144 CSSPropertyOutlineWidth,
142 CSSPropertyOverflowWrap, 145 CSSPropertyOverflowWrap,
143 CSSPropertyOverflowX, 146 CSSPropertyOverflowX,
144 CSSPropertyOverflowY, 147 CSSPropertyOverflowY,
145 CSSPropertyPaddingBottom, 148 CSSPropertyPaddingBottom,
146 CSSPropertyPaddingLeft, 149 CSSPropertyPaddingLeft,
147 CSSPropertyPaddingRight, 150 CSSPropertyPaddingRight,
148 CSSPropertyPaddingTop, 151 CSSPropertyPaddingTop,
149 CSSPropertyPageBreakAfter,
150 CSSPropertyPageBreakBefore,
151 CSSPropertyPageBreakInside,
152 CSSPropertyPointerEvents, 152 CSSPropertyPointerEvents,
153 CSSPropertyPosition, 153 CSSPropertyPosition,
154 CSSPropertyResize, 154 CSSPropertyResize,
155 CSSPropertyRight, 155 CSSPropertyRight,
156 CSSPropertyScrollBehavior, 156 CSSPropertyScrollBehavior,
157 CSSPropertySpeak, 157 CSSPropertySpeak,
158 CSSPropertyTableLayout, 158 CSSPropertyTableLayout,
159 CSSPropertyTabSize, 159 CSSPropertyTabSize,
160 CSSPropertyTextAlign, 160 CSSPropertyTextAlign,
161 CSSPropertyTextAlignLast, 161 CSSPropertyTextAlignLast,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 CSSPropertyWebkitBoxDecorationBreak, 201 CSSPropertyWebkitBoxDecorationBreak,
202 CSSPropertyWebkitBoxDirection, 202 CSSPropertyWebkitBoxDirection,
203 CSSPropertyWebkitBoxFlex, 203 CSSPropertyWebkitBoxFlex,
204 CSSPropertyWebkitBoxFlexGroup, 204 CSSPropertyWebkitBoxFlexGroup,
205 CSSPropertyWebkitBoxLines, 205 CSSPropertyWebkitBoxLines,
206 CSSPropertyWebkitBoxOrdinalGroup, 206 CSSPropertyWebkitBoxOrdinalGroup,
207 CSSPropertyWebkitBoxOrient, 207 CSSPropertyWebkitBoxOrient,
208 CSSPropertyWebkitBoxPack, 208 CSSPropertyWebkitBoxPack,
209 CSSPropertyWebkitBoxReflect, 209 CSSPropertyWebkitBoxReflect,
210 CSSPropertyWebkitClipPath, 210 CSSPropertyWebkitClipPath,
211 CSSPropertyWebkitColumnBreakAfter,
212 CSSPropertyWebkitColumnBreakBefore,
213 CSSPropertyWebkitColumnBreakInside,
214 CSSPropertyWebkitColumnCount, 211 CSSPropertyWebkitColumnCount,
215 CSSPropertyWebkitColumnGap, 212 CSSPropertyWebkitColumnGap,
216 CSSPropertyWebkitColumnRuleColor, 213 CSSPropertyWebkitColumnRuleColor,
217 CSSPropertyWebkitColumnRuleStyle, 214 CSSPropertyWebkitColumnRuleStyle,
218 CSSPropertyWebkitColumnRuleWidth, 215 CSSPropertyWebkitColumnRuleWidth,
219 CSSPropertyWebkitColumnSpan, 216 CSSPropertyWebkitColumnSpan,
220 CSSPropertyWebkitColumnWidth, 217 CSSPropertyWebkitColumnWidth,
221 CSSPropertyWebkitFilter, 218 CSSPropertyWebkitFilter,
222 CSSPropertyBackdropFilter, 219 CSSPropertyBackdropFilter,
223 CSSPropertyAlignContent, 220 CSSPropertyAlignContent,
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only."); 703 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only.");
707 } 704 }
708 705
709 DEFINE_TRACE(CSSComputedStyleDeclaration) 706 DEFINE_TRACE(CSSComputedStyleDeclaration)
710 { 707 {
711 visitor->trace(m_node); 708 visitor->trace(m_node);
712 CSSStyleDeclaration::trace(visitor); 709 CSSStyleDeclaration::trace(visitor);
713 } 710 }
714 711
715 } // namespace blink 712 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698