From a97debcb4da2c1fc0753ff6fb78638243b5731a3 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 1 Jan 2016 15:16:19 +0100 Subject: [PATCH] DOMTokenList's supports() takes a single token Pointed out in https://github.com/whatwg/dom/commit/ff4f0e8bf0a1ef5829411fc5988f94a7511 8f73b#commitcomment-15087264 by @ArkadiuszMichalski. Thank you! --- dom.bs | 2 +- dom.html | 258 +++---------------------------------------------------- 2 files changed, 12 insertions(+), 248 deletions(-) diff --git a/dom.bs b/dom.bs index cfa77395d..297bdf03a 100644 --- a/dom.bs +++ b/dom.bs @@ -8769,7 +8769,7 @@ method, when invoked, must run these steps:

The -supports(token…) +supports(token) method, when invoked, must run these steps:

    diff --git a/dom.html b/dom.html index 75be9c5b9..3238e25a8 100644 --- a/dom.html +++ b/dom.html @@ -4251,7 +4251,7 @@

    Run the update steps.

-

The supports(token…) method, when invoked, must run these steps:

+

The supports(token) method, when invoked, must run these steps:

  1. Let result be the return value of validation steps called with token. Rethrow any exceptions.

    @@ -4542,15 +4542,6 @@

    ASCII case-insensitively, in §2.2
  2. AT_TARGET, in §3.2
  3. Attr, in §4.8.2 -
  4. - attr -
  5. attribute, in §4.8.2
  6. attributeFilter, in §4.3.1
  7. attribute is added, in §4.8 @@ -4583,28 +4574,18 @@

    bubbles
  8. BUBBLING_PHASE, in §3.2
  9. callback, in §4.3.1
  10. cancelable
  11. canceled flag, in §3.2 -
  12. - capture -
  13. CAPTURING_PHASE, in §3.2
  14. case-sensitive, in §2.2
  15. case-sensitively, in §2.2 @@ -4616,14 +4597,7 @@

    characterDataOldValue, in §4.3.1
  16. characterSet, in §4.5
  17. charset, in §4.5 -
  18. - child - +
  19. child, in §2.1
  20. childElementCount, in §4.2.3
  21. childList, in §4.3.1
  22. ChildNode, in §4.2.5 @@ -4637,12 +4611,6 @@

    class, in §4.8
  23. classList, in §4.8
  24. className, in §4.8 -
  25. - classNames -
  26. clone, in §4.4
  27. clone a node, in §4.4
  28. clone a range, in §5.2 @@ -4676,13 +4644,6 @@

    converted to ASCII lowercase, in §2.2
  29. converted to ASCII uppercase, in §2.2
  30. converting nodes into a node, in §4.2.3 -
  31. - count -
  32. createAttribute(localName), in §4.5
  33. createAttributeNS(namespace, qualifiedName), in §4.5
  34. createCDATASection(), in §8.2 @@ -4714,22 +4675,8 @@

    data -
  35. - deep -
  36. defaultPrevented, in §3.2
  37. deleteContents(), in §5.2 @@ -4744,7 +4691,6 @@

    detail @@ -4756,7 +4702,6 @@

  38. attribute for Document, in §4.5 -
  39. argument for DOMImplementation/createDocument(namespace, qualifiedName, doctype), DOMImplementation/createDocument(namespace, qualifiedName), in §4.5.1
  40. definition of, in §4.7
  41. Document(), in §4.5 @@ -4798,7 +4743,6 @@

    dfn for Attr, in §4.8.2
  42. Element, in §4.8 -
  43. elementId, in §4.2.2
  44. element interface, in §4.5
  45. ELEMENT_NODE, in §4.4
  46. Elements, in §4.2.6 @@ -4820,20 +4764,8 @@

    equal, in §5.2
  47. equals, in §4.4
  48. Event, in §3.2 -
  49. - event - +
  50. event, in §3.2
  51. EventInit, in §3.2 -
  52. - eventInitDict -
  53. event listener, in §3.6
  54. EventListener, in §3.6
  55. eventPhase, in §3.2 @@ -4846,8 +4778,6 @@

    filter
  56. Node, in §4.4 -
  57. - node -
  58. node document, in §4.4
  59. NodeFilter, in §6.3
  60. NodeIterator, in §6.1
  61. NodeIterator pre-removing steps, in §6.1
  62. NodeList, in §4.2.7.1
  63. nodeName, in §4.4 -
  64. - nodes - +
  65. nodes, in §4.2
  66. node tree, in §4.2
  67. nodeType, in §4.4
  68. @@ -5150,35 +5009,13 @@

    NOTATION_NODE, in §4.4
  69. notations, in §8.2
  70. notify mutation observers, in §4.3 -
  71. observer, in §4.3.1
  72. observe(target, options), in §4.3.1 -
  73. - offset - +
  74. offset, in §5.2
  75. oldValue, in §4.3.3 -
  76. options, in §4.3.1
  77. ordered set parser, in §2.3
  78. ordered set serializer, in §2.3
  79. origin, in §4.5 -
  80. - other -
  81. other applicable specifications, in §1.2 -
  82. otherNode, in §4.4
  83. ownerDocument, in §4.4
  84. ownerElement, in §4.8.2
  85. parent, in §2.1 @@ -5195,7 +5032,6 @@

    prefix