Skip to content

Commit 86646d1

Browse files
committed
[css-properties-values-api] Add informative note about parallel nature
of processing apply hooks.
1 parent 482014b commit 86646d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-properties-values-api/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,11 @@ in the <a>name map of apply hooks</a>:
418418

419419
Issue: Need to deal with the output.
420420

421+
Note: Apply hooks run in parallel on a given Element. The output of an apply
422+
hook is never used as input to another apply hook on the same Element - instead,
423+
a snapshot of style state is taken, all apply hooks are run with subsets of the
424+
same input snapshot, then the resulting output is written into the used style.
425+
421426
Examples {#examples}
422427
====================
423428

0 commit comments

Comments
 (0)