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

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: rebase master 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 CSSPropertySnapHeight, 157 CSSPropertySnapHeight,
158 CSSPropertySpeak, 158 CSSPropertySpeak,
159 CSSPropertyTableLayout, 159 CSSPropertyTableLayout,
160 CSSPropertyTabSize, 160 CSSPropertyTabSize,
161 CSSPropertyTextAlign, 161 CSSPropertyTextAlign,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 CSSPropertyWebkitBoxDecorationBreak, 202 CSSPropertyWebkitBoxDecorationBreak,
203 CSSPropertyWebkitBoxDirection, 203 CSSPropertyWebkitBoxDirection,
204 CSSPropertyWebkitBoxFlex, 204 CSSPropertyWebkitBoxFlex,
205 CSSPropertyWebkitBoxFlexGroup, 205 CSSPropertyWebkitBoxFlexGroup,
206 CSSPropertyWebkitBoxLines, 206 CSSPropertyWebkitBoxLines,
207 CSSPropertyWebkitBoxOrdinalGroup, 207 CSSPropertyWebkitBoxOrdinalGroup,
208 CSSPropertyWebkitBoxOrient, 208 CSSPropertyWebkitBoxOrient,
209 CSSPropertyWebkitBoxPack, 209 CSSPropertyWebkitBoxPack,
210 CSSPropertyWebkitBoxReflect, 210 CSSPropertyWebkitBoxReflect,
211 CSSPropertyWebkitClipPath, 211 CSSPropertyWebkitClipPath,
212 CSSPropertyWebkitColumnBreakAfter,
213 CSSPropertyWebkitColumnBreakBefore,
214 CSSPropertyWebkitColumnBreakInside,
215 CSSPropertyWebkitColumnCount, 212 CSSPropertyWebkitColumnCount,
216 CSSPropertyWebkitColumnGap, 213 CSSPropertyWebkitColumnGap,
217 CSSPropertyWebkitColumnRuleColor, 214 CSSPropertyWebkitColumnRuleColor,
218 CSSPropertyWebkitColumnRuleStyle, 215 CSSPropertyWebkitColumnRuleStyle,
219 CSSPropertyWebkitColumnRuleWidth, 216 CSSPropertyWebkitColumnRuleWidth,
220 CSSPropertyWebkitColumnSpan, 217 CSSPropertyWebkitColumnSpan,
221 CSSPropertyWebkitColumnWidth, 218 CSSPropertyWebkitColumnWidth,
222 CSSPropertyWebkitFilter, 219 CSSPropertyWebkitFilter,
223 CSSPropertyBackdropFilter, 220 CSSPropertyBackdropFilter,
224 CSSPropertyAlignContent, 221 CSSPropertyAlignContent,
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only."); 704 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only.");
708 } 705 }
709 706
710 DEFINE_TRACE(CSSComputedStyleDeclaration) 707 DEFINE_TRACE(CSSComputedStyleDeclaration)
711 { 708 {
712 visitor->trace(m_node); 709 visitor->trace(m_node);
713 CSSStyleDeclaration::trace(visitor); 710 CSSStyleDeclaration::trace(visitor);
714 } 711 }
715 712
716 } // namespace blink 713 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698