From 72a193ff84a7b23085c00da000ffe0ad0c00b20f Mon Sep 17 00:00:00 2001 From: Helmut Januschka Date: Wed, 27 May 2026 22:25:11 +0200 Subject: [PATCH] Preserve focused area across bfcache reactivation Promotes the existing note's preservation statement to normative prose and clarifies that no focus or blur events fire as a side effect of a Document moving into or out of the back/forward cache. This aligns the spec text with the implementer agreement reached in #5878. Closes: #12496 --- source | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source b/source index 2825d4d2f50..4737f2ba49c 100644 --- a/source +++ b/source @@ -85851,8 +85851,15 @@ dictionary CommandEventInit : EventInit { in this specification.

Even if a document is not fully active and not shown to the user, it - can still have a focused area of the document. If a document's fully - active state changes, its focused area of the document will stay the same.

+ can still have a focused area of the document.

+ +

A document's focused area of the document does not change as a side effect of + the document's fully active state changing. In particular, neither storing the + document in the back/forward cache nor reactivating it from the back/forward cache + affects its focused area of the document, and as a result no focus or blur events are fired + on account of those transitions.

The currently focused area of