OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r
ights reserved. |
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 return m_state.rootElementStyle(); | 51 return m_state.rootElementStyle(); |
52 } | 52 } |
53 | 53 |
54 bool CSSToStyleMap::useSVGZoomRules() const | 54 bool CSSToStyleMap::useSVGZoomRules() const |
55 { | 55 { |
56 return m_state.useSVGZoomRules(); | 56 return m_state.useSVGZoomRules(); |
57 } | 57 } |
58 | 58 |
59 PassRefPtr<StyleImage> CSSToStyleMap::styleImage(CSSPropertyID propertyId, CSSVa
lue* value) | 59 PassRefPtr<StyleImage> CSSToStyleMap::styleImage(CSSPropertyID propertyId, CSSVa
lue* value) |
60 { | 60 { |
61 return m_elementStyleResources.styleImage(m_state.document()->textLinkColors
(), propertyId, value); | 61 return m_elementStyleResources.styleImage(m_state.document().textLinkColors(
), propertyId, value); |
62 } | 62 } |
63 | 63 |
64 void CSSToStyleMap::mapFillAttachment(CSSPropertyID, FillLayer* layer, CSSValue*
value) const | 64 void CSSToStyleMap::mapFillAttachment(CSSPropertyID, FillLayer* layer, CSSValue*
value) const |
65 { | 65 { |
66 if (value->isInitialValue()) { | 66 if (value->isInitialValue()) { |
67 layer->setAttachment(FillLayer::initialFillAttachment(layer->type())); | 67 layer->setAttachment(FillLayer::initialFillAttachment(layer->type())); |
68 return; | 68 return; |
69 } | 69 } |
70 | 70 |
71 if (!value->isPrimitiveValue()) | 71 if (!value->isPrimitiveValue()) |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 verticalRule = SpaceImageRule; | 682 verticalRule = SpaceImageRule; |
683 break; | 683 break; |
684 default: // CSSValueRepeat | 684 default: // CSSValueRepeat |
685 verticalRule = RepeatImageRule; | 685 verticalRule = RepeatImageRule; |
686 break; | 686 break; |
687 } | 687 } |
688 image.setVerticalRule(verticalRule); | 688 image.setVerticalRule(verticalRule); |
689 } | 689 } |
690 | 690 |
691 }; | 691 }; |
OLD | NEW |