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, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights 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 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2136 inline bool isValidVisitedLinkProperty(CSSPropertyID id) | 2136 inline bool isValidVisitedLinkProperty(CSSPropertyID id) |
2137 { | 2137 { |
2138 switch (id) { | 2138 switch (id) { |
2139 case CSSPropertyBackgroundColor: | 2139 case CSSPropertyBackgroundColor: |
2140 case CSSPropertyBorderLeftColor: | 2140 case CSSPropertyBorderLeftColor: |
2141 case CSSPropertyBorderRightColor: | 2141 case CSSPropertyBorderRightColor: |
2142 case CSSPropertyBorderTopColor: | 2142 case CSSPropertyBorderTopColor: |
2143 case CSSPropertyBorderBottomColor: | 2143 case CSSPropertyBorderBottomColor: |
2144 case CSSPropertyColor: | 2144 case CSSPropertyColor: |
2145 case CSSPropertyOutlineColor: | 2145 case CSSPropertyOutlineColor: |
| 2146 case CSSPropertyTextDecorationColor: |
2146 case CSSPropertyWebkitColumnRuleColor: | 2147 case CSSPropertyWebkitColumnRuleColor: |
2147 #if ENABLE(CSS3_TEXT) | |
2148 case CSSPropertyWebkitTextDecorationColor: | |
2149 #endif // CSS3_TEXT | |
2150 case CSSPropertyWebkitTextEmphasisColor: | 2148 case CSSPropertyWebkitTextEmphasisColor: |
2151 case CSSPropertyWebkitTextFillColor: | 2149 case CSSPropertyWebkitTextFillColor: |
2152 case CSSPropertyWebkitTextStrokeColor: | 2150 case CSSPropertyWebkitTextStrokeColor: |
2153 #if ENABLE(SVG) | 2151 #if ENABLE(SVG) |
2154 case CSSPropertyFill: | 2152 case CSSPropertyFill: |
2155 case CSSPropertyStroke: | 2153 case CSSPropertyStroke: |
2156 #endif | 2154 #endif |
2157 return true; | 2155 return true; |
2158 default: | 2156 default: |
2159 break; | 2157 break; |
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3121 case CSSPropertyPointerEvents: | 3119 case CSSPropertyPointerEvents: |
3122 case CSSPropertyPosition: | 3120 case CSSPropertyPosition: |
3123 case CSSPropertyResize: | 3121 case CSSPropertyResize: |
3124 case CSSPropertyRight: | 3122 case CSSPropertyRight: |
3125 case CSSPropertySize: | 3123 case CSSPropertySize: |
3126 case CSSPropertySpeak: | 3124 case CSSPropertySpeak: |
3127 case CSSPropertyTabSize: | 3125 case CSSPropertyTabSize: |
3128 case CSSPropertyTableLayout: | 3126 case CSSPropertyTableLayout: |
3129 case CSSPropertyTextAlign: | 3127 case CSSPropertyTextAlign: |
3130 case CSSPropertyTextDecoration: | 3128 case CSSPropertyTextDecoration: |
| 3129 case CSSPropertyTextDecorationLine: |
| 3130 case CSSPropertyTextDecorationStyle: |
| 3131 case CSSPropertyTextDecorationColor: |
3131 case CSSPropertyTextIndent: | 3132 case CSSPropertyTextIndent: |
3132 case CSSPropertyTextOverflow: | 3133 case CSSPropertyTextOverflow: |
3133 case CSSPropertyTextRendering: | 3134 case CSSPropertyTextRendering: |
3134 case CSSPropertyTextTransform: | 3135 case CSSPropertyTextTransform: |
| 3136 case CSSPropertyTextUnderlinePosition: |
3135 case CSSPropertyTop: | 3137 case CSSPropertyTop: |
3136 case CSSPropertyUnicodeBidi: | 3138 case CSSPropertyUnicodeBidi: |
3137 case CSSPropertyVariable: | 3139 case CSSPropertyVariable: |
3138 case CSSPropertyVerticalAlign: | 3140 case CSSPropertyVerticalAlign: |
3139 case CSSPropertyVisibility: | 3141 case CSSPropertyVisibility: |
3140 case CSSPropertyWebkitAnimationDelay: | 3142 case CSSPropertyWebkitAnimationDelay: |
3141 case CSSPropertyWebkitAnimationDirection: | 3143 case CSSPropertyWebkitAnimationDirection: |
3142 case CSSPropertyWebkitAnimationDuration: | 3144 case CSSPropertyWebkitAnimationDuration: |
3143 case CSSPropertyWebkitAnimationFillMode: | 3145 case CSSPropertyWebkitAnimationFillMode: |
3144 case CSSPropertyWebkitAnimationIterationCount: | 3146 case CSSPropertyWebkitAnimationIterationCount: |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3229 case CSSPropertyWebkitPerspectiveOriginY: | 3231 case CSSPropertyWebkitPerspectiveOriginY: |
3230 case CSSPropertyWebkitPrintColorAdjust: | 3232 case CSSPropertyWebkitPrintColorAdjust: |
3231 case CSSPropertyWebkitRegionBreakAfter: | 3233 case CSSPropertyWebkitRegionBreakAfter: |
3232 case CSSPropertyWebkitRegionBreakBefore: | 3234 case CSSPropertyWebkitRegionBreakBefore: |
3233 case CSSPropertyWebkitRegionBreakInside: | 3235 case CSSPropertyWebkitRegionBreakInside: |
3234 case CSSPropertyWebkitRegionOverflow: | 3236 case CSSPropertyWebkitRegionOverflow: |
3235 case CSSPropertyWebkitRtlOrdering: | 3237 case CSSPropertyWebkitRtlOrdering: |
3236 case CSSPropertyWebkitRubyPosition: | 3238 case CSSPropertyWebkitRubyPosition: |
3237 case CSSPropertyWebkitTextCombine: | 3239 case CSSPropertyWebkitTextCombine: |
3238 #if ENABLE(CSS3_TEXT) | 3240 #if ENABLE(CSS3_TEXT) |
3239 case CSSPropertyWebkitTextDecorationLine: | |
3240 case CSSPropertyWebkitTextDecorationStyle: | |
3241 case CSSPropertyWebkitTextDecorationColor: | |
3242 case CSSPropertyWebkitTextAlignLast: | 3241 case CSSPropertyWebkitTextAlignLast: |
3243 case CSSPropertyWebkitTextUnderlinePosition: | |
3244 #endif // CSS3_TEXT | 3242 #endif // CSS3_TEXT |
3245 case CSSPropertyWebkitTextEmphasisColor: | 3243 case CSSPropertyWebkitTextEmphasisColor: |
3246 case CSSPropertyWebkitTextEmphasisPosition: | 3244 case CSSPropertyWebkitTextEmphasisPosition: |
3247 case CSSPropertyWebkitTextEmphasisStyle: | 3245 case CSSPropertyWebkitTextEmphasisStyle: |
3248 case CSSPropertyWebkitTextFillColor: | 3246 case CSSPropertyWebkitTextFillColor: |
3249 case CSSPropertyWebkitTextSecurity: | 3247 case CSSPropertyWebkitTextSecurity: |
3250 case CSSPropertyWebkitTextStrokeColor: | 3248 case CSSPropertyWebkitTextStrokeColor: |
3251 case CSSPropertyWebkitTransformOriginX: | 3249 case CSSPropertyWebkitTransformOriginX: |
3252 case CSSPropertyWebkitTransformOriginY: | 3250 case CSSPropertyWebkitTransformOriginY: |
3253 case CSSPropertyWebkitTransformOriginZ: | 3251 case CSSPropertyWebkitTransformOriginZ: |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3834 info.addMember(m_state, "state"); | 3832 info.addMember(m_state, "state"); |
3835 | 3833 |
3836 // FIXME: move this to a place where it would be called only once? | 3834 // FIXME: move this to a place where it would be called only once? |
3837 info.addMember(CSSDefaultStyleSheets::defaultStyle, "defaultStyle"); | 3835 info.addMember(CSSDefaultStyleSheets::defaultStyle, "defaultStyle"); |
3838 info.addMember(CSSDefaultStyleSheets::defaultQuirksStyle, "defaultQuirksStyl
e"); | 3836 info.addMember(CSSDefaultStyleSheets::defaultQuirksStyle, "defaultQuirksStyl
e"); |
3839 info.addMember(CSSDefaultStyleSheets::defaultPrintStyle, "defaultPrintStyle"
); | 3837 info.addMember(CSSDefaultStyleSheets::defaultPrintStyle, "defaultPrintStyle"
); |
3840 info.addMember(CSSDefaultStyleSheets::defaultViewSourceStyle, "defaultViewSo
urceStyle"); | 3838 info.addMember(CSSDefaultStyleSheets::defaultViewSourceStyle, "defaultViewSo
urceStyle"); |
3841 } | 3839 } |
3842 | 3840 |
3843 } // namespace WebCore | 3841 } // namespace WebCore |
OLD | NEW |