-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#834] Fix radio button selection problem when used in IE browser. #845
Conversation
tests/plugins/forms/radio.js
Outdated
var bot = this.editorBot; | ||
|
||
bot.setHtmlWithSelection( '[<input checked="checked" name="name" required="required" type="radio" value="value" />]' ); | ||
if ( CKEDITOR.env.ie ) { | ||
bot.setHtmlWithSelection( '[<input checked="checked" name="name" required="required" type="radio" />]' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why IE got different markup, without [value]
? Can't it got the same markup and then just overwrite the attribute?
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'editor' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add ignore as it's only for IEs.
- ignoring manual test on non-IE browsers - changing tag of target version to 4.8.0 - rebase and change target branch from master to major - little update to manual test description - rearranging unit test - IE gets dedicated assertion instead of having dedicated markup
What is the purpose of this pull request?
Bug fix
Does your PR contain necessary tests?
All patches which change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.
This PR contains
What changes did you make?
Close #834