<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yomitan/ext/js/display/sandbox, branch 22.9.9.0</title>
<subtitle>refold-tools yomitan fork</subtitle>
<id>https://git.pipeframe.xyz/fork/yomitan/atom?h=22.9.9.0</id>
<link rel='self' href='https://git.pipeframe.xyz/fork/yomitan/atom?h=22.9.9.0'/>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/'/>
<updated>2022-08-14T17:30:25+00:00</updated>
<entry>
<title>Add new structured content styling options (#2203)</title>
<updated>2022-08-14T17:30:25+00:00</updated>
<author>
<name>Stephen Kraus</name>
<email>8003332+stephenmk@users.noreply.github.com</email>
</author>
<published>2022-08-14T17:30:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=c331ceae997a49e3c7125853c2225964dc17749b'/>
<id>urn:sha1:c331ceae997a49e3c7125853c2225964dc17749b</id>
<content type='text'>
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 &lt;stephenmk@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Ignore DOMExceptions thrown by assigning an invalid dataset property (#2133)</title>
<updated>2022-05-14T22:16:13+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-14T22:16:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=fd75e91e7544939faf302caef453a81cef48f420'/>
<id>urn:sha1:fd75e91e7544939faf302caef453a81cef48f420</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Structured content auto language (#2131)</title>
<updated>2022-05-14T22:12:57+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-05-14T22:12:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=5dcc2315d242bcec29cc478618d448c941f73ab1'/>
<id>urn:sha1:5dcc2315d242bcec29cc478618d448c941f73ab1</id>
<content type='text'>
* Pass JapaneseUtil instance to StructuredContentGenerator

* Move body of createStructuredContent to an internal function

* Create _createStructuredContentGenericElement

* Wrap structured content in a &lt;span&gt;

* Change _createStructuredContent to _appendStructuredContent

* Add public appendStructuredContent function

* Add missing return

* Remove unused _createDocumentFragment

* Automatically assign lang=ja for content with Japanese characters
without an explicit language

* Add test</content>
</entry>
<entry>
<title>Add new structured content features: lists and the HTML `lang` attribute (#2129)</title>
<updated>2022-05-14T13:59:38+00:00</updated>
<author>
<name>Stephen Kraus</name>
<email>8003332+stephenmk@users.noreply.github.com</email>
</author>
<published>2022-05-14T13:59:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=6a74746113c724e750620d10b58ad6bac94060c9'/>
<id>urn:sha1:6a74746113c724e750620d10b58ad6bac94060c9</id>
<content type='text'>
* Add support for structured content lists and `list-style-type` style

A full list of supported style types is documented here:
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type

There's nothing in this code preventing a term bank from assigning,
for example, a `list-style-type` style to a `div` element, but it
doesn't seem like browsers will complain about things like that.

* Add support for `lang` attribute in structured content

Support added for the following node types:

"ruby", "rt", "rp", "table", "thead", "tbody", "tfoot", "tr", "td",
"th", "span", "div", "ol", "ul", "li", "a"

I couldn't get it to work for the alt-hover text on "img" tags.

Tests are included in the file
"test/data/dictionaries/valid-dictionary/term_bank_1.json"

* Add styles for structured content lists

* Add override rules for new structured-content list styles

see: https://github.com/FooSoft/yomichan/pull/2129

Co-authored-by: stephenmk &lt;stephenmk@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Structured content links (#2089)</title>
<updated>2022-03-17T23:01:59+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-03-17T23:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=7a2ab866099edffaba471ad808593f67ee796b21'/>
<id>urn:sha1:7a2ab866099edffaba471ad808593f67ee796b21</id>
<content type='text'>
* Update CSS to JSON converter to generalize the remove-property comment

* Fix navigation not being updated when _clearContent is run

* Add structured content schema for link tags

* Add test links

* Add external-link icon

* Pass Display instance to DisplayContentManager

* Update structured content generation

* Update link styles</content>
</entry>
<entry>
<title>Rename MediaLoader to DisplayContentManager (#2087)</title>
<updated>2022-03-15T01:42:33+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-03-15T01:42:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=4e15f923297599869e9d695940c9c56d81b0307d'/>
<id>urn:sha1:4e15f923297599869e9d695940c9c56d81b0307d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright date (#2062)</title>
<updated>2022-02-03T01:43:10+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-02-03T01:43:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=89ac85afd03e62818624b507c91569edbec54f3d'/>
<id>urn:sha1:89ac85afd03e62818624b507c91569edbec54f3d</id>
<content type='text'>
* Update eslint settings

* Update 2021 files

* Update other files</content>
</entry>
<entry>
<title>Structured content data (#1930)</title>
<updated>2021-09-04T16:43:56+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-09-04T16:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=f68ad1f843607d4ba1ad216fe16305c420cee8d6'/>
<id>urn:sha1:f68ad1f843607d4ba1ad216fe16305c420cee8d6</id>
<content type='text'>
* Add support for structured-content data attributes

* Assign dataset properties

* Don't remove data-sc attributes

* Use helper functions

* Update test data</content>
</entry>
<entry>
<title>Add support for structured content margins (#1920)</title>
<updated>2021-09-01T01:08:30+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-09-01T01:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=02194fcb9f5dfd61482b6d3814e395a1225c8a9b'/>
<id>urn:sha1:02194fcb9f5dfd61482b6d3814e395a1225c8a9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix definition image aspect ratio issue (#1847)</title>
<updated>2021-07-22T22:11:46+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-07-22T22:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=73f06a3fa087af164c54b57b2d92466d689d107e'/>
<id>urn:sha1:73f06a3fa087af164c54b57b2d92466d689d107e</id>
<content type='text'>
* Fix incorrect aspect ratio

* Update test data</content>
</entry>
</feed>
