]> Cypherpunks repositories - gostls13.git/commit
exp/html: don't treat SVG <title> like HTML <title>
authorAndrew Balholm <andybalholm@gmail.com>
Sun, 5 Aug 2012 12:32:35 +0000 (22:32 +1000)
committerNigel Tao <nigeltao@golang.org>
Sun, 5 Aug 2012 12:32:35 +0000 (22:32 +1000)
commit74db9d298b1b5aedd1d63f0a7257e4b51e21ca0c
treeb3faa8e7d041783b47d69166367d3b8383adf7cb
parent2f2df2aceb4fdd02ac4a93e43a823a55341c9439
exp/html: don't treat SVG <title> like HTML <title>

The content of an HTML <title> element is RCDATA, but the content of an SVG
<title> element is parsed as tags. Now the parser doesn't go into RCDATA
mode in foreign content.

Pass 4 additional tests.

R=nigeltao
CC=golang-dev
https://golang.org/cl/6448111
src/pkg/exp/html/parse.go
src/pkg/exp/html/render.go
src/pkg/exp/html/testlogs/tests10.dat.log
src/pkg/exp/html/testlogs/webkit01.dat.log