From 8920edee2043e51b9aa5d0deaee999f4dfd34542 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Mon, 12 Aug 2013 21:08:37 +0000 Subject: [PATCH] [giow] (3) Try to mitigate the impact of the Noah's Arc algorithm on the Adoption Agency algorithm Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22926 Affected topics: HTML Syntax and Parsing git-svn-id: http://svn.whatwg.org/webapps@8139 340c8d12-0b0e-0410-8428-c7bf67bfef74 --- complete.html | 18 +++++++++++++++++- index | 18 +++++++++++++++++- source | 20 ++++++++++++++++++++ 3 files changed, 54 insertions(+), 2 deletions(-) diff --git a/complete.html b/complete.html index f6af92bbab7..092f17aea36 100644 --- a/complete.html +++ b/complete.html @@ -91172,7 +91172,23 @@
12.2.5.4.3 The "< a tag name subject for which the algorithm is being run, consists of the following steps:

-
  1. Let outer loop counter be zero.

  2. +
    1. + +

      If the current node is an HTML element whose + tag name is subject, then run these substeps: + +

      1. Let element be the current node.

      2. + +
      3. Pop element off the stack of open elements.

      4. + +
      5. If element is also in the list of active formatting + elements, remove the element from the list.

      6. + +
      7. Abort the adoption agency algorithm.

      8. + +
    2. + +
    3. Let outer loop counter be zero.

    4. Outer loop: If outer loop counter is greater than or equal to eight, then abort these steps.

    5. diff --git a/index b/index index f6af92bbab7..092f17aea36 100644 --- a/index +++ b/index @@ -91172,7 +91172,23 @@ document.body.appendChild(text); a tag name subject for which the algorithm is being run, consists of the following steps:

      -
      1. Let outer loop counter be zero.

      2. +
        1. + +

          If the current node is an HTML element whose + tag name is subject, then run these substeps: + +

          1. Let element be the current node.

          2. + +
          3. Pop element off the stack of open elements.

          4. + +
          5. If element is also in the list of active formatting + elements, remove the element from the list.

          6. + +
          7. Abort the adoption agency algorithm.

          8. + +
        2. + +
        3. Let outer loop counter be zero.

        4. Outer loop: If outer loop counter is greater than or equal to eight, then abort these steps.

        5. diff --git a/source b/source index 46d2f547c9b..b7aaf9ec2ff 100644 --- a/source +++ b/source @@ -101846,6 +101846,26 @@ document.body.appendChild(text); +
        6. + +

          If the current node is an HTML element whose + tag name is subject, then run these substeps: + +

            + +
          1. Let element be the current node.

          2. + +
          3. Pop element off the stack of open elements.

          4. + +
          5. If element is also in the list of active formatting + elements, remove the element from the list.

          6. + +
          7. Abort the adoption agency algorithm.

          8. + +
          + +
        7. +
        8. Let outer loop counter be zero.

        9. Outer loop: If outer loop counter is greater than or equal to