Opened 8 years ago

Closed 8 years ago

#13371 closed defect (worksforme)

Problem with claro theme for a Dialog, getting a transparent background.

Reported by: Ed Chatelain Owned by: bill
Priority: high Milestone: 1.7
Component: Dijit Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

Dialog.css for claro is missing background: #fff; With the attached test, if you move the dialog over the div, you will see the background div thru the dialog. This does not happen with tundra. Also if a dialog is moved over an applet the dialog border will disappear. Both problems are fixed by adding background: #fff; to dijit/themes/claro/Dialog.css, around line 31, in the section: .claro .dijitDialog {

Attachments (1)

13371.html (1.3 KB) - added by Ed Chatelain 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Ed Chatelain

Attachment: 13371.html added

comment:1 Changed 8 years ago by Douglas Hays

Milestone: tbd1.7
Owner: set to bill

comment:2 Changed 8 years ago by bill

Hmm, it's not really missing a background: #fff, it's that it doesn't need it. Your test case fails because it's setting the size of the dialog, which isn't supported. Usually there isn't any space beyond what the div.dijitDialogPaneContent takes up.

Setting the dialog size can be dangerous since you might make it too small to hold the dialog contents, depending on the user's browser's settings, especially if the browser is in big-font high-contrast mode. Is there really some reason you need to set the size?

Regarding applets, I ran test_bgIframe.html and don't see any issues.

comment:3 Changed 8 years ago by Ed Chatelain

You are right, removing the size on the dialog fixes the problem over the div. The size was being set on the testcase, but it was not being set when they were seeing the problem in their application when moving the dialog over the applet. But in any case, they don't have a good testcase for the applet, and they have their workaround, so you can close this ticket.

comment:4 Changed 8 years ago by bill

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.