Standards-based CSS sanitizer

Authored by Anomie on Feb 19 2017, 2:52 PM.

Description

Standards-based CSS sanitizer

This adds the classes needed to actually validate a stylesheet against
the grammar of many CSS3 modules, properly stripping out unrecognized
properties, rules, and so on.

The choices of which modules to include is somewhat arbitrary, I mostly
just grabbed anything I saw that seemed to have a decent level of
browser support.

Change-Id: I101b6bceed95da3ba8debcb4ccb59a832fc6c9ac

Details

Committed
AnomieMon, Mar 20, 3:02 PM
Parents
rCSSS0599139b027b: Standards-based CSS grammar matcher
Branches
Unknown
Tags
Unknown
References
refs/changes/04/339304/7
ChangeId
I101b6bceed95da3ba8debcb4ccb59a832fc6c9ac