mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
LibWeb: Remove FIXMe's for HTML attribute serialization steps
As far as I can tell all of these steps are just equivalent to using the qualified name. Add some tests which cover some of these cases, and remove the FIXME's.
This commit is contained in:
parent
96fc1741b5
commit
87a4a5b302
3 changed files with 44 additions and 21 deletions
17
Tests/LibWeb/Text/input/HTML/get-innerHTML.html
Normal file
17
Tests/LibWeb/Text/input/HTML/get-innerHTML.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<div id="id1">
|
||||
<ol reversed xml:myattribute></ol>
|
||||
<ol xmlns:somename></ol>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<script xlink:href="test"></script>
|
||||
<script href="test"></script>
|
||||
<script id="script" madeup:thing="test"></script>
|
||||
</svg>
|
||||
<label xml:lang="en-US" class="struct"></label>
|
||||
</div>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
document.getElementById('script').setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns", "5");
|
||||
println(document.getElementById('id1').innerHTML);
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue