Closed Bug 1439276 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 9567 - [css-typed-om] Fix crash involving negative length perspectives.

Categories

(Core :: DOM: CSS Object Model, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

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

Darren Shen wrote:
>  [css-typed-om] Fix crash involving negative length perspectives.
>  
>  We were crashing because converting CSSPerspective(-1px) to a CSSValue
>  returns nullptr. The correct behaviour should be to convert it as
>  CSSPerspective(calc(-1px)).
>  
>  Bug: 812620
>  Change-Id: I5ee70d4fb5eed064bcdad67391c3eb84531144d6
>  Reviewed-on: https://chromium-review.googlesource.com/924742
>  WPT-Export-Revision: 7e47f852d0761bc7d0076222d8c78e30aba7f6ed
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dd8bcdee8a6f
[wpt PR 9567] - [css-typed-om] Fix crash involving negative length perspectives., a=testonly
https://hg.mozilla.org/mozilla-central/rev/dd8bcdee8a6f
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.