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

Clarify meaning of "form elements" #2497

Closed
mattgarrish opened this issue Dec 2, 2022 · 1 comment · Fixed by #2499
Closed

Clarify meaning of "form elements" #2497

mattgarrish opened this issue Dec 2, 2022 · 1 comment · Fixed by #2499
Labels
EPUB33 Issues addressed in the EPUB 3.3 revision Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation Spec-ReadingSystems The issue affects the EPUB Reading Systems 3.3 Recommendation Topic-ContentDocs The issue affects EPUB content documents Topic-Manifest-Vocab The issue affects the Manifest Properties vocabulary

Comments

@mattgarrish
Copy link
Member

The definition of the scripted property says:

The scripted property indicates that the described publication resource is a scripted content document (i.e., contains scripted content and/or HTML form elements).

It's not clear whether "form elements" should be a reference specifically to the form element or whether it encompasses all the forms elements.

The reading system spec isn't a lot more helpful:

This specification does not require EPUB reading systems to support scripting, HTML forms or the HTML DOM.

But we addressed this in #1060 by adding a section that it's support for form submission that is optional.

Suggest we fix the reading system spec to point to the form submission section and make the scripted property reference the form element specifically because HTML has a whole section on form elements (input, button, etc.). Since form elements don't have to appear in a form anymore, I don't expect it was ever the intention that the presence of any of these should require a scripted property setting.

@mattgarrish mattgarrish added Topic-ContentDocs The issue affects EPUB content documents Topic-Manifest-Vocab The issue affects the Manifest Properties vocabulary Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation Spec-ReadingSystems The issue affects the EPUB Reading Systems 3.3 Recommendation labels Dec 2, 2022
@iherman
Copy link
Member

iherman commented Dec 3, 2022

I certainly only understood this to refer to the <form> element only. So +1 to what you propose.

@mattgarrish mattgarrish added the EPUB33 Issues addressed in the EPUB 3.3 revision label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPUB33 Issues addressed in the EPUB 3.3 revision Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation Spec-ReadingSystems The issue affects the EPUB Reading Systems 3.3 Recommendation Topic-ContentDocs The issue affects EPUB content documents Topic-Manifest-Vocab The issue affects the Manifest Properties vocabulary
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants