Ok discussed this a bit with mstange, and subpixel text in WR is a lot more robust than it used to be, so ot actually shouldn't be *too* bad for us to detect this in the WR backend and handle it! Specifically we already have the machinery to draw transparent text with subpixel-aa, but we conservatively don't do this when drawing masked text, which is correct if there's a bunch of overlapping masked stuff. However, if the contents of the mask are *only* text, or if the text is *disjoint* from all the other contents, we should be able to do subpixel masking. In the case of tabs and the url bar, this should indeed be the case. Hopefully just the simpler "is alone" check is sufficient.
Bug 1578988 Comment 14 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Ok discussed this a bit with mstange, and subpixel text in WR is a lot more robust than it used to be, so it actually shouldn't be *too* bad for us to detect this in the WR backend and handle it! Specifically we already have the machinery to draw transparent text with subpixel-aa, but we conservatively don't do this when drawing masked text, which is correct if there's a bunch of overlapping masked stuff. However, if the contents of the mask are *only* text, or if the text is *disjoint* from all the other contents, we should be able to do subpixel masking. In the case of tabs and the url bar, this should indeed be the case. Hopefully just the simpler "is alone" check is sufficient.