From: Eli Zaretskii <eliz@gnu.org>
To: "Sebastián Monía" <sebastian@sebasmonia.com>
Cc: jporterbugs@gmail.com, 59549@debbugs.gnu.org, nicholasdrozd@gmail.com
Subject: bug#59549: EWW ordered list display irregularity
Date: Wed, 06 Nov 2024 14:37:39 +0200 [thread overview]
Message-ID: <86msicsfl8.fsf@gnu.org> (raw)
In-Reply-To: <87a5ed2gky.fsf@sebasmonia.com> (message from Sebastián Monía on Tue, 05 Nov 2024 22:20:45 -0500)
> From: Sebastián Monía <sebastian@sebasmonia.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, 59549@debbugs.gnu.org,
> nicholasdrozd@gmail.com
> Date: Tue, 05 Nov 2024 22:20:45 -0500
>
> Jim Porter <jporterbugs@gmail.com> writes:
>
> > On 11/5/2024 9:10 AM, Eli Zaretskii wrote:
> >>> From: Sebastián Monía <sebastian@sebasmonia.com>
> >>> 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
> > <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.
prev parent reply other threads:[~2024-11-06 12:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-24 18:29 bug#59549: EWW ordered list display irregularity Nicholas Drozd
2024-09-23 19:07 ` Sebastián Monía
2024-10-03 18:27 ` Sebastián Monía
2024-11-05 14:38 ` Sebastián Monía
2024-11-05 17:10 ` Eli Zaretskii
2024-11-05 19:50 ` Jim Porter
2024-11-06 3:20 ` Sebastián Monía
2024-11-06 12:37 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86msicsfl8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59549@debbugs.gnu.org \
--cc=jporterbugs@gmail.com \
--cc=nicholasdrozd@gmail.com \
--cc=sebastian@sebasmonia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.