forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 shaka-project#3330 Change-Id: Ic906f3c5af956b5edd1788e95e1978eb4b3098ac
- Loading branch information
1 parent
077949a
commit fff9a96
Showing
2 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters