From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59802: 30.0.50; Checkbox button not rendered Date: Tue, 13 Dec 2022 18:40:51 +0200 Message-ID: <83v8mfntnw.fsf@gnu.org> References: <87v8mshit6.fsf@ledu-giraud.fr> <838rjoendw.fsf@gnu.org> <87r0xgh7c3.fsf@ledu-giraud.fr> <83zgc4crg6.fsf@gnu.org> <87ilisgxbi.fsf@ledu-giraud.fr> <83lenocoge.fsf@gnu.org> <87edtggol3.fsf@ledu-giraud.fr> <83359vd535.fsf@gnu.org> <87cz8s3gq7.fsf@ledu-giraud.fr> <83sfhozreh.fsf@gnu.org> <87ilik8zjs.fsf@gmx.net> <83v8mjweqm.fsf@gnu.org> <87h6y3447l.fsf@gmx.net> <83cz8rw5pq.fsf@gnu.org> <874ju2qe3a.fsf@gmx.net> <83k02yszqf.fsf@gnu.org> <87k02wd0hl.fsf@ledu-giraud.fr> <83lencr08t.fsf@gnu.org> <87fsdjd5g4.fsf@ledu-giraud.fr> <83k02vpixs.fsf@gnu.org> <87zgbrb7oj.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14841"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stephen.berman@gmx.net, 59802@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 17:41:30 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p58LS-0003dU-2e for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 17:41:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p58L3-0005Am-DO; Tue, 13 Dec 2022 11:41:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p58L0-00057C-Me for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 11:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p58L0-0006sO-Ef for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 11:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p58L0-0006Ay-8v for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 11:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2022 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59802 X-GNU-PR-Package: emacs Original-Received: via spool by 59802-submit@debbugs.gnu.org id=B59802.167094965723719 (code B ref 59802); Tue, 13 Dec 2022 16:41:02 +0000 Original-Received: (at 59802) by debbugs.gnu.org; 13 Dec 2022 16:40:57 +0000 Original-Received: from localhost ([127.0.0.1]:33274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p58Ku-0006AV-MG for submit@debbugs.gnu.org; Tue, 13 Dec 2022 11:40:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p58Kt-0006AB-3e for 59802@debbugs.gnu.org; Tue, 13 Dec 2022 11:40:55 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p58Kl-0006oO-1t; Tue, 13 Dec 2022 11:40:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FQMaHxhgEtcqOHksoTz4FWUzNltgUFHg9aH9+ldHHnY=; b=nol53H/hk+++ c+sTi/VizxskXB/4PBKArakPrZRIfJH8NNChSHZVqH0MrMqjHJgo7DX33W3HfVmTYmFKIqLgegIhs m6QqSr5GlCMQfO0qP0MdfLEyhfUMKVMPTBzKZjHhGJsUu5XF2fI+Hv5CBb0bkz/dBfFqYM76sfg6v wNov5eTIbb8I41hkhLp08DoDkYGVxc1YZjHN6NowDwo52imG3KSxmbIxPTVQKiKpBFbQ1dIHDdM3k MRNm1oUBzRDyzNE3W029gEXE2RxlaJ2fFLmTiNf5ATdzyT8SIAvWqxJREQAOUcf5WxhwsldVOBrQX Y4weA8OL+WK0eOPrbrBNOA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p58Kk-0008FZ-J7; Tue, 13 Dec 2022 11:40:46 -0500 In-Reply-To: <87zgbrb7oj.fsf@ledu-giraud.fr> (message from Manuel Giraud on Tue, 13 Dec 2022 17:16:28 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250857 Archived-At: > From: Manuel Giraud > Cc: stephen.berman@gmx.net, 59802@debbugs.gnu.org > Date: Tue, 13 Dec 2022 17:16:28 +0100 > > Eli Zaretskii writes: > > [...] > > > I'm not sure I understand the reason for "else if". Isn't possible > > that both conditions could be true? > > True for both conditions is unlikely because we are into a "if (! (0 < > viewbox_width && 0 < viewbox_height))" so either viewbox_height is zero > or viewbox_width is zero. Perhaps this means you need to reshuffle the code so that the case where both dimensions are non-zero comes the first. Then you will have fewer negations in the conditions and the code will be easier to read and understand. Thanks.