diff options
author | Stephen Kraus <8003332+stephenmk@users.noreply.github.com> | 2024-01-31 07:23:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 13:23:57 +0000 |
commit | 6807b05e9bd41f013364fae0cbcce83cf1ed37b6 (patch) | |
tree | 87df463a395c587293acda19e17ea584ee440d10 /test/data/dictionaries/valid-dictionary1 | |
parent | 8f48d40f7cffc8a0c6f0401dbfc1f3b0422ec21b (diff) |
Allow `clip-path`, `background`, `text-emphasis` styles in structured content (#556)
* Allow `clip-path` and `background` styles in structured content
* Allow `text-emphasis` style in structured content
---------
Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
Diffstat (limited to 'test/data/dictionaries/valid-dictionary1')
-rw-r--r-- | test/data/dictionaries/valid-dictionary1/term_bank_2.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/data/dictionaries/valid-dictionary1/term_bank_2.json b/test/data/dictionaries/valid-dictionary1/term_bank_2.json index 30e5418c..417b28ff 100644 --- a/test/data/dictionaries/valid-dictionary1/term_bank_2.json +++ b/test/data/dictionaries/valid-dictionary1/term_bank_2.json @@ -105,6 +105,7 @@ "style": { "color": "#dd2121", "textShadow": "0.5px 0.5px 1px gray", + "textEmphasis": "circle crimson", "textDecorationLine": "underline", "textDecorationStyle": "wavy", "textDecorationColor": "red" @@ -554,7 +555,7 @@ "padding": "0.15em 0.2em", "borderRadius": "100%", "cursor": "help", - "backgroundColor": "purple", + "background": "radial-gradient(purple 55%, black 100%)", "color": "white" }, "content": "稀" @@ -609,11 +610,10 @@ "textAlign": "center" }, "content": { - "tag": "span", + "tag": "div", "title": "rarely used form", "style": { - "padding": "0.15em 0.2em", - "borderRadius": "100%", + "clipPath": "circle()", "cursor": "help", "backgroundColor": "purple", "color": "white" |