diff --git a/index.bs b/index.bs index 3e6f4a6e..6fcceefc 100644 --- a/index.bs +++ b/index.bs @@ -2737,13 +2737,15 @@ PDF document represented as a Base64-encoded string. params: browsingContext.PrintParameters } + browsingContext.PageRange = text .regexp "^(?:[0-9]+)?(?:-(?:[0-9]+)?)?$" + browsingContext.PrintParameters = { context: browsingContext.BrowsingContext, ? background: bool .default false, ? margin: browsingContext.PrintMarginParameters, ? orientation: ("portrait" / "landscape") .default "portrait", ? page: browsingContext.PrintPageParameters, - ? pageRanges: [*(js-uint / text)], + ? pageRanges: [*(js-uint / browsingContext.PageRange )], ? scale: (0.1..2.0) .default 1.0, ? shrinkToFit: bool .default true, }