Bug 47657 - -webkit-transition leaves smear when moving text that is aligned end, right, or justify
Summary: -webkit-transition leaves smear when moving text that is aligned end, right, ...
Status: RESOLVED DUPLICATE of bug 6274
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 00:30 PDT by Yuzo Fujishima
Modified: 2010-10-14 09:46 PDT (History)
3 users (show)

See Also:


Attachments
Test (1.54 KB, text/html)
2010-10-14 00:30 PDT, Yuzo Fujishima
no flags Details
Screenshot (69.79 KB, image/png)
2010-10-14 00:31 PDT, Yuzo Fujishima
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuzo Fujishima 2010-10-14 00:30:00 PDT
Created attachment 70715 [details]
Test

Suppose we move a<div> to left by setting
  -webkit-transition:margin-left 1s;
  margin-left: -100px;

Depending on the font and the width of the <div>, smear can be left on screen.

Please see the attached test and the screen shot.
Comment 1 Yuzo Fujishima 2010-10-14 00:31:42 PDT
Created attachment 70716 [details]
Screenshot
Comment 2 Simon Fraser (smfr) 2010-10-14 08:50:46 PDT
Ha, it's leaving text smoothing pixels behind.
Comment 3 mitz 2010-10-14 08:57:03 PDT
This is an example of bug 6274. Note that using "text-rednering: optimizelegibility;" prevents this due to the changes in r57215.

*** This bug has been marked as a duplicate of bug 6274 ***
Comment 4 Simon Fraser (smfr) 2010-10-14 09:42:27 PDT
Does bug 6274 cover the case where pixels outside the typographic bounds are touched purely for text smoothing?
Comment 5 mitz 2010-10-14 09:46:16 PDT
(In reply to comment #4)
> Does bug 6274 cover the case where pixels outside the typographic bounds are touched purely for text smoothing?

The fact that activating the fix for that bug (by specifying optimizelegibility) corrects the test case suggests that the answer is “yes” or “text smoothing on Mac OS X doesn’t ever extend into pixels that lie completely outside the glyph’s optical bounds”.