Add failing unit test for selected attribute bug
Add failing unit test for selected attribute bug

capybara-webkit's driver implements `(un)select_option` by modifying
the target node's `selected` attribute directly. The [HTML5 spec][]
states that this attribute represents the _default selectedness_ of an
`<option>` element, so modifying it will necessarily break the behavior
of reset buttons in forms.

In addition, the existing code leaves this attribute set on existing
`<option>` elements, which can put the page into an invalid state.

[HTML5 spec]: http://dev.w3.org/html5/spec/Overview.html#the-option-element

dstnation/capybara-webkit,andyjeffries/capybara-webkit,shopkeep/capybara-webkit,digideskio/capybara-webkit,twalpole/capybara-webkit,vintikzzz/capybara-webkit,nritholtz/capybara-webkit,addicted2sounds/capybara-webkit,msbit/capybara-webkit,dstnation/capybara-webkit,cognetoapps/capybara-webkit,mhoran/capybara-webkit,irfanah/capybara-webkit,avantcredit/capybara-webkit,digideskio/capybara-webkit,germanogmn1/capybara-webkit-v0.12.1-fixed,mhoran/capybara-webkit,nritholtz/capybara-webkit,conciergelive/capybara-webkit,phlizik/capybara-webkit,digideskio/capybara-webkit,andyjeffries/capybara-webkit,betelgeuse/capybara-webkit,jorihardman/capybara-webkit,eagletmt/capybara-webkit,conciergelive/capybara-webkit,mhoran/capybara-webkit,irfanah/capybara-webkit,nvntd/capybara-webkit,shopkeep/capybara-webkit,marcisme/capybara-webkit,marcisme/capybara-webkit,jorihardman/capybara-webkit,thoughtbot/capybara-webkit,yeardancing/capybara-webkit,thoughtbot/capybara-webkit,germanogmn1/capybara-webkit-v0.12.1-fixed,jorihardman/capybara-webkit,phlizik/capybara-webkit,betelgeuse/capybara-webkit,phlizik/capybara-webkit,dstnation/capybara-webkit,thoughtbot/capybara-webkit,tasboa/capybara-webkit,thoughtbot/capybara-webkit,addicted2sounds/capybara-webkit,nritholtz/capybara-webkit,nvntd/capybara-webkit,phlizik/capybara-webkit,mhoran/capybara-webkit,e-travel/capybara-webkit,e-travel/capybara-webkit,avantcredit/capybara-webkit,nritholtz/capybara-webkit,msbit/capybara-webkit,cognetoapps/capybara-webkit,digideskio/capybara-webkit,conciergelive/capybara-webkit,andyjeffries/capybara-webkit,andyjeffries/capybara-webkit,yeardancing/capybara-webkit,addicted2sounds/capybara-webkit,msbit/capybara-webkit,germanogmn1/capybara-webkit-v0.12.1-fixed,vintikzzz/capybara-webkit,addicted2sounds/capybara-webkit,betelgeuse/capybara-webkit,conciergelive/capybara-webkit,shopkeep/capybara-webkit,betelgeuse/capybara-webkit,nvntd/capybara-webkit,eagletmt/capybara-webkit,eagletmt/capybara-webkit,eagletmt/capybara-webkit,vintikzzz/capybara-webkit,nvntd/capybara-webkit,cognetoapps/capybara-webkit,eagletmt/capybara-webkit,nritholtz/capybara-webkit,e-travel/capybara-webkit,tasboa/capybara-webkit,marcisme/capybara-webkit,nvntd/capybara-webkit,cognetoapps/capybara-webkit,shopkeep/capybara-webkit,tasboa/capybara-webkit,e-travel/capybara-webkit,twalpole/capybara-webkit,shopkeep/capybara-webkit,irfanah/capybara-webkit,cognetoapps/capybara-webkit,twalpole/capybara-webkit,avantcredit/capybara-webkit,jorihardman/capybara-webkit,addicted2sounds/capybara-webkit,betelgeuse/capybara-webkit,conciergelive/capybara-webkit,phlizik/capybara-webkit,dstnation/capybara-webkit,vintikzzz/capybara-webkit,irfanah/capybara-webkit,vintikzzz/capybara-webkit,twalpole/capybara-webkit,marcisme/capybara-webkit,msbit/capybara-webkit,msbit/capybara-webkit,tasboa/capybara-webkit,dstnation/capybara-webkit,yeardancing/capybara-webkit,irfanah/capybara-webkit,avantcredit/capybara-webkit,avantcredit/capybara-webkit,marcisme/capybara-webkit,tasboa/capybara-webkit,jorihardman/capybara-webkit