Skip to content

Commit 7ac6fd2

Browse files
Hexeptionawesomekling
authored andcommitted
LibWeb: Added HTMLLinkElement.as Tests
1 parent 2f4668e commit 7ac6fd2

File tree

3 files changed

+19
-21
lines changed

3 files changed

+19
-21
lines changed

Base/res/html/misc/linkas.html

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Link.as: style
2+
Link.as: empty
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<script src="include.js"></script>
3+
<script>
4+
test(() => {
5+
const link = document.createElement("link");
6+
link.as = "style"
7+
8+
println("Link.as: " + link.as)
9+
10+
link.as = "uwu"
11+
12+
if(link.as === "") {
13+
println("Link.as: empty")
14+
}
15+
16+
});
17+
</script>

0 commit comments

Comments
 (0)