Closed Bug 1586242 Opened 2 months ago Closed Last month

[wpt-sync] Sync PR 19509 - CSS: Test shorthand expansion

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Eric Willigers <ericwilligers@chromium.org> wrote:

CSS: Test shorthand expansion

When a longhand value is omitted, the longhand should have the specific
initial value for the shorthand, not 'initial'.

Bug: 501673, 772772
Change-Id: I0986013e6785852861b79926dd0696314c758ff7
Reviewed-on: https://chromium-review.googlesource.com/1839934
WPT-Export-Revision: e2a986c5a73688c4c30f20d986c8ae4d68a9fc89

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
## GitHub CI Results
wpt.fyi [PR Results](https://wpt.fyi/results/?sha=085a4750b03265828ecf435d355b5fcfa33035a3&label=pr_head) [Base Results](https://wpt.fyi/results/?sha=085a4750b03265828ecf435d355b5fcfa33035a3&label=pr_base)

Ran 25 tests and 490 subtests

### Firefox
  OK  : 25
  PASS: 476
  FAIL: 14

### Chrome
  OK  : 25
  PASS: 441
  FAIL: 49

### Safari
  OK  : 25
  PASS: 355
  FAIL: 135

### New tests that's don't pass

/css/motion/parsing/offset-shorthand.html
   e.style['offset'] = "left bottom ray(0rad closest-side) 10px auto 30deg / right bottom" should set offset-anchor: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "left bottom ray(0rad closest-side) 10px auto 30deg / right bottom" should set offset-rotate: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "left bottom ray(0rad closest-side) 10px auto 30deg / right bottom" should set offset-position: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "top right / top left" should not set unrelated longhands: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "left bottom ray(0rad closest-side) 10px auto 30deg / right bottom" should set offset-distance: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "path(\"M 0 0 H 2\") reverse 50%" should set offset-position: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
   e.style['offset'] = "top right / top left" should set offset-anchor: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "top right / top left" should set offset-distance: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
   e.style['offset'] = "left bottom ray(0rad closest-side) 10px auto 30deg / right bottom" should set offset-path: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "top right / top left" should set offset-rotate: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
   e.style['offset'] = "left bottom ray(0rad closest-side) 10px auto 30deg / right bottom" should not set unrelated longhands: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "top right / top left" should set offset-position: Firefox: FAIL, Chrome: PASS, Safari: FAIL
   e.style['offset'] = "top right / top left" should set offset-path: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b548a90b6493
[wpt PR 19509] - CSS: Test shorthand expansion, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9829f679b4b
[wpt PR 19509] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: Last month
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.