Today, the paintTime value as exposed to PaintTimingInfo marks the start of paint stage of update the rendering. (Or the end of update-the-rendering steps, depending on your terminology).
This maps to steps 1 and 2 of the mark paint timing algorithm.
However, starting with step 3 / step 5 we are observing the effects that happened inside Paint, i.e. post-paint bookkeeping.
This is currently not made very clear.
As far as I can see, the HTML spec update-the-rendering steps does not differentiate Paint and thus hooks into pre-paint / paint / post-paint are not really clear. Though it is my understanding that this might be being worked on as part of HTML-in-Canvas support?
Today, the
paintTimevalue as exposed to PaintTimingInfo marks the start of paint stage of update the rendering. (Or the end of update-the-rendering steps, depending on your terminology).This maps to steps 1 and 2 of the mark paint timing algorithm.
However, starting with step 3 / step 5 we are observing the effects that happened inside Paint, i.e. post-paint bookkeeping.
This is currently not made very clear.
As far as I can see, the HTML spec update-the-rendering steps does not differentiate Paint and thus hooks into pre-paint / paint / post-paint are not really clear. Though it is my understanding that this might be being worked on as part of HTML-in-Canvas support?