Add toast type attribute support with IDL property and default styles
This change adds the toast type attribute and property according to the PR on the toast explainer here: https://github.com/jackbsteinberg/std-toast/pull/49 There is still work TODO on implementing this PR, w.r.t the showToast type option, a11y behavior for warning / error, and default features for those types (Infinity duration, closebutton, etc) Additionally, a follow-up CL will come out to reconfigure the current reflection tests for type and open to use established reflection test methodology (ex: https://cs.chromium.org/chromium/src/third_party/blink/web_tests/wpt_internal/std-switch/tentative/form-associated-basic.js) Bug: 972945 Change-Id: I58c7079dc4f748928eea44103dece835e549986e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1708313 Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org> Reviewed-by:Fergal Daly <fergal@chromium.org> Cr-Commit-Position: refs/heads/master@{#680073}
Showing
Please register or sign in to comment