Skip to content
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

T/586: Boolean Attributes (like required) not correctly recognized by form dialogs. #587

Closed
wants to merge 2 commits into from

Conversation

f1ames
Copy link
Contributor

@f1ames f1ames commented Jun 30, 2017

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

  • Unit tests
  • Manual tests

What changes did you make?

Closes #586.

rzueger and others added 2 commits June 30, 2017 08:57
- according to HTML spec, valid values for the attribute are:
  - no value at all
  - empty string (required="")
  - string `required` (required="required")
- with the current implementation, the checkbox is checked,
  if the attribute contains any value
  -> if there is no value or an empty string, the checkbox
     is not selected, which is wrong
  -> if there is a value other than "required", the checkbox
     is selected, which is wrong
- see ticket #14291
@f1ames
Copy link
Contributor Author

f1ames commented Jun 30, 2017

Closing as duplicate of #588.

@f1ames f1ames closed this Jun 30, 2017
@f1ames f1ames deleted the t/586 branch June 30, 2017 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants