mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 22:14:10 +01:00
Fix definition of data-mx-color values
This commit is contained in:
parent
434f1b0672
commit
521647e26f
|
|
@ -47,8 +47,9 @@ Not all attributes on those tags should be permitted as they may be
|
||||||
avenues for other disruption attempts, such as adding `onclick` handlers
|
avenues for other disruption attempts, such as adding `onclick` handlers
|
||||||
or excessively large text. Clients should only permit the attributes
|
or excessively large text. Clients should only permit the attributes
|
||||||
listed for the tags below. Where `data-mx-bg-color` and `data-mx-color`
|
listed for the tags below. Where `data-mx-bg-color` and `data-mx-color`
|
||||||
are listed, clients should translate the value (a 6-character hex color
|
are listed, clients should translate the value (a `#` character followed
|
||||||
code) to the appropriate CSS/attributes for the tag.
|
by a 6-character hex color code) to the appropriate CSS/attributes for
|
||||||
|
the tag.
|
||||||
|
|
||||||
`font`
|
`font`
|
||||||
`data-mx-bg-color`, `data-mx-color`, `color`
|
`data-mx-bg-color`, `data-mx-color`, `color`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue