[wpt-sync] Sync PR 44413 - Add 'writingSuggestions' attribute
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox124 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44413 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44413
Details from upstream follow.
Stephanie Zhang <stephanie.zhang@microsoft.com> wrote:
Add 'writingSuggestions' attribute
This CL implements the new 'writingSuggestions' attribute. We add a new
runtime flag and setter/getter methods for it.The attribute has values "true"/"false" to allow developers to enable or
disable browser-provided writing suggestions. If the attribute is not
explicitly set on an element, it inherits its value from ancestor
elements if specified; otherwise, it default to "true".Changes were verified against wpt tests:
https://github.com/web-platform-tests/wpt/pull/43780Intent to Prototype:
https://groups.google.com/a/chromium.org/g/blink-dev/c/rHyRCx-hJhEBug: 1513953
Change-Id: I716deba02f3d8df37dd04d1363d624cf2615203cReviewed-on: https://chromium-review.googlesource.com/5247315
WPT-Export-Revision: 443c1460ef6383a995463569c852e815e62d7dcb
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 68 subtests
Status Summary
Firefox
OK : 1
PASS: 6
FAIL: 62
Chrome
OK : 1
PASS: 6
FAIL: 62
Safari
OK : 1
PASS: 6
FAIL: 62
Links
Details
New Tests That Don't Pass
- /html/editing/editing-0/writing-suggestions/writingsuggestions.html [wpt.fyi]
- Test that the writingsuggestions attribute is available on HTMLInputElement.:
FAIL(Chrome:FAIL, Safari:FAIL) - Test that the writingsuggestions attribute is available on HTMLTextAreaElement.:
FAIL(Chrome:FAIL, Safari:FAIL) - Test that the writingsuggestions attribute is available on HTMLDivElement.:
FAIL(Chrome:FAIL, Safari:FAIL) - Test that the writingsuggestions attribute is available on HTMLSpanElement.:
FAIL(Chrome:FAIL, Safari:FAIL) - Test that the writingsuggestions attribute is available on custom elements.:
FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsIDL attribute totruedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute totruedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsIDL attribute to booleantruedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute to booleantruedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsIDL attribute toTrUedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute toTrUedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsIDL attribute tofalsedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute tofalsedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsIDL attribute to booleanfalsedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute to booleanfalsedirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsIDL attribute toFaLsEdirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute toFaLsEdirectly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsIDL attribute to the empty string directly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute to the empty string directly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsIDL attribute to an invalid value directly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute to an invalid value directly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test the writing suggestions state when the
writingsuggestionsattribute is missing.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute tofalseafter the IDL attribute was set totrue.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute toFaLsEafter the IDL attribute was set totrue.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute to booleanfalseafter the IDL attribute was set totrue.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute totrueafter the IDL attribute was set tofalse.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute to the empty string after the IDL attribute was set tofalse.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute to an invalid value after the IDL attribute was set tofalse.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute toTrUeafter the IDL attribute was set tofalse.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionscontent attribute to booleantrueafter the IDL attribute was set tofalse.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsattribute with a missing value directly on the target element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsattribute to "true" on a parent element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsattribute to an empty string on a parent element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsattribute to "false" on a parent element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test setting the
writingsuggestionsattribute to an invalid value on a parent element.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding the parent element's
writingsuggestionsattribute from "true" to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding the parent element's
writingsuggestionsattribute from the empty string to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding the parent element's
writingsuggestionsattribute from "false" to "true".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding the parent element's
writingsuggestionsattribute from "false" to an invalid value.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding the parent element's
writingsuggestionsattribute from "false" to the empty string.:FAIL(Chrome:FAIL, Safari:FAIL) - Test turning off writing suggestions for an entire document.:
FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on an input element from "false" to "true".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a textarea element from "false" to "true".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a div element from "false" to "true".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a span element from "false" to "true".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on an input element from "false" to the empty string.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a textarea element from "false" to the empty string.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a div element from "false" to the empty string.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a span element from "false" to the empty string.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on an input element from "false" to an invalid value.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a textarea element from "false" to an invalid value.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a div element from "false" to an invalid value.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a span element from "false" to an invalid value.:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on an input element from "true" to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a textarea element from "true" to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a div element from "true" to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a span element from "true" to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on an input element from the empty string to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a textarea element from the empty string to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a div element from the empty string to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test overriding a non-parent ancestor element's
writingsuggestionsattribute on a span element from the empty string to "false".:FAIL(Chrome:FAIL, Safari:FAIL) - Test that for continuous text on the screen, writing suggestions may be allowed in one part but not another.:
FAIL(Chrome:FAIL, Safari:FAIL)
- Test that the writingsuggestions attribute is available on HTMLInputElement.:
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c25909ad3c08
https://hg.mozilla.org/mozilla-central/rev/8ef6090f5345
Description
•