Closed Bug 1600429 Opened 5 years ago Closed 5 years ago

Add ability to strip conditional CSS rules, only

Categories

(Core :: DOM: HTML Parser, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

Attachments

(1 file)

Thunderbird needs to ability to strip conditional CSS rules from an email, while keeping everything else of the HTML/CSS document. It has been suggested to add this as an option to nsIParserUtils.idl / nsTreeSanitizer.cpp and the patch has already been reviewed by Henri Sivonen in a Thunderbird bug.

Filing this gecko bug and will ask for phabricator r+

Pushed by kaie@kuix.de: https://hg.mozilla.org/integration/autoland/rev/53cfede1065c Add ability to strip conditional CSS rules, only. r=hsivonen
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73

It would be nice if this would've landed with a test... I'm reworking the stylesheet sanitization and I almost break this.

Blocks: 1530106
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: