Closed Bug 1824107 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39161 - [mathml] Improve parsing of negative dimensions for mspace/mpadded

Categories

(Core :: MathML, task, P4)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Frédéric Wang <fwang@igalia.com> wrote:

[mathml] Improve parsing of negative dimensions for mspace/mpadded

A CSSPrimitiveValue::ValueRange parameter is added to the
ParseMathLength/AddMathLengthToComputedStyle functions and is used to
prevent negative values for some attributes of the mspace/mpadded at
parsing time. This fixes some assertion failures during layout.

Bug: 1421195
Change-Id: Ia6e8ecdbb1554e5e255a95c503cf9ed5d096916f

Reviewed-on: https://chromium-review.googlesource.com/4362438
WPT-Export-Revision: 78fbe32bd88423372a90d63acc87461c34685e5d

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79b0958fd488 [wpt PR 39161] - [mathml] Improve parsing of negative dimensions for mspace/mpadded, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.