Closed Bug 1567907 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 17971 - Add coordinate test for scrollLeft and scrollTop

Categories

(Core :: DOM: CSS Object Model, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Cathie Chen <cathiechen@igalia.com> wrote:

Add coordinate test for scrollLeft and scrollTop

scrollLeftTop.html test the behavior of scrollLeft and scrollTop in different combination of writing-mode and CSS direction.
According to the spec:

  • scrollLeft is nonnegative in rightwards overflow direction
  • scrollLeft is nonpositive in leftwards overflow direction
  • scrollTop is nonnegative in downwards overflow direction
  • scrollTop is nonpositive in upwards overflow direction
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 1 tests and 6 subtests OK : 1 PASS : 3[android-em-7.0-x86_64-debug,android-em-7.0-x86_64-opt], 6[linux32-shippable-opt,linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt,linux64-shippable-opt,linux64-shippable-qr-opt,windows10-64-debug,windows10-64-opt,windows10-64-qr-debug,windows10-64-qr-opt,windows10-64-shippable-opt,windows10-64-shippable-qr-opt,windows7-32-debug,windows7-32-opt,windows7-32-shippable-opt] FAIL : 3[android-em-7.0-x86_64-debug,android-em-7.0-x86_64-opt] New tests that have failures or other problems: /css/cssom-view/scrollLeftTop.html writing-mode:horizontal-tb; direction:ltr: FAIL[android-em-7.0-x86_64-debug,android-em-7.0-x86_64-opt] writing-mode:horizontal-tb; direction:rtl: FAIL[android-em-7.0-x86_64-debug,android-em-7.0-x86_64-opt] writing-mode:vertical-rl; direction:rtl: FAIL[android-em-7.0-x86_64-debug,android-em-7.0-x86_64-opt]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d7fc6f9e88d2 [wpt PR 17971] - Add coordinate test for scrollLeft and scrollTop, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/3060546d7cc6 [wpt PR 17971] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.