| 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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 break; | 588 break; |
| 589 case CSSPropertyClear: // none | left | right | both | inherit | 589 case CSSPropertyClear: // none | left | right | both | inherit |
| 590 if (valueID == CSSValueNone || valueID == CSSValueLeft || valueID == CSS
ValueRight || valueID == CSSValueBoth) | 590 if (valueID == CSSValueNone || valueID == CSSValueLeft || valueID == CSS
ValueRight || valueID == CSSValueBoth) |
| 591 return true; | 591 return true; |
| 592 break; | 592 break; |
| 593 case CSSPropertyDirection: // ltr | rtl | inherit | 593 case CSSPropertyDirection: // ltr | rtl | inherit |
| 594 if (valueID == CSSValueLtr || valueID == CSSValueRtl) | 594 if (valueID == CSSValueLtr || valueID == CSSValueRtl) |
| 595 return true; | 595 return true; |
| 596 break; | 596 break; |
| 597 case CSSPropertyDisplay: | 597 case CSSPropertyDisplay: |
| 598 // inline | block | list-item | run-in | inline-block | table | | 598 // inline | block | list-item | inline-block | table | |
| 599 // inline-table | table-row-group | table-header-group | table-footer-gr
oup | table-row | | 599 // inline-table | table-row-group | table-header-group | table-footer-gr
oup | table-row | |
| 600 // table-column-group | table-column | table-cell | table-caption | -web
kit-box | -webkit-inline-box | none | inherit | 600 // table-column-group | table-column | table-cell | table-caption | -web
kit-box | -webkit-inline-box | none | inherit |
| 601 // flex | inline-flex | -webkit-flex | -webkit-inline-flex | grid | inli
ne-grid | lazy-block | 601 // flex | inline-flex | -webkit-flex | -webkit-inline-flex | grid | inli
ne-grid | lazy-block |
| 602 if ((valueID >= CSSValueInline && valueID <= CSSValueInlineFlex) || valu
eID == CSSValueWebkitFlex || valueID == CSSValueWebkitInlineFlex || valueID == C
SSValueNone) | 602 if ((valueID >= CSSValueInline && valueID <= CSSValueInlineFlex) || valu
eID == CSSValueWebkitFlex || valueID == CSSValueWebkitInlineFlex || valueID == C
SSValueNone) |
| 603 return true; | 603 return true; |
| 604 if (valueID == CSSValueGrid || valueID == CSSValueInlineGrid) | 604 if (valueID == CSSValueGrid || valueID == CSSValueInlineGrid) |
| 605 return RuntimeEnabledFeatures::cssGridLayoutEnabled(); | 605 return RuntimeEnabledFeatures::cssGridLayoutEnabled(); |
| 606 break; | 606 break; |
| 607 | 607 |
| 608 case CSSPropertyEmptyCells: // show | hide | inherit | 608 case CSSPropertyEmptyCells: // show | hide | inherit |
| (...skipping 11418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12027 { | 12027 { |
| 12028 // The tokenizer checks for the construct of an+b. | 12028 // The tokenizer checks for the construct of an+b. |
| 12029 // However, since the {ident} rule precedes the {nth} rule, some of those | 12029 // However, since the {ident} rule precedes the {nth} rule, some of those |
| 12030 // tokens are identified as string literal. Furthermore we need to accept | 12030 // tokens are identified as string literal. Furthermore we need to accept |
| 12031 // "odd" and "even" which does not match to an+b. | 12031 // "odd" and "even" which does not match to an+b. |
| 12032 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") | 12032 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") |
| 12033 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); | 12033 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); |
| 12034 } | 12034 } |
| 12035 | 12035 |
| 12036 } | 12036 } |
| OLD | NEW |