WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
19858
Text movement leaves blue pixel trail
https://bugs.webkit.org/show_bug.cgi?id=19858
Summary
Text movement leaves blue pixel trail
Kiel Oleson
Reported
2008-07-02 10:37:39 PDT
Moving some text to the right using JavaScript (in particular, jQuery, though maybe others) causes a trail of blue pixels to appear to the left of the moved text. The trail only appears when certain letters are at the beginning of the line - for example, if T is the first letter of the line, the blue pixels appear; if F is the first letter, no extra pixels are visible. The extra pixels are in line with the top of the T character when that is the beginning of the line. Because these blue pixels are visible when the background is dark, but not when it is light, it would seem sub-pixel AA is causing issues here. When focus is taken from the window, the blue pixels disappear, and returning focus does not return the pixels. This bug is reproducible using various fonts (Agenda Light and Lucida Grande tested) and on Windows and Mac OS. Windows build tested was Apple's shipping Safari 3.1.2 under Windows XP; Mac OS build tested was WebKit nightly
r34824
under Mac OS X 10.5.4. Bug was also present in previous Mac OS nightly builds over the past month or so.
Attachments
HTML file for reduced test case.
(535 bytes, text/html)
2008-07-02 10:38 PDT
,
Kiel Oleson
no flags
Details
CSS file for reduced test case.
(310 bytes, text/css)
2008-07-02 10:39 PDT
,
Kiel Oleson
no flags
Details
Version of jQuery used for reduced test case
(97.85 KB, application/x-javascript)
2008-07-02 10:39 PDT
,
Kiel Oleson
no flags
Details
Movement JavaScript for reduced test case.
(292 bytes, application/x-javascript)
2008-07-02 10:40 PDT
,
Kiel Oleson
no flags
Details
Screenshot of improper behaviour
(8.58 KB, image/png)
2008-07-02 11:27 PDT
,
Kiel Oleson
no flags
Details
Screenshot of proper rendering
(8.51 KB, image/png)
2008-07-02 11:28 PDT
,
Kiel Oleson
no flags
Details
trail left from overlapping letter part after moving containing box
(18.55 KB, image/png)
2013-01-07 10:54 PST
,
Simon Winkler
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Kiel Oleson
Comment 1
2008-07-02 10:38:30 PDT
Created
attachment 22045
[details]
HTML file for reduced test case.
Kiel Oleson
Comment 2
2008-07-02 10:39:00 PDT
Created
attachment 22046
[details]
CSS file for reduced test case.
Kiel Oleson
Comment 3
2008-07-02 10:39:36 PDT
Created
attachment 22047
[details]
Version of jQuery used for reduced test case
Kiel Oleson
Comment 4
2008-07-02 10:40:09 PDT
Created
attachment 22048
[details]
Movement JavaScript for reduced test case.
Kiel Oleson
Comment 5
2008-07-02 11:27:19 PDT
Created
attachment 22050
[details]
Screenshot of improper behaviour
Kiel Oleson
Comment 6
2008-07-02 11:28:42 PDT
Created
attachment 22051
[details]
Screenshot of proper rendering Blue pixel trail disappears after focus is taken from window rendering test case page.
Kiel Oleson
Comment 7
2008-07-02 12:41:52 PDT
A similar situation occurs when some text is moved to the left; instead of a blue pixel trail, the artifacts are red.
Simon Winkler
Comment 8
2013-01-07 10:45:49 PST
i also discovered this bug it happens as soon as a part of a letter overlaps a box, and the box moves. the overlapping part of the letter gets not rendered properly. i made a fiddle, where you can toggle between jQuery and CSS animation. i thought that could be important when i discovered this weird behavior. but it turns out that it don't depend on the type of animation, it happens anyway.
http://jsfiddle.net/simonwinkler/pyzwA/
Simon Winkler
Comment 9
2013-01-07 10:54:23 PST
Created
attachment 181533
[details]
trail left from overlapping letter part after moving containing box
Simon Winkler
Comment 10
2013-01-07 11:00:08 PST
btw. i'm running OS 10.7.5 on a macbook pro. the behavior as shown in the previous screen occurs on: webkit 537+ in my fiddle, i used a left to right animation, but the trail gets also "drawn" when you move in other directions, not just on linear animations.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug