ezyang / ezyang/htmlpurifier

CSS3 rules are deleted

Open
#41 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
3.4k
Forks
361
Avg merge
3d 41m
Merged PRs (30d)
2

Description

Things like box-shadow, border-radius and linear-gradient() are removed. It's quite a disadvantage for design to not be able to use these properties.
Would it be possible to fix this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names box-shadow, border-radius, and linear-gradient() as CSS3 features being removed, but it does not identify files or tests. Start by locating the CSS sanitization rules and reproduce each case; done means supported properties are retained without weakening HTML Purifier's filtering behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, php
Domain
security, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.