From df520f824a0f5b705059855a602d47590629b2aa Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Wed, 31 May 2017 16:43:22 -0400 Subject: [PATCH] Fix form connectedness check, but also warn about it https://github.com/whatwg/html/issues/2708#issuecomment-304029649 pointed out that this check was just broken, so this fixes it. But the check is also under discussion in #2615 and #2708, pending compat data, so this adds a warning in the meantime. --- source | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/source b/source index 4658a12d654..c61bab73e6c 100644 --- a/source +++ b/source @@ -55236,14 +55236,20 @@ fur following steps:

    +
  1. +

    If form is not connected, then return.

    + +

    This check is currently under discussion, and may be + either removed or expanded. See issue + #2615 and issue #2708.

    +
  2. Let form document be the form's node document.

  3. -
  4. If form document is not connected, has - no associated browsing context, or its active - sandboxing flag set has its sandboxed forms browsing context flag set, then - abort these steps without doing anything.

  5. +
  6. If form document has no associated browsing context, or its active sandboxing flag + set has its sandboxed forms browsing context flag set, then return.

  7. Let form browsing context be the browsing context of form document.