| 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 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 case CSSPropertyWebkitMarginStart: | 769 case CSSPropertyWebkitMarginStart: |
| 770 case CSSPropertyWebkitMarginEnd: | 770 case CSSPropertyWebkitMarginEnd: |
| 771 case CSSPropertyWebkitMarginBefore: | 771 case CSSPropertyWebkitMarginBefore: |
| 772 case CSSPropertyWebkitMarginAfter: | 772 case CSSPropertyWebkitMarginAfter: |
| 773 if (id == CSSValueAuto) | 773 if (id == CSSValueAuto) |
| 774 validPrimitive = true; | 774 validPrimitive = true; |
| 775 else | 775 else |
| 776 validPrimitive = (!id && validUnit(value, FLength | FPercent)); | 776 validPrimitive = (!id && validUnit(value, FLength | FPercent)); |
| 777 break; | 777 break; |
| 778 | 778 |
| 779 case CSSPropertyOrphans: // <integer> | inherit | auto (We've added support
for auto for backwards compatibility) | |
| 780 case CSSPropertyWidows: // <integer> | inherit | auto (Ditto) | 779 case CSSPropertyWidows: // <integer> | inherit | auto (Ditto) |
| 781 if (id == CSSValueAuto) | 780 if (id == CSSValueAuto) |
| 782 validPrimitive = true; | 781 validPrimitive = true; |
| 783 else | 782 else |
| 784 validPrimitive = (!id && validUnit(value, FPositiveInteger)); | 783 validPrimitive = (!id && validUnit(value, FPositiveInteger)); |
| 785 break; | 784 break; |
| 786 | 785 |
| 787 case CSSPropertyZIndex: // auto | <integer> | inherit | 786 case CSSPropertyZIndex: // auto | <integer> | inherit |
| 788 if (id == CSSValueAuto) | 787 if (id == CSSValueAuto) |
| 789 validPrimitive = true; | 788 validPrimitive = true; |
| (...skipping 5242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6032 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); | 6031 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); |
| 6033 } | 6032 } |
| 6034 | 6033 |
| 6035 bool CSSPropertyParser::isSystemColor(int id) | 6034 bool CSSPropertyParser::isSystemColor(int id) |
| 6036 { | 6035 { |
| 6037 // FIXME(sky): remove | 6036 // FIXME(sky): remove |
| 6038 return false; | 6037 return false; |
| 6039 } | 6038 } |
| 6040 | 6039 |
| 6041 } // namespace blink | 6040 } // namespace blink |
| OLD | NEW |