Skip to content

Commit

Permalink
relnote(116): support dirname on textarea and input elements (#28032)
Browse files Browse the repository at this point in the history
* relnote(116): support dirname on textarea and input elements

* Update files/en-us/mozilla/firefox/releases/116/index.md

Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>

* Update files/en-us/web/html/element/textarea/index.md

Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>

* relnote(116): Remove example in description list

* Update files/en-us/web/html/element/textarea/index.md

---------

Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
  • Loading branch information
bsmth and dipikabh authored Jul 19, 2023
1 parent d2b4454 commit 2e181c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/en-us/mozilla/firefox/releases/116/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ This article provides information about the changes in Firefox 116 that affect d

### HTML

- The [`dirname`](/en-US/docs/Web/HTML/Element/input#dirname) attribute is now supported on [`input`](/en-US/docs/Web/HTML/Element/input#dirname) and [`textarea`](/en-US/docs/Web/HTML/Element/textarea#dirname) elements.
This attribute allows for passing text directionality information (`ltr` or `rtl`) to the server during form submission ([Firefox bug 675943](https://bugzil.la/675943)).

#### Removals

### CSS
Expand Down
5 changes: 5 additions & 0 deletions files/en-us/web/html/element/textarea/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib
- : This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified.
- `cols`
- : The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`.
- `dirname`

- : This attribute is used to set the text directionality of the element in a manner similar to the [`dirname`](/en-US/docs/Web/HTML/Element/input#dirname) attribute of the `<input>` element. Possible values include `ltr` for left-to-right and `rtl` for right-to-left. The default value is `ltr`.
The value of the attribute is sent in the format `{elementName}.dir={value}`, where `{elementName}` is the name of the `<textarea>` element and `{value}` may be `ltr` or `rtl`.

- `disabled`
- : This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example {{ HTMLElement("fieldset") }}; if there is no containing element when the `disabled` attribute is set, the control is enabled.
- `form`
Expand Down

0 comments on commit 2e181c6

Please sign in to comment.