diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-06-06 14:47:48 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-06-10 19:03:57 -0400 |
commit | 5dbc79d046ed63444895cf8720165b95b9906735 (patch) | |
tree | 4411f7030701dac669b566b77b4e91342e040584 /ext/data/schemas/dictionary-term-bank-v3-schema.json | |
parent | 15ebb483d896916553ba5d729c22be4e545cc08a (diff) |
Structured content updates (#1733)
* Add support for imageRendering
* Make crisp-edges appearance on Firefox more similar to Chrome
* Refactor
* Add background option
* Move data-image-rendering attribute
* Restructure
* Organize
* Add support for appearance
* Update test dictionary
* Update tests
Diffstat (limited to 'ext/data/schemas/dictionary-term-bank-v3-schema.json')
-rw-r--r-- | ext/data/schemas/dictionary-term-bank-v3-schema.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ext/data/schemas/dictionary-term-bank-v3-schema.json b/ext/data/schemas/dictionary-term-bank-v3-schema.json index 9003cbf3..fd3f3844 100644 --- a/ext/data/schemas/dictionary-term-bank-v3-schema.json +++ b/ext/data/schemas/dictionary-term-bank-v3-schema.json @@ -70,6 +70,23 @@ "description": "Whether or not the image should appear pixelated at sizes larger than the image's native resolution.", "default": false }, + "imageRendering": { + "type": "string", + "description": "Controls how the image is rendered. The value of this field supersedes the pixelated field.", + "enum": ["auto", "pixelated", "crisp-edges"], + "default": "auto" + }, + "appearance": { + "type": "string", + "description": "Controls the appearance of the image. The \"monochrome\" value will mask the opaque parts of the image using the current text color.", + "enum": ["auto", "monochrome"], + "default": "auto" + }, + "background": { + "type": "boolean", + "description": "Whether or not a background color is displayed behind the image.", + "default": true + }, "collapsed": { "type": "boolean", "description": "Whether or not the image is collapsed by default.", @@ -219,6 +236,23 @@ "description": "Whether or not the image should appear pixelated at sizes larger than the image's native resolution.", "default": false }, + "imageRendering": { + "type": "string", + "description": "Controls how the image is rendered. The value of this field supersedes the pixelated field.", + "enum": ["auto", "pixelated", "crisp-edges"], + "default": "auto" + }, + "appearance": { + "type": "string", + "description": "Controls the appearance of the image. The \"monochrome\" value will mask the opaque parts of the image using the current text color.", + "enum": ["auto", "monochrome"], + "default": "auto" + }, + "background": { + "type": "boolean", + "description": "Whether or not a background color is displayed behind the image.", + "default": true + }, "collapsed": { "type": "boolean", "description": "Whether or not the image is collapsed by default.", |