-
Notifications
You must be signed in to change notification settings - Fork 39
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 the nested case of contenteditable=true
and contenteditable=plaintext-only
#470
Comments
Filed https://bugs.webkit.org/show_bug.cgi?id=280419 to track this issue in WebKit. |
From TPAC 2024 Minutes:
|
…xt-only"` and `contenteditable="true"` are nested Adding the tests for the conclusion of <w3c/editing#470>. If `contenteditable="true"` (`=""`) and `contenteditable="plaintext-only"` without `contenteditable="false"`, the outermost editing host should consider whether it's a richtext editor or a plaintext editor. Differential Revision: https://phabricator.services.mozilla.com/D239868 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1921171 gecko-commit: ecc241ac8ebc8b436b9ca4d9a0474b78b960107e gecko-reviewers: smaug
…table="plaintext-only"` and `contenteditable="true"` are nested r=smaug Adding the tests for the conclusion of <w3c/editing#470>. If `contenteditable="true"` (`=""`) and `contenteditable="plaintext-only"` without `contenteditable="false"`, the outermost editing host should consider whether it's a richtext editor or a plaintext editor. Differential Revision: https://phabricator.services.mozilla.com/D239868
…xt-only"` and `contenteditable="true"` are nested Adding the tests for the conclusion of <w3c/editing#470>. If `contenteditable="true"` (`=""`) and `contenteditable="plaintext-only"` without `contenteditable="false"`, the outermost editing host should consider whether it's a richtext editor or a plaintext editor. Differential Revision: https://phabricator.services.mozilla.com/D239868 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1921171 gecko-commit: ecc241ac8ebc8b436b9ca4d9a0474b78b960107e gecko-reviewers: smaug
…table="plaintext-only"` and `contenteditable="true"` are nested r=smaug Adding the tests for the conclusion of <w3c/editing#470>. If `contenteditable="true"` (`=""`) and `contenteditable="plaintext-only"` without `contenteditable="false"`, the outermost editing host should consider whether it's a richtext editor or a plaintext editor. Differential Revision: https://phabricator.services.mozilla.com/D239868
…table="plaintext-only"` and `contenteditable="true"` are nested r=smaug Adding the tests for the conclusion of <w3c/editing#470>. If `contenteditable="true"` (`=""`) and `contenteditable="plaintext-only"` without `contenteditable="false"`, the outermost editing host should consider whether it's a richtext editor or a plaintext editor. Differential Revision: https://phabricator.services.mozilla.com/D239868
There are 2 simple cases:
Perhaps, initial shipping of
contenteditable=plaintext-only
of Firefox may depend on the topmost editing host value (i.e., focused editing host) because there are complicated issues.For example, in the following cases, it's unclear whether rich text or plaintext should be pasted.
It seems that Chrome considers it from anchor node of selection. So, if you make the above selections with opposite direction, you'll see different result.
The text was updated successfully, but these errors were encountered: