| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights reserved. |
| 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
| 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "core/css/CSSPrimitiveValueMappings.h" | 54 #include "core/css/CSSPrimitiveValueMappings.h" |
| 55 #include "core/css/CSSProperty.h" | 55 #include "core/css/CSSProperty.h" |
| 56 #include "core/css/CSSReflectValue.h" | 56 #include "core/css/CSSReflectValue.h" |
| 57 #include "core/css/CSSVariableValue.h" | 57 #include "core/css/CSSVariableValue.h" |
| 58 #include "core/css/Counter.h" | 58 #include "core/css/Counter.h" |
| 59 #include "core/css/FontValue.h" | 59 #include "core/css/FontValue.h" |
| 60 #include "core/css/Pair.h" | 60 #include "core/css/Pair.h" |
| 61 #include "core/css/Rect.h" | 61 #include "core/css/Rect.h" |
| 62 #include "core/css/ShadowValue.h" | 62 #include "core/css/ShadowValue.h" |
| 63 #include "core/css/StylePropertySet.h" | 63 #include "core/css/StylePropertySet.h" |
| 64 #include "core/css/StyleRule.h" |
| 64 #include "core/css/resolver/ElementStyleResources.h" | 65 #include "core/css/resolver/ElementStyleResources.h" |
| 65 #include "core/css/resolver/FilterOperationResolver.h" | 66 #include "core/css/resolver/FilterOperationResolver.h" |
| 66 #include "core/css/resolver/FontBuilder.h" | 67 #include "core/css/resolver/FontBuilder.h" |
| 67 #include "core/css/resolver/StyleBuilder.h" | 68 #include "core/css/resolver/StyleBuilder.h" |
| 68 #include "core/css/resolver/StyleResolverState.h" | 69 #include "core/css/resolver/StyleResolverState.h" |
| 69 #include "core/css/resolver/TransformBuilder.h" | 70 #include "core/css/resolver/TransformBuilder.h" |
| 70 #include "core/page/Frame.h" | 71 #include "core/page/Frame.h" |
| 71 #include "core/page/Settings.h" | 72 #include "core/page/Settings.h" |
| 72 #include "core/platform/graphics/FontDescription.h" | 73 #include "core/platform/graphics/FontDescription.h" |
| 73 #include "core/rendering/style/CounterContent.h" | 74 #include "core/rendering/style/CounterContent.h" |
| (...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1583 } | 1584 } |
| 1584 case CSSPropertyWebkitTapHighlightColor: { | 1585 case CSSPropertyWebkitTapHighlightColor: { |
| 1585 HANDLE_INHERIT_AND_INITIAL(tapHighlightColor, TapHighlightColor); | 1586 HANDLE_INHERIT_AND_INITIAL(tapHighlightColor, TapHighlightColor); |
| 1586 if (!primitiveValue) | 1587 if (!primitiveValue) |
| 1587 break; | 1588 break; |
| 1588 | 1589 |
| 1589 StyleColor col = state.document()->textLinkColors().colorFromPrimitiveVa
lue(primitiveValue); | 1590 StyleColor col = state.document()->textLinkColors().colorFromPrimitiveVa
lue(primitiveValue); |
| 1590 state.style()->setTapHighlightColor(col); | 1591 state.style()->setTapHighlightColor(col); |
| 1591 return; | 1592 return; |
| 1592 } | 1593 } |
| 1594 case CSSPropertyInternalCallback: { |
| 1595 if (isInherit || isInitial) |
| 1596 return; |
| 1597 if (primitiveValue && primitiveValue->getValueID() == CSSValueInternalPr
esence) { |
| 1598 state.style()->addCallbackSelector(state.currentRule()->selectorList
().selectorsText()); |
| 1599 return; |
| 1600 } |
| 1601 break; |
| 1602 } |
| 1593 case CSSPropertyInvalid: | 1603 case CSSPropertyInvalid: |
| 1594 return; | 1604 return; |
| 1595 // Directional properties are resolved by resolveDirectionAwareProperty() be
fore the switch. | 1605 // Directional properties are resolved by resolveDirectionAwareProperty() be
fore the switch. |
| 1596 case CSSPropertyWebkitBorderEndColor: | 1606 case CSSPropertyWebkitBorderEndColor: |
| 1597 case CSSPropertyWebkitBorderEndStyle: | 1607 case CSSPropertyWebkitBorderEndStyle: |
| 1598 case CSSPropertyWebkitBorderEndWidth: | 1608 case CSSPropertyWebkitBorderEndWidth: |
| 1599 case CSSPropertyWebkitBorderStartColor: | 1609 case CSSPropertyWebkitBorderStartColor: |
| 1600 case CSSPropertyWebkitBorderStartStyle: | 1610 case CSSPropertyWebkitBorderStartStyle: |
| 1601 case CSSPropertyWebkitBorderStartWidth: | 1611 case CSSPropertyWebkitBorderStartWidth: |
| 1602 case CSSPropertyWebkitBorderBeforeColor: | 1612 case CSSPropertyWebkitBorderBeforeColor: |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2329 break; | 2339 break; |
| 2330 } | 2340 } |
| 2331 case CSSPropertyEnableBackground: | 2341 case CSSPropertyEnableBackground: |
| 2332 // Silently ignoring this property for now | 2342 // Silently ignoring this property for now |
| 2333 // http://bugs.webkit.org/show_bug.cgi?id=6022 | 2343 // http://bugs.webkit.org/show_bug.cgi?id=6022 |
| 2334 break; | 2344 break; |
| 2335 } | 2345 } |
| 2336 } | 2346 } |
| 2337 | 2347 |
| 2338 } // namespace WebCore | 2348 } // namespace WebCore |
| OLD | NEW |