-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=105482 Patch by Dima Gorbik <dgorbik@apple.com> on 2013-01-24 Reviewed by Eric Carlson. Source/WebCore: It is good to have a designated pseudo class for this, though same could be achieved by using a combination of ::cue and ::cue(:future). Tests also check that nested timestamps work properly. Test: media/track/track-css-matching-timestamps.html * css/CSSSelector.cpp: (WebCore::CSSSelector::pseudoId): (WebCore::nameToPseudoTypeMap): (WebCore::CSSSelector::extractPseudoType): * css/CSSSelector.h: * css/SelectorChecker.cpp: (WebCore::SelectorChecker::checkOne): LayoutTests: * media/track/captions-webvtt/styling-timestamps.vtt: Added. * media/track/track-css-matching-timestamps-expected.txt: Added. * media/track/track-css-matching-timestamps.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f972cbb4