canmove, Confirmed users
2,675
edits
m (→Open Questions) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
* Allow a setting for enabling comments. See {{bug|572642}} | * Allow a setting for enabling comments. See {{bug|572642}} | ||
** Or always enable comments? (What about "--" in comments?) | ** Or always enable comments? (What about "--" in comments?) | ||
* Have three element white lists: HTML, SVG and MathML. | * <s>Have three element white lists: HTML, SVG and MathML.</s> | ||
** This turns out to lead to a lot of complexity without clear benefit. | |||
* Have three attribute white lists: HTML, SVG and MathML. The attributes don't depend on the element they are on beyond the element namespace. | * Have three attribute white lists: HTML, SVG and MathML. The attributes don't depend on the element they are on beyond the element namespace. | ||
** XXX: Figure out what the requirements are for attributes starting with data- or _. | ** XXX: Figure out what the requirements are for attributes starting with data- or _. | ||
* Have three lists of attributes that take URLs. Drop the attributes when they have prohibited URLs (after trimming whitespace from the value). | * Have three lists of attributes that take URLs. Drop the attributes when they have prohibited URLs (after trimming whitespace from the value). | ||
** Resolve relative URLs into absolute ones using a per fragment base URL. (Is this correct for Gecko reqs? Current code uses the node's base URI. Is that right?) | ** Resolve relative URLs into absolute ones using a per fragment base URL. (Is this correct for Gecko reqs? Current code uses the node's base URI. Is that right?) | ||
** However, allow any URL in the src attribute on the img element, because imgs are safe. {{bug|572637}} | ** However, allow any URL in the src attribute on the img element, because imgs are safe. {{bug|572637}} | ||
* Have a list of SVG attributes that take different-document references. | * Have a list of SVG attributes that take different-document references. | ||
Line 24: | Line 24: | ||
* Should Semantic MathML be on the white list for clipboard round-tripping? (Mainly a footprint issue.) | * Should Semantic MathML be on the white list for clipboard round-tripping? (Mainly a footprint issue.) | ||
* Is it dangerous for SVG fragment id references to be able to refer to an id in the document the untrusted fragment gets inserted into? | * Is it dangerous for SVG fragment id references to be able to refer to an id in the document the untrusted fragment gets inserted into? | ||
* What to do about microdata? | |||
==Non-Gecko Requirements== | ==Non-Gecko Requirements== |