Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(966)

Issue 6256045: code review 6256045: exp/html: adjust parseForeignContent to match spec (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by andybalholm
Modified:
12 years, 9 months ago
Reviewers:
CC:
nigeltao, golang-dev
Visibility:
Public.

Description

exp/html: adjust parseForeignContent to match spec Remove redundant checks for integration points. Ignore null bytes in text. Don't break out of foreign content for a <font> tag unless it has a color, face, or size attribute. Check for MathML text integration points when breaking out of foreign content. Pass two new tests.

Patch Set 1 #

Patch Set 2 : diff -r 0ed15bfbe0f4 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 0ed15bfbe0f4 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -16 lines) Patch
M src/pkg/exp/html/foreign.go View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/pkg/exp/html/parse.go View 1 4 chunks +19 lines, -13 lines 0 comments Download
M src/pkg/exp/html/testlogs/plain-text-unsafe.dat.log View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3
andybalholm
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 9 months ago (2012-05-24 15:31:51 UTC) #1
nigeltao
LGTM.
12 years, 9 months ago (2012-05-25 00:03:41 UTC) #2
nigeltao
12 years, 9 months ago (2012-05-25 00:04:11 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=dd70f64136b7 ***

exp/html: adjust parseForeignContent to match spec

Remove redundant checks for integration points.

Ignore null bytes in text.

Don't break out of foreign content for a <font> tag unless it
has a color, face, or size attribute.

Check for MathML text integration points when breaking out of
foreign content.

Pass two new tests.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6256045

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b