diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-01 15:08:37 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:07 -0500 |
commit | ce285b6f2d48ce945b194fd7982cd6a5a306e939 (patch) | |
tree | c772c2ce051f12afd4c1879d0c7b1dbc0db282c4 /dom/html | |
parent | 32f3f8826f396fd17c1c77770d073d0abf15c904 (diff) | |
download | UXP-ce285b6f2d48ce945b194fd7982cd6a5a306e939.tar UXP-ce285b6f2d48ce945b194fd7982cd6a5a306e939.tar.gz UXP-ce285b6f2d48ce945b194fd7982cd6a5a306e939.tar.lz UXP-ce285b6f2d48ce945b194fd7982cd6a5a306e939.tar.xz UXP-ce285b6f2d48ce945b194fd7982cd6a5a306e939.zip |
Bug 1276438 part 3. Align the .body setter with the spec a bit better.
There are two changes here:
1) We allow setting .body even if the root element is not an <html:html>. This is what the spec says to do, and what we used to do before the changes in bug
366200. No tests for this yet, pending https://github.com/whatwg/html/issues/3403 getting resolved.
2) We use GetBody(), not GetBodyElement(), to look for an existing thing to replace. This matters if there are <frameset>s involved.
Tag UXP Issue #1344
Tag UXP Issue #252
Diffstat (limited to 'dom/html')
0 files changed, 0 insertions, 0 deletions