]> Cypherpunks repositories - gostls13.git/commit
html: foreign element HTML integration points, tag name adjustment,
authorNigel Tao <nigeltao@golang.org>
Tue, 10 Jan 2012 00:06:09 +0000 (11:06 +1100)
committerNigel Tao <nigeltao@golang.org>
Tue, 10 Jan 2012 00:06:09 +0000 (11:06 +1100)
commit748fab9d11e23b8f8c17cd583f995252ec86bfd3
tree69b48c8af6324a79021585a1561f525c8f74c1ca
parent0ad241dd550d224f65c634f767f5e73a025fc2bc
html: foreign element HTML integration points, tag name adjustment,
shorten the MathML namespace abbreviation from "mathml" to "math".
Python's html5lib uses "mathml", but I think that that is an internal
implementation detail; the test cases use "math".

Pass tests10.dat, test 30:
<div><svg><path><foreignObject><math></div>a

| <html>
|   <head>
|   <body>
|     <div>
|       <svg svg>
|         <svg path>
|           <svg foreignObject>
|             <math math>
|               "a"

R=andybalholm
CC=golang-dev
https://golang.org/cl/5529044
src/pkg/html/foreign.go
src/pkg/html/node.go
src/pkg/html/parse.go
src/pkg/html/parse_test.go