- 🇳🇿New Zealand quietone
I think this is outdated, possibly finally by #3253148: Remove IE from core's browserlist, remove non-essential CSS importing and recompile assets → .
If there is work to do here, re-open or make a new issue.
Meta issue:
#1980004: [meta] Creating Dream Markup →
Issue based on:
#1939102: Convert theme_indentation() to Twig →
The motivation is to get rid of empty div's being used for indenting (which clearly is not good markup). Instead, the space should be applied to the table elements, originally proposed in the tr tags but after a semantical-technical discussion at Barcelona, the target was shifted to the first td of the row, containing the title / label content.
However, implementation of the data-indent attribute in the td of only draggable tables, it will be necessary to adjust the template of the whole table. Hence in this issue, there is a patch provided to reduce the redundant markup to only one div (a better-than-nothing approach), and a proposal to consider a new issue towards creating the "table-draggable" template.
Also, the patch removes theme_indentation()
(which only inserted markup via PHP) in favour of equivalent Twig template.
<table>
<tr><td data-indent="1">1</td></tr>
<tr><td data-indent="2">2</td></tr>
<tr><td data-indent="3">3</td></tr>
<tr><td data-indent="4">4</td></tr>
<tr><td data-indent="5">5</td></tr>
<tr><td data-indent="6">6</td></tr>
<tr><td data-indent="7">7</td></tr>
<tr><td data-indent="8">8</td></tr>
<tr><td data-indent="9">9</td></tr>
</table>
<style>
td[data-indent="1"] { padding-left: 1em; }
td[data-indent="2"] { padding-left: 2em; }
td[data-indent="3"] { padding-left: 3em; }
td[data-indent="4"] { padding-left: 4em; }
td[data-indent="5"] { padding-left: 5em; }
td[data-indent="6"] { padding-left: 6em; }
td[data-indent="7"] { padding-left: 7em; }
td[data-indent="8"] { padding-left: 8em; }
td[data-indent="9"] { padding-left: 9em; }
</style>
Closed: outdated
11.0 🔥
markup
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I think this is outdated, possibly finally by #3253148: Remove IE from core's browserlist, remove non-essential CSS importing and recompile assets → .
If there is work to do here, re-open or make a new issue.