support for CSS ::first-letter

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
complutense
Newbie
Newbie
Posts: 3
Joined: 2024-10-13, 10:21

support for CSS ::first-letter

Unread post by complutense » 2024-10-13, 10:31

Hello
I just restarted my forum account, but have been using Pale Moon as my main browser for years. Thank you for giving us this tool!

I am finding that there is not support for CSS

Code: Select all

::first-letter
pseudo-element selector. It works in Firefox and in every browser according to caniuse.com
I'd appreciate any advice or information on this issue.
Thanks

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 893
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: support for CSS ::first-letter

Unread post by jobbautista9 » 2024-10-13, 10:58

We have support for ::first-letter since.. forever? :?: The examples in this MDN documentation work: https://developer.mozilla.org/en-US/doc ... rst-letter
Image

:akko_derp:

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36741
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: support for CSS ::first-letter

Unread post by Moonchild » 2024-10-13, 11:02

jobbautista9 wrote:
2024-10-13, 10:58
since.. forever? :?:
Yes literally since forever. Our first release had it.
{{This headspace for lease}}
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 893
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: support for CSS ::first-letter

Unread post by jobbautista9 » 2024-10-13, 11:11

It might even be before Firefox was even a thing (when the Mozilla Suite was still the primary product)... Or at least when it was Phoenix. :think:
Image

:akko_derp:

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
complutense
Newbie
Newbie
Posts: 3
Joined: 2024-10-13, 10:21

Re: support for CSS ::first-letter

Unread post by complutense » 2024-10-13, 11:33

Thank you. I was surprised, but it is not working in my page. I will check better what is the reason.
Cheers

User avatar
complutense
Newbie
Newbie
Posts: 3
Joined: 2024-10-13, 10:21

Re: support for CSS ::first-letter

Unread post by complutense » 2024-10-13, 15:34

Answer: the problem was that the initial character was Unicode ✅ or ✘
They do not get applied the style for ::first-letter in Pale Moon. Regular characters do (I would say I had tested those too without success before posting, but ...).
I applied a workaround to get what I need.
Thanks for the prompt reply.

Post Reply