Closed Bug 1724906 Opened 3 years ago Closed 3 years ago

Always use double colon for the "after" and "before" pseudo-elements

Categories

(Thunderbird :: Theme, task)

Tracking

(thunderbird_esr91 wontfix, thunderbird92 wontfix)

RESOLVED FIXED
93 Branch
Tracking Status
thunderbird_esr91 --- wontfix
thunderbird92 --- wontfix

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(1 file, 1 obsolete file)

We have still places we use only one colon for after and before. We should fix this to be consistent.

Attached patch 1724906-pseudo-elements.patch (obsolete) — Splinter Review

I checked also other pseudo classes and this are the only which need a fix.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9235556 - Flags: review?(alessandro)
Comment on attachment 9235556 [details] [diff] [review] 1724906-pseudo-elements.patch Review of attachment 9235556 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks for taking care of this. Just a few nits. ::: mail/components/im/messages/papersheets/main.css @@ +95,5 @@ > p.action>span.message-style { > font-style: italic; > } > > +p.action>span.message-style::before { nit: since we're editing this maybe we could add a space between the > symbol for consistency. ::: mail/components/im/messages/simple/main.css @@ +27,4 @@ > content: " - "; > } > > +.action>span.date::after { same here @@ +35,4 @@ > content: ": "; > } > > +.action>span.pseudo::after { and here @@ +39,4 @@ > content: " "; > } > > +.event>span.pseudo::after { and here ::: mail/themes/shared/openpgp/enigmail-common.css @@ +122,5 @@ > float: left; > border-radius: 4px; > } > > +.enigmailCaptionbox>h1::before { here @@ +131,5 @@ > width: 0.75em; > border-radius: 4px; > } > > +.enigmailCaptionbox>h1::after { here
Attachment #9235556 - Flags: review?(alessandro) → review+

Added spaces around the >.

Attachment #9235556 - Attachment is obsolete: true
Attachment #9235642 - Flags: review+
Target Milestone: --- → 93 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/af196016a28b
Always use double colon for the "after" and "before" pseudo-elements. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: