
Three months ago,
SiDChik was faced with the need to position the text with the switch to the width (
justify ), but align the last line of the text to the center
(see the illustration to the right).
The
CSS property text-align-last could be the solution to this problem, but at that moment it was supported only in the Internet Explorer browser - therefore
SiDChik unwittingly had to compose its own jQuery plugin that achieves the same goal,
and put the useful fruit of its labor on Habrahabre.
I am pleased to announce that that moment began to slowly and gradually recede into the past: catching up with Internet Explorer, and also the second of the two most popular browsers - Mozilla Firefox - got support for the
text-align-last CSS property in mid-January
( bug 536557 closed on the thirteenth ). The total share of users of IE and Firefox is so significant that it will inevitably put pressure on the manufacturers of the other (less popular) browsers, forcing the introduction of the same property. For all of us, for example, it is not so difficult to notice
that the WebKit engine
bug 76173 was opened hot on the heels of the
text-align-last implementation in Firefox (and even almost right on the same day).
')
Firefox 12 will most likely become the first version of Firefox with
text-align-last — this is what Firefox is currently developing and preparing for the transition
to the Aurora stage in a few days
on schedule . Its release is appropriate to wait for another three months - there is time to prepare for this.