Closed Bug 1463993 Opened Last year Closed Last year

Add rendering test for scrollbar color properties

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: xidorn, Assigned: xidorn)

References

Details

Attachments

(1 file)

It is probably hard to test exactly how scrollbars are rendered given they are done in a native way, but we can probably build some tools to check that the colors are used via analyzing the screenshot of the page. Maybe we can simply count the number of pixels which have given colors.

There are several tests in my mind that we should add:
* test it works on scrollbars of a div
* test it works on viewport scrollbars
* test resetting them to auto works as expected
We can probably add <link rel="mismatch"> wpt .tentative.html tests too, that'd be extra-nice :)
Depends on: 1464744
Comment on attachment 8981341 [details]
Bug 1463993 - Add a rendering test for scrollbar color properties.

https://reviewboard.mozilla.org/r/247482/#review253932
Attachment #8981341 - Flags: review?(cam) → review+
Pushed by xquan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8b72e1dcd917
Add a rendering test for scrollbar color properties. r=heycam
https://hg.mozilla.org/mozilla-central/rev/8b72e1dcd917
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Assignee: nobody → xidorn+moz
You need to log in before you can comment on or make changes to this bug.