Bug 27828

Summary: Title attribute is not respected on option elements
Product: WebKit Reporter: Adam Brunner <brunner.adam>
Component: FormsAssignee: Mark Rowe (bdash) <mrowe>
Status: RESOLVED FIXED    
Severity: Normal CC: mrowe
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 27864    
Attachments:
Description Flags
testcase for the bug
none
firefox screencapture
none
webkit screencapture
none
Patch for the Mac part of this adele: review+

Adam Brunner
Reported 2009-07-30 00:54:10 PDT
Created attachment 33762 [details] testcase for the bug If I create an <option> element with title="option's title text" in a <select>, the tooltip will not be shown.
Attachments
testcase for the bug (408 bytes, text/html)
2009-07-30 00:54 PDT, Adam Brunner
no flags
firefox screencapture (5.69 KB, image/jpeg)
2009-07-30 00:56 PDT, Adam Brunner
no flags
webkit screencapture (2.97 KB, image/jpeg)
2009-07-30 00:56 PDT, Adam Brunner
no flags
Patch for the Mac part of this (4.15 KB, patch)
2009-07-30 18:24 PDT, Mark Rowe (bdash)
adele: review+
Adam Brunner
Comment 1 2009-07-30 00:56:15 PDT
Created attachment 33763 [details] firefox screencapture
Adam Brunner
Comment 2 2009-07-30 00:56:33 PDT
Created attachment 33764 [details] webkit screencapture
Adam Brunner
Comment 3 2009-07-30 00:59:37 PDT
Additionally, the W3C HTML4.01 Specification defines [1] that <option> can have a title attribute. Also Mozilla Firefox and Microsoft Internet Explorer 7+ do this well. [1] http://www.w3.org/TR/html401/interact/forms.html#edef-OPTION
Mark Rowe (bdash)
Comment 4 2009-07-30 02:01:02 PDT
This is trivial to fix on Mac, but somewhat more involved on other platforms.
Mark Rowe (bdash)
Comment 5 2009-07-30 18:24:30 PDT
Created attachment 33851 [details] Patch for the Mac part of this I'll clone this bug to track fixing this for other platforms after this is landed.
Mark Rowe (bdash)
Comment 6 2009-07-30 18:29:03 PDT
Landed in r46617.
Mark Rowe (bdash)
Comment 7 2009-07-30 18:30:24 PDT
Bug 27864 tracks fixing this for other platforms.
Note You need to log in before you can comment on or make changes to this bug.