[webkit-dev] Adding support for pseudo-element and pseudo-classes

Victor Carbune victor at rosedu.org
Fri Aug 17 15:42:07 PDT 2012


I'm currently writing some patches for the <track> implementation in
WebKit and I'm fairly new to the codebase when it comes to CSS
pseudo-elements and pseudo-classes.

I would like to properly add CSS support for the ::cue pseudo-element
and :past, :future pseudo-classes to be able to style the
corresponding objects (maybe it's also worth mentioning that the nodes
that will be matched are situated in the Shadow DOM of the video

I also need to restrict the possibility of applying only a limited set
of properties, even though without any filtering probably many would

Any pointers and tips on exactly where the code should be added, do's
and don'ts about the potential issues would be highly appreciated.

Thank you,

More information about the webkit-dev mailing list