mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-25 11:36:55 -05:00
Closes #1567 The main reason I'm not simply merging Annika's PR is because this way makes it clearer that I'm taking responsibility for all this code, that it's mostly code I wrote, and also because it makes it easier to ensure that none of the files have been changed. (Not that I don't personally trust Annika, but I have something resembling an obligation to users not to expose them to risks based on personal trust.)
12 lines
461 B
Plaintext
12 lines
461 B
Plaintext
CSS.AllowTricky
|
|
TYPE: bool
|
|
DEFAULT: false
|
|
VERSION: 3.1.0
|
|
--DESCRIPTION--
|
|
This parameter determines whether or not to allow "tricky" CSS properties and
|
|
values. Tricky CSS properties/values can drastically modify page layout or
|
|
be used for deceptive practices but do not directly constitute a security risk.
|
|
For example, <code>display:none;</code> is considered a tricky property that
|
|
will only be allowed if this directive is set to true.
|
|
--# vim: et sw=4 sts=4
|