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 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 case CSSPropertyWebkitMaxLogicalHeight: | 824 case CSSPropertyWebkitMaxLogicalHeight: |
825 validPrimitive = (id == CSSValueNone || validWidthOrHeight(value, unitle
ss)); | 825 validPrimitive = (id == CSSValueNone || validWidthOrHeight(value, unitle
ss)); |
826 break; | 826 break; |
827 | 827 |
828 case CSSPropertyMinWidth: | 828 case CSSPropertyMinWidth: |
829 case CSSPropertyMinHeight: | 829 case CSSPropertyMinHeight: |
830 unitless = FUnitlessQuirk; | 830 unitless = FUnitlessQuirk; |
831 // fall through | 831 // fall through |
832 case CSSPropertyWebkitMinLogicalWidth: | 832 case CSSPropertyWebkitMinLogicalWidth: |
833 case CSSPropertyWebkitMinLogicalHeight: | 833 case CSSPropertyWebkitMinLogicalHeight: |
834 validPrimitive = validWidthOrHeight(value, unitless); | 834 validPrimitive = id == CSSValueAuto || validWidthOrHeight(value, unitles
s); |
835 break; | 835 break; |
836 | 836 |
837 case CSSPropertyWidth: | 837 case CSSPropertyWidth: |
838 case CSSPropertyHeight: | 838 case CSSPropertyHeight: |
839 unitless = FUnitlessQuirk; | 839 unitless = FUnitlessQuirk; |
840 // fall through | 840 // fall through |
841 case CSSPropertyWebkitLogicalWidth: | 841 case CSSPropertyWebkitLogicalWidth: |
842 case CSSPropertyWebkitLogicalHeight: | 842 case CSSPropertyWebkitLogicalHeight: |
843 validPrimitive = (id == CSSValueAuto || validWidthOrHeight(value, unitle
ss)); | 843 validPrimitive = (id == CSSValueAuto || validWidthOrHeight(value, unitle
ss)); |
844 break; | 844 break; |
(...skipping 7640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8485 } | 8485 } |
8486 } | 8486 } |
8487 | 8487 |
8488 if (!list->length()) | 8488 if (!list->length()) |
8489 return nullptr; | 8489 return nullptr; |
8490 | 8490 |
8491 return list.release(); | 8491 return list.release(); |
8492 } | 8492 } |
8493 | 8493 |
8494 } // namespace blink | 8494 } // namespace blink |
OLD | NEW |