-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=106762 Patch by Dima Gorbik <dgorbik@apple.com> on 2013-01-15 Reviewed by Eric Carlson. Source/WebCore: Implemented matching cue WebVTT elements by a voice attribute by adding a WebVTT specific voice attribute. For DOM trees title attribute is used instead as this is required by specs. * html/track/TextTrackCue.cpp: (WebCore::TextTrackCue::copyWebVTTNodeToDOMTree): set a title argument instead of a voice attribute for the DOM tree. * html/track/TextTrackCue.h: (WebCore::TextTrackCue::voiceAttributeName): * html/track/WebVTTParser.cpp: (WebCore::WebVTTParser::constructTreeFromToken): LayoutTests: * media/track/captions-webvtt/styling.vtt: * media/track/track-css-matching-expected.txt: * media/track/track-css-matching.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
22177dc9