Closed Bug 1780289 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34903 - Fix typo in StyleRuleLayerStatement::Copy() name

Categories

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

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

Fix typo in StyleRuleLayerStatement::Copy() name

The function is currently incorrectly named as copy(), and hence
unable to shadow StyleRuleBase::Copy(), causing an infinite recursion
when Copy() is called.

This patch fixes it.

Fixed: 1345181
Change-Id: I1171f87ad619d491ef86c4f0d7c368f2d061eafb

Reviewed-on: https://chromium-review.googlesource.com/3773449
WPT-Export-Revision: 19ad962e75d7fffe67f39b046b1388e07b694681

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ae298cf259a [wpt PR 34903] - Fix typo in StyleRuleLayerStatement::Copy() name, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.