[yelp-xsl] html.xsl: Make sure TTML spans are displayed inline, #746550
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] html.xsl: Make sure TTML spans are displayed inline, #746550
- Date: Tue, 24 Mar 2015 08:24:26 +0000 (UTC)
commit d05795d79b8ab3de873623e5c130fc0ee95e6d82
Author: Shaun McCance <shaunm gnome org>
Date: Fri Mar 20 17:46:11 2015 -0400
html.xsl: Make sure TTML spans are displayed inline, #746550
xslt/common/html.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index 44010b7..22c952a 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -2051,7 +2051,7 @@ function yelp_init_video (element) {
if (element.currentTime >= parseFloat(ttml.getAttribute('data-ttml-begin')) &&
(!ttml.hasAttribute('data-ttml-end') ||
element.currentTime < parseFloat(ttml.getAttribute('data-ttml-end')) )) {
- if (ttml.tagName == 'span')
+ if (ttml.tagName == 'span' || ttml.tagName == 'SPAN')
ttml.style.display = 'inline';
else
ttml.style.display = 'block';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]