RESOLVED FIXED 11691
REGRESSION (r17399, r17511): WebElementDictionary no longer returns nil NSStrings
https://bugs.webkit.org/show_bug.cgi?id=11691
Summary REGRESSION (r17399, r17511): WebElementDictionary no longer returns nil NSStr...
Adam Roben (:aroben)
Reported 2006-11-25 17:11:48 PST
r17399 and r17511 moved the functionality of WebElementDictionary into WebCore. However, this caused a behavior change in WebElementDictionary: before, an <a> element with no title attribute would return a nil NSString* when asked for WebElementLinkTitleKey. Now it returns an empty NSString (i.e., ""). This is causing problems with proposed bookmark titles.
Attachments
testcase (184 bytes, text/html)
2006-11-25 17:16 PST, Adam Roben (:aroben)
no flags
Adam Roben (:aroben)
Comment 1 2006-11-25 17:16:38 PST
Created attachment 11631 [details] testcase
Adam Roben (:aroben)
Comment 2 2006-11-25 22:22:03 PST
This also raises the question of whether methods like HitTestResult::title() should be able to differentiate between <a> and <a title="">
Beth Dakin
Comment 3 2006-11-29 10:18:48 PST
Fixed with r17919.
Note You need to log in before you can comment on or make changes to this bug.