summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-20 19:33:08 -0400
committerGitHub <noreply@github.com>2021-05-20 19:33:08 -0400
commitbe23acf499bcdb530c1b8990aa3d6211323cbdb2 (patch)
treeaf7a6f5a64fce44e3a9e07ab0e08bb833e546b28 /test
parentd8ef599eaef1323bee908d3b883d11ddd2e95198 (diff)
Structured content image size units (#1692)
* Add support for sizeUnits on image content * Update test data
Diffstat (limited to 'test')
-rw-r--r--test/data/dictionaries/valid-dictionary1/term_bank_1.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/data/dictionaries/valid-dictionary1/term_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
index a2c9a216..0df04ef0 100644
--- a/test/data/dictionaries/valid-dictionary1/term_bank_1.json
+++ b/test/data/dictionaries/valid-dictionary1/term_bank_1.json
@@ -28,7 +28,9 @@
"\nmore content 2: ",
{"tag": "img", "path": "image.gif", "width": 35, "height": 35, "pixelated": true, "collapsible": false, "collapsed": false, "verticalAlign": "middle"},
" and ",
- {"tag": "img", "path": "image.gif", "width": 35, "height": 35, "pixelated": true, "collapsible": false, "collapsed": true}
+ {"tag": "img", "path": "image.gif", "width": 35, "height": 35, "pixelated": true, "collapsible": false, "collapsed": true},
+ " and ",
+ {"tag": "img", "path": "image.gif", "width": 1, "height": 1, "pixelated": true, "collapsible": false, "collapsed": false, "sizeUnits": "em"}
]},
{"type": "structured-content", "content": [
"naiyou definition 6: ",