commit 8f21a9a26ab6f2799a7c0233c1013e179f5ae5f9
parent 2767dd2c0694ae58da3b852f56424dd41fc3f7a3
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Fri, 6 Nov 2020 11:18:49 -0700
doc: `css-addition` et al. propagate to HTML for nested parts
Diffstat:
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/scribble-doc/scribblings/scribble/core.scrbl b/scribble-doc/scribblings/scribble/core.scrbl
@@ -1771,10 +1771,13 @@ HTML that is rendered before and after element content.
bytes?)])]{
Used as a @tech{style property} to supply a CSS file (if @racket[path]
-is a path, string, or list), URL (if @racket[path] is a @racket[url]) or content (if @racket[path] is a byte
-string) to be referenced or included in the generated HTML. This
-property can be attached to any style, and all additions are collected
-to the top of the generated HTML page.
+is a path, string, or list), URL (if @racket[path] is a @racket[url])
+or content (if @racket[path] is a byte string) to be referenced or
+included in the generated HTML. This property can be attached to any
+style, and all additions are collected and lifted to the enclosing
+generated HTML. When the style property is attached to a @tech{part},
+then it is also propagated to any generated HTML for a subpart of the
+part.
The @racket[path] field can be a result of
@racket[path->main-collects-relative].}