Skip to content

Commit

Permalink
Add 'writingSuggestions' attribute
Browse files Browse the repository at this point in the history
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; otherwise, it defaults to "true".

Changes were verified against wpt tests:
(note: checks for getAttribute() for missing/invalid attributes differ
to align with default behavior)
#43780

Intent to Prototype:
https://groups.google.com/a/chromium.org/g/blink-dev/c/rHyRCx-hJhE

Bug: 1513953
Change-Id: I716deba02f3d8df37dd04d1363d624cf2615203c
  • Loading branch information
stephanieyzhang authored and chromium-wpt-export-bot committed Feb 12, 2024
1 parent 5a5b804 commit c69ed14
Showing 1 changed file with 457 additions and 0 deletions.
Loading

0 comments on commit c69ed14

Please sign in to comment.