Open Bug 501028 Opened 15 years ago Updated 2 years ago

text layout shifts around in a stationary element with -moz-transform: rotate

Categories

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

x86
Windows XP
defect

Tracking

()

People

(Reporter: ted, Unassigned)

References

()

Details

Attachments

(4 files)

See the provided URL. The first example is a <div> with -moz-transform: rotate style applied. For some reason, the text moves around even though the element is stationary. I couldn't reproduce on an OS X Shiretoko nightly, so this is either trunk-only or Windows-only.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090625 Minefield/3.6a1pre
On OS X I can see all kinds of invalidations coming from somewhere even though nothing seems to be changing. That's one problem. The fact that this causes text to visibly jiggle is another problem, perhaps Windows-only.
Flags: wanted1.9.2?
Flags: wanted1.9.2? → wanted1.9.2+
Reproduced in Seamonkey:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9pre) Gecko/20100226 SeaMonkey/2.0.4pre

Curiously enough, it seems to happen only on the linked page.  I tried writing up a testcase using the sample CSS code on the page, and it does not reproduce in the testcase.  Perhaps there is something else happening here?
Attached file CSS testcase
This seems to work in:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9pre) Gecko/20100226 SeaMonkey/2.0.4pre
I see a similar effect in that testcase: attachment 440798 [details]
Screenshot created with Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a5pre) Gecko/20100421 Minefield/3.7a5pre

As soon as I select the text it will be shown rotated too. 
Interesting: The text in the <code> element seems to be always correct.
Attached file jason testcase
here's my test case. Firefox 6.0.2 on debian unstable renders broken by default. some fondling with the mouse can get it right for a bit sometimes.
Attached image jason testcase render
If you select some of the (broken rendered) vertical text, sometimes it'll render correctly.
I've just attached the testcase I used to find this bug. and a screenshot of my firefox rendering it. Earlier today I posted my testcase to irc, and got someone else to test it. He got the same results on Gentoo with Firefox 6.0.

Please look below my signature for output of "reportbug iceweasel" so my package manager can supply you all sorts of info about my extensions and exact versions of everything relevant.

Oh, I also want to mention this bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=518172

It seems to be the same rendering bug, but was closed about a year ago.


Thanks,   - Jason


Package: iceweasel
Version: 6.0.2-1
Severity: normal

-- Package-specific info:

-- Extensions information
Name: Adblock Plus extensionfalse
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Status: enabled

Name: Default themefalse
Location: /usr/lib/iceweasel/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
Status: enabled

Name: Download Statusbar extensionfalse
Location: ${PROFILE_EXTENSIONS}/{D4DD63FA-01E4-46a7-B6B1-EDAB7D6AD389}.xpi
Status: enabled

Name: Firebug extensionfalse
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/firebug@software.joehewitt.com
Status: enabled

Name: FirefoxNotify extensionfalse
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/firefoxnotify@abhishek.mukherjee
Status: app-disabled

Name: Flashblock extensionfalse
Location: /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{3d7eb24f-2740-49df-8937-200b1cc08f8a}
Status: enabled

Name: Free Youtube! user-scriptfalse

-- Addons package information

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iceweasel depends on:
ii  debianutils         4.0.2     
ii  fontconfig          2.8.0-3   
ii  libc6               2.13-20   
ii  libgcc1             1:4.6.1-9 
ii  libgdk-pixbuf2.0-0  2.24.0-1  
ii  libglib2.0-0        2.28.6-1  
ii  libgtk2.0-0         2.24.6-1  
ii  libnspr4-0d         4.8.9-1   
ii  libstdc++6          4.6.1-9   
ii  procps              1:3.2.8-11
ii  xulrunner-6.0       6.0.2-1   

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  libgssapi-krb5-2    1.9.1+dfsg-2
ii  mozplugger          <none>      
ii  ttf-lyx             2.0.0-1     
ii  ttf-mathematica4.1  <none>      
ii  xfonts-mathml       4           

Versions of packages xulrunner-6.0 depends on:
ii  libasound2                1.0.24.1-4      
ii  libatk1.0-0               2.0.1-2         
ii  libbz2-1.0                1.0.5-7         
ii  libc6                     2.13-20         
ii  libcairo2                 1.10.2-6.1      
ii  libdbus-1-3               1.4.14-1        
ii  libevent-1.4-2            1.4.14b-stable-1
ii  libfontconfig1            2.8.0-3         
ii  libfreetype6              2.4.6-2         
ii  libgcc1                   1:4.6.1-9       
ii  libgdk-pixbuf2.0-0        2.24.0-1        
ii  libglib2.0-0              2.28.6-1        
ii  libgtk2.0-0               2.24.6-1        
ii  libhunspell-1.2-0         1.2.14-4        
ii  libjpeg8                  8c-2            
ii  libmozjs6d                6.0.2-1         
ii  libnspr4-0d               4.8.9-1         
ii  libnss3-1d                3.12.11-3       
ii  libpango1.0-0             1.28.4-3        
ii  libpixman-1-0             0.22.2-1        
ii  libreadline6              6.2-4           
ii  libsqlite3-0              3.7.7-2         
ii  libstartup-notification0  0.12-1          
ii  libstdc++6                4.6.1-9         
ii  libvpx0                   0.9.7.p1-1      
ii  libx11-6                  2:1.4.4-1       
ii  libxext6                  2:1.3.0-3       
ii  libxrender1               1:0.9.6-2       
ii  libxt6                    1:1.1.1-2       
ii  zlib1g                    1:1.2.3.4.dfsg-3

Versions of packages xulrunner-6.0 suggests:
ii  libcanberra0      0.28-1    
ii  libdbus-glib-1-2  0.94-4    
ii  libgconf2-4       2.32.4-1  
ii  libgnomeui-0      2.24.5-2  
ii  libgnomevfs2-0    1:2.24.4-1
ii  libnotify4        0.7.4-1   

-- no debconf information
Attachment #559636 - Attachment mime type: text/plain → text/html
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: