Closed
Bug 1108425
Opened 10 years ago
Closed 1 year ago
:(-moz-)dir(rtl) doesn't match <textarea dir="auto"> with right-to-left text
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
115 Branch
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: sukolsak, Assigned: vhilla)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:34.0) Gecko/20100101 Firefox/34.0 Build ID: 20141125180439 Steps to reproduce: See the following webpage: http://jsfiddle.net/b4rhxrc2/ Actual results: The textarea doesn't have a green background. Expected results: The textarea should have a green background. According to https://html.spec.whatwg.org/multipage/dom.html#the-directionality, the directionality of the textarea with a right-to-left character at the beginning should be 'rtl'. Therefore, it should match :(-moz-)dir(rtl).
Updated•10 years ago
|
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Comment 1•10 years ago
|
||
We discussed this issue in bug 562169 comment 67 and following. From bug 562169 comment 70 it looks as if we do need to fix it
Assignee: nobody → smontagu
Updated•6 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•2 years ago
|
Severity: normal → S3
Assignee | ||
Comment 3•1 year ago
|
||
HTMLTextAreaElement
is not updating its directionality the same way HTMLInputElement
does via SetDirectionFromValue
. Thus, neither the :dir
selector nor the dirname
attribute are working correctly with dir=auto
.
Assignee | ||
Comment 4•1 year ago
|
||
I copy-pasted all SetDirectionFromValue
-related parts from HTMLInputElement to HTMLTextAreaElement
Updated•1 year ago
|
Assignee: nobody → vhilla
Status: NEW → ASSIGNED
Comment 5•1 year ago
|
||
The following patch is waiting for review from an inactive reviewer:
ID | Title | Author | Reviewer Status |
---|---|---|---|
D176999 | Bug 1108425 - Fix dir=auto for textarea with rtl text. r=bzbarsky | vhilla | bzbarsky: Inactive |
:vhilla, could you please find another reviewer?
For more information, please visit BugBot documentation.
Flags: needinfo?(vhilla)
Updated•1 year ago
|
Attachment #9331316 -
Attachment description: Bug 1108425 - Fix dir=auto for textarea with rtl text. r=bzbarsky → WIP: Bug 1108425 - Fix dir=auto for textarea with rtl text.
Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(vhilla)
Updated•1 year ago
|
Attachment #9331316 -
Attachment description: WIP: Bug 1108425 - Fix dir=auto for textarea with rtl text. → Bug 1108425 - Fix dir=auto for textarea with rtl text. r=smaug
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2f394b22e31d Fix dir=auto for textarea with rtl text. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40032 for changes under testing/web-platform/tests
Comment 8•1 year ago
|
||
Backed out for causing failures on bidi/726420-1.html
- backout: https://hg.mozilla.org/integration/autoland/rev/4b86cd377e1d9c271d63e81d6ef581cbf06643b5
- push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=YA9qgMI9TyWjFSkuVbmTIQ.0&revision=2f394b22e31de842bc297b08a230f6d298768d4c
- tier 1 failure here: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=B5GYlWP0TeOUgydVzLrEbQ.0&revision=2814e09f635a0c47aadae8c3cb5ac25f11fc2559&searchStr=android%2C7.0%2Cx86-64%2Cwebrender%2Copt%2Creftests%2Cwithout%2Cfission%2Cenabled%2Ctest-android-em-7.0-x86_64-qr%2Fopt-geckoview-reftest-nofis%2Cr1
- failure log: https://treeherder.mozilla.org/logviewer?job_id=415971558&repo=autoland&lineNumber=10514
Flags: needinfo?(vhilla)
Comment 9•1 year ago
|
||
Upstream PR was closed without merging
Assignee | ||
Comment 11•1 year ago
|
||
I wanted to delete bidi/726420-1.html
but missed to update reftest.list
.
Flags: needinfo?(vhilla)
Comment 12•1 year ago
|
||
Pushed by vhilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e6638f5e6d9f Fix dir=auto for textarea with rtl text. r=smaug
Comment 13•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•