]> Cypherpunks repositories - gostls13.git/commit
exp/html: make inBodyIM match spec
authorAndrew Balholm <andybalholm@gmail.com>
Tue, 24 Apr 2012 05:27:48 +0000 (15:27 +1000)
committerNigel Tao <nigeltao@golang.org>
Tue, 24 Apr 2012 05:27:48 +0000 (15:27 +1000)
commitb885633d62e5001b11e65f92db85ee9ed74b383c
treead9d9983f1a08548e3246afaad9f3fdf94e98f4f
parent87eaa4cd0c3e33c75bb53d9ea082030cef4da923
exp/html: make inBodyIM match spec

This CL corrects the remaining differences that I could find between the
implementation of inBodyIM and the spec:

Handle <rp> and <rt>.

Adjust SVG and MathML attributes.

Reconstruct active formatting elements in the "any other start tag" case.

Pass 7 additional tests.

R=nigeltao
CC=golang-dev
https://golang.org/cl/6101055
src/pkg/exp/html/foreign.go
src/pkg/exp/html/parse.go
src/pkg/exp/html/testlogs/tests11.dat.log
src/pkg/exp/html/testlogs/tests16.dat.log
src/pkg/exp/html/testlogs/tests19.dat.log