mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
To reproduce this, execute following steps in order: 1. git clone git@github.com:html5lib/html5lib-tests.git && git checkout 6ddcf58bea5a01e616911050c173622f84297211 2. cp -Rv html5lib-tests/tree-construction/ testdata/webkit Change-Id: Id32798b1ff881afad82d87c2fef0841e5223c7e6 Reviewed-on: https://go-review.googlesource.com/c/net/+/263397 Trust: Kunpei Sakai <namusyaka@gmail.com> Trust: Nigel Tao <nigeltao@golang.org> Run-TryBot: Kunpei Sakai <namusyaka@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
17 lines
296 B
Plaintext
17 lines
296 B
Plaintext
#data
|
|
<p><b id="A"><script>document.getElementById("A").id = "B"</script></p>TEXT</b>
|
|
#errors
|
|
#script-on
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| <p>
|
|
| <b>
|
|
| id="B"
|
|
| <script>
|
|
| "document.getElementById("A").id = "B""
|
|
| <b>
|
|
| id="A"
|
|
| "TEXT"
|