Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ spec: RFC4648; urlPrefix: https://datatracker.ietf.org/doc/html/rfc4648
text: Base64 Encode; url: section-4
spec: CSS-OVERFLOW-3; urlPrefix: https://drafts.csswg.org/css-overflow-3/
type: dfn
text: classic scrollbars; url: #classic-scrollbars
text: overlay scrollbars; url: #overlay-scrollbars
spec: CSS-VALUES-3; urlPrefix: https://drafts.csswg.org/css-values-3/
type: dfn
Expand Down Expand Up @@ -7021,7 +7020,7 @@ scrollbar type on the given top-level traversables, user contexts or globally.
)

emulation.SetScrollbarTypeOverrideParameters = {
scrollbarType: "classic" / "overlay" / null,
scrollbarType: "default" / "overlay" / null,
Comment thread
sadym-chromium marked this conversation as resolved.
? contexts: [+browsingContext.BrowsingContext],
? userContexts: [+browser.UserContext],
}
Expand All @@ -7044,18 +7043,13 @@ To <dfn>update scrollbar type override</dfn> for [=/navigable=] |navigable|:
1. Let |scrollbar type override| be the result of [=get WebDriver configuration value=] of
[=scrollbar type override configuration=] for |navigable|.

1. Assert: |scrollbar type override| is "<code>classic</code>", "<code>overlay</code>" or
1. Assert: |scrollbar type override| is "<code>default</code>", "<code>overlay</code>" or
[=WebDriver configuration/unset=].

1. If |scrollbar type override| is "<code>classic</code>", run [=implementation-defined=] steps to
make the |navigable|'s [=active document=] to use <a>classic scrollbars</a> and return.

1. If |scrollbar type override| is "<code>overlay</code>", run [=implementation-defined=]
steps to make the |navigable|'s [=active document=] to use <a>overlay scrollbars</a> and return.

1. Assert: |scrollbar type override| is [=WebDriver configuration/unset=].

1. Run [=implementation-defined=] steps to make the |navigable|'s [=active document=] to
1. Otherwise, run [=implementation-defined=] steps to make the |navigable|'s [=active document=] to
use an [=implementation-defined=] default scrollbar type.

</div>
Expand Down