From bebf1b4d148713b3d63f3fa41313263f8a88d3e1 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Mon, 17 Oct 2022 09:12:28 -0700 Subject: [PATCH] Implement new dialog shadow focus behavior This implements the new dialog initial focus behavior specified in these changes: https://github.com/whatwg/html/pull/7079 https://github.com/whatwg/html/pull/7284 https://github.com/whatwg/html/pull/7361 https://github.com/whatwg/html/pull/8174 This will stay experimental until I have also made the other changes for dialog initial focus: https://github.com/whatwg/html/pull/8199 After those changes have been made as well, I will carefully enable the flag by default. Bug: 383230, 670130, 1292852 Change-Id: I13995197f1942aa356cab0f3b41a0e226d1d170d --- .../dialog-focus-shadow.html | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow.html b/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow.html index 9cdad92d80f575..7d38e9dc87993b 100644 --- a/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow.html +++ b/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow.html @@ -171,10 +171,10 @@ - + @@ -203,6 +203,24 @@ + + + + + + +
+ +
+ +
+