Files
shaka-player/test
Joey Parrish fff9a96958 fix(UI): Fix writing-mode on Tizen 3
Old versions of Chromium, which may be found in certain versions of
Tizen and WebOS, may require the prefixed version of "writingMode":
"webkitWritingMode".

However, testing shows that Tizen 3, at least, has a "writingMode"
property, but the setter for it does nothing.

Therefore, instead of just detecting the existence of the property, we
need to additionally check if setting it had any effect.  If it is
either missing or non-functional, then we fall back to the prefixed
version of the property.  This fixes the functionality on Tizen 3.

We also need to change the conditions we check for in the tests, since
property existence is not enough to set the correct test expectation.

See also PR #3330

Change-Id: Ic906f3c5af956b5edd1788e95e1978eb4b3098ac
2021-04-22 17:09:25 +00:00
..
2021-04-16 13:59:35 -07:00
2021-04-16 13:59:35 -07:00
2021-04-22 17:09:25 +00:00