Commit b418243
committed
Bug 1707584 - part6 : defer pausing video element during the style refresh. r=emilio
During the style refresh, it is prohibited to change the element state.
Therefore, we should defer pausing the video element, which could change
the element state, until the refresh has settled.
Differential Revision: https://phabricator.services.mozilla.com/D2821141 parent b6a6bba commit b418243
File tree
2 files changed
+15
-5
lines changed- dom/media/mediaelement
2 files changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1842 | 1842 | | |
1843 | 1843 | | |
1844 | 1844 | | |
| 1845 | + | |
| 1846 | + | |
1845 | 1847 | | |
1846 | 1848 | | |
1847 | 1849 | | |
| |||
1898 | 1900 | | |
1899 | 1901 | | |
1900 | 1902 | | |
1901 | | - | |
1902 | | - | |
1903 | 1903 | | |
1904 | 1904 | | |
1905 | 1905 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
771 | | - | |
772 | | - | |
773 | | - | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
774 | 784 | | |
775 | 785 | | |
776 | 786 | | |
| |||
0 commit comments