yomichan/test/data/dictionaries/valid-dictionary1
Stephen Kraus 6a74746113
Add new structured content features: lists and the HTML lang attribute (#2129)
* 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 <stephenmk@users.noreply.github.com>
2022-05-14 09:59:38 -04:00
..
character2.gif Fix definition image aspect ratio issue (#1847) 2021-07-22 18:11:46 -04:00
character3.gif Fix definition image aspect ratio issue (#1847) 2021-07-22 18:11:46 -04:00
character.gif Structured content updates (#1733) 2021-06-06 14:47:48 -04:00
image.gif Add tests 2020-04-18 21:33:14 -04:00
index.json Update location of test dictionary data 2020-02-22 12:58:33 -05:00
kanji_bank_1.json Update test valid dictionaries (#1688) 2021-05-18 19:50:11 -04:00
kanji_meta_bank_1.json String frequency support (#1989) 2021-10-14 21:26:53 -04:00
tag_bank_1.json Update test valid dictionaries (#1688) 2021-05-18 19:50:11 -04:00
tag_bank_2.json Update test valid dictionaries (#1688) 2021-05-18 19:50:11 -04:00
tag_bank_3.json Update test valid dictionaries (#1688) 2021-05-18 19:50:11 -04:00
term_bank_1.json Add new structured content features: lists and the HTML lang attribute (#2129) 2022-05-14 09:59:38 -04:00
term_meta_bank_1.json String frequency support (#1989) 2021-10-14 21:26:53 -04:00