02:37
<GPHemsley>
So here's a thing I discovered today: data:text/html,<body style='font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'><table><tr><th>bold</th><th style="font-weight: lighter">normal</th><th>bold</th></tr><tr><th style="font-weight: 700">bold</th><th style="font-weight: 400">normal</th><th style="font-weight: 700">bold</th></tr></table>
02:38
<GPHemsley>
So here's a thing I discovered today: data:text/html,<body style='font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'><table><tr><th>bold</th><th style="font-weight: lighter">normal</th><th>bold</th></tr><tr><th style="font-weight: 700">bold</th><th style="font-weight: 400">normal</th><th style="font-weight: 700">bold</th></tr></table>
The browser's bold on <th> isn't inherited, which means 'font-weight: lighter' gives 100 instead of 400.
02:43
<GPHemsley>
(The font-family part is just to pick a font that makes the difference visually obvious.)
02:46
<GPHemsley>
Note that this is not the case in, e.g., <b>
18:17
<EveryOS>
That's interesting. Speaking of which, it would be cool if there was some sort of InheritIfParentNotUnsetElse() property xD
22:45
<aja>
GPHemsley: not just a <th> thing. noticed it earlier today with headings, too, e.g. <h1> on about:buildconfig
22:48
<aja>
fwiw, for test page i was working on, 100 is desired :)