1 | # domino 2.0.3 (12 Jul 2018)
|
2 | * Define `blur()`, `focus()` and `forceSpellCheck()` on `HTMLElement` (#125)
|
3 | * Stringify argument tokens for DOMTokenList methods (#126)
|
4 | * Fix `HTMLAnchorElement#hash` when `href` attribute contains bare
|
5 | fragment (#127)
|
6 | * Implement case-insensitive CSS attribute matching (#128)
|
7 | * Implement DOMTokenList#replace()`, `DOMTokenList#toggle(token, force)`,
|
8 | and `DOMTokenList#value`. Fix handling of non-space whitespace. (#111)
|
9 |
|
10 | # domino 2.0.2 (28 Mar 2018)
|
11 | * Add TypeScript definitions (#103)
|
12 | * Add `flex` CSS styles (#119, #120)
|
13 | * Fix Element#matches with ~= selectors (#121)
|
14 |
|
15 | # domino 2.0.1 (14 Feb 2018)
|
16 | * Allow attributes named 'xmlns' (#112)
|
17 | * Make DOMTokenList add/remove variadic (#109)
|
18 | * Make `Array.from` and for-of loops work on `Node#attributes`.
|
19 |
|
20 | # domino 2.0.0 ( 8 Nov 2017)
|
21 | * Fix potential O(N^2) slowdown in FilteredElementList#item.
|
22 | * `mocha` dependency has been updated to 4.0.x. As a result, we are
|
23 | no longer testing on node pre-v4.0.0; see:
|
24 | https://boneskull.com/mocha-v4-nears-release/
|
25 | * Domino now uses a linked list representation for children of Node,
|
26 | unless/until the Node#childNodes accessor is used (which requires
|
27 | an indexed array to be built). Inserting a removing nodes can be
|
28 | much quicker using the linked list representation if care is
|
29 | taken not to deoptimize the tree by using the #childNodes accessor.
|
30 | This implementation strategy matches the one used by webkit and
|
31 | other browser-based implementations, and thus ought to match
|
32 | performance expectations of folks used to writing browser-based
|
33 | DOM manipulation code.
|
34 |
|
35 | # domino 1.0.30 (24 Oct 2017)
|
36 | * Fix regexp capitalization in URLUtils (#101)
|
37 | * Fix O(N^2) slowdown in initial tree traversal using nextSibling/prevSibling
|
38 | * Update `mocha` dependency to 3.5.x and `should` to 13.1.x.
|
39 |
|
40 | # domino 1.0.29 ( 7 Aug 2017)
|
41 | * Fix "#id" optimization in querySelectorAll() when 0 or 2 matches for
|
42 | `id`. (#99)
|
43 | * Correct return value of CSSStyleDeclaration#getPropertyValue() when
|
44 | style is not set. (#98)
|
45 |
|
46 | # domino 1.0.28 (27 Jan 2017)
|
47 | * Fix unescape mechanism in attribute values. (#95)
|
48 | * Disable nonstandard "ignore case" version of attribute matching.
|
49 | * Add `dom/nodes` tests from w3c/web-platform-tests. (#92, @pimterry)
|
50 | * Make selected API methods writable to support polyfills. (#89, @pimterry)
|
51 | * Fix `Element#hasAttribute`/`Element#hasAttributeNS` after
|
52 | `Element#removeAttribute`/`Element#removeAttributeNS`. (#90, @clint-tseng)
|
53 | * Fix deep `Document#importNode`. (#93)
|
54 | * Ensure that `Node#parentNode` is `null` (not `undefined`) when removed.
|
55 | * Add an optional second argument to `domino.createWindow` to specify
|
56 | the document's address.
|
57 | * Tweak JavaScript properties which are DOM reflections of element
|
58 | attributes in order to more closely match the DOM 4 spec.
|
59 | * Implement `ChildNode#before()`, `ChildNode#after()`, and
|
60 | `ChildNode#replaceWith()`.
|
61 |
|
62 | # domino 1.0.27 (17 Oct 2016)
|
63 | * Fix bug in AFE list replacement over existing bookmark.
|
64 | * Update htmlwg test suite to latest w3c/web-platform-tests.
|
65 | * Update html5lib test suite to latest.
|
66 | * HTML5 spec update: <menuitem> is no longer an empty element.
|
67 | * HTML5 spec update: tweaked HTML entity parsing in attributes.
|
68 | * HTML5 spec update: dashes are allowed in HTML comments.
|
69 | * HTML5 spec update: remove special handling of <isindex>.
|
70 | * Improve handling of legacy elements: `<xmp>`, `<listing>`, `acronym`,
|
71 | `basefont`, `big`, `center`, `nobr`, `noembed`, `noframes`, `plaintext`,
|
72 | `rb`, `rtc`, `strike`, and `tt`.
|
73 | * HTML5 spec update: Remove extra newline in serialization of `<pre>`,
|
74 | `<listing>`, `<textarea>`. (#88)
|
75 | * HTML5 spec update: Remove case normalization for defunct SVG attributes.
|
76 | * Implement HTMLMenuItemElement#label.
|
77 | * Basic SVG support. (#81, #82)
|
78 |
|
79 | # domino 1.0.26 (15 Oct 2016)
|
80 | * Implement Document#dir.
|
81 | * Minor spec-compliance fixes to Document#title and classList#contains.
|
82 | * Implement Element#closest(). (#84)
|
83 | * Actually run the HTMLWG tests (#83)
|
84 | * Expose the HTML5 tree builder implementation. (#87)
|
85 | * Add workaround to W3C test harness for node >= 0.11.7.
|
86 | * Update the form-associated element list to match HTML5.
|
87 |
|
88 | # domino 1.0.25 (19 May 2016)
|
89 | * Fix broken stopping of immediate propagation of Events. (#78)
|
90 | * Properly set "scripting enabled" flag when parsing fragments.
|
91 | * Fix handling of escaped or invalid CSS identifiers in
|
92 | `querySelector` and friends. (#79)
|
93 |
|
94 | # domino 1.0.24 (05 Apr 2016)
|
95 | * Implement WindowTimers interface on Window. (#72)
|
96 | * Factor out the NavigatorID interface and make more spec-compliant.
|
97 | * Implement `HTMLTemplateElement` and parse `<template>` tags.
|
98 | * Properly parse the `<main>` tag.
|
99 | * Remove support for the non-standard `<command>` tag.
|
100 | * Create `HTMLCanvasElement` when parsing `<canvas>` tags.
|
101 | * Create `HTMLDialogElement` when parsing `<dialog>` tags.
|
102 | * Fix parsing of `<ruby>` tags, especially `<rb>` and `<rtc>`.
|
103 | * Create `HTMLMenuItemElement` when parsing `<menuitem>` tags.
|
104 | * Create `HTMLSourceElement` when parsing `<source>` tags.
|
105 | * Create `HTMLTrackElement` when parsing `<track>` tags.
|
106 | * Improve parsing of `<svg>` elements.
|
107 | * Fix parsing of `<isindex>` element in unusual contexts.
|
108 | * Serialize `<!DOCTYPE>` according to latest HTML5 spec.
|
109 | * Update adoption agency algorithm to match latest HTML5 spec.
|
110 | * Add additional parameter to `domino.createDocument` to
|
111 | allow creating a document from an empty string if desired.
|
112 | * Add tree builder test cases from `html5lib-tests`.
|
113 | * Implement `Document#location`. (#75)
|
114 | * Stub out additional properties of `HTMLIFrameElement`. (#76)
|
115 |
|
116 | # domino 1.0.23 (30 Jan 2016)
|
117 | * Fix `CSSStyleDeclaration#setProperty`. (#71)
|
118 | * Update bundled CSS parser to 0.2.5+domino1.
|
119 |
|
120 | # domino 1.0.22 (27 Jan 2016)
|
121 | * Prevent TypeError due to undefined property when parsing styles. (#68)
|
122 | * Support legacy `Attr#nodeValue` and `Attr#textContent` aliases. (#70)
|
123 |
|
124 | # domino 1.0.21 (23 Dec 2015)
|
125 | * Improve performance when adding nodes with duplicate IDs. (#60)
|
126 | * Be more careful about setting prototype to `null` when using
|
127 | Objects as a Map. (#61)
|
128 | * Fix a global leak in NodeIterator.
|
129 | * Improve efficiency of `Node#replaceChild` and `Node#insert`. (#62)
|
130 | * Bug fix for `Node#normalize` which could cause deletion of empty
|
131 | `Comment` or `ProcessingInstruction` nodes. (#63)
|
132 | * Don't lowercase non-ASCII tag and attribute names. (#65)
|
133 | * Fix a number of minor bugs in rarely used code, discovered
|
134 | during delinting. (#66)
|
135 | * Implement `Node.contains`. (#67)
|
136 |
|
137 | # domino 1.0.20 (20 Nov 2015)
|
138 | * CharacterData implements the NonDocumentTypeChildNode
|
139 | interface. (#57, #58)
|
140 | * Fix CSS `[style]` selector. (#59)
|
141 |
|
142 | # domino 1.0.19 (29 Jul 2015)
|
143 | * Bug fixes for `TreeWalker` / `document.createTreeWalker` (filter
|
144 | argument was ignored; various traversal issues)
|
145 | * Implement `NodeIterator` / `document.createNodeIterator` (#54)
|
146 | * Update `mocha` dependency to 2.2.x and `should` to 7.0.x.
|
147 |
|
148 | # domino 1.0.18 (25 Sep 2014)
|
149 | * HTMLAnchorElement now implements URLUtils. (#47)
|
150 | * Be consistent with our handling of null/empty namespaces. (#48)
|
151 | * Update `mocha` dependency to 1.21.x and `should` to 4.0.x.
|
152 |
|
153 | # domino 1.0.17 (14 May 2014)
|
154 | * Brown paper bag bug fix for an HTML parsing regression introduced in
|
155 | domino 1.0.16. (#45)
|
156 | * Update `mocha` dependency to 1.18.x and `should` to 3.3.x.
|
157 |
|
158 | # domino 1.0.16 (13 May 2014)
|
159 | **DO NOT USE:** contains parser regression, fixed in 1.0.17.
|
160 | * Various performance improvements to the HTML5 parser. (#43, #44)
|
161 | * Fix `Element#isHTML` for non-HTML elements. (#41)
|
162 |
|
163 | # domino 1.0.15 (21 Jan 2014)
|
164 | * Implement `Element#matches()`.
|
165 | * Fix CSS `[lang]`, `[dir]`, etc selectors.
|
166 | * Update `mocha` dependency to 1.17.x.
|
167 |
|
168 | # domino 1.0.14 (21 Dec 2013)
|
169 | * `Element#classList.length` should be 0 if there's no `class`
|
170 | attribute.
|
171 | * Add `height`/`width` attributes to `HTMLImageElement`.
|
172 | * Fix node 0.11 incompatibility in the w3c test harness.
|
173 | * Update `mocha` dependency to 1.16.x; update `should` dependency to 2.1.x.
|
174 |
|
175 | # domino 1.0.13 (8 Oct 2013)
|
176 | * Include `<th>` elements in `HTMLTableRowElement#cells`. (#38, #39)
|
177 | * Fix old call to `toLowerCase()` function. (#37)
|
178 | * Update `mocha` and `should` dependencies.
|
179 |
|
180 | # domino 1.0.12 (9 Jul 2013)
|
181 | * Fix bug in formatting element adoption agency algorithm. (#36)
|
182 | * Coerce `document.createTextNode` argument to a string. (#34, #35)
|
183 | * Work around performance regression in node <= 0.6.
|
184 |
|
185 | # domino 1.0.11 (1 May 2013)
|
186 | * Fix rooted element traversal (`Element#nextElement`,
|
187 | `Element#getElementsByTagName`). (#31, #32)
|
188 | * Update zest to fix bugs in `+` and `>` combinators.
|
189 | * Don't overflow the stack if attribute values are very large (>64k).
|
190 |
|
191 | # domino 1.0.10 (12 Apr 2013)
|
192 | * Document issues with `Element#attributes`. (#27)
|
193 | * Fix `Document#title` to match DOM spec. (#29)
|
194 | * Add missing `require('utils')` for `handleErrors`. (#28)
|
195 | * Implement `DocumentFragment#querySelector` and
|
196 | `DocumentFragment#querySelectorAll`. (#20, #26)
|
197 | * Fix `querySelectorAll` on unparented `Element`s. (#23)
|
198 | * Move `outerHTML`/`innerHTML` properties from `HTMLElement` to
|
199 | `Element` to match dom parsing spec. (#21)
|
200 | * Update zest selector library to 0.0.4. (#25)
|
201 | * Fix regression in node 0.10. (#22, #24)
|
202 | * Update `mocha` and `should` dependencies.
|
203 |
|
204 | # domino 1.0.9 (11 Mar 2013)
|
205 | * Support jQuery 1.9.x by allowing `Element#attributes[qname]`.
|
206 | * Implement `HTMLElement#outerHTML`. (#18)
|
207 | * Only add newlines after `<pre>`/`<textarea>`/`<listing>` if
|
208 | necessary, to match HTML5 serialization spec. (#16, #17)
|
209 | * Mirror node type properties (`ELEMENT_NODE`, etc) into
|
210 | `Node.prototype`. (#14, #15)
|
211 |
|
212 | # domino 1.0.8
|
213 |
|
214 | **DO NOT USE:** was inadvertently published identical to domino 1.0.7.
|
215 |
|
216 | # domino 1.0.7 (16 Jan 2013)
|
217 | * Throw `SyntaxError` upon invocation rather than build-time. (#10)
|
218 | * Return nodes in document order. (#11)
|
219 | * Added a TreeWalker implementation.
|