DescriptionMD Settings: Stop using <option>'s |selected| HTML attribute in bindings.
The selected HTML attribute can be ignored if the <option> is in a "dirty"
state. Use the IDL |selected| attribute instead which is always respected.
https://html.spec.whatwg.org/multipage/forms.html#attr-option-selected
This fixes a corner case where the search engines <select> is showing the
wrong <option> as selected.
BUG=698189
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2736803002
Cr-Commit-Position: refs/heads/master@{#455219}
Committed: https://chromium.googlesource.com/chromium/src/+/906adfec35ab217d2be4f851cbefb85400d43eab
Patch Set 1 #Patch Set 2 : Change selected. #
Messages
Total messages: 14 (10 generated)
|