aboutsummaryrefslogtreecommitdiff
path: root/test/data/dictionaries
diff options
context:
space:
mode:
authorStephen Kraus <8003332+stephenmk@users.noreply.github.com>2022-08-14 12:30:25 -0500
committerGitHub <noreply@github.com>2022-08-14 13:30:25 -0400
commitc331ceae997a49e3c7125853c2225964dc17749b (patch)
tree26548d26ac79f18ac02c12004246584d890d5d0f /test/data/dictionaries
parent289a61a62fd5cb41223ef639b1e83e290e1a9c77 (diff)
Add new structured content styling options (#2203)
Allow for arbitrary string assignment to the font-size property. https://developer.mozilla.org/en-US/docs/Web/CSS/font-size Add support for the text-align property. https://developer.mozilla.org/en-US/docs/Web/CSS/text-align Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
Diffstat (limited to 'test/data/dictionaries')
-rw-r--r--test/data/dictionaries/valid-dictionary1/term_bank_1.json17
1 files changed, 15 insertions, 2 deletions
diff --git a/test/data/dictionaries/valid-dictionary1/term_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
index c8a83c9a..38b022fa 100644
--- a/test/data/dictionaries/valid-dictionary1/term_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
@@ -83,9 +83,13 @@
{"tag": "div", "style": {"fontWeight": "bold"}, "content": "fontWeight:bold"},
{"tag": "div", "style": {"fontSize": "xx-small"}, "content": "fontSize:xx-small"},
{"tag": "div", "style": {"fontSize": "x-small"}, "content": "fontSize:x-small"},
+ {"tag": "div", "style": {"fontSize": "70%"}, "content": "fontSize:70%"},
+ {"tag": "div", "style": {"fontSize": "smaller"}, "content": "fontSize:smaller"},
{"tag": "div", "style": {"fontSize": "small"}, "content": "fontSize:small"},
{"tag": "div", "style": {"fontSize": "medium"}, "content": "fontSize:medium"},
{"tag": "div", "style": {"fontSize": "large"}, "content": "fontSize:large"},
+ {"tag": "div", "style": {"fontSize": "larger"}, "content": "fontSize:larger"},
+ {"tag": "div", "style": {"fontSize": "130%"}, "content": "fontSize:130%"},
{"tag": "div", "style": {"fontSize": "x-large"}, "content": "fontSize:x-large"},
{"tag": "div", "style": {"fontSize": "xx-large"}, "content": "fontSize:xx-large"},
{"tag": "div", "style": {"fontSize": "xxx-large"}, "content": "fontSize:xxx-large"},
@@ -137,6 +141,15 @@
]},
{"tag": "tr", "content": [
{"tag": "td", "content": "Cell A4"}
+ ]},
+ {"tag": "tr", "content": [
+ {"tag": "td", "content": "Cell A5", "colSpan": 4, "style": {"textAlign": "left"}}
+ ]},
+ {"tag": "tr", "content": [
+ {"tag": "td", "content": "Cell A6", "colSpan": 4, "style": {"textAlign": "center"}}
+ ]},
+ {"tag": "tr", "content": [
+ {"tag": "td", "content": "Cell A7", "colSpan": 4, "style": {"textAlign": "right"}}
]}
]},
{"tag": "tfoot", "content": [
@@ -230,8 +243,8 @@
{"tag": "ul", "content": [
{"tag": "li", "style": {"listStyleType": "'⇄'"}, "content": ["【", {"tag": "a", "href": "?query=よみ&wildcards=off", "content": ["Antonym"]}, "】"]},
{"tag": "li", "style": {"listStyleType": "'🔄'"}, "content": ["【", {"tag": "a", "href": "?query=よみ&wildcards=off", "content": ["References and is referenced by"]}, "】"]},
- {"tag": "li", "style": {"listStyleType": "'➡'"}, "content": ["【", {"tag": "a", "href": "?query=よみ&wildcards=off", "content": ["References"]}, "】"]},
- {"tag": "li", "style": {"listStyleType": "'⬅'"}, "content": ["【", {"tag": "a", "href": "?query=よみ&wildcards=off", "content": ["Referenced by"]}, "】"]}
+ {"tag": "li", "style": {"listStyleType": "'➡️'"}, "content": ["【", {"tag": "a", "href": "?query=よみ&wildcards=off", "content": ["References"]}, "】"]},
+ {"tag": "li", "style": {"listStyleType": "'⬅️'"}, "content": ["【", {"tag": "a", "href": "?query=よみ&wildcards=off", "content": ["Referenced by"]}, "】"]}
]}
]},
{"type": "structured-content", "content": [