This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28859 - screen.colorDepth reports wrong pixel depth
Summary: screen.colorDepth reports wrong pixel depth
Status: NEW
Alias: None
Product: Bugzilla
Classification: Unclassified
Component: accessibility (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 critical
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-27 23:09 UTC by Patrik Eriksson
Modified: 2015-06-27 23:09 UTC (History)
0 users

See Also:


Attachments

Description Patrik Eriksson 2015-06-27 23:09:48 UTC
Application: Mozilla firefox 
Version: 38.0.5
Language-Version: Swedish, but according to hearsay affects other languages

the javascript code screen.colorDepth reports wrong color depth on 32bit depth and probaly on 48/64 bit displays

http://dev.w3.org/csswg/cssom-view/#the-screen-interface
section 4.3 screen interface say screen.colorDepth &  pixelDepth always should return 24, this is wrong in so many ways explanation follows

if 24bit was always reported (which its not, IE reports it corrctly, firefox up to 24bit but not after that)that would suggest we must assume ALL displays are capable of 64bit display (and assumably are color cerrected and color stabilized). that is a very bad and wrong assumption as we have devices ranging from 8bit to 64bit wit alpha channels of 0,8 and 16 bits

therefore the working draft is WRONG, and Firefox's behaviour is also wrong, it can never display high precision graphics, this MUST be corrected.

as a Graphic designer i would very much like to be sure my work was displayed as intended for those who can, and a version suitable for common dispalys (24 and 32bit displays are not the same) displayed for othjer displays, and even PDA's with color depth as low as 8bit exists - assuming the engine in those devices would translate from 48bit to 8  bit correctly is redicilus...


sincerely
Patrik Eriksson