From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.bugs Subject: bug#59802: 30.0.50; Checkbox button not rendered Date: Tue, 13 Dec 2022 17:16:28 +0100 Message-ID: <87zgbrb7oj.fsf@ledu-giraud.fr> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8876"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: stephen.berman@gmx.net, 59802@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 17:17:18 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 1p57y2-00026k-0U for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 17:17:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p57xp-000652-N2; Tue, 13 Dec 2022 11:17: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 1p57xn-00064c-EI for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 11:17: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 1p57xn-0003GE-61 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 11:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p57xm-0005s1-Fx for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 11:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2022 16:17: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.167094819422540 (code B ref 59802); Tue, 13 Dec 2022 16:17:02 +0000 Original-Received: (at 59802) by debbugs.gnu.org; 13 Dec 2022 16:16:34 +0000 Original-Received: from localhost ([127.0.0.1]:33102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p57xK-0005rU-Ir for submit@debbugs.gnu.org; Tue, 13 Dec 2022 11:16:34 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:9074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p57xI-0005rJ-G8 for 59802@debbugs.gnu.org; Tue, 13 Dec 2022 11:16:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=gv8TTrEW8Xqv/8YT iBNVBpNMO2+8pkLKrbRlsy1vsyc=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=ZbVTcAbRn4qGlogrRHC+J2TG5wDiiRm87Kx1pF 6u6ujsdG1mwOYkli09SYDKq6MroflBThbF71/EOcyWWgf3lhSLZdcFJ8Q9g1aEvR+mF0Cd oGZMmICPOO7nFctUUWcKWOPqe3u+lwkjG2xSs7XplwuuFMTrj4vK2KRMCzsbgX5CZ4TnIQ 6j9owf+NPFHOt+P0y66kKE4g52S//7u7FoMQipQOfoJ68+9TtTSz1JIrhV8gE4O1ppJmZX GUZa95JLWWCfAQEtFlcP8W4BdAYlAGH9tHHfNIJ0yLpDCPjw7KcRkju89HiUz7wa2kIPKK 9WWYy6ai7RcfCX1wuxXMbASA== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 8aecb959 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 13 Dec 2022 17:16:29 +0100 (CET) In-Reply-To: <83k02vpixs.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Dec 2022 14:49:35 +0200") 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:250856 Archived-At: 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. > If so, why not use both dimensions in that case, instead of > arbitrarily preferring one of them? The "both dimension" case is already handled at "if (has_width && has_height)" line 11305. > Which of the 3 possible branches get executed in the recipe of this > bug? IOW, which dimension was unknown? In my case, it is the first branch because "etc/images/checked.svg" does not have a width attribute so it is considered 100% by rsvg_handle_get_intrinsic_dimensions and end up being zero. -- Manuel Giraud