OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 9 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
10 * | 10 * |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 case CSSPropertyWebkitLogicalHeight: | 279 case CSSPropertyWebkitLogicalHeight: |
280 case CSSPropertyWebkitMinLogicalWidth: | 280 case CSSPropertyWebkitMinLogicalWidth: |
281 case CSSPropertyWebkitMinLogicalHeight: | 281 case CSSPropertyWebkitMinLogicalHeight: |
282 case CSSPropertyWebkitPaddingAfter: | 282 case CSSPropertyWebkitPaddingAfter: |
283 case CSSPropertyWebkitPaddingBefore: | 283 case CSSPropertyWebkitPaddingBefore: |
284 case CSSPropertyWebkitPaddingEnd: | 284 case CSSPropertyWebkitPaddingEnd: |
285 case CSSPropertyWebkitPaddingStart: | 285 case CSSPropertyWebkitPaddingStart: |
286 acceptsNegativeNumbers = false; | 286 acceptsNegativeNumbers = false; |
287 return true; | 287 return true; |
288 case CSSPropertyShapeMargin: | 288 case CSSPropertyShapeMargin: |
289 case CSSPropertyShapePadding: | |
290 acceptsNegativeNumbers = false; | 289 acceptsNegativeNumbers = false; |
291 return RuntimeEnabledFeatures::cssShapesEnabled(); | 290 return RuntimeEnabledFeatures::cssShapesEnabled(); |
292 case CSSPropertyBottom: | 291 case CSSPropertyBottom: |
293 case CSSPropertyLeft: | 292 case CSSPropertyLeft: |
294 case CSSPropertyMarginBottom: | 293 case CSSPropertyMarginBottom: |
295 case CSSPropertyMarginLeft: | 294 case CSSPropertyMarginLeft: |
296 case CSSPropertyMarginRight: | 295 case CSSPropertyMarginRight: |
297 case CSSPropertyMarginTop: | 296 case CSSPropertyMarginTop: |
298 case CSSPropertyRight: | 297 case CSSPropertyRight: |
299 case CSSPropertyTop: | 298 case CSSPropertyTop: |
(...skipping 1885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2185 rule->setProperties(createStylePropertySet()); | 2184 rule->setProperties(createStylePropertySet()); |
2186 clearProperties(); | 2185 clearProperties(); |
2187 | 2186 |
2188 StyleRuleViewport* result = rule.get(); | 2187 StyleRuleViewport* result = rule.get(); |
2189 m_parsedRules.append(rule.release()); | 2188 m_parsedRules.append(rule.release()); |
2190 | 2189 |
2191 return result; | 2190 return result; |
2192 } | 2191 } |
2193 | 2192 |
2194 } | 2193 } |
OLD | NEW |