Changeset 25802 in webkit
- Timestamp:
- Sep 28, 2007 8:26:51 PM (17 years ago)
- Location:
- branches/feature-branch
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-branch/LayoutTests/ChangeLog
r25460 r25802 1 2007-09-28 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Sam Wenig. 4 5 Elements with a prefix cause ASSERT when creating WebArchive 6 http://bugs.webkit.org/show_bug.cgi?id=15308 7 8 * svg/custom/image-with-prefix-in-webarchive-expected.txt: Added. 9 * svg/custom/image-with-prefix-in-webarchive.svg: Added. 10 1 11 2007-09-09 Nikolas Zimmermann <zimmermann@kde.org> 2 12 -
branches/feature-branch/WebCore/ChangeLog
r25748 r25802 1 2007-09-28 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Sam Wenig. 4 5 ASSERT when dragging <svg:image> with non-null prefix 6 http://bugs.webkit.org/show_bug.cgi?id=15308 7 8 * bindings/objc/DOM.mm: 9 (WebCore::lookupElementClass): added 10 (WebCore::elementClass): use new lookupElementClass function 11 1 12 2007-09-25 Eric Seidel <eric@webkit.org> 2 13 -
branches/feature-branch/WebCore/bindings/objc/DOM.mm
r24628 r25802 252 252 } 253 253 254 static Class lookupElementClass(const QualifiedName& tag) 255 { 256 // Do a special lookup to ignore element prefixes 257 if (tag.hasPrefix()) 258 return elementClassMap->get(QualifiedName(nullAtom, tag.localName(), tag.namespaceURI()).impl()); 259 260 return elementClassMap->get(tag.impl()); 261 } 262 254 263 static Class elementClass(const QualifiedName& tag, Class defaultClass) 255 264 { 256 265 if (!elementClassMap) 257 266 createElementClassMap(); 258 Class objcClass = elementClassMap->get(tag.impl());267 Class objcClass = lookupElementClass(tag); 259 268 if (!objcClass) 260 269 objcClass = defaultClass;
Note: See TracChangeset
for help on using the changeset viewer.