Commit e2ce61e
Fix blockification and deblockification of flex/grid items when wrapped inside
- Added new inheritable style builder flag `CASCADE_BEYOND_DISPLAY_CONTENTS` with it's corresponding adjuster function
- Modified tests to also include the case where the `display: contents` wrapper stays the same but the container switches `display` type after the first style resolution
- Moved adjustment code to `set_bits`
- Renamed flag to `DISPLAY_CONTENTS_IN_ITEM_CONTAINER`
Differential Revision: https://phabricator.services.mozilla.com/D274679
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1960699
gecko-commit: 9c41ae9c99de9c737bcc39531f6094ed1bb6482d
gecko-reviewers: emilio, firefox-style-system-reviewersdisplay: contents elements.1 parent c17bf5d commit e2ce61e
1 file changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
18 | 34 | | |
19 | 35 | | |
20 | 36 | | |
| |||
31 | 47 | | |
32 | 48 | | |
33 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
34 | 72 | | |
0 commit comments