#3919 closed task (fixed)
ColorPalette: consider removing png files from non a11y mode
Reported by: | Adam Peller | Owned by: | bill |
---|---|---|---|
Priority: | low | Milestone: | 1.6.1 |
Component: | Dijit | Version: | 1.0 |
Keywords: | 1.7-mobile | Cc: | dfahey, liucougar |
Blocked By: | Blocking: |
Description
If not in high contrast mode, perhaps we can do without the large png files and instead create the content programatically with a table or something. Also, perhaps it's possible to set title in a different way and avoid all those blank.gifs?
Change History (9)
comment:1 Changed 15 years ago by
Cc: | dfahey added |
---|
comment:2 Changed 15 years ago by
Cc: | liucougar added |
---|
comment:3 Changed 14 years ago by
Milestone: | 1.1 → 1.2 |
---|---|
Version: | 0.9 → 1.0 |
comment:4 Changed 14 years ago by
Milestone: | 1.2 → future |
---|
comment:5 Changed 14 years ago by
Summary: | consider removing png files from ColorPalette, non a11y mode → ColorPalette: consider removing png files from non a11y mode |
---|---|
Type: | defect → task |
comment:6 Changed 11 years ago by
Milestone: | future → 1.6.1 |
---|---|
Owner: | changed from Becky Gibson to bill |
Status: | new → assigned |
comment:7 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [23979]) In non-high-contrast mode, use background-color CSS for color swatches, rather than an image. In high-contrast mode, make each color swatch contain an <img> node that loads the entire palette image, but scrolls/clips it to only show the color for that swatch.
This change avoids swatch/border alignment issues on webkit with a zoom setting, and alignment issues in other browsers, even when not zoomed, that started in 1.6, as seen in #12386.
Note that webkit never enters high contrast mode; even when the machine is set to high-contrast mode, the browser still displays background images. So webkit will always using background-color CSS.
Fixes #3919, #10959, #12386 in trunk/ and 1.6/ branch, !strict.
comment:8 Changed 11 years ago by
Keywords: | 1.7-mobile added |
---|
We don't have or want separate codepaths for high contrast vs. normal (this is one of the axioms of dijit), so I don't see how this is possible, except by not having an image at all, and just displaying words in the table (for high contrast mode).