Open Bug 1310611 Opened 8 years ago Updated 2 years ago

Erroneous transition when scale-transforming text with ellipsis

Categories

(Core :: Graphics: Layers, defect, P3)

37 Branch
defect

Tracking

()

Tracking Status
firefox49 --- wontfix
firefox50 --- wontfix
firefox51 --- wontfix
firefox52 --- fix-optional
firefox53 --- fix-optional
firefox54 --- wontfix
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- fix-optional

People

(Reporter: Ceremony, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [gfx-noted])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0 Build ID: 20161016004034 Steps to reproduce: Take a look at https://jsfiddle.net/kf0btc7s/ Hover over the text look at the ellipsis at the end of the text Actual results: It just looks wrong. Expected results: "..." should have the same colors as the text it precedes. Also, an element's ellipsis shouldn't be affected by the transition of another element, unless it causes that element to reflow.
Can you post a screenshot?
Flags: needinfo?(david+bugzilla)
I can reproduce on Nightly52.0a1 Windows10 if Full/text zoom level > 150% or layout.css.devPixelsPerPx > 1.50.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached image Animation of the issue (deleted) —
Here's a stopmotion recording of how ellipsis look and behave in ff
Flags: needinfo?(david+bugzilla)
thanks it might be something related to bug 1289722.
Component: Untriaged → Graphics: Layers
Product: Firefox → Core
Regression window: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=165c3fd176ec&tochange=d954ed24e795 Regression window with force enable direct2d1.1: i.e, gfx.direct2d.use1_1;true gfx.content.azure.backends;direct2d1.1,direct2d,cairo gfx.canvas.azure.backends;direct2d1.1,direct2d,skia,cairo https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2badc0f1f829&tochange=8e28464849fa Via local build: Last Good: 20e97c8496e4 First Bad: 7b9201731195 Triggered by : 7b9201731195 Matt Woodrow — Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
Blocks: 1046550
Flags: needinfo?(matt.woodrow)
Version: 51 Branch → 37 Branch
Keywords: regression
Blocks: 1289703
Maybe Thinker has some ideas otherwise?
I can not reproduce this bug on Linux. I will try to reproduce it with Windows.
Flags: needinfo?(tlee)
Attached file single-file-test.html (deleted) —
I look into the problem, and find some weird problems. There is two paints in content process for each omta animation/transition, one is just before the start of the transition to trigger the animation at compositor, the other is just after the stop of the transition. The problems, - the dump of surface of painted layer (MOZ_DUMP_PAINT) has no ellipses in for the paint before the transition. - it means some magic things happening between here and where uploading the texture. - I try to dump texture at compositor (MOZ_DUMP_COMPOSITOR_TEXTURES), it crash Firefox. - LayerScope does not show textures too. I will go back this bug later.
(In reply to Thinker Li [:sinker] from comment #10) > I look into the problem, and find some weird problems. > There is two paints in content process for each omta animation/transition, > one is just before the start of the transition to trigger the animation at > compositor, the other is just after the stop of the transition. The > problems, Hi Thinker, Any idea where I can set breakpoint to dump these two drawing result in content process?
(In reply to C.J. Ku[:cjku](UTC+8) from comment #11) > (In reply to Thinker Li [:sinker] from comment #10) > > I look into the problem, and find some weird problems. > > There is two paints in content process for each omta animation/transition, > > one is just before the start of the transition to trigger the animation at > > compositor, the other is just after the stop of the transition. The > > problems, > Hi Thinker, > Any idea where I can set breakpoint to dump these two drawing result in > content process? You need to add a line in mozconfig ac_add_options --enable-dump-painting And, set environment MOZ_DUMP_PAINT=1 before running firefox. Then, you will see dumps of display items and layers in content processes. It includes dumps of painted layers. The dumps of surface of painted layer are in base64. It would be easy to decode them with base64 decoder to png files.
Whiteboard: [gfx-noted]
Flags: needinfo?(matt.woodrow)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: