From: Lennart Borgman <lennart.borgman@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 10512@debbugs.gnu.org
Subject: bug#10512: Please support pseudo-elements in CSS syntax
Date: Mon, 16 Jan 2012 17:13:17 +0100 [thread overview]
Message-ID: <CANbX367O-1A5-ALz32QbA23K1zxjOgFXZuRAxu1ccm-x2GEsDg@mail.gmail.com> (raw)
In-Reply-To: <jwv8vl763gz.fsf-monnier+emacs@gnu.org>
On Mon, Jan 16, 2012 at 17:04, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> Should not this be supported in CSS files?
>
> Maybe it should. I've written a fair part of css-mode.el and might be
> considered as its maintainer, but I know next to nothing about CSS :-(
>
>> span:nth-of-type(2) {
>> color: black;
>> }
>
> Could you explain to me which part of the above example corresponds to
> the use of "pseudo-elements", and maybe also explain (very briefly) what
> are pseudo-elements?
It is ":nth-of-type(2)", i e it starts with a colon. (Maybe it is
called "pseudo-classes", not sure.)
Standard is here:
http://www.w3.org/TR/selectors/#pseudo-classes
More readable version here:
http://www.w3schools.com/cssref/css_selectors.asp
next prev parent reply other threads:[~2012-01-16 16:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 4:02 bug#10512: Please support pseudo-elements in CSS syntax Lennart Borgman
2012-01-16 16:04 ` Stefan Monnier
2012-01-16 16:13 ` Lennart Borgman [this message]
2015-03-18 18:14 ` bug#10512: (no subject) Simen Heggestøyl
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=CANbX367O-1A5-ALz32QbA23K1zxjOgFXZuRAxu1ccm-x2GEsDg@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=10512@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.