| 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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 case CSSPropertyWebkitMarginStart: | 695 case CSSPropertyWebkitMarginStart: |
| 696 case CSSPropertyWebkitMarginEnd: | 696 case CSSPropertyWebkitMarginEnd: |
| 697 case CSSPropertyWebkitMarginBefore: | 697 case CSSPropertyWebkitMarginBefore: |
| 698 case CSSPropertyWebkitMarginAfter: | 698 case CSSPropertyWebkitMarginAfter: |
| 699 if (id == CSSValueAuto) | 699 if (id == CSSValueAuto) |
| 700 validPrimitive = true; | 700 validPrimitive = true; |
| 701 else | 701 else |
| 702 validPrimitive = (!id && validUnit(value, FLength | FPercent)); | 702 validPrimitive = (!id && validUnit(value, FLength | FPercent)); |
| 703 break; | 703 break; |
| 704 | 704 |
| 705 case CSSPropertyWidows: // <integer> | inherit | auto (Ditto) | |
| 706 if (id == CSSValueAuto) | |
| 707 validPrimitive = true; | |
| 708 else | |
| 709 validPrimitive = (!id && validUnit(value, FPositiveInteger)); | |
| 710 break; | |
| 711 | |
| 712 case CSSPropertyZIndex: // auto | <integer> | inherit | 705 case CSSPropertyZIndex: // auto | <integer> | inherit |
| 713 if (id == CSSValueAuto) | 706 if (id == CSSValueAuto) |
| 714 validPrimitive = true; | 707 validPrimitive = true; |
| 715 else | 708 else |
| 716 validPrimitive = (!id && validUnit(value, FInteger)); | 709 validPrimitive = (!id && validUnit(value, FInteger)); |
| 717 break; | 710 break; |
| 718 | 711 |
| 719 case CSSPropertyLineHeight: | 712 case CSSPropertyLineHeight: |
| 720 return parseLineHeight(); | 713 return parseLineHeight(); |
| 721 case CSSPropertyFontFamily: | 714 case CSSPropertyFontFamily: |
| (...skipping 5233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5955 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); | 5948 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); |
| 5956 } | 5949 } |
| 5957 | 5950 |
| 5958 bool CSSPropertyParser::isSystemColor(int id) | 5951 bool CSSPropertyParser::isSystemColor(int id) |
| 5959 { | 5952 { |
| 5960 // FIXME(sky): remove | 5953 // FIXME(sky): remove |
| 5961 return false; | 5954 return false; |
| 5962 } | 5955 } |
| 5963 | 5956 |
| 5964 } // namespace blink | 5957 } // namespace blink |
| OLD | NEW |