| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 } | 241 } |
| 242 if (!b && (unitflags & FInteger) && value->isInt) | 242 if (!b && (unitflags & FInteger) && value->isInt) |
| 243 b = true; | 243 b = true; |
| 244 if (!b && (unitflags & FPositiveInteger) && value->isInt && value->fValu
e > 0) | 244 if (!b && (unitflags & FPositiveInteger) && value->isInt && value->fValu
e > 0) |
| 245 b = true; | 245 b = true; |
| 246 break; | 246 break; |
| 247 case CSSPrimitiveValue::CSS_PERCENTAGE: | 247 case CSSPrimitiveValue::CSS_PERCENTAGE: |
| 248 b = (unitflags & FPercent); | 248 b = (unitflags & FPercent); |
| 249 break; | 249 break; |
| 250 case CSSPrimitiveValue::CSS_EMS: | 250 case CSSPrimitiveValue::CSS_EMS: |
| 251 case CSSPrimitiveValue::CSS_REMS: | |
| 252 case CSSPrimitiveValue::CSS_CHS: | 251 case CSSPrimitiveValue::CSS_CHS: |
| 253 case CSSPrimitiveValue::CSS_EXS: | 252 case CSSPrimitiveValue::CSS_EXS: |
| 254 case CSSPrimitiveValue::CSS_PX: | 253 case CSSPrimitiveValue::CSS_PX: |
| 255 case CSSPrimitiveValue::CSS_CM: | 254 case CSSPrimitiveValue::CSS_CM: |
| 256 case CSSPrimitiveValue::CSS_MM: | 255 case CSSPrimitiveValue::CSS_MM: |
| 257 case CSSPrimitiveValue::CSS_IN: | 256 case CSSPrimitiveValue::CSS_IN: |
| 258 case CSSPrimitiveValue::CSS_PT: | 257 case CSSPrimitiveValue::CSS_PT: |
| 259 case CSSPrimitiveValue::CSS_PC: | 258 case CSSPrimitiveValue::CSS_PC: |
| 260 case CSSPrimitiveValue::CSS_VW: | 259 case CSSPrimitiveValue::CSS_VW: |
| 261 case CSSPrimitiveValue::CSS_VH: | 260 case CSSPrimitiveValue::CSS_VH: |
| (...skipping 5882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6144 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); | 6143 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); |
| 6145 } | 6144 } |
| 6146 | 6145 |
| 6147 bool CSSPropertyParser::isSystemColor(int id) | 6146 bool CSSPropertyParser::isSystemColor(int id) |
| 6148 { | 6147 { |
| 6149 // FIXME(sky): remove | 6148 // FIXME(sky): remove |
| 6150 return false; | 6149 return false; |
| 6151 } | 6150 } |
| 6152 | 6151 |
| 6153 } // namespace blink | 6152 } // namespace blink |
| OLD | NEW |