Open Bug 1274978 Opened 9 years ago Updated 3 years ago

transform scale with fractional digits causes text flickering

Categories

(Core :: Layout: Text and Fonts, defect)

46 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: gmeiner.m, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Steps to reproduce: I'm using transform: scale(1.5); to scale a text on hover. It works very well in all browsers but in firefox the text flickers after the scaling is completed. I tried it to scale it to 2 and then it worked. It seems this problems only occurs when scaling to values with fractional digits. I made a simple example where you can reproduce it. HTML: <div class="container"> <div class="scale"> Now that we know who you are, I know who I am. I'm not a mistake! It all makes sense! In a comic, you know how you can tell who the arch-villain's going to be? He's the exact opposite of the hero. And most times they're friends, like you and me! I should've known way back when... You know why, David? Because of the kids. They called me Mr Glass. </div> </div> CSS: .container { height: 300px; width: 300px; margin-left: 100px; margin-top: 100px; } div.scale { transition: 0.1s linear; } div.scale:hover { transform: scale(1.5); } CODEPEN: http://codepen.io/anon/pen/WwVZoM Actual results: After scaling completes the text is flickering for a few milliseconds. Expected results: Scaling should work as in other browsers.
Attached file 1274978.html
Component: Untriaged → Layout: Text
Product: Firefox → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: