Closed Bug 1618207 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 21991 - Automated css-page tests for WPT

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Felipe Erias <felipeerias@gmail.com> wrote:

Automated css-page tests for WPT

Add automated tests for the parsing of different
uses and declarations of the CSS @page rule, including
for @media rules and for properties of HTML elements.

Based on printing/page-rule-css-text.html which has
been removed to avoid duplicating the tests.

R=rego@igalia.com

Change-Id: I790370832d3a300f78da683481bb48ca5e53985b
Reviewed-on: https://chromium-review.googlesource.com/2074837
WPT-Export-Revision: 9ecc4c912cb953f1ed706fa0df908c7a27844d5f

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 48 tests

Status Summary

Firefox

OK : 3
PASS: 5[GitHub] 50[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 5

Chrome

OK : 3
PASS: 10

Safari

OK : 3
PASS: 8
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/css/css-page/page-rule-declarations-002.html
e.style['page'] = "auto" should set the property value: FAIL
e.style['page'] = "large_page" should set the property value: FAIL
e.style['page'] = "small_page" should set the property value: FAIL

New Tests That Don't Pass

/css/css-page/page-rule-declarations-000.html
test CSS @page declarations: FAIL (Chrome: PASS, Safari: FAIL)
/css/css-page/page-rule-declarations-001.html
test @page inside a @media print rule: FAIL (Chrome: PASS, Safari: FAIL)
/css/css-page/page-rule-declarations-002.html
e.style['page'] = "auto" should set the property value: FAIL (Chrome: PASS, Safari: PASS)
e.style['page'] = "large_page" should set the property value: FAIL (Chrome: PASS, Safari: PASS)
e.style['page'] = "small_page" should set the property value: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/502ac1c615d1 [wpt PR 21991] - Export automated css-page tests to WPT, a=testonly https://hg.mozilla.org/integration/autoland/rev/549ce0760c15 [wpt PR 21991] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.