Commit 340ed56
ContainerTiming: block upwards propagation for container roots with ignore attribute
If an element has containertiming (so it is set as a container timing
root) and containertiming-ignore, it should report the paints in its
tree, but not propagate to container timing root ancestors.
This is practical as it allows to isolate parts of the tree, while still
allowing to record its paints independently. I.e. for an overlay or a
dialog.
Explainer: https://github.com/bloomberg/container-timing/blob/main/README.md
Chromestatus: https://chromestatus.com/feature/5110962817073152
I2P: https://groups.google.com/a/chromium.org/g/blink-dev/c/J-WxY0w7bNk/m/VkqnomK-CAAJ
Ticket for what should happen:
bloomberg/container-timing#26
Bug: 382422286
Change-Id: I6f5aa521cf4fd9e13f7d638fd5b4f8183f6fb823
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7150901
Reviewed-by: Michal Mocny <[email protected]>
Commit-Queue: José Dapena Paz <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1546663}1 parent 282e73d commit 340ed56
File tree
1 file changed
+52
-0
lines changed- container-timing/tentative
1 file changed
+52
-0
lines changedLines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments