From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#59549: EWW ordered list display irregularity Date: Tue, 5 Nov 2024 11:50:19 -0800 Message-ID: References: <86a5edtxms.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38972"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59549@debbugs.gnu.org, nicholasdrozd@gmail.com To: Eli Zaretskii , =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 05 20:52:24 2024 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 1t8PbE-0009u2-7l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Nov 2024 20:52:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8Pav-0001Hp-8d; Tue, 05 Nov 2024 14:52: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 1t8Pas-0001HY-Rz for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 14:52:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8Pas-0006vm-Js for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 14:52:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=d7y329nn6lPk+wzybQVrxyHqcErkmkvic3F2GI9/nWI=; b=WW7Y6wELiDifUkGhNTdYqxR7FzN60owaS5PFVkzSEvLNeOeuVgP7DbGPCCQ3D0Gr9C9sVs2ILgMvZO1X8BTGFZqePlN/TOL/cx6Luy2gd6CHTaVPVr6o1jEjd/LRGg5wiCQ1QBl+G1+Hv+vPCsQyMVaXOYG8hy0+XW7XSvZFAGzowLiKdbVyfLwavRJktpC7fRBHj3pHmafWF7c8+avIjMZLABY5jHyHiEZzwbr98tpzPwDmhiCG51NjelQPp8v12fC4bzBigzfR4T2DqOPeS6kaK5IyY3YIGoMZbLAqLMyFrk/pACQdYkwIGZkDaWqVnhrONstf0doEyBTp5NKqMw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8Pas-0003ZR-Eg for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 14:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2024 19:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59549 X-GNU-PR-Package: emacs Original-Received: via spool by 59549-submit@debbugs.gnu.org id=B59549.173083628513658 (code B ref 59549); Tue, 05 Nov 2024 19:52:02 +0000 Original-Received: (at 59549) by debbugs.gnu.org; 5 Nov 2024 19:51:25 +0000 Original-Received: from localhost ([127.0.0.1]:38033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8PaG-0003YB-GK for submit@debbugs.gnu.org; Tue, 05 Nov 2024 14:51:24 -0500 Original-Received: from mail-pl1-f172.google.com ([209.85.214.172]:61655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8PaE-0003Y3-8R for 59549@debbugs.gnu.org; Tue, 05 Nov 2024 14:51:22 -0500 Original-Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-20c7ee8fe6bso56332345ad.2 for <59549@debbugs.gnu.org>; Tue, 05 Nov 2024 11:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730836221; x=1731441021; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=d7y329nn6lPk+wzybQVrxyHqcErkmkvic3F2GI9/nWI=; b=Mqx82xK03ydq741hdhCoawQuDz1tbHl6OfKWD9y+OqcmTX8Gict3sPziMLqT3l3PzB 284oqP7kfmee8jcKwK6k1i8am4bXX9Bo+IZAFVuFv1iGA87jKUe/RmMfSu47JAPHm5WY bfqzz6WZNyh0raDdGqwNCgaj7uv1WxWA4kDyqJhnMmxG8RCkWDefBwIuR3J9FgmT4W1H zRzJSbjFBjnJiQ0gVqEpTPUGMqvrHpBWa+hsm/Yt/xpZ+4lsnezM7PnDgyy0wGhx22Oc Nvrv4l7bnfZyZfQ0vbg5Gj70GcHepQwIm//6OmZnBNMO4c6ltG4BWGRB1wMtseo+sZG2 tqSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730836221; x=1731441021; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=d7y329nn6lPk+wzybQVrxyHqcErkmkvic3F2GI9/nWI=; b=Nr8HZ1pyrxYf7GwhwpSN1vfcGW1SAKxLCUYZ1uydjxbNV3FJix8rABhc2Y4rSUyfhN WuLZcEIooVtDhYhzN+laKL6XbOmwRtolK7S2VCqNcWv3Z0j7viqZngNGyS2g7DRuVjaa zbhw//920AMYxCtdB2rOs7CcEvzwWoinN0N0kQUp1Pl4flI8wKw8YbnKzUQ7FVBlxovZ tjTtrqGJprFmAZGW85aRPMHoLaPi0oMMovYhgDoYEfRv5YfM+BB3yCnbTllSckMmHFtd gD/iWA05kOyMSHO9jwZkRLMlfFtfD3e6uKo6FhtGlRmhAmtm6DR7zhv2NR6veyUiXxWd 41Mw== X-Gm-Message-State: AOJu0YwS2BX39pc0PJp9Q/8KD+GSdpSkMshhLPoI7A68OHA1Iv5myURb 9yM/AW3HU/JKieyY6Y+fLDoeOa1ius+Rd5KK3rpyxh1Mbf8bhMc8 X-Google-Smtp-Source: AGHT+IF4N0QngOC4N5FrUiQXFMIzck2sUK9teZjlXxjSYajb5dPXslthN0zA7NohwBlTn6f7pYZvtg== X-Received: by 2002:a17:903:2445:b0:20c:bcd8:5ccb with SMTP id d9443c01a7336-210c6c0610amr528810065ad.30.1730836221482; Tue, 05 Nov 2024 11:50:21 -0800 (PST) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-211057c0e67sm81601805ad.203.2024.11.05.11.50.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Nov 2024 11:50:21 -0800 (PST) Content-Language: en-US In-Reply-To: <86a5edtxms.fsf@gnu.org> 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:294921 Archived-At: On 11/5/2024 9:10 AM, Eli Zaretskii wrote: >> From: Sebastián Monía >> Cc: 59549@debbugs.gnu.org >> Date: Tue, 05 Nov 2024 09:38:28 -0500 >> >> If we think it is OK to render the empty items, then we could close this >> bug instead of merging. Either way, one less item in the TODO list ;) > > Thanks. > > I'm not enough of an HTML expert to be sure that this is the right fix > in general, sorry. I hope someone else will be able to tell. I think the current behavior with the empty list item is correct, actually. Other browsers don't show the list item (and renumber the list as appropriate) because the CSS rule for ".mw-empty-elt" has "display: none". EWW/SHR don't parse CSS[1], and so we show the empty item. You can see the same "problem" in Firefox if you load and go to View -> Page Style -> No Style. Since that's roughly what EWW/SHR is doing, I think we're consistent with other browsers here. [1] Well, they can parse some limited inline CSS using the "style" attribute, but that doesn't apply here since the styling comes from a CSS class.