Open Bug 1639860 Opened 4 years ago Updated 29 days ago

No subpixel-aa on google.com home page application menu even though Chrome does

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

People

(Reporter: jrmuizel, Assigned: gw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Severity: -- → S3
Flags: needinfo?(gwatson)
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)

I just tested this on Linux with current m-c, and I see subpixel AA on all the content elements on the google home page (logged out).

Are you still able to reproduce this on current nightly? If so, could you post a screenshot - perhaps the layout is different depending on region or something like that?

Flags: needinfo?(hwti)
Attached image Google.png

I now have subpixel AA on google home page, except the applications menu (with has subpixel AA with Chrome).
I don't know what changed, of if there is something random like I see on gmail.

Flags: needinfo?(hwti)

That matches with what I see locally now too - thanks for following up.

Summary: No subpixel-aa on google.com home page even though Chrome does → No subpixel-aa on google.com home page application menu even though Chrome does

I can see what is happening for the applications menu.

There is a non-scrolling background rect with rounded-rect clip, and then the content (icons and text) are on a scrolling root with no background rect that scrolls. WR doesn't detect that this is a case where the background is actually opaque (we end up with two different slices here due to the combination of a difference in clips + scroll-root).

This is a case that comes up every now and then - I'm going to have a ponder about how we can better handle cases such as this. It's definitely feasible, since this case is typically a fixed slice with a single opaque background - just need to work out the simplest way to handle it in the picture cache subpixel detection code.

Blocks: 1782834
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: