Bug 1544242 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Yes, that's right, but that's not our current behavior. We end up matching the global ::marker rules (and having that behavior would mean the following doesn't generate red markers). I agree that's wrong.

However if we don't match rules like that, then `ProbePseudoElementStyle` will return null and thus we'll generate no marker at all.

Even if it didn't, the UA rule for marker would not work: https://searchfox.org/mozilla-central/rev/0376cbf447efa16922c550da3bfd783b916e35d3/layout/style/res/ua.css#130

So I think the best behavior is making pseudo-elements don't create markers to begin with.
Yes, that's right, but that's not our current behavior. We end up matching the global ::marker rules. I agree that's wrong.

However if we don't match rules like that, then `ProbePseudoElementStyle` will return null and thus we'll generate no marker at all.

Even if it didn't, the UA rule for marker would not work: https://searchfox.org/mozilla-central/rev/0376cbf447efa16922c550da3bfd783b916e35d3/layout/style/res/ua.css#130

So I think the best behavior is making pseudo-elements don't create markers to begin with.

Back to Bug 1544242 Comment 4