Closed Bug 759765 Opened 12 years ago Closed 11 years ago

Webpagemaker should be more restrictive about what elements are allowed

Categories

(Webmaker Graveyard :: Thimble, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 866704

People

(Reporter: mgoodwin, Unassigned)

Details

the list of allowed elements in webpagemaker/api/sanitize.py is quite extensive. In addition to this, it seems many elements allowed are actually useless due to neccesary attributes being denied.

Can we a) clean these up a little so that we're only allowing the elements we specifically want and b) document the intent of allowing each of these?
I filed bug 765829 to allow type attributes for <input> tags, so when using the  :checked pseudo-class for checkboxes or radio buttons as in the source of this example:
https://bugzilla.mozilla.org/attachment.cgi?id=626367
it shows what's possible with CSS.
Component: General → Thimble
Product: Thimble → Webmaker
marking as duplicate for the issue filed against the upcoming Thimble
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.