Closed Bug 1592868 Opened 5 years ago Closed 4 years ago

[wpt-sync] Sync PR 20012 - [SyntheticModules] Implements CSS Modules

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Sam Sebree <sasebree@microsoft.com> wrote:

[SyntheticModules] Implements CSS Modules

This is the final change required for CSS Modules to be utilized by developers.
Following the acceptance of this change, if you run chromium with the CSSModules runtime flag, the following is now valid syntax:

\<script type="module">
import sheet from "./example.css";
\</script>

Bug: 967018
Change-Id: Ifdee5b92259fb7e4e9c8f9aa88e69a98eb55c551
Reviewed-on: https://chromium-review.googlesource.com/1799923
WPT-Export-Revision: 233880a563055a2f087f626dc27aec7fc2db7935

Component: web-platform-tests → DOM: Core & HTML
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 4 subtests

Status Summary

Firefox

OK : 3
PASS: 4
FAIL: 6

Chrome

OK : 3
PASS: 4
FAIL: 6

Safari

OK : 3
PASS: 4
FAIL: 6

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/scripting-1/the-script-element/css-module/import-css-module-basic.html
An @import CSS Module should not load: FAIL (Chrome: FAIL, Safari: FAIL)
A CSS Module should load: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/scripting-1/the-script-element/css-module/utf8.tentative.html
windows-1252: FAIL (Chrome: FAIL, Safari: FAIL)
utf-7: FAIL (Chrome: FAIL, Safari: FAIL)
shift-jis: FAIL (Chrome: FAIL, Safari: FAIL)
utf-8: FAIL (Chrome: FAIL, Safari: FAIL)

CI Results

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

Total 3 tests and 4 subtests

Status Summary

Firefox

OK : 3
PASS: 4
FAIL: 6

Chrome

OK : 3
PASS: 4
FAIL: 6

Safari

OK : 3
PASS: 4
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/scripting-1/the-script-element/css-module/import-css-module-basic.html
An @import CSS Module should not load: FAIL (Chrome: FAIL, Safari: FAIL)
A CSS Module should load: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/scripting-1/the-script-element/css-module/utf8.tentative.html
windows-1252: FAIL (Chrome: FAIL, Safari: FAIL)
utf-7: FAIL (Chrome: FAIL, Safari: FAIL)
shift-jis: FAIL (Chrome: FAIL, Safari: FAIL)
utf-8: FAIL (Chrome: FAIL, Safari: FAIL)

CI Results

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

Total 3 tests and 4 subtests

Status Summary

Firefox

OK : 3
PASS: 4
FAIL: 6

Chrome

OK : 3
PASS: 4
FAIL: 6

Safari

OK : 3
PASS: 4
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/scripting-1/the-script-element/css-module/import-css-module-basic.html
An @import CSS Module should not load: FAIL (Chrome: FAIL, Safari: FAIL)
A CSS Module should load: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/scripting-1/the-script-element/css-module/utf8.tentative.html
windows-1252: FAIL (Chrome: FAIL, Safari: FAIL)
utf-7: FAIL (Chrome: FAIL, Safari: FAIL)
shift-jis: FAIL (Chrome: FAIL, Safari: FAIL)
utf-8: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8c5b203f0fad
[wpt PR 20012] - [SyntheticModules] Implements CSS Modules, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d3300af44806
[wpt PR 20012] - Update wpt metadata, a=testonly

CI Results

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

Total 3 tests and 4 subtests

Status Summary

Firefox

OK : 3
PASS: 4
FAIL: 6

Chrome

OK : 3
PASS: 4
FAIL: 6

Safari

OK : 3
PASS: 4
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/scripting-1/the-script-element/css-module/import-css-module-basic.html
An @import CSS Module should not load: FAIL (Chrome: FAIL, Safari: FAIL)
A CSS Module should load: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/scripting-1/the-script-element/css-module/utf8.tentative.html
windows-1252: FAIL (Chrome: FAIL, Safari: FAIL)
utf-7: FAIL (Chrome: FAIL, Safari: FAIL)
shift-jis: FAIL (Chrome: FAIL, Safari: FAIL)
utf-8: FAIL (Chrome: FAIL, Safari: FAIL)

Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.