
As you know, Firefox 5 was released on June 21, and between the individual releases is expected a six-week gap, so that until Firefox 6 appears a little more than a week. Already
its beta version is available, the Firefox 6 for developers page in the MDN wiki, containing a list of new features of the future new version of
Firefox , is becoming more or less final.
These features are not so few:
WebSockets support has been updated and suddenly, support for the
<progress> element has been added,
finger pointers and even
multitouch events are tracked, and so on. However, such innovations for their widespread use still require some cross-platform, so instead of them I was most pleased with the newer CSS, which are more decorative and meaning - so even if they don’t work, it’s not scary.
This is an experimental
(with the prefix "-moz-") implementation of four properties from the draft "
CSS Text Level 3 ", and these are the properties
-moz-text-decoration-color ,
-moz-text-decoration-line ,
-moz-text -decoration-style and -moz-hyphens .
')
I propose to carefully consider each of them, to look at the opportunities and prospects they bring.
The
-moz-text-decoration-color property allows you to set the color of the lines with which the text is underlined, scribbled, crossed out, and so on. Before, this color coincided with the text color, so that the crutch for this property was a separate assignment of the text color inside and outside the element providing underline, underline, strikethrough, and so on; also sometimes resorted
to border-bottom .
The
-moz-text-decoration-line property allows you to choose between underlining, overlapping, and strikethrough text (several types of lines can be applied to text at the same time).
The
-moz-text-decoration-style property allows you to control the look of the line, making it idle, or double, or consisting of dots, or consisting of strokes, or wavy. I say without reserve: I have long been thinking that the WWW lacks precisely wavy lines. If the CSS language did not come to the rescue, then these lines would most certainly draw an
SVG-background or other similar crutch.
But the
-moz-hyphens property has nothing to do with underline, overline and strikethrough; instead, it provides hyphenation within words. For the first time openly announced that the browser may contain a dictionary of hyphenation in the words of several languages of the world - and use this dictionary to automatically split words into pieces when moving to a new line, if it is prescribed in CSS. Firefox 6 will contain such a dictionary only for English writing.
Inspiring news.