6a74746113
* 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> |
||
---|---|---|
.. | ||
data | ||
test-all.js | ||
test-anki-note-builder.js | ||
test-cache-map.js | ||
test-core.js | ||
test-css-json.js | ||
test-database.js | ||
test-deinflector.js | ||
test-dictionary.js | ||
test-document-util.js | ||
test-dom-text-scanner.js | ||
test-hotkey-util.js | ||
test-japanese-util.js | ||
test-jsdom.js | ||
test-json-schema.js | ||
test-manifest.js | ||
test-object-property-accessor.js | ||
test-options-util.js | ||
test-profile-conditions-util.js | ||
test-text-source-map.js | ||
test-translator.js | ||
test-workers.js |