This is very different from my first answer. Assuming that you want to use Times New Roman and to have an inverted breve -looking diacritic on omega, I’m afraid you need some kludgery. In principle, the placement of diacritics could be tuned using OpenType features, but Times New Roman does not seem to have anything useful in this department. Neither does it have glyph variants for perispomeni.
The following trickery seems to work when Times New Roman is available (as it almost always is):
<style>
* { font-family: Times New Roman }
.comb { position: relative; }
.comb .invb { position: absolute; left: 0; bottom: 0; }
.eta .invb { left: -0.1em; }
</style>
<p><i>Μαι<span class=comb>ω<span class=invb> ̑</span></span>τις</i>
<p><i>Ἀθ<span class="comb eta">η<span class=invb> ̑</span></span>ναι</i>
The trick is to wrap the mark, turned to a spacing mark by writing a no-break space before it, in a span
and this in turn, in conjunction with the base character, in an outer span
, and use CSS positioning to make the mark overlay the base character.
This works because the omega is roughly the same width as the no-break space. As the second example word shows, the situation is a bit different if you need the inverted breve on the eta letter: you need to shift the mark somewhat to the left.
I first tried with a simpler (and more logical) construct without the no-break space, using the mark as genuinely non-spacing. But this cause the mark to disappear or get positioned wildly.
I recommend using the approach described in my other answer, but if there are compelling reasons to make the diacritic (which is logically perispomeni) look like an inverted breve, then this trickery might be the best shot. Note that it distorts the data, messing up character-level operations like searching and indexing, since the trick means that a word contains a spacing mark.