Closed Bug 1646249 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 24178 - Parsing and storage of scrollbar-gutter

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 24178 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/24178
Details from upstream follow.

Felipe Erias <felipeerias@gmail.com> wrote:

Parsing and storage of scrollbar-gutter

The scrollbar-gutter CSS property provides control over the presence of scrollbar gutters (the space which may be reserved by the UA to display a scrollbar).

Experimental runtime feature (disabled by default).

The value of scrollbar-gutter is defined by a combination of one or more keywords ("auto", "stable", "always", "both" and "force").

This property is internally stored as an unsigned int with binary flags for each one of those keywords.

For convenience, ScrollbarGutterIs* methods have been added to ComputedStyle.

Parsing tests are included (wpt/css/css-overflow/parsing).

Bug: 710214
Change-Id: Ia5928ab4c379097065e28604d8431aab3e8f22c0

Reviewed-on: https://chromium-review.googlesource.com/2245426
WPT-Export-Revision: 4faafac0bdd33e4f502622f7d55e3a25119ef9f3

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 11 subtests

Status Summary

Firefox

OK : 2
PASS : 14
FAIL : 11
ERROR: 1

Chrome

OK : 3
PASS : 23
FAIL : 22

Safari

OK : 2
PASS : 14
FAIL : 11
ERROR: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-typed-om/the-stylepropertymap/properties/scrollbar-gutter.html: ERROR (Chrome: OK, Safari: ERROR)
/css/css-overflow/parsing/scrollbar-gutter-valid.html
e.style['scrollbar-gutter'] = "always" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "force both stable" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "always force" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "always both force" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "auto" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "stable force" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "stable both" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "stable both force" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "always both" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "stable" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
e.style['scrollbar-gutter'] = "force always both" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/28a3f6bdcbf0
[wpt PR 24178] - Parsing and internal representation of scrollbar-gutter, a=testonly
https://hg.mozilla.org/integration/autoland/rev/63ce1c341da9
[wpt PR 24178] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.