Commit b25ca8c
committed
Bug 1707584 - part3 : implement :buffering and :stalled pseudo classes. r=media-playback-reviewers,firefox-style-system-reviewers,emilio,chunmin
In this patch, we implement :buffering [1] and :stalled [2], but we are still
unable to pass the corresponding WPTs. Those tests can't make Firefox dispatch
`stalled` event properly and requires additional changes.
In addition, the spec currently treats `:stalled` as a subset of `:buffering`,
which may be incorrect. We need further clarification on this behavior in the spec.
[1] https://html.spec.whatwg.org/multipage/semantics-other.html#selector-buffering
[2] https://html.spec.whatwg.org/multipage/semantics-other.html#selector-stalled
Differential Revision: https://phabricator.services.mozilla.com/D2810391 parent 90eb82c commit b25ca8c
File tree
8 files changed
+52
-15
lines changed- dom
- base/rust
- media/mediaelement
- servo/components/style/gecko
- testing/web-platform/meta/css/selectors/media
8 files changed
+52
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
151 | 155 | | |
152 | 156 | | |
153 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4739 | 4739 | | |
4740 | 4740 | | |
4741 | 4741 | | |
| 4742 | + | |
| 4743 | + | |
4742 | 4744 | | |
4743 | 4745 | | |
4744 | 4746 | | |
| |||
5112 | 5114 | | |
5113 | 5115 | | |
5114 | 5116 | | |
| 5117 | + | |
| 5118 | + | |
| 5119 | + | |
| 5120 | + | |
| 5121 | + | |
| 5122 | + | |
| 5123 | + | |
| 5124 | + | |
| 5125 | + | |
| 5126 | + | |
| 5127 | + | |
5115 | 5128 | | |
5116 | | - | |
5117 | | - | |
5118 | | - | |
5119 | | - | |
5120 | | - | |
5121 | | - | |
| 5129 | + | |
| 5130 | + | |
| 5131 | + | |
| 5132 | + | |
| 5133 | + | |
| 5134 | + | |
| 5135 | + | |
| 5136 | + | |
| 5137 | + | |
| 5138 | + | |
5122 | 5139 | | |
5123 | 5140 | | |
5124 | 5141 | | |
| |||
6224 | 6241 | | |
6225 | 6242 | | |
6226 | 6243 | | |
| 6244 | + | |
| 6245 | + | |
6227 | 6246 | | |
6228 | 6247 | | |
6229 | 6248 | | |
| |||
6254 | 6273 | | |
6255 | 6274 | | |
6256 | 6275 | | |
| 6276 | + | |
| 6277 | + | |
6257 | 6278 | | |
6258 | 6279 | | |
6259 | 6280 | | |
| |||
6279 | 6300 | | |
6280 | 6301 | | |
6281 | 6302 | | |
| 6303 | + | |
| 6304 | + | |
6282 | 6305 | | |
6283 | 6306 | | |
6284 | 6307 | | |
| |||
6631 | 6654 | | |
6632 | 6655 | | |
6633 | 6656 | | |
| 6657 | + | |
6634 | 6658 | | |
6635 | 6659 | | |
6636 | 6660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1895 | 1895 | | |
1896 | 1896 | | |
1897 | 1897 | | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
1898 | 1901 | | |
1899 | 1902 | | |
1900 | 1903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
231 | 234 | | |
232 | 235 | | |
233 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2086 | 2086 | | |
2087 | 2087 | | |
2088 | 2088 | | |
2089 | | - | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
2090 | 2092 | | |
2091 | 2093 | | |
2092 | 2094 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
| 4 | + | |
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
5 | 3 | | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
| 7 | + | |
0 commit comments