Index: LayoutTests/media/track/regions-webvtt/text-track-region-dom-layout-expected.txt |
diff --git a/LayoutTests/media/track/regions-webvtt/text-track-region-dom-layout-expected.txt b/LayoutTests/media/track/regions-webvtt/text-track-region-dom-layout-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..19edc67681576468afe42d5332a705f1801ae4ca |
--- /dev/null |
+++ b/LayoutTests/media/track/regions-webvtt/text-track-region-dom-layout-expected.txt |
@@ -0,0 +1,19 @@ |
+Tests default DOM layout structure for a TextTrackRegion. |
+ |
+EVENT(canplaythrough) |
+** The text track has only one region ** |
+EXPECTED (testTrack.regions.length == '1') OK |
+ |
+** Inspecting the default DOM layout used for regions display ** |
+ |
+** Only one region should be displayed ** |
+EXPECTED (region.children.length == '1') OK |
+ |
+** The child of the region should be the container ** |
+EXPECTED (region.children[0] == container == 'true') OK |
+ |
+** Default pseudo IDs should be set properly |
+EXPECTED (region.getAttribute('part') == '-webkit-media-text-track-region') OK |
+EXPECTED (container.getAttribute('part') == '-webkit-media-text-track-region-container') OK |
+END OF TEST |
+ |