You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A selection is broken into multiple span elements. Sometimes, we may want to apply styling to these using :first-child and :last-child CSS selectors. However, the elements are not necessarily added in order (ie I'd expect the top line of a selection to be the first span in the DOM, and so on). This seems to work in order in Chrome by accident, but isn't necessarily the case eg in Firefox.
The text was updated successfully, but these errors were encountered:
A selection is broken into multiple
span
elements. Sometimes, we may want to apply styling to these using:first-child
and:last-child
CSS selectors. However, the elements are not necessarily added in order (ie I'd expect the top line of a selection to be the firstspan
in the DOM, and so on). This seems to work in order in Chrome by accident, but isn't necessarily the case eg in Firefox.The text was updated successfully, but these errors were encountered: