Changeset 100251 in webkit
- Timestamp:
- Nov 15, 2011 1:32:16 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r100250 r100251 1 2011-11-14 Alexander Pavlov <apavlov@chromium.org> 2 3 Web Inspector: [Crash] Crash when inspecting namespaced SVG styled via element names 4 https://bugs.webkit.org/show_bug.cgi?id=72261 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/styles/svg-style-expected.txt: Added. 9 * inspector/styles/svg-style.xhtml: Added. 10 1 11 2011-11-15 Czene Tamás <tczene@inf.u-szeged.hu> 2 12 -
trunk/Source/WebCore/ChangeLog
r100247 r100251 1 2011-11-14 Alexander Pavlov <apavlov@chromium.org> 2 3 Web Inspector: [Crash] Crash when inspecting namespaced SVG styled via element names 4 https://bugs.webkit.org/show_bug.cgi?id=72261 5 6 Reviewed by Pavel Feldman. 7 8 Test: inspector/styles/svg-style.xhtml 9 10 * inspector/InspectorStyleSheet.cpp: 11 (WebCore::InspectorStyleSheet::inlineStyleSheetText): 12 1 13 2011-11-15 Kent Tamura <tkent@chromium.org> 2 14 -
trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp
r99878 r100251 40 40 #include "Element.h" 41 41 #include "HTMLHeadElement.h" 42 #include "HTMLNames.h" 42 43 #include "HTMLParserIdioms.h" 43 44 #include "InspectorCSSAgent.h" … … 45 46 #include "InspectorValues.h" 46 47 #include "Node.h" 48 #include "SVGNames.h" 47 49 #include "StyleSheetList.h" 48 50 #include "WebKitCSSKeyframesRule.h" … … 1103 1105 return false; 1104 1106 Element* ownerElement = static_cast<Element*>(ownerNode); 1105 if (ownerElement->tagName().lower() != "style") 1107 1108 if (!ownerElement->hasTagName(HTMLNames::styleTag) 1109 #if ENABLE(SVG) 1110 && !ownerElement->hasTagName(SVGNames::styleTag) 1111 #endif 1112 ) 1106 1113 return false; 1107 1114 *result = ownerElement->innerText();
Note: See TracChangeset
for help on using the changeset viewer.