From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Newsgroups: gmane.emacs.bugs Subject: bug#59549: EWW ordered list display irregularity Date: Tue, 05 Nov 2024 22:20:45 -0500 Message-ID: <87a5ed2gky.fsf@sebasmonia.com> References: <86a5edtxms.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39996"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 59549@debbugs.gnu.org, nicholasdrozd@gmail.com To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 06 04:21:29 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 1t8Wbn-000AFm-Bk for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Nov 2024 04:21:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8WbS-0001R5-SV; Tue, 05 Nov 2024 22:21:06 -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 1t8WbO-0001Qj-Hj for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 22:21:04 -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 1t8WbO-0003Wx-2v for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 22:21:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=DJDqqvftFVijYXlQGtsQ6RCBI5RFQzk+aPgJRR5Chls=; b=l6BRv3OznT5TObjEZScNGK1L9P2FatztYjX6tI5itpIewCfHDBRYJO9eLPF1CCyjQ7FT1LjxcDVx5+ILfc9TbM77jctNfJ6p2kX/QihqcMvo/XGalORt9YgEo8RC8W4ZO+6RgPzTJSdXIC0nYJbI1gvXFyleDV0ryvbGtnMs2WssM9un4GRlTQT3y24tSlljcVL+ACSMnYJ0+8sszbz9nnstgt8OL123nbK3rDCjj0leUMhFxAljJLzP/lBtlPwQayLCCtCefE7WoXi+ntjS4BVYJZg3krl5/koMmENqQD6SCIO7UZkCq48u1fXnynwe6QFXPVinJpnZMvWhRaQTiA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8WbN-0006Ir-KZ for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2024 22:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Nov 2024 03:21:01 +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.173086325424206 (code B ref 59549); Wed, 06 Nov 2024 03:21:01 +0000 Original-Received: (at 59549) by debbugs.gnu.org; 6 Nov 2024 03:20:54 +0000 Original-Received: from localhost ([127.0.0.1]:38784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8WbG-0006IM-5d for submit@debbugs.gnu.org; Tue, 05 Nov 2024 22:20:54 -0500 Original-Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]:48419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8WbD-0006I8-Om for 59549@debbugs.gnu.org; Tue, 05 Nov 2024 22:20:52 -0500 Original-Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 4EFAC114016D; Tue, 5 Nov 2024 22:20:46 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Tue, 05 Nov 2024 22:20:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1730863246; x=1730949646; bh=DJDqqvftFVijYXlQGtsQ6RCBI5RFQzk+ aPgJRR5Chls=; b=nI8dYKMhW5Kvf0CVpl4vizNxY36I+4uxGT6siCA532hsQ5zw DxzBphvv874ef4dKVWJ4awXxWAdxCB6pgtmtPArHue5U7VXe7hcTqUho05HIuAcc 2RDlYpIy5iWIqm91vj1cEv9yNEksuDLdtV8Qjl6yzfYl4W4ozoAAPgoS2DeV3dfk WmFc9jmfGg1ac2xUIQ8olwUKDLxa4+HJS9RZXVADopst3juytah+4mLVPV6nogFR U93TV+Jh7n8ljX+bqQsHAh5wPehX686tQauRhskhTQZRBM0d7p1zmA8V/2bqdx5F L67ZT2piQy15gj/RbRcGWOwsT2d93TEYRtVgTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1730863246; x= 1730949646; bh=DJDqqvftFVijYXlQGtsQ6RCBI5RFQzk+aPgJRR5Chls=; b=X f/ZciQCM/CcuDHUmD5hxRscZiHg7WXKV79Sb1QjxQdidIu7sG4pnk6YUcR+77Nxi kDfQLtQ/2Loi+/o4f/17fTHFApQaLy2j2Wo/85q8Zm7SCXkcbRfhpCXv6LQvTD10 MnaJyTzSMdOLWAjj29+YIXXPTuwtTvAmArP7aI8LgBYnMu1wl/ZQeQrFOsel9WQE TBekZU4/NWCW7nKYAps7XvNTKps89u6cB+7sA1qDmfhUZ3uzgenJQYYC20B9eigV 1A9snVo/siT+IEWjQW5DY0iBP0mnZk28xetlkpJQcq4OhB2e+GPuUp/VolnnrA6c hPS2vUgOD77noTcQSwE/Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttderjeen ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhephfdvffefleelfeffjeeg tdefgeejjeffvdffudeijeffueeigefggfeghfefheefnecuffhomhgrihhnpeifihhkth hiohhnrghrhidrohhrghdpshgvsggrshhmohhnihgrrdgtohhmnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsg grshhmohhnihgrrdgtohhmpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhu thdprhgtphhtthhopehnihgthhholhgrshgurhhoiigusehgmhgrihhlrdgtohhmpdhrtg hpthhtohepheelheegleesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegv lhhiiiesghhnuhdroh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Nov 2024 22:20:45 -0500 (EST) In-Reply-To: (Jim Porter's message of "Tue, 5 Nov 2024 11:50:19 -0800") 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:294931 Archived-At: Jim Porter writes: > On 11/5/2024 9:10 AM, Eli Zaretskii wrote: >>> From: Sebasti=C3=A1n Mon=C3=ADa >>> 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. Then we can close this report? Since it isn't really a bug, but "working as intended". Thanks, Seb --=20 Sebasti=C3=A1n Mon=C3=ADa https://site.sebasmonia.com/