Closed Bug 1678010 Opened 4 years ago Closed 3 years ago

[wpt-sync] Sync PR 26561 - [CSS] Return empty string for CSSStyleDeclaration.cssText

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Jaeyong Bae <jdragon.bae@gmail.com>' wrote:

[CSS] Return empty string for CSSStyleDeclaration.cssText

This patch changes the code to return empty string for
CSSStyleDeclaration.cssText.

Discussion at:
https://github.com/w3c/csswg-drafts/issues/1033

Makes tests pass:
external/wpt/css/cssom/cssstyledeclaration-csstext.html

Bug: 1146888
Change-Id: Ibca415b7606d2cc5110ca633c87a77fac3e74ca8
Reviewed-on: https://chromium-review.googlesource.com/2546305
WPT-Export-Revision: 24bc7fb9918384b6bddaf09d5464b2d1b2a7af47

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 22 subtests

Status Summary

Firefox

OK : 1
FAIL: 22

Chrome

OK : 1
PASS: 22

Safari

OK : 1
FAIL: 22

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/scroll-animations/css/animation-timeline-computed.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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] (Chrome: OK, Safari: OK)
Property animation-timeline value 'initial': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'inherit': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'unset': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'revert': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'auto': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'none': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'auto, auto': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'none, none': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'auto, none': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'none, auto': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value '"test"': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value '"none"': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value '"auto"': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value '"initial"': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value '"inherit"': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value '"unset"': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value '"revert"': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'test': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'test1, test2': FAIL (Chrome: PASS, Safari: FAIL)
Property animation-timeline value 'test1, "test2", none, test3, auto': FAIL (Chrome: PASS, Safari: FAIL)
The animation-timeline property shows up in CSSStyleDeclaration enumeration: FAIL (Chrome: PASS, Safari: FAIL)
The animation-timeline property shows up in CSSStyleDeclaration.cssText: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/scroll-animations/css/animation-timeline-computed.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f4a918cce8a1
[wpt PR 26561] - [CSS] Return empty string for CSSStyleDeclaration.cssText, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.