Re: [csswg-drafts] [cssom-view] Make colorDepth/pixelDepth return useful information again

>From the minutes

> @dbaron: I think...I'm fine with this being useful as long as the spec is clear what the value means. Some impl were returning what the bit depth was semantically before the hard code and some were returning number of bits in the memory layout that the graphics card liked
> @dbaron: There are some context where when you have rgb data you back a bite of r, of g, of b. THere are some context where you want 32 bites aligned. Sometimes this differs per video driver. Some impl exposed this.

> @svgeesus: bits per component vs bits per pixel. spec needs to be clear.
> @svgeesus: also for 5-6-5 red green blue = 16


-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/993#issuecomment-284638556 using your GitHub account

Received on Tuesday, 7 March 2017 06:57:57 UTC