This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Commit 1417924
committed
Bug 1430608: Make nsMediaFeatures work with a document, not a pres context. r=heycam
Returning a zero-sized viewport in the case there's no shell / pres context.
For now, no other change yet. After this we can start tweaking the ShadowRoot
Stylist setup, and even try to return computed styles without a document \o/.
MozReview-Commit-ID: 3cT2PKQISri1 parent 56cc5a0 commit 1417924
File tree
8 files changed
+188
-152
lines changed- dom/base
- gfx/thebes
- layout
- base
- style
- svg
8 files changed
+188
-152
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2215 | 2215 | | |
2216 | 2216 | | |
2217 | 2217 | | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
2218 | 2228 | | |
2219 | 2229 | | |
2220 | 2230 | | |
| |||
3542 | 3552 | | |
3543 | 3553 | | |
3544 | 3554 | | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
3545 | 3558 | | |
3546 | 3559 | | |
3547 | 3560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 160 | | |
164 | | - | |
| 161 | + | |
165 | 162 | | |
166 | 163 | | |
167 | 164 | | |
| |||
395 | 392 | | |
396 | 393 | | |
397 | 394 | | |
| 395 | + | |
398 | 396 | | |
399 | 397 | | |
400 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1131 | 1131 | | |
1132 | 1132 | | |
1133 | 1133 | | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | 1134 | | |
1143 | 1135 | | |
1144 | 1136 | | |
| |||
0 commit comments