I have CSS rules that looks like:
g|choice > *:after
{
content: "| ";
}
g|choice > *:last-child:after
{
content: "";
}
When the last child of 'g:choice' changes, the styling of the children
does
not change unless I re-apply the stylesheet. That is, I would expect
the "| " to be added between the previous last-child and the new
last-child.
Similarly, if I delete the last-child, the styling does not change
without
re-applying the stylesheet.
Basically, everything works properly when the document doesn't change
but
when the last-child is changed, the generated content doesn't change.
-- Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of
the
inflexions, i.e. to the degree of analysis effected by the language
considered."
Bertrand Russell in a footnote of Principles of Mathematics