| commit | 2276ab92c116b8ae376fd28850bb0cf845f6de49 | [log] [tgz] |
|---|---|---|
| author | Andrew Balholm <andybalholm@gmail.com> | Tue Aug 07 09:35:09 2012 +1000 |
| committer | Nigel Tao <nigeltao@golang.org> | Tue Aug 07 09:35:09 2012 +1000 |
| tree | 2baae9d1a98f58f5082f746756b434e65a5e3fa4 | |
| parent | e1cf7d6fb69223bc6e1fd0f312dfe2b4df52f896 [diff] |
exp/html: fix foster-parenting when elements are implicitly closed When an element (like <nobr> or <p>) was implicitly closed by another start tag, it would keep foster parenting from working because the check for what was on top of the stack of open elements was in the wrong place. Move the check to addChild. Pass 2 additional tests. R=nigeltao CC=golang-dev https://golang.org/cl/6460045