| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
| 3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 mapAttributeToCSSProperty(propertyNameToIdMap, kerningAttr); | 171 mapAttributeToCSSProperty(propertyNameToIdMap, kerningAttr); |
| 172 mapAttributeToCSSProperty(propertyNameToIdMap, letter_spacingAttr); | 172 mapAttributeToCSSProperty(propertyNameToIdMap, letter_spacingAttr); |
| 173 mapAttributeToCSSProperty(propertyNameToIdMap, lighting_colorAttr); | 173 mapAttributeToCSSProperty(propertyNameToIdMap, lighting_colorAttr); |
| 174 mapAttributeToCSSProperty(propertyNameToIdMap, marker_endAttr); | 174 mapAttributeToCSSProperty(propertyNameToIdMap, marker_endAttr); |
| 175 mapAttributeToCSSProperty(propertyNameToIdMap, marker_midAttr); | 175 mapAttributeToCSSProperty(propertyNameToIdMap, marker_midAttr); |
| 176 mapAttributeToCSSProperty(propertyNameToIdMap, marker_startAttr); | 176 mapAttributeToCSSProperty(propertyNameToIdMap, marker_startAttr); |
| 177 mapAttributeToCSSProperty(propertyNameToIdMap, maskAttr); | 177 mapAttributeToCSSProperty(propertyNameToIdMap, maskAttr); |
| 178 mapAttributeToCSSProperty(propertyNameToIdMap, mask_typeAttr); | 178 mapAttributeToCSSProperty(propertyNameToIdMap, mask_typeAttr); |
| 179 mapAttributeToCSSProperty(propertyNameToIdMap, opacityAttr); | 179 mapAttributeToCSSProperty(propertyNameToIdMap, opacityAttr); |
| 180 mapAttributeToCSSProperty(propertyNameToIdMap, overflowAttr); | 180 mapAttributeToCSSProperty(propertyNameToIdMap, overflowAttr); |
| 181 mapAttributeToCSSProperty(propertyNameToIdMap, paint_orderAttr); |
| 181 mapAttributeToCSSProperty(propertyNameToIdMap, pointer_eventsAttr); | 182 mapAttributeToCSSProperty(propertyNameToIdMap, pointer_eventsAttr); |
| 182 mapAttributeToCSSProperty(propertyNameToIdMap, shape_renderingAttr); | 183 mapAttributeToCSSProperty(propertyNameToIdMap, shape_renderingAttr); |
| 183 mapAttributeToCSSProperty(propertyNameToIdMap, stop_colorAttr); | 184 mapAttributeToCSSProperty(propertyNameToIdMap, stop_colorAttr); |
| 184 mapAttributeToCSSProperty(propertyNameToIdMap, stop_opacityAttr); | 185 mapAttributeToCSSProperty(propertyNameToIdMap, stop_opacityAttr); |
| 185 mapAttributeToCSSProperty(propertyNameToIdMap, strokeAttr); | 186 mapAttributeToCSSProperty(propertyNameToIdMap, strokeAttr); |
| 186 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_dasharrayAttr); | 187 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_dasharrayAttr); |
| 187 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_dashoffsetAttr); | 188 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_dashoffsetAttr); |
| 188 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_linecapAttr); | 189 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_linecapAttr); |
| 189 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_linejoinAttr); | 190 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_linejoinAttr); |
| 190 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_miterlimitAttr); | 191 mapAttributeToCSSProperty(propertyNameToIdMap, stroke_miterlimitAttr); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 s_cssPropertyMap.set(kerningAttr, AnimatedLength); | 244 s_cssPropertyMap.set(kerningAttr, AnimatedLength); |
| 244 s_cssPropertyMap.set(letter_spacingAttr, AnimatedLength); | 245 s_cssPropertyMap.set(letter_spacingAttr, AnimatedLength); |
| 245 s_cssPropertyMap.set(lighting_colorAttr, AnimatedColor); | 246 s_cssPropertyMap.set(lighting_colorAttr, AnimatedColor); |
| 246 s_cssPropertyMap.set(marker_endAttr, AnimatedString); | 247 s_cssPropertyMap.set(marker_endAttr, AnimatedString); |
| 247 s_cssPropertyMap.set(marker_midAttr, AnimatedString); | 248 s_cssPropertyMap.set(marker_midAttr, AnimatedString); |
| 248 s_cssPropertyMap.set(marker_startAttr, AnimatedString); | 249 s_cssPropertyMap.set(marker_startAttr, AnimatedString); |
| 249 s_cssPropertyMap.set(maskAttr, AnimatedString); | 250 s_cssPropertyMap.set(maskAttr, AnimatedString); |
| 250 s_cssPropertyMap.set(mask_typeAttr, AnimatedString); | 251 s_cssPropertyMap.set(mask_typeAttr, AnimatedString); |
| 251 s_cssPropertyMap.set(opacityAttr, AnimatedNumber); | 252 s_cssPropertyMap.set(opacityAttr, AnimatedNumber); |
| 252 s_cssPropertyMap.set(overflowAttr, AnimatedString); | 253 s_cssPropertyMap.set(overflowAttr, AnimatedString); |
| 254 s_cssPropertyMap.set(paint_orderAttr, AnimatedString); |
| 253 s_cssPropertyMap.set(pointer_eventsAttr, AnimatedString); | 255 s_cssPropertyMap.set(pointer_eventsAttr, AnimatedString); |
| 254 s_cssPropertyMap.set(shape_renderingAttr, AnimatedString); | 256 s_cssPropertyMap.set(shape_renderingAttr, AnimatedString); |
| 255 s_cssPropertyMap.set(stop_colorAttr, AnimatedColor); | 257 s_cssPropertyMap.set(stop_colorAttr, AnimatedColor); |
| 256 s_cssPropertyMap.set(stop_opacityAttr, AnimatedNumber); | 258 s_cssPropertyMap.set(stop_opacityAttr, AnimatedNumber); |
| 257 s_cssPropertyMap.set(strokeAttr, AnimatedColor); | 259 s_cssPropertyMap.set(strokeAttr, AnimatedColor); |
| 258 s_cssPropertyMap.set(stroke_dasharrayAttr, AnimatedLengthList); | 260 s_cssPropertyMap.set(stroke_dasharrayAttr, AnimatedLengthList); |
| 259 s_cssPropertyMap.set(stroke_dashoffsetAttr, AnimatedLength); | 261 s_cssPropertyMap.set(stroke_dashoffsetAttr, AnimatedLength); |
| 260 s_cssPropertyMap.set(stroke_linecapAttr, AnimatedString); | 262 s_cssPropertyMap.set(stroke_linecapAttr, AnimatedString); |
| 261 s_cssPropertyMap.set(stroke_linejoinAttr, AnimatedString); | 263 s_cssPropertyMap.set(stroke_linejoinAttr, AnimatedString); |
| 262 s_cssPropertyMap.set(stroke_miterlimitAttr, AnimatedNumber); | 264 s_cssPropertyMap.set(stroke_miterlimitAttr, AnimatedNumber); |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 Element* eventTarget = const_cast<SVGStyledElement *>(this); | 478 Element* eventTarget = const_cast<SVGStyledElement *>(this); |
| 477 return eventTarget->hasEventListeners(eventNames().focusinEvent) || eventTar
get->hasEventListeners(eventNames().focusoutEvent); | 479 return eventTarget->hasEventListeners(eventNames().focusinEvent) || eventTar
get->hasEventListeners(eventNames().focusoutEvent); |
| 478 } | 480 } |
| 479 | 481 |
| 480 bool SVGStyledElement::isKeyboardFocusable(KeyboardEvent*) const | 482 bool SVGStyledElement::isKeyboardFocusable(KeyboardEvent*) const |
| 481 { | 483 { |
| 482 return isMouseFocusable(); | 484 return isMouseFocusable(); |
| 483 } | 485 } |
| 484 | 486 |
| 485 } | 487 } |
| OLD | NEW |