gecko-dev/devtools/shared/css
Markus Stange 2e951f24c1 Bug 1387594 - Add a chrome-only CSS property called -moz-font-smoothing-background-color. r=dbaron
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
2017-09-14 23:09:46 +02:00
..
generated Bug 1387594 - Add a chrome-only CSS property called -moz-font-smoothing-background-color. r=dbaron 2017-09-14 23:09:46 +02:00
color-db.js Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey 2016-09-14 10:00:27 -05:00
color.js Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey 2017-09-06 18:54:07 +02:00
lexer.js Bug 1383075 part 2 - Update CSS lexer in devtools to match the change. r=jryans 2017-07-31 09:23:01 +10:00
moz.build Bug 1290988 - Add the mach generate-css-db command. r=tromey, r=chmanchester 2016-09-14 10:00:27 -05:00
parsing-utils.js Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey 2017-09-06 18:54:07 +02:00
properties-db.js Bug 1373339 - Add a button in the rules view to toggle the CSS shapes highlighter. r=gl 2017-06-20 11:23:32 -04:00