notes: remove support for disused css properties.

Remove the follow properties:

* clear (wasn't used)
* list-style-* (wasn't used)
* outline (only used a few times; can be achieved with borders or
  box-shadow).
* mask (not well-supported in browsers; only used a few times for
  effects that could be achieved in other ways).
* text-decoration-* (use the shorthand property)
* text-transform (can be achieved in other ways)
This commit is contained in:
evazion
2021-02-22 02:26:18 -06:00
parent cde76e66f6
commit 9a3e003272

View File

@@ -23,7 +23,6 @@ module NoteSanitizer
border-top border-top-color border-top-left-radious border-top-right-radius border-top-style border-top-width
bottom left right top
box-shadow
clear
color
display
filter
@@ -33,19 +32,15 @@ module NoteSanitizer
justify-content
letter-spacing
line-height
list-style list-style-position list-style-type
margin margin-bottom margin-left margin-right margin-top
mask mask-border mask-clip mask-composite mask-image mask-mode mask-origin mask-position mask-repeat mask-size
opacity
outline outline-color outline-offset outline-width outline-style
padding padding-bottom padding-left padding-right padding-top
perspective perspective-origin
position
text-align
text-decoration text-decoration-color text-decoration-line text-decoration-style
text-decoration
text-indent
text-shadow
text-transform
transform transform-origin
white-space
word-break