unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10512: Please support pseudo-elements in CSS syntax
@ 2012-01-15  4:02 Lennart Borgman
  2012-01-16 16:04 ` Stefan Monnier
  2015-03-18 18:14 ` bug#10512: (no subject) Simen Heggestøyl
  0 siblings, 2 replies; 4+ messages in thread
From: Lennart Borgman @ 2012-01-15  4:02 UTC (permalink / raw)
  To: 10512

Should not this be supported in CSS files?

span:nth-of-type(2) {
    color: black;
}





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10512: Please support pseudo-elements in CSS syntax
  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
  2015-03-18 18:14 ` bug#10512: (no subject) Simen Heggestøyl
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2012-01-16 16:04 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: 10512

> 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?


        Stefan





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10512: Please support pseudo-elements in CSS syntax
  2012-01-16 16:04 ` Stefan Monnier
@ 2012-01-16 16:13   ` Lennart Borgman
  0 siblings, 0 replies; 4+ messages in thread
From: Lennart Borgman @ 2012-01-16 16:13 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 10512

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10512: (no subject)
  2012-01-15  4:02 bug#10512: Please support pseudo-elements in CSS syntax Lennart Borgman
  2012-01-16 16:04 ` Stefan Monnier
@ 2015-03-18 18:14 ` Simen Heggestøyl
  1 sibling, 0 replies; 4+ messages in thread
From: Simen Heggestøyl @ 2015-03-18 18:14 UTC (permalink / raw)
  To: 10512-done

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

Version: 25.1

This has now been fixed for the next version of Emacs (by commit
64db0c26faba21e7aedc0c5f57e04ed175b04f5b).

Thanks for the report!

-- Simen

[-- Attachment #2: Type: text/html, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-18 18:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-03-18 18:14 ` bug#10512: (no subject) Simen Heggestøyl

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).