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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 case CSSPropertyWebkitMinLogicalWidth: | 277 case CSSPropertyWebkitMinLogicalWidth: |
278 case CSSPropertyWebkitMinLogicalHeight: | 278 case CSSPropertyWebkitMinLogicalHeight: |
279 case CSSPropertyWebkitPaddingAfter: | 279 case CSSPropertyWebkitPaddingAfter: |
280 case CSSPropertyWebkitPaddingBefore: | 280 case CSSPropertyWebkitPaddingBefore: |
281 case CSSPropertyWebkitPaddingEnd: | 281 case CSSPropertyWebkitPaddingEnd: |
282 case CSSPropertyWebkitPaddingStart: | 282 case CSSPropertyWebkitPaddingStart: |
283 acceptsNegativeNumbers = false; | 283 acceptsNegativeNumbers = false; |
284 return true; | 284 return true; |
285 case CSSPropertyShapeMargin: | 285 case CSSPropertyShapeMargin: |
286 acceptsNegativeNumbers = false; | 286 acceptsNegativeNumbers = false; |
287 return RuntimeEnabledFeatures::cssShapesEnabled(); | 287 return true; |
288 case CSSPropertyBottom: | 288 case CSSPropertyBottom: |
289 case CSSPropertyLeft: | 289 case CSSPropertyLeft: |
290 case CSSPropertyMarginBottom: | 290 case CSSPropertyMarginBottom: |
291 case CSSPropertyMarginLeft: | 291 case CSSPropertyMarginLeft: |
292 case CSSPropertyMarginRight: | 292 case CSSPropertyMarginRight: |
293 case CSSPropertyMarginTop: | 293 case CSSPropertyMarginTop: |
294 case CSSPropertyRight: | 294 case CSSPropertyRight: |
295 case CSSPropertyTop: | 295 case CSSPropertyTop: |
296 case CSSPropertyWebkitMarginAfter: | 296 case CSSPropertyWebkitMarginAfter: |
297 case CSSPropertyWebkitMarginBefore: | 297 case CSSPropertyWebkitMarginBefore: |
(...skipping 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2102 rule->setProperties(createStylePropertySet()); | 2102 rule->setProperties(createStylePropertySet()); |
2103 clearProperties(); | 2103 clearProperties(); |
2104 | 2104 |
2105 StyleRuleViewport* result = rule.get(); | 2105 StyleRuleViewport* result = rule.get(); |
2106 m_parsedRules.append(rule.release()); | 2106 m_parsedRules.append(rule.release()); |
2107 | 2107 |
2108 return result; | 2108 return result; |
2109 } | 2109 } |
2110 | 2110 |
2111 } | 2111 } |
OLD | NEW |