The font: normal normal 400 1rem/1.5rem arial,sans-serif resets the font-weight from th.
Notes
Actually I am not super sure about the "expected" behavior here.
Is it really so clear that the list should be bold?
On the other hand: Why do we need to override font-weight here? Was this even intended?
Steps to reproduce:
In a site with oe_theme, create content with the following rich text content, using a text format that allows it.
Expected behavior
The html will be like this (it is wrapped in
.ecl
):The text "List inside table header" will be bold, because it is inside a
<th>
tag.Actual behavior
(good) Html as above. (bad) Text is not bold.
Technical explanation
From ecl-ec-default.css:
The
font: normal normal 400 1rem/1.5rem arial,sans-serif
resets the font-weight fromth
.Notes
Actually I am not super sure about the "expected" behavior here. Is it really so clear that the list should be bold? On the other hand: Why do we need to override font-weight here? Was this even intended?