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

Issue 5714054: allow <nav> element for jquery-1.7.1 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by felix8a
Modified:
14 years, 4 months ago
Reviewers:
Jasvir, metaweta
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

jquery-1.7.1 checks document.createElement('nav').cloneNode(true).outerHTML !== '<:nav></:nav>' to work around a bug in IE<=8, which returns that odd value. In caja, the createElement throws an error, so jquery fails to start. This change whitelists <nav>, which seems pretty harmless. jquery rationale: http://bugs.jquery.com/ticket/10501 http://bugs.jquery.com/ticket/10682 https://github.com/jquery/jquery/commit/41b31d7386cf00e714d703db773ffa73b6

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M src/com/google/caja/lang/html/html4-elements-extensions-defs.json View 2 chunks +7 lines, -1 line 0 comments Download
M src/com/google/caja/lang/html/html4-elements-extensions-whitelist.json View 1 chunk +1 line, -0 lines 0 comments Download
M src/com/google/caja/plugin/domado.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3
felix8a
14 years, 4 months ago (2012-03-01 09:00:37 UTC) #1
metaweta
lgtm. There was a message on the list a month or two ago about this; ...
14 years, 4 months ago (2012-03-01 15:39:35 UTC) #2
felix8a
14 years, 4 months ago (2012-03-01 16:11:59 UTC) #3
@r4798
Sign in to reply to this message.

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