- Kusonjululiwe
Why did default CSS behavior for a nested/child element change from "initial" to "inherit" after update?
I updated from version 106 to version 118.0.2, then to 119.0.1. The last to updates made a local HTML page behave differently than before. The problem is this: the "insi… (funda kabanzi)
I updated from version 106 to version 118.0.2, then to 119.0.1. The last to updates made a local HTML page behave differently than before.
The problem is this: the "inside text" below was not(!) bold before the update, I suppose the containing element of the text defaulted to "initial," but began to default to "inherit" after the update.
This is HTML:
<TABLE> <TR> <TD class="group"> outside text <TABLE> <TR> <TD> inside text </TD> </TR> </TABLE> </TD> </TR> </TABLE>
This is external CSS linked to the page:
TD.group { font-weight:bold; }
So I added "TD.group TABLE{font-weight:initial;}" to the CSS to make it work as expected/before.
I wonder why this change was made by the developers, Did I miss any changes made to HTML/CSS specification?
Thank you