ladybird/Tests/LibWeb/Text/expected/HTML/HTMLOutputElement-htmlfor.txt
Tim Ledbetter 3dc86747f0 LibWeb: Implement the HTMLOutputElement.htmlFor attribute
This returns a DOMTokenList that reflects the `for` attribute.
2024-05-18 11:23:20 +02:00

9 lines
461 B
Text

output.htmlFor is initially empty: true
output.htmlFor always returns the same object: true
output.htmlFor after setting output.htmlFor to "a": a
for attribute value after setting output.htmlFor to "a": a
output.htmlFor after calling output.setAttribute("for", "b"): b
output.htmlFor after setting output.htmlFor to "c d": c d
for attribute value after setting output.htmlFor to "c d": c d
output.htmlFor.contains("c"): true
output.htmlFor.contains("a"): false