Path: csiph.com!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!85.12.16.70.MISMATCH!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post02.iad!fx04.iad.POSTED!not-for-mail Subject: Re: Finding a real background color of an element Newsgroups: comp.lang.javascript References: <5e2c4fe7-9a52-2552-8b5d-d269fd83e923@PointedEars.de> <1826877.oMNUckLgyt@PointedEars.de> <1799156.3UefHMCHME@PointedEars.de> <3ef40966-81b3-84fd-596f-6b08e1e36af8@PointedEars.de> <84a2c5e5-af01-4f7b-8446-c0073478dbfc@googlegroups.com> From: Richard Damon User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <84a2c5e5-af01-4f7b-8446-c0073478dbfc@googlegroups.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Lines: 32 Message-ID: X-Complaints-To: abuse@easynews.com Organization: Forte - www.forteinc.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Sat, 8 Sep 2018 14:23:40 -0400 X-Received-Bytes: 2907 X-Received-Body-CRC: 2193870400 Xref: csiph.com comp.lang.javascript:35570 On 9/8/18 1:44 PM, Julio Di Egidio wrote: > On Saturday, 8 September 2018 19:43:15 UTC+2, Julio Di Egidio wrote: >> On Saturday, 8 September 2018 19:33:01 UTC+2, Richard Damon wrote: >>> On 9/5/18 1:48 AM, Julio Di Egidio wrote: >> >>>> E.g. consider again (*) which says *it's fine if both are not defined*: if >>>> there is an issue there, it's with the standard, not with the linters. Then >>>> consider also that the issue (if any) is with the very approach that is taken >>>> in that standard, the underlying philosophy so to speak, not just with one or >>>> two specific choices. >>>> >>>> (*) >>> >>> My reading of that page is that it is ok to specify NEITHER of the >>> foreground and background, and thus let the user set them to something >>> suitable for them, or you need to specify BOTH, so that you can make >>> sure that you set them to something with sufficient visibility. >>> >>> Setting just one of the colors says that you can not be sure you have >>> sufficient contrast, and that condition would be good to detect and warn >>> about. >> >> And I of course agree with your reading... > > P.S. "Both are not" <=> "Neither is", in case that was the doubt. > > Julio > The issue is that some people may try to parse "Both are not defined" as more like "it is not the case that both are defined" (which means something very different). (!A) & (!B) vs !(A&B)