Refactor some functionality living in HTMLOptionElement/HTMLOptGroupElement needed by RenderMenuList/RenderListBox, to allow reusing these render classes later on for WMLOption/OptGroupElement.
Created attachment 26881 [details] Initial patch
Created attachment 26882 [details] Updated patch No regressions, previous patch had a problem in an editing/pasteboard test.
Landed in r40085.