| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 // table-column-group | table-column | table-cell | table-caption | -web
kit-box | -webkit-inline-box | none | 393 // table-column-group | table-column | table-cell | table-caption | -web
kit-box | -webkit-inline-box | none |
| 394 // flex | inline-flex | -webkit-flex | -webkit-inline-flex | grid | inli
ne-grid | lazy-block | 394 // flex | inline-flex | -webkit-flex | -webkit-inline-flex | grid | inli
ne-grid | lazy-block |
| 395 return (valueID >= CSSValueInline && valueID <= CSSValueInlineFlex) || v
alueID == CSSValueWebkitFlex || valueID == CSSValueWebkitInlineFlex || valueID =
= CSSValueNone | 395 return (valueID >= CSSValueInline && valueID <= CSSValueInlineFlex) || v
alueID == CSSValueWebkitFlex || valueID == CSSValueWebkitInlineFlex || valueID =
= CSSValueNone |
| 396 || (RuntimeEnabledFeatures::cssGridLayoutEnabled() && (valueID == CS
SValueGrid || valueID == CSSValueInlineGrid)); | 396 || (RuntimeEnabledFeatures::cssGridLayoutEnabled() && (valueID == CS
SValueGrid || valueID == CSSValueInlineGrid)); |
| 397 case CSSPropertyEmptyCells: // show | hide | 397 case CSSPropertyEmptyCells: // show | hide |
| 398 return valueID == CSSValueShow || valueID == CSSValueHide; | 398 return valueID == CSSValueShow || valueID == CSSValueHide; |
| 399 case CSSPropertyFloat: // left | right | none | center (for buggy CSS, maps
to none) | 399 case CSSPropertyFloat: // left | right | none | center (for buggy CSS, maps
to none) |
| 400 return valueID == CSSValueLeft || valueID == CSSValueRight || valueID ==
CSSValueNone || valueID == CSSValueCenter; | 400 return valueID == CSSValueLeft || valueID == CSSValueRight || valueID ==
CSSValueNone || valueID == CSSValueCenter; |
| 401 case CSSPropertyFontStyle: // normal | italic | oblique | 401 case CSSPropertyFontStyle: // normal | italic | oblique |
| 402 return valueID == CSSValueNormal || valueID == CSSValueItalic || valueID
== CSSValueOblique; | 402 return valueID == CSSValueNormal || valueID == CSSValueItalic || valueID
== CSSValueOblique; |
| 403 case CSSPropertyImageRendering: // auto | optimizeContrast | 403 case CSSPropertyImageRendering: // auto | optimizeContrast | pixelated |
| 404 return valueID == CSSValueAuto || valueID == CSSValueWebkitOptimizeContr
ast; | 404 return valueID == CSSValueAuto || valueID == CSSValueWebkitOptimizeContr
ast || (RuntimeEnabledFeatures::imageRenderingPixelatedEnabled() && valueID == C
SSValuePixelated); |
| 405 case CSSPropertyIsolation: // auto | isolate | 405 case CSSPropertyIsolation: // auto | isolate |
| 406 return RuntimeEnabledFeatures::cssCompositingEnabled() | 406 return RuntimeEnabledFeatures::cssCompositingEnabled() |
| 407 && (valueID == CSSValueAuto || valueID == CSSValueIsolate); | 407 && (valueID == CSSValueAuto || valueID == CSSValueIsolate); |
| 408 case CSSPropertyListStylePosition: // inside | outside | 408 case CSSPropertyListStylePosition: // inside | outside |
| 409 return valueID == CSSValueInside || valueID == CSSValueOutside; | 409 return valueID == CSSValueInside || valueID == CSSValueOutside; |
| 410 case CSSPropertyListStyleType: | 410 case CSSPropertyListStyleType: |
| 411 // See section CSS_PROP_LIST_STYLE_TYPE of file CSSValueKeywords.in | 411 // See section CSS_PROP_LIST_STYLE_TYPE of file CSSValueKeywords.in |
| 412 // for the list of supported list-style-types. | 412 // for the list of supported list-style-types. |
| 413 return (valueID >= CSSValueDisc && valueID <= CSSValueKatakanaIroha) ||
valueID == CSSValueNone; | 413 return (valueID >= CSSValueDisc && valueID <= CSSValueKatakanaIroha) ||
valueID == CSSValueNone; |
| 414 case CSSPropertyObjectFit: | 414 case CSSPropertyObjectFit: |
| (...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2111 rule->setProperties(createStylePropertySet()); | 2111 rule->setProperties(createStylePropertySet()); |
| 2112 clearProperties(); | 2112 clearProperties(); |
| 2113 | 2113 |
| 2114 StyleRuleViewport* result = rule.get(); | 2114 StyleRuleViewport* result = rule.get(); |
| 2115 m_parsedRules.append(rule.release()); | 2115 m_parsedRules.append(rule.release()); |
| 2116 | 2116 |
| 2117 return result; | 2117 return result; |
| 2118 } | 2118 } |
| 2119 | 2119 |
| 2120 } | 2120 } |
| OLD | NEW |