Open Bug 626724 Opened 14 years ago Updated 7 months ago

CSS border transition has jagged edges upon resize

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

People

(Reporter: smartell, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

With the current nightly, I notice a new issue when viewing this page: http://mozilla.seanmartell.com/graphicnovel/ When this page was built, the jagged edges upon resize (black borders) weren't as pronounced and the end-of-animation anti-aliasing jump wasn't as harsh either. another example found on resizing text can be seen here: http://people.mozilla.org/~rcampbell/zoom-test.html
This is due to accelerated layers not doing anti-aliased layer drawing. One thing we could do for the 2D case is create a 1 pixel transparent border around the edges, and let the sampler do the rest.
We should probably shorten the timeout that makes transform layers inactive. Then the transition would be less obvious.
Adding a transparent outline will make remove the jagged edges.
I don't notice anything obvious in the edges. I do notice the letters jump a bit when the layer becomes inactive. Bas or roc is there still something here we need to look into?
I think we should do antialiased layer drawing as some point.
Severity: normal → S3
Attached file reduced.html

It looks like this might still be a bug? Hard for me to tell if Firefox looks worse than other browsers in this test case.

Severity: S3 → --
Component: Graphics → Graphics: WebRender
Hardware: x86 → All
Summary: CSS Transitions: Resize issue → CSS border transition has jagged edges upon resize
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: