#18166 closed defect (invalid)
Invisible Checkbox
Reported by: | jxfeng | Owned by: | jxfeng |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Dijit - Form | Version: | 1.10.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Checkbox is invisible when used in html file like "data-dojo-type="dijit/form/CheckBox" unless add a line of "opacity:1.0;" in .css file.
Change History (5)
comment:1 Changed 7 years ago by
Owner: | set to jxfeng |
---|---|
Status: | new → pending |
comment:2 Changed 7 years ago by
Status: | pending → new |
---|
I guess it is just theme problem, see http://jsfiddle.net/dCA4D/6/ The checkbox is actually exited on the top left corner of result, however, it is invisible. If you change <body class="claro"> in Fiddle Options to <body class="tundra">, the checkbox will turns to be visible.
comment:3 Changed 7 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
There's no issue with the themes themselves, but jsfiddle is doing something weird (and wrong).
Right click on the execute pane, and select "view frame source", I see:
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.4/dijit/themes/tundra/tundra.css"> ... <body class="claro">
Those two are inconsistent. Also, it's including an old version of tundra.css rather than the 1.10 version.
Not sure how to report a bug against jsfiddle but someone should.
comment:4 Changed 7 years ago by
There is no bug in jsfiddle either. You need to manually specify the correct CSS under "External Resources" to the left.
comment:5 Changed 7 years ago by
I guess that depends on you definition of "correct CSS". Tundra is old, but not incorrect.
It works fine for me, see http://downloads.dojotoolkit.org/release-1.10.0/dojo-release-1.10.0/dijit/tests/form/test_CheckBox.html. If you have a test case that fails, attach it using the attach file button and give instructions on how to reproduce.