Closed
Bug 1951007
Opened 11 days ago
Closed 12 hours ago
`document.queryCommandEnabled` returns `true` for style editing commands when the editing host is `plaintext-only`
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
138 Branch
Tracking | Status | |
---|---|---|
firefox138 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
(Keywords: parity-chrome)
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•11 days ago
|
Keywords: parity-chrome
Assignee | ||
Comment 1•11 days ago
|
||
The style editing commands should be disabled in
contenteditable="plaintext-only"
. Currently, we return false
from
execCommand
, but we still claim that the commands are enabled for
queryCommandEnabled
.
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/d1065c17a700
Make style editing commands check whether the editing host is `contenteditable="plaintext-only"` to consider whether it's enabled r=m_kato
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51225 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 12 hours ago
status-firefox138:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•