|
Clean up textTrackDisplayElement utility function
Cleaned up textTrackDisplayElement and added required utility functions.
Old usage => New usage
textTrackDisplayElement(video) => textTrackContainerElement(video)
textTrackDisplayElement(video, 'cue') => textTrackCueElementByIndex(video, 0).firstChild
textTrackDisplayElement(video, 'display') => textTrackDisplayElement(video)
textTrackDisplayElement(video, 'display', 0) => textTrackDisplayElement(video)
textTrackDisplayElement(video, 'display', i) => textTrackCueElementByIndex(video, i)
Committed: https://crrev.com/1e562714af113946049aad6faed41d8983eb8e56
Cr-Commit-Position: refs/heads/master@{#413726}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+46 lines, -76 lines) |
Patch |
|
M |
third_party/WebKit/LayoutTests/media/media-controls.js
|
View
|
|
2 chunks |
+3 lines, -33 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/text-track-selection-menu-add-track.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/text-track-selection-menu-multiple-tracks.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-all-cues.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-cue-lifetime.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-matching.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-matching-default.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-matching-lang.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-matching-timestamps.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-property-whitelist.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-author-settings.html
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-css-user-settings-override-internal-settings.html
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-container-rendering-position.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-nothing-to-render.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering.html
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering-mode-changed.html
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering-on-resize.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering-overscan.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering-rtl.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering-snap-to-lines-not-set.html
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering-tree-is-removed-properly.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering-wider-than-controls.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-cue-rendering-with-padding.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/track/track-word-breaking.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/video-controls-captions.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (7 generated)
|