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:
@@ -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
|
border-top border-top-color border-top-left-radious border-top-right-radius border-top-style border-top-width
|
||||||
bottom left right top
|
bottom left right top
|
||||||
box-shadow
|
box-shadow
|
||||||
clear
|
|
||||||
color
|
color
|
||||||
display
|
display
|
||||||
filter
|
filter
|
||||||
@@ -33,19 +32,15 @@ module NoteSanitizer
|
|||||||
justify-content
|
justify-content
|
||||||
letter-spacing
|
letter-spacing
|
||||||
line-height
|
line-height
|
||||||
list-style list-style-position list-style-type
|
|
||||||
margin margin-bottom margin-left margin-right margin-top
|
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
|
opacity
|
||||||
outline outline-color outline-offset outline-width outline-style
|
|
||||||
padding padding-bottom padding-left padding-right padding-top
|
padding padding-bottom padding-left padding-right padding-top
|
||||||
perspective perspective-origin
|
perspective perspective-origin
|
||||||
position
|
position
|
||||||
text-align
|
text-align
|
||||||
text-decoration text-decoration-color text-decoration-line text-decoration-style
|
text-decoration
|
||||||
text-indent
|
text-indent
|
||||||
text-shadow
|
text-shadow
|
||||||
text-transform
|
|
||||||
transform transform-origin
|
transform transform-origin
|
||||||
white-space
|
white-space
|
||||||
word-break
|
word-break
|
||||||
|
|||||||
Reference in New Issue
Block a user