зеркало из https://github.com/mozilla/gecko-dev.git
2e951f24c1
This property accepts a color. It's inherited and defaults to transparent. Its value is respected on macOS when rendering text into transparent pixels. This property should be used for text that is placed on top of "vibrant" -moz-appearances, in order to achieve high quality text rendering for such text. In most cases, the property should be set to a named system color; an upcoming patch in this patch series will add one such color for each vibrant -moz-appearance value. However, in some cases it can also be useful to use a custom color: If text is rendered into an intermediate surface, for example because a mask is applied to it, and the background color behind that intermediate surface is known, then this property can be set to that background color in order to achieve subpixel AA for the text inside the mask effect. In that case, the font smoothing background color is respected because text is rendered into transparent pixels *inside the intermediate surface*. At the moment, the only example of that use case is the text of the active tab in the state where the text is overflowing. MozReview-Commit-ID: D98qQnxoFaq |
||
---|---|---|
.. | ||
generated | ||
color-db.js | ||
color.js | ||
lexer.js | ||
moz.build | ||
parsing-utils.js | ||
properties-db.js |