Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#10802 closed defect (fixed)

Dojo button labels rendering error on ie 7 or ie8 compatibility mode

Reported by: sebastiantb Owned by:
Priority: high Milestone: 1.5
Component: Dijit - Form Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description

This only happens for ie7 or ie8 compatibility mode, the buttons labels renders in the wrong place , but when you put the cursor on them it get fixed.

I attached some screeshots and instructions to reproduce it in our system

http://img18.yfrog.com/i/buttons2.png/

instruction to see the error in our system:

go to http://1.9.demo.dotcms.org/c

login as test@… pass test

1 - once logged in click on the website tab and select template

2- click on the Add template button 3- you should see that the save / save & publish and cancel button are not rendering correctly.

this is also happening in many places in our system but randomly the only place that always happens is in the one explain above.

Hopping to get a response soon

Best regards

Sebastian Torres

Attachments (1)

buttons2.png (253.6 KB) - added by sebastiantb 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by sebastiantb

Attachment: buttons2.png added

comment:1 Changed 9 years ago by bill

Priority: highestnormal

As I wrote to you on the mailing list:

Just sounds like a rendering glitch, IE has lots of problems that we've worked around, especially in quirks mode; maybe this is another problem we haven't worked around. Problems multiply when buttons are inside of tables or there's other "fancy" markup, etc.

There's a method called _layoutHackIE7() that's supposed to correct the button layout, but it should already be getting called for you.


If you can make a single HTML file test case and attach it here we can take a look, but we can't do anything with a self contained test case.

comment:2 Changed 9 years ago by bill

Resolution: invalid
Status: newclosed

Closing for lack of test case.

comment:3 Changed 9 years ago by bill

Milestone: tbd1.5
Resolution: invalid
Status: closedreopened

comment:4 Changed 9 years ago by bill

Resolution: fixed
Status: reopenedclosed

(In [21895]) Converting <button> tags to <span> tags to avoid rendering problems on IE and to eliminate workaround code for (some of) said rendering problems. Fixes #11003, #10802 !strict.

comment:5 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.