Closed Bug 1721854 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 29749 - Add StaticRange::CrossesContainBoundary cache

Categories

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

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Fernando Fiori <ffiori@microsoft.com>' wrote:

Add StaticRange::CrossesContainBoundary cache

Now cache the result of CrossesContainBoundary() in the same way as
for IsValid(), using the DOM tree version, to improve performance.

Change-Id: I6ca5f964aa4e02735a03833601165d1df79e4580
Reviewed-on: https://chromium-review.googlesource.com/3039681
WPT-Export-Revision: 7660f2adc23e7665197ac035009c5cc81db07eaa

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 4 tests

Status Summary

Firefox

PASS: 2
FAIL: 2

Chrome

PASS: 2
FAIL: 2

Safari

PASS: 2
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-highlight-api/painting/custom-highlight-painting-staticrange-005.html: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-highlight-api/painting/custom-highlight-painting-staticrange-007.html: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dceeb9008e56 [wpt PR 29749] - Add StaticRange::CrossesContainBoundary cache, a=testonly https://hg.mozilla.org/integration/autoland/rev/d613c463f58b [wpt PR 29749] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d4dc1e295d4 [wpt PR 29749] - Add StaticRange::CrossesContainBoundary cache, a=testonly https://hg.mozilla.org/integration/autoland/rev/58b97ecd2e36 [wpt PR 29749] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.