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

[HTML] Add support for dirname attribute #27760

Closed
10 of 12 tasks
Tracked by #422
bsmth opened this issue Jul 4, 2023 · 3 comments
Closed
10 of 12 tasks
Tracked by #422

[HTML] Add support for dirname attribute #27760

bsmth opened this issue Jul 4, 2023 · 3 comments
Assignees
Labels
Content:HTML Hypertext Markup Language docs fx release archive A closed issue relating to firefox release notes for developers.

Comments

@bsmth
Copy link
Member

bsmth commented Jul 4, 2023

Acceptance Criteria

  • The listed features are documented sufficiently on MDN
  • BCD is updated
  • Interactive example and data repos are updated if appropriate
  • The content has been reviewed as needed

For folks helping with Firefox related documentation

  • Set bugs to dev-doc-complete
  • Add entry to Firefox release notes if feature is enabled in release
  • Add entry to Firefox experimental features page if feature is not yet enabled in release

Features to document

"The dirname attribute on a form control element enables the submission of the directionality of the element, and gives the name of the control that contains this value during form submission. If such an attribute is specified, its value must not be the empty string."

<form action="addcomment.cgi" method=post>
 <p><label>Comment: <input type=text name="comment" dirname="comment.dir" required></label></p>
 <p><button name="mode" type=submit value="add">Post Comment</button></p>
</form>

From release notes:

Added support for the dirname attribute to pass text directionality information about input and textarea elements to the server.

Related Gecko bugs

Other

  • Check content open issues to see if any pertain to the subject matter. If there are any that can be closed because of the work, do so. If there are any that can be fixed relatively quickly because of the knowledge from completing this issue and you have time, feel free to go ahead and fix them.
  • Check if glossary updates are required for the feature you're documenting - whether an existing term needs to be updated or a new term should be added.
  • Check if BCD update means that content pages need to have experimental markup removed or deprecated markup added (front matter tags and macros).

Related issues and pull requests:

@bsmth bsmth added Content:HTML Hypertext Markup Language docs Firefox 116 labels Jul 4, 2023
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jul 4, 2023
@bsmth bsmth removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jul 4, 2023
@bsmth bsmth self-assigned this Jul 17, 2023
@bsmth
Copy link
Member Author

bsmth commented Jul 18, 2023

Attribute Element(s) Description Value
dirname input; textarea Name of form control to use for sending the element's directionality in form submission Text*

@bsmth
Copy link
Member Author

bsmth commented Jul 28, 2023

Closing for now as basic details have been added & release note. Improvements are incoming with attribute page & more information on input types that are being supported soon:

If the element has a dirname attribute, that attribute's value is not the empty string, and the element is either a textarea element or an input element whose type attribute is in the Hidden, Text, Search, Telephone, URL, or Email state, then:

@bsmth
Copy link
Member Author

bsmth commented Jul 28, 2023

See also: #28146

@bsmth bsmth added fx release archive A closed issue relating to firefox release notes for developers. and removed Firefox 116 labels Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTML Hypertext Markup Language docs fx release archive A closed issue relating to firefox release notes for developers.
Projects
Archived in project
Development

No branches or pull requests

1 participant