| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 #include "core/css/CSSPrimitiveValueMappings.h" | 55 #include "core/css/CSSPrimitiveValueMappings.h" |
| 56 #include "core/css/CSSProperty.h" | 56 #include "core/css/CSSProperty.h" |
| 57 #include "core/css/CSSReflectValue.h" | 57 #include "core/css/CSSReflectValue.h" |
| 58 #include "core/css/CSSVariableValue.h" | 58 #include "core/css/CSSVariableValue.h" |
| 59 #include "core/css/Counter.h" | 59 #include "core/css/Counter.h" |
| 60 #include "core/css/FontValue.h" | 60 #include "core/css/FontValue.h" |
| 61 #include "core/css/Pair.h" | 61 #include "core/css/Pair.h" |
| 62 #include "core/css/Rect.h" | 62 #include "core/css/Rect.h" |
| 63 #include "core/css/ShadowValue.h" | 63 #include "core/css/ShadowValue.h" |
| 64 #include "core/css/StylePropertySet.h" | 64 #include "core/css/StylePropertySet.h" |
| 65 #include "core/css/StyleRule.h" |
| 65 #include "core/css/resolver/ElementStyleResources.h" | 66 #include "core/css/resolver/ElementStyleResources.h" |
| 66 #include "core/css/resolver/FilterOperationResolver.h" | 67 #include "core/css/resolver/FilterOperationResolver.h" |
| 67 #include "core/css/resolver/FontBuilder.h" | 68 #include "core/css/resolver/FontBuilder.h" |
| 68 #include "core/css/resolver/StyleBuilder.h" | 69 #include "core/css/resolver/StyleBuilder.h" |
| 69 #include "core/css/resolver/StyleResolverState.h" | 70 #include "core/css/resolver/StyleResolverState.h" |
| 70 #include "core/css/resolver/TransformBuilder.h" | 71 #include "core/css/resolver/TransformBuilder.h" |
| 71 #include "core/page/Frame.h" | 72 #include "core/page/Frame.h" |
| 72 #include "core/page/Settings.h" | 73 #include "core/page/Settings.h" |
| 73 #include "core/platform/graphics/FontDescription.h" | 74 #include "core/platform/graphics/FontDescription.h" |
| 74 #include "core/rendering/style/CounterContent.h" | 75 #include "core/rendering/style/CounterContent.h" |
| (...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 } | 1612 } |
| 1612 case CSSPropertyWebkitTapHighlightColor: { | 1613 case CSSPropertyWebkitTapHighlightColor: { |
| 1613 HANDLE_INHERIT_AND_INITIAL(tapHighlightColor, TapHighlightColor); | 1614 HANDLE_INHERIT_AND_INITIAL(tapHighlightColor, TapHighlightColor); |
| 1614 if (!primitiveValue) | 1615 if (!primitiveValue) |
| 1615 break; | 1616 break; |
| 1616 | 1617 |
| 1617 StyleColor col = state.document()->textLinkColors().colorFromPrimitiveVa
lue(primitiveValue); | 1618 StyleColor col = state.document()->textLinkColors().colorFromPrimitiveVa
lue(primitiveValue); |
| 1618 state.style()->setTapHighlightColor(col); | 1619 state.style()->setTapHighlightColor(col); |
| 1619 return; | 1620 return; |
| 1620 } | 1621 } |
| 1622 case CSSPropertyInternalCallback: { |
| 1623 if (isInherit || isInitial) |
| 1624 return; |
| 1625 if (primitiveValue && primitiveValue->getValueID() == CSSValueInternalPr
esence) { |
| 1626 state.style()->addCallbackSelector(state.currentRule()->selectorList
().selectorsText()); |
| 1627 return; |
| 1628 } |
| 1629 break; |
| 1630 } |
| 1621 case CSSPropertyInvalid: | 1631 case CSSPropertyInvalid: |
| 1622 return; | 1632 return; |
| 1623 // Directional properties are resolved by resolveDirectionAwareProperty() be
fore the switch. | 1633 // Directional properties are resolved by resolveDirectionAwareProperty() be
fore the switch. |
| 1624 case CSSPropertyWebkitBorderEndColor: | 1634 case CSSPropertyWebkitBorderEndColor: |
| 1625 case CSSPropertyWebkitBorderEndStyle: | 1635 case CSSPropertyWebkitBorderEndStyle: |
| 1626 case CSSPropertyWebkitBorderEndWidth: | 1636 case CSSPropertyWebkitBorderEndWidth: |
| 1627 case CSSPropertyWebkitBorderStartColor: | 1637 case CSSPropertyWebkitBorderStartColor: |
| 1628 case CSSPropertyWebkitBorderStartStyle: | 1638 case CSSPropertyWebkitBorderStartStyle: |
| 1629 case CSSPropertyWebkitBorderStartWidth: | 1639 case CSSPropertyWebkitBorderStartWidth: |
| 1630 case CSSPropertyWebkitBorderBeforeColor: | 1640 case CSSPropertyWebkitBorderBeforeColor: |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2380 break; | 2390 break; |
| 2381 } | 2391 } |
| 2382 case CSSPropertyEnableBackground: | 2392 case CSSPropertyEnableBackground: |
| 2383 // Silently ignoring this property for now | 2393 // Silently ignoring this property for now |
| 2384 // http://bugs.webkit.org/show_bug.cgi?id=6022 | 2394 // http://bugs.webkit.org/show_bug.cgi?id=6022 |
| 2385 break; | 2395 break; |
| 2386 } | 2396 } |
| 2387 } | 2397 } |
| 2388 | 2398 |
| 2389 } // namespace WebCore | 2399 } // namespace WebCore |
| OLD | NEW |