GNU bug report logs - #59549
EWW ordered list display irregularity

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Nicholas Drozd <nicholasdrozd@HIDDEN>; dated Thu, 24 Nov 2022 18:30:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 59549 <at> debbugs.gnu.org:


Received: (at 59549) by debbugs.gnu.org; 6 Nov 2024 12:37:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 06 07:37:52 2024
Received: from localhost ([127.0.0.1]:39952 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8fIF-0005JF-MH
	for submit <at> debbugs.gnu.org; Wed, 06 Nov 2024 07:37:51 -0500
Received: from eggs.gnu.org ([209.51.188.92]:58960)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1t8fID-0005Im-Me
 for 59549 <at> debbugs.gnu.org; Wed, 06 Nov 2024 07:37:50 -0500
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 <eliz@HIDDEN>)
 id 1t8fI8-0008Bc-A0; Wed, 06 Nov 2024 07:37:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=3XQcKo81+72d1u7yZrhxFbzSfGW9u3jx5JtaJwSQ8VI=; b=ZfFMFx4nOau7HMLWe11y
 xzNZy37MQjSWCWsZ/nRZQCP+q3U64OiH2/HnuPvhzk8JhBHqjagKaesxK1RNlyepUgJbTAPWIXvcq
 NtFefn2d9DB2fjkEUwBMcVNgivTdMFZRlt81S1bXOEfzssiPapKwUUJz6KBO7qjSyb2T4/UfO3TMo
 A2zqidHnnq8dBjqCVtPwSDiHpO2rewMZ2XkWPvXArDHwXGCaJ69DxhXxKd0zXsv94kLPCyT3du/r1
 nWq7gQiEVzBD5H9u2TxG5A8Fk1yoSmfqUlc6ojKj149Q3YYXqH6+GWqG/sZuYbsDQPMMhDq/I/RH3
 blacY1rFBPpR/g==;
Date: Wed, 06 Nov 2024 14:37:39 +0200
Message-Id: <86msicsfl8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?Q?Sebasti=C3=A1n_Mon=C3=ADa?= <sebastian@HIDDEN>
In-Reply-To: <87a5ed2gky.fsf@HIDDEN> (message from =?utf-8?Q?Sebas?=
 =?utf-8?Q?ti=C3=A1n_Mon=C3=ADa?= on
 Tue, 05 Nov 2024 22:20:45 -0500)
Subject: Re: bug#59549: EWW ordered list display irregularity
References: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
 <thqned5axk7f.fsf@HIDDEN> <thqned4xjb3a.fsf@HIDDEN>
 <thqnzfmdg2zf.fsf@HIDDEN> <86a5edtxms.fsf@HIDDEN>
 <aaf83e70-a232-8f58-c07a-de5561ac64a7@HIDDEN>
 <87a5ed2gky.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59549
Cc: jporterbugs@HIDDEN, 59549 <at> debbugs.gnu.org, nicholasdrozd@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Sebastián Monía <sebastian@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  59549 <at> debbugs.gnu.org,
>   nicholasdrozd@HIDDEN
> Date: Tue, 05 Nov 2024 22:20:45 -0500
> 
> Jim Porter <jporterbugs@HIDDEN> writes:
> 
> > On 11/5/2024 9:10 AM, Eli Zaretskii wrote:
> >>> From: Sebastián Monía <sebastian@HIDDEN>
> >>> Cc: 59549 <at> 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
> > <https://en.wiktionary.org/wiki/locus#Noun> 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".

Yes, I think so.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59549; Package emacs. Full text available.

Message received at 59549 <at> debbugs.gnu.org:


Received: (at 59549) by debbugs.gnu.org; 6 Nov 2024 03:20:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 22:20:54 2024
Received: from localhost ([127.0.0.1]:38784 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8WbG-0006IM-5d
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 22:20:54 -0500
Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]:48419)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sebastian@HIDDEN>) id 1t8WbD-0006I8-Om
 for 59549 <at> debbugs.gnu.org; Tue, 05 Nov 2024 22:20:52 -0500
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)
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: <xms:jeAqZ9t0sb77vn4IYIDQTtsd3f8fx9rWoEX1fd7w7GoQfgl5Rwzbvg>
 <xme:jeAqZ2efZYyYk7KMNpIbXwwxWQbfvyn3468GpzuD8GUaGy6f9v_FXbcWUohympbh5
 9kP8h5yyd7mP5OEoNA>
X-ME-Received: <xmr:jeAqZwzBz1AtbC1he6fRfbRLFTx91RA4JUCcsf0P-V2rBRH90NrBS_ks4Z2jVlcfxaPoSrUnul1h6D7mXqOFpdA8TnVenbpBu8Bz>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugdehkecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr
 tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth
 hsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttderjeen
 ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg
 gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhephfdvffefleelfeffjeeg
 tdefgeejjeffvdffudeijeffueeigefggfeghfefheefnecuffhomhgrihhnpeifihhkth
 hiohhnrghrhidrohhrghdpshgvsggrshhmohhnihgrrdgtohhmnecuvehluhhsthgvrhfu
 ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsg
 grshhmohhnihgrrdgtohhmpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhu
 thdprhgtphhtthhopehnihgthhholhgrshgurhhoiigusehgmhgrihhlrdgtohhmpdhrtg
 hpthhtohepheelheegleesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegv
 lhhiiiesghhnuhdrohhrghdprhgtphhtthhopehjphhorhhtvghrsghughhssehgmhgrih
 hlrdgtohhm
X-ME-Proxy: <xmx:jeAqZ0Nm2bNf_-WAgqbEDIkuenl-YTBEiH4cFxAChjfsop0muH3QAQ>
 <xmx:jeAqZ9-AeIHlL4Zr6CXMob82qyjiRYGRbEYKHkBifvc7zj9Sitxw3g>
 <xmx:jeAqZ0XVkRRR9n06ZXbBgieNZUPUZfDvVeRfmJlzpNnLu1oeHhzKog>
 <xmx:jeAqZ-dd7avwFfFY1kxaKQ28LB_4DygP71bauCLKo3N7bsfwtSihKw>
 <xmx:juAqZ5YiQPeRSq-KthB9jwGdn7gg1M4k7N138OaaO73c0v5rtooGk-Mh>
Feedback-ID: iab2c46da:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 5 Nov 2024 22:20:45 -0500 (EST)
From: =?utf-8?Q?Sebasti=C3=A1n_Mon=C3=ADa?= <sebastian@HIDDEN>
To: Jim Porter <jporterbugs@HIDDEN>
Subject: Re: bug#59549: EWW ordered list display irregularity
In-Reply-To: <aaf83e70-a232-8f58-c07a-de5561ac64a7@HIDDEN> (Jim Porter's
 message of "Tue, 5 Nov 2024 11:50:19 -0800")
References: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
 <thqned5axk7f.fsf@HIDDEN> <thqned4xjb3a.fsf@HIDDEN>
 <thqnzfmdg2zf.fsf@HIDDEN> <86a5edtxms.fsf@HIDDEN>
 <aaf83e70-a232-8f58-c07a-de5561ac64a7@HIDDEN>
Date: Tue, 05 Nov 2024 22:20:45 -0500
Message-ID: <87a5ed2gky.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59549
Cc: Eli Zaretskii <eliz@HIDDEN>, 59549 <at> debbugs.gnu.org,
 nicholasdrozd@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Jim Porter <jporterbugs@HIDDEN> writes:

> On 11/5/2024 9:10 AM, Eli Zaretskii wrote:
>>> From: Sebasti=C3=A1n Mon=C3=ADa <sebastian@HIDDEN>
>>> Cc: 59549 <at> 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
> <https://en.wiktionary.org/wiki/locus#Noun> 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/




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59549; Package emacs. Full text available.

Message received at 59549 <at> debbugs.gnu.org:


Received: (at 59549) by debbugs.gnu.org; 5 Nov 2024 19:51:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 14:51:24 2024
Received: from localhost ([127.0.0.1]:38033 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8PaG-0003YB-GK
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 14:51:24 -0500
Received: from mail-pl1-f172.google.com ([209.85.214.172]:61655)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jporterbugs@HIDDEN>) id 1t8PaE-0003Y3-8R
 for 59549 <at> debbugs.gnu.org; Tue, 05 Nov 2024 14:51:22 -0500
Received: by mail-pl1-f172.google.com with SMTP id
 d9443c01a7336-20c7ee8fe6bso56332345ad.2
 for <59549 <at> 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)
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)
Message-ID: <aaf83e70-a232-8f58-c07a-de5561ac64a7@HIDDEN>
Date: Tue, 5 Nov 2024 11:50:19 -0800
MIME-Version: 1.0
Subject: Re: bug#59549: EWW ordered list display irregularity
Content-Language: en-US
To: Eli Zaretskii <eliz@HIDDEN>, =?UTF-8?B?U2ViYXN0acOhbiBNb27DrWE=?=
 <sebastian@HIDDEN>
References: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
 <thqned5axk7f.fsf@HIDDEN> <thqned4xjb3a.fsf@HIDDEN>
 <thqnzfmdg2zf.fsf@HIDDEN> <86a5edtxms.fsf@HIDDEN>
From: Jim Porter <jporterbugs@HIDDEN>
In-Reply-To: <86a5edtxms.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 59549
Cc: 59549 <at> debbugs.gnu.org, nicholasdrozd@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 11/5/2024 9:10 AM, Eli Zaretskii wrote:
>> From: Sebastián Monía <sebastian@HIDDEN>
>> Cc: 59549 <at> 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 
<https://en.wiktionary.org/wiki/locus#Noun> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59549; Package emacs. Full text available.

Message received at 59549 <at> debbugs.gnu.org:


Received: (at 59549) by debbugs.gnu.org; 5 Nov 2024 17:10:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 12:10:31 2024
Received: from localhost ([127.0.0.1]:44696 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8N4Z-0005hh-H7
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 12:10:31 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33008)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1t8N4W-0005hb-UO
 for 59549 <at> debbugs.gnu.org; Tue, 05 Nov 2024 12:10:29 -0500
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 <eliz@HIDDEN>)
 id 1t8N4R-00075Q-Nb; Tue, 05 Nov 2024 12:10:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=rys8ijBMikroWB9vdJfAogDhb0Pg7QZ6a93fWkOBAOA=; b=n4PNgUALWI8186T3KfRc
 Xf6AEM120GbbGcSmxp3vwhAmbem8sglyW57k2V9JQP/Ebbyp8kU+dUVyutCR+CMGHBGGYsyRAeWik
 rlaYRNAb4qb7NI/eq/xWVwfz3+m5ST+COyd2ZN8BbS5wnZ0DBncjwBVOeGKbfaYg1XovCLP6rnvey
 nRwhZEF5JiFGEoWQdwizRElhCvk99kP+nmWoPMso5awfHnaj145AwIyPG/pmg0wBqTj3vkW1B6uci
 Hp3jGpUeqZXt3b3KRFjzzeGdvwhYuRoZuY6oNwb40CobTxWuIctIqxC327iw1INchCzh2cjBucF+C
 FqxwslYHnrEesQ==;
Date: Tue, 05 Nov 2024 19:10:19 +0200
Message-Id: <86a5edtxms.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?iso-8859-1?Q?Sebasti=E1n_Mon=EDa?= <sebastian@HIDDEN>
In-Reply-To: <thqnzfmdg2zf.fsf@HIDDEN> (message from
 =?iso-8859-1?Q?Sebasti=E1n_Mon=EDa?=
 on Tue, 05 Nov 2024 09:38:28 -0500)
Subject: Re: bug#59549: EWW ordered list display irregularity
References: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
 <thqned5axk7f.fsf@HIDDEN> <thqned4xjb3a.fsf@HIDDEN>
 <thqnzfmdg2zf.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59549
Cc: jporterbugs@HIDDEN, 59549 <at> debbugs.gnu.org, nicholasdrozd@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Sebastián Monía <sebastian@HIDDEN>
> Cc: 59549 <at> debbugs.gnu.org
> Date: Tue, 05 Nov 2024 09:38:28 -0500
> 
> Sebastián Monía <sebastian@HIDDEN> writes:
> 
> Hi Eli, Jim,
> 
> Another older patch that maybe can be merged lurks here. This time, I am
> the author.
> 
> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59549; Package emacs. Full text available.

Message received at 59549 <at> debbugs.gnu.org:


Received: (at 59549) by debbugs.gnu.org; 5 Nov 2024 14:38:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 09:38:37 2024
Received: from localhost ([127.0.0.1]:44011 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8KhZ-0001Ec-2E
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 09:38:37 -0500
Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]:52911)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sebastian@HIDDEN>) id 1t8KhW-0001EI-3y
 for 59549 <at> debbugs.gnu.org; Tue, 05 Nov 2024 09:38:35 -0500
Received: from phl-compute-08.internal (phl-compute-08.phl.internal
 [10.202.2.48])
 by mailfout.phl.internal (Postfix) with ESMTP id 14DC91380691;
 Tue,  5 Nov 2024 09:38:29 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-08.internal (MEProxy); Tue, 05 Nov 2024 09:38:29 -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=1730817509; x=1730903909; bh=Kc6+e7spm3nLxc3DOF+rHKQtjE1yiHpk
 sNrSNd6g9LA=; b=1dmGnCV/8L0HR3l5uYmX3X08oYaEdVYHMUNUBGSskHgfwTRy
 PVB7sj8T/mfrzOPDX1JIGKqzmz2s1HssPzBjGDOCJaKYrDyB7KHLNwgdGLsnvidl
 7zm51XXciQXvwnWRvQcsIVbydJ/xcNXpbJwqfCnMYc1+bOqqgzobMnJiCjqxRHN0
 Xai4ZRcorrLs6C/YCfGAFJ1Wt+oW2TyjFLSTjZgizM2DvvaSwccfFmUq+XcxkeE3
 OpozooCbwfflMnTrbqEfvp5upFjjXBOxsFVicrqc0Vg33AdWfVnerH8xnfk/9+f6
 iS3CReKek2ZSTE1BJhAkP9qVU3seOyHGcJOODQ==
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=1730817509; x=
 1730903909; bh=Kc6+e7spm3nLxc3DOF+rHKQtjE1yiHpksNrSNd6g9LA=; b=V
 xIZWIEyoFnifECO6Hnvea2PHjZ3RPl6JZgdEVUYgyG5hwVsTLbDVOT8BOl5csRaR
 jm77qvXiMB/cLWVaQd8d2WCfwGy30BhZiYtuNPnrWZkVx6DIu74hEtQRR/Uy9x+i
 hQnT+erRQyviRYl2ttzUVOf6CRN3B2IQXe9ERBSFKMVaPVp87DoICLZmM9A75xqF
 Aoz46dEvc8kQ5Zwo/p695xJpPhP52PV+CeG4Y8X15fwIkGmjTEX3XJpWxQcrYWjO
 jbiBwUuRYrj60x/XQ2O67NrACD17Pu+lmMXmeEc0NcVc+MrbMVwMLahCXmlscCVi
 7VxGiRYBj/i06iulWV+FQ==
X-ME-Sender: <xms:5C0qZ_RA0h4eSFAbzecGi2Ed3owhvM5hNBl6L9MGdO-gK-7rFTzY-g>
 <xme:5C0qZwz8xsZ_ylIGNSZUqDzg5VlCEUTiG4Z-kF08r5Ey9Fpk1U5w4wX5GdlFXX06V
 w7SmzZJ4FxMTok-Jyo>
X-ME-Received: <xmr:5C0qZ01xnCMFU2tv9lcYwtihwRWeRGwvY34GiTr9A59xDJfPX6x8TbGWwAyJ0HwQliyzHa3e6W9UMdwQT0CBo7hXTpiLS8OnjO-clxZKph6RDoM>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrtddtgdefkecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr
 tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth
 hsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttderuden
 ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg
 gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepjeefkeetveeuvdffhedt
 geeukedtveekveethfdvgfffieeiieetuefgvdeiveeknecuffhomhgrihhnpehsvggsrg
 hsmhhonhhirgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr
 ihhlfhhrohhmpehsvggsrghsthhirghnsehsvggsrghsmhhonhhirgdrtghomhdpnhgspg
 hrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepheelheeglees
 uggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh
 dprhgtphhtthhopehjphhorhhtvghrsghughhssehgmhgrihhlrdgtohhmpdhrtghpthht
 ohepnhhitghhohhlrghsughrohiiugesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:5C0qZ_DXRjWZds8CrDaB0uZWijTRLWALX_vP5P_Vv8CnRth87p-gWQ>
 <xmx:5C0qZ4hVr8LkUK38PB87Bre2JKkZWd5vUdd593nkrTQaqEVbThMr-w>
 <xmx:5C0qZzo3xrU35GjITc-5WfiGkwh5Tl8LvK8hdCiCjZLgmxKufU-CXg>
 <xmx:5C0qZzgxGSPaCZikP-x5_7zNJqTGzFpqp_sFquktkgpPx-IEeTJftg>
 <xmx:5S0qZwev2mWYShs6T9de4Y3ALv9qtqx0fFJc1YSAZ_C4z-KmvIRuupB1>
Feedback-ID: iab2c46da:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 5 Nov 2024 09:38:28 -0500 (EST)
From: =?iso-8859-1?Q?Sebasti=E1n_Mon=EDa?= <sebastian@HIDDEN>
To: Nicholas Drozd <nicholasdrozd@HIDDEN>, Jim Porter
 <jporterbugs@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59549: EWW ordered list display irregularity
In-Reply-To: <thqned4xjb3a.fsf@HIDDEN> (=?iso-8859-1?Q?=22Sebasti?=
 =?iso-8859-1?Q?=E1n_Mon=EDa=22's?= message of
 "Thu, 03 Oct 2024 14:27:37 -0400")
References: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
 <thqned5axk7f.fsf@HIDDEN> <thqned4xjb3a.fsf@HIDDEN>
Date: Tue, 05 Nov 2024 09:38:28 -0500
Message-ID: <thqnzfmdg2zf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59549
Cc: 59549 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Sebasti=E1n Mon=EDa <sebastian@HIDDEN> writes:

Hi Eli, Jim,

Another older patch that maybe can be merged lurks here. This time, I am
the author.

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,
Seb

> Hello Nicholas!
>
> Sebasti=E1n Mon=EDa <sebastian@HIDDEN> writes:
>> The attached patch does exactly that: skip any li elements that don't
>> have content.
>>
>> I tested with the Wiktionary page and a few other offline tests and it
>> worked as intended.
>
> If you could give the code in that email a try, the maintainers might
> consider merging it to close this bug.
>
> Thank you,
> Seb

--=20
Sebasti=E1n Mon=EDa
https://site.sebasmonia.com/




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59549; Package emacs. Full text available.

Message received at 59549 <at> debbugs.gnu.org:


Received: (at 59549) by debbugs.gnu.org; 3 Oct 2024 18:27:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 03 14:27:47 2024
Received: from localhost ([127.0.0.1]:33877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1swQYF-0003eK-F8
	for submit <at> debbugs.gnu.org; Thu, 03 Oct 2024 14:27:47 -0400
Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]:40655)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sebastian@HIDDEN>) id 1swQYD-0003e8-29
 for 59549 <at> debbugs.gnu.org; Thu, 03 Oct 2024 14:27:46 -0400
Received: from phl-compute-09.internal (phl-compute-09.phl.internal
 [10.202.2.49])
 by mailfhigh.phl.internal (Postfix) with ESMTP id B003E1140205;
 Thu,  3 Oct 2024 14:27:37 -0400 (EDT)
Received: from phl-mailfrontend-01 ([10.202.2.162])
 by phl-compute-09.internal (MEProxy); Thu, 03 Oct 2024 14:27:37 -0400
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=fm2;
 t=1727980057; x=1728066457; bh=OuQqIh2KG76sHwtuVYMiQx660vUmeb5B
 1is4JGghF+E=; b=YGK/qhOMGTQVXcLhhqoMMvqlMKitJ0Hz13T6cyqbdqBcHiuq
 RiBZQSqJYfXOMh41E5H9BWC+MrI20Hhmmj5ZFSuIlMi4UCxgUyqHURJ8fdLMpof3
 Z1G7Fzrozcwmf0PLnPLZ+wDDE8XnPfPhywcDYj9vgh+R5SegME/ETFsuAowMH3Ez
 9wW8WbcJUJBovb25vThVciQL6lBd+ksWWwITDpQJbZMdPvgUUdNHJlHncQgE4EMk
 jl2l/8XoKpDGZBaqCRe//JN12FyuajCGc3tzLPA8ewy5Lqls1Cx7lt0At0UbB6jx
 48ndQFLw9Nr3vYHlWyxFSOor1tcFRtDylrNAqA==
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-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727980057; x=
 1728066457; bh=OuQqIh2KG76sHwtuVYMiQx660vUmeb5B1is4JGghF+E=; b=G
 rcPYqNNh0d5Om0hr9/fTvvbPvu16F5c5XKNndP+5VKUtKl8HPUEUWgBq9VOrWVxm
 vGqVrCM8TRZdhUlU/yvwq2lHgzky5JoEfX5PePrpWyxiaA+NEuevLiSEHqNY83xT
 P7+cWofcBNJa4pB37pvS290tQoIUttqmFrjrp25fQGFFIVMnWNiYPeft4c8ahHOT
 Euibd+yF8n78zeFCqKs4W5NiEAVoglxLN0EubW9RX3BFiRecuA8OwVFNXo+yDtYt
 VhhS7cC+lGQB+d9eFjKF066gphDvAJTGWnTDr+dgplscZqjKPcNJ4yRFVNMaMuPk
 Do7mXaQS0q98zuSig31zA==
X-ME-Sender: <xms:GeL-ZgJEFlvLNFTt4snq39aU09vP0GqiHfGCVN0GtK6nRvpokuhmVQ>
 <xme:GeL-ZgLdYn-EHSxl3BSA_1mNsSF60HstUrnAjrC1fRJ-nF4QMaP-xYRElzH0WHwxR
 QtbJzfq8zxgo-rlhQk>
X-ME-Received: <xmr:GeL-Zgs-4IDcYa7uRy8KjSp7PxSBrPAp4fuKSnrqfhfqHT6Jt3NFrNGFY0parGIh7x59>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvuddguddvhecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttder
 udenucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnse
 hsvggsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepjeefkeetveeuvdff
 hedtgeeukedtveekveethfdvgfffieeiieetuefgvdeiveeknecuffhomhgrihhnpehsvg
 gsrghsmhhonhhirgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep
 mhgrihhlfhhrohhmpehsvggsrghsthhirghnsehsvggsrghsmhhonhhirgdrtghomhdpnh
 gspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepheelheeg
 leesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnihgthhholhgrshgurh
 hoiigusehgmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:GeL-Zta4P1hZ9gdTRPNV3suh50Rfvv9vnGoYOLnAKgAcOBzOKrbjvw>
 <xmx:GeL-Zna7vQjV2lka3okBl0bzVTg_KTOjpks8hEnqP182_ZUq0afiSg>
 <xmx:GeL-ZpBx49QiJ83DUV2Nevqkol8zuia3eE2vSvlDOagYYYKIDhwyDw>
 <xmx:GeL-ZtZLPAB4iylH0tSIKPaM2NCbYJrKYsLeDlDoNylyrhNur8IkrA>
 <xmx:GeL-ZmmBvBb-HOXCid71M29MgKikijfnBUGDJoRZ2ml1u8hbv5yN-zvy>
Feedback-ID: iab2c46da:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 3 Oct 2024 14:27:37 -0400 (EDT)
From: =?iso-8859-1?Q?Sebasti=E1n_Mon=EDa?= <sebastian@HIDDEN>
To: Nicholas Drozd <nicholasdrozd@HIDDEN>
Subject: Re: bug#59549: EWW ordered list display irregularity
In-Reply-To: <thqned5axk7f.fsf@HIDDEN> (=?iso-8859-1?Q?=22Sebasti?=
 =?iso-8859-1?Q?=E1n_Mon=EDa=22's?= message of
 "Mon, 23 Sep 2024 15:07:32 -0400")
References: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
 <thqned5axk7f.fsf@HIDDEN>
Date: Thu, 03 Oct 2024 14:27:37 -0400
Message-ID: <thqned4xjb3a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59549
Cc: 59549 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Hello Nicholas!

Sebasti=E1n Mon=EDa <sebastian@HIDDEN> writes:
> The attached patch does exactly that: skip any li elements that don't
> have content.
>
> I tested with the Wiktionary page and a few other offline tests and it
> worked as intended.

If you could give the code in that email a try, the maintainers might
consider merging it to close this bug.

Thank you,
Seb

--=20
Sebasti=E1n Mon=EDa
https://site.sebasmonia.com/




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59549; Package emacs. Full text available.

Message received at 59549 <at> debbugs.gnu.org:


Received: (at 59549) by debbugs.gnu.org; 23 Sep 2024 21:17:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 23 17:17:31 2024
Received: from localhost ([127.0.0.1]:44764 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ssqQy-0006qd-Fr
	for submit <at> debbugs.gnu.org; Mon, 23 Sep 2024 17:17:30 -0400
Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]:35409)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sebastian@HIDDEN>) id 1ssoPi-0008Co-PV
 for 59549 <at> debbugs.gnu.org; Mon, 23 Sep 2024 15:08:04 -0400
Received: from phl-compute-06.internal (phl-compute-06.phl.internal
 [10.202.2.46])
 by mailfout.phl.internal (Postfix) with ESMTP id A6F0F13802BA;
 Mon, 23 Sep 2024 15:07:33 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-06.internal (MEProxy); Mon, 23 Sep 2024 15:07:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com;
 h=cc:cc: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=fm2; t=1727118453; x=
 1727204853; bh=LUXAeMa+f5U4M1xb27+alNBQztj55mq+7L3Ff3C2fLs=; b=a
 dF/CKLcxKveuab6lWSwbsRfMRhUC+QIHwJvYWiHmKBW7oWFcn9XMDUQYnnsvs00e
 phnRuWRc0IdKUdmFdBee9IeMXKZBof08IKiHiwQ1BxGJNn9rwYLjGx7oiGiWNPYn
 p865Kpbb6PkLAQgigAUuvj7HA9sKUwiPYyz3IK/VFoHsfwEvV2F+rA4mfNEYG7fk
 KqRpvaGPR1LYf/6TT7Fpwlm/84fgVLeacAgKgddSM7OJX8BmB+A3NjxnfVsNmNtl
 f2r1LtvKKa4b2Xjrd+U0dtxnaOEaepV4rHJdslZEsmd7juG1uVA1uAwI/CkztRkn
 VcfcdtKuhrp6zpB/z2Kuw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc: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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; t=1727118453; x=1727204853; bh=LUXAeMa+f5U4M1xb27+alNBQztj5
 5mq+7L3Ff3C2fLs=; b=fTy0oSek3VDBxAxQd/1UGx0OF7/MeguO/jiK2At8sYhh
 vhbVWpoL2CHz2AvWwxXGu+vqixsDdlVbLBvxd602O2cbDsAu8MCSqHkqDCXRts+X
 CJKlR/P/+LpcZMT7YKQkYFxTkMICNH9ATXO/CyVVPHf6jVS9r5A2BGX13Iqzvrs0
 pobHFnnqgKHFxjQgoCkD4xq5dC6RHIPq7cqZrajn+jbbb+55pJkpYbi1RSUd2ljD
 mmHnYAjSPKyovgC0FRqxgZLlfWwbhbFnchXGJQbyvWxRCrAAjQ3kzIegO2keb/j8
 Y7OON094sVKgEjucgdB4z81FWalDFXPFikdd3MUcLA==
X-ME-Sender: <xms:dbzxZlOyVHleNvbLLMLAYHx5NubSL4bKCQEZDzEKgqnMQuqbEO09Ig>
 <xme:dbzxZn-bwGcUvD-CIihe5w-Icfy9jr8TeU62usPpg45rl2ir-S8nFK9g-YM58MxSv
 Iw5bGCqnepGPoZYn68>
X-ME-Received: <xmr:dbzxZkSnKquRRiqmifjTauxK8e6aiCYXwIekBgg2U7x6u5OHI1_N3eF1l5eefNq-FQ5u>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelledgudefhecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfgfgggtsehmtderredtredu
 necuhfhrohhmpefuvggsrghsthhijohnucfoohhnvogruceoshgvsggrshhtihgrnhessh
 gvsggrshhmohhnihgrrdgtohhmqeenucggtffrrghtthgvrhhnpeevieetvdehudehheeu
 udehtdeutdejhffhfffgheelueeugeelvedvgfejfedvueenucffohhmrghinhepfihikh
 htihhonhgrrhihrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm
 rghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhmohhnihgrrdgtohhmpdhnsg
 gprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeehleehgeel
 seguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhitghhohhlrghsughroh
 iiugesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:dbzxZhu8A6MMq1SJDcKZlngpF7xGMO9xClT-dr6Ws5njg8HCKq7d7g>
 <xmx:dbzxZtcdv9IxGttI0m8poGabyZF492MFqXcPLyVsTtrphJ62SBCJng>
 <xmx:dbzxZt16SeU-UuY2VEfPnjdnqn1F1h-phUZlFVkA94-5FWCoqwo0Vg>
 <xmx:dbzxZp9vBQFiNpHwX9p0OhgC0SlFpkbRuZs2wht4Vk_GJNv_QNAAVQ>
 <xmx:dbzxZupuCXTFrgF2d0I85BMhRAUe25tLckDRHLI_Uy1QnkeBLEmS8U-p>
Feedback-ID: iab2c46da:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 23 Sep 2024 15:07:33 -0400 (EDT)
From: =?iso-8859-1?Q?Sebasti=E1n_Mon=EDa?= <sebastian@HIDDEN>
To: Nicholas Drozd <nicholasdrozd@HIDDEN>
Subject: Re: bug#59549: EWW ordered list display irregularity
In-Reply-To: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
 (Nicholas Drozd's message of "Thu, 24 Nov 2022 12:29:13 -0600")
References: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
Date: Mon, 23 Sep 2024 15:07:32 -0400
Message-ID: <thqned5axk7f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59549
X-Mailman-Approved-At: Mon, 23 Sep 2024 17:17:27 -0400
Cc: 59549 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

Hi everyone,


>  Here is the Wiktionary definition of the word "locus":
>  https://en.wiktionary.org/wiki/locus#Noun When I open that page in
>  EWW, I see five definition entries. But the second entry is blank.

I was able to reproduce.

>  So EWW is not failing to display anything; instead, it is inserting
>  something extra. That extra something comes from this piece of HTML:
>
>    <li class="mw-empty-elt"></li>

I wouldn't say for sure EWW is in the wrong here. Apparently inserting
empty li elements for styling purposed is a somewhat common practice.
Couldn't confirm how "correct" it is, but it is accepted.
(sidenote, stuff like this makes be glad I haven't worked in web stuff
in many many years)

>  I don't know why that's in there or how Firefox knows not to display
>  it. It would be cool if EWW also knew not to display it.

The attached patch does exactly that: skip any li elements that don't
have content.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-shr-don-t-render-empty-li-tags-bug-59549.patch
Content-Description: shr.el: don't render empty li tags

From afa3cccda43ea17933d0e782243cf2adc9ee51c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?=
 <sebastian.monia@HIDDEN>
Date: Mon, 23 Sep 2024 15:00:44 -0400
Subject: [PATCH] shr: don't render empty li tags (bug#59549)

---
 lisp/net/shr.el | 49 +++++++++++++++++++++++++++++--------------------
 1 file changed, 29 insertions(+), 20 deletions(-)

diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index cd0e482aee7..2a72621fec4 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1656,6 +1656,11 @@ Based on https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-infore
   (shr-generic dom)
   (shr-ensure-paragraph))
 
+(defun shr-tag-empty-content-p (dom)
+  "Return t if DOM has no content.
+By \"content\" we mean \"text between the tags\"."
+  (string-empty-p (string-trim (dom-text dom))))
+
 (defun shr-tag-div (dom)
   (let ((display (cdr (assq 'display shr-stylesheet))))
     (if (or (equal display "inline")
@@ -2163,26 +2168,30 @@ BASE is the URL of the HTML being rendered."
   (shr-ensure-paragraph))
 
 (defun shr-tag-li (dom)
-  (shr-ensure-newline)
-  (let ((start (point)))
-    (let* ((bullet
-	    (if (numberp shr-list-mode)
-		(prog1
-		    (format "%d " shr-list-mode)
-		  (setq shr-list-mode (1+ shr-list-mode)))
-	      (car shr-internal-bullet)))
-	   (width (if (numberp shr-list-mode)
-		      (shr-string-pixel-width bullet)
-		    (cdr shr-internal-bullet))))
-      (insert bullet)
-      (shr-mark-fill start)
-      (let ((shr-indentation (+ shr-indentation width)))
-	(put-text-property start (1+ start)
-			   'shr-continuation-indentation shr-indentation)
-	(put-text-property start (1+ start) 'shr-prefix-length (length bullet))
-	(shr-generic dom))))
-  (unless (bolp)
-    (insert "\n")))
+  ;; bug#59549: EWW ordered list display irregularity
+  ;; empty li tags are used sometimes for styling purposes: do not
+  ;; render such tags
+  (unless (shr-tag-empty-content-p dom)
+    (shr-ensure-newline)
+    (let ((start (point)))
+      (let* ((bullet
+	      (if (numberp shr-list-mode)
+		  (prog1
+		      (format "%d " shr-list-mode)
+		    (setq shr-list-mode (1+ shr-list-mode)))
+	        (car shr-internal-bullet)))
+	     (width (if (numberp shr-list-mode)
+		        (shr-string-pixel-width bullet)
+		      (cdr shr-internal-bullet))))
+        (insert bullet)
+        (shr-mark-fill start)
+        (let ((shr-indentation (+ shr-indentation width)))
+	  (put-text-property start (1+ start)
+			     'shr-continuation-indentation shr-indentation)
+	  (put-text-property start (1+ start) 'shr-prefix-length (length bullet))
+	  (shr-generic dom))))
+    (unless (bolp)
+      (insert "\n"))))
 
 (defun shr-mark-fill (start)
   ;; We may not have inserted any text to fill.
-- 
2.45.2.windows.1


--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


I tested with the Wiktionary page and a few other offline tests and it
worked as intended.

Regards,
Seb

--=20
Sebasti=E1n Mon=EDa
https://site.sebasmonia.com/

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59549; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Nov 2022 18:29:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 24 13:29:33 2022
Received: from localhost ([127.0.0.1]:60089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oyGyb-0006xb-Ht
	for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 13:29:33 -0500
Received: from lists.gnu.org ([209.51.188.17]:54904)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nicholasdrozd@HIDDEN>) id 1oyGyZ-0006xR-4F
 for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 13:29:31 -0500
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 <nicholasdrozd@HIDDEN>)
 id 1oyGyY-0006WH-Ou
 for bug-gnu-emacs@HIDDEN; Thu, 24 Nov 2022 13:29:30 -0500
Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <nicholasdrozd@HIDDEN>)
 id 1oyGyX-0006tW-2a
 for bug-gnu-emacs@HIDDEN; Thu, 24 Nov 2022 13:29:30 -0500
Received: by mail-ej1-x632.google.com with SMTP id n21so5733830ejb.9
 for <bug-gnu-emacs@HIDDEN>; Thu, 24 Nov 2022 10:29:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=oDFxWunApWW188cfbUzZKz5sQYYNm1abOyqr8KX5pC8=;
 b=Q3cR5NFv3K5RXM0qzu1GExOnAvL9IaRm/nALm06GCamcvurks+KN6bEnoKLzQ6drro
 silwR3YP5Pj50qWv2GakxwyEjZdnwZEM2QQF7DyHn+U/J7M2JbG7bboyqCJ+6Rqubdfx
 bMVH6COzyXR3V6VptFtA4MXc43DD8EZo2pc/DmFoO3zE7kHN0ZcsjqbJdlviAp6Pr7+I
 PgoUXY/BNbfUUf4Y6mD3rYN4gTqqbScmbnLtjPweZrYjQZeOfvyK7CS5i9Z6J+n2s5hG
 x8ma+QA0qMGFtEjuMDlX9IqKZO1LqAn2uUQE9qsXDHbLpT6YURoXQUHBODWYy4CFlK/C
 lPvg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=oDFxWunApWW188cfbUzZKz5sQYYNm1abOyqr8KX5pC8=;
 b=6PN+kuU+zgAoyAQoDvFDsLdzylgvFnspYGNlImehExD9C9yYErmi2eOYUd0NTQl32Y
 2u/2xh/MdQK09Ogf1Xl8cI4Z2tG3MIFav//0gyQKjDCnrxtkdPk5YQpuMd8ah5u7ChfF
 +VxV48X/6xYZ4W3BipOLeSaUYky+r5L6kWGKUFSCem0A2NII5A3nkq4LeTtIl4ugBV1b
 fZZ3deVfaRWUyFQIQUV8jF/2y76qhbNvzgg0detZFAmGS+AzhEXsPuja8qS/+Flpg07T
 yOsHb6sDkyxk7gfLayjAtfRi2yyKD8b0On9xbAd86B/e04kIIHGvWMlNejk22CPbIK0N
 IUNQ==
X-Gm-Message-State: ANoB5pnL67LKsCIrKNuZBTUGlaYiA9Avi+nF2Rsd2OkqwmWfyJp6XS23
 qR0MdlDX3buEE/P8X9HFtzY6C1rdnkq6A/xGRbJoZ+euNcyCfA==
X-Google-Smtp-Source: AA0mqf7D7fQjgErjdVEH5RC6nyPhMPyP4Ij3bXcEUJZs7rZ6Jji/fMYb3lsnI7+R58PE4e+bpqpQiSYvywo6NMX8yJk=
X-Received: by 2002:a17:907:9116:b0:78a:16ad:8250 with SMTP id
 p22-20020a170907911600b0078a16ad8250mr17322659ejq.747.1669314565999; Thu, 24
 Nov 2022 10:29:25 -0800 (PST)
MIME-Version: 1.0
From: Nicholas Drozd <nicholasdrozd@HIDDEN>
Date: Thu, 24 Nov 2022 12:29:13 -0600
Message-ID: <CABAiW0qaXTontrjxu0wCZ1f0d7bKqVhgD73zmYS7rpqpmwdafA@HIDDEN>
Subject: EWW ordered list display irregularity
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000b991f605ee3b9585"
Received-SPF: pass client-ip=2a00:1450:4864:20::632;
 envelope-from=nicholasdrozd@HIDDEN; helo=mail-ej1-x632.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--000000000000b991f605ee3b9585
Content-Type: text/plain; charset="UTF-8"

Here is the Wiktionary definition of the word "locus":
https://en.wiktionary.org/wiki/locus#Noun

When I open that page in EWW, I see five definition entries. But the second
entry is blank. I think: what is that missing definition, and why is it
missing?

When I open it in Firefox, I see that there are only four definitions, the
same ones as displayed in EWW. So EWW is not failing to display anything;
instead, it is inserting something extra. That extra something comes from
this piece of HTML:

  <li class="mw-empty-elt"></li>

I don't know why that's in there or how Firefox knows not to display it. It
would be cool if EWW also knew not to display it.

Bug report or feature request? You be the judge.

--000000000000b991f605ee3b9585
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Here is the Wiktionary definition of the word &quot;locus&=
quot;: <a href=3D"https://en.wiktionary.org/wiki/locus#Noun">https://en.wik=
tionary.org/wiki/locus#Noun</a><br><br>When I open that page in EWW, I see =
five definition entries. But the second entry is blank. I think: what is th=
at missing definition, and why is it missing?<br><br>When I open it in Fire=
fox, I see that there are only four definitions, the same ones as displayed=
 in EWW. So EWW is not failing to display anything; instead, it is insertin=
g something extra. That extra something comes from this piece of HTML:<br><=
br>=C2=A0 &lt;li class=3D&quot;mw-empty-elt&quot;&gt;&lt;/li&gt;<br><br>I d=
on&#39;t know why that&#39;s in there or how Firefox knows not to display i=
t. It would be cool if EWW also knew not to display it.<br><br>Bug report o=
r feature request? You be the judge.</div>

--000000000000b991f605ee3b9585--




Acknowledgement sent to Nicholas Drozd <nicholasdrozd@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#59549; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.