Closed Bug 1460771 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 10958 - Fix the bug that sticky hyperlink does not work

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yi Gu <yigu@chromium.org> wrote:
>  Fix the bug that sticky hyperlink does not work
>  
>  Currently calculating the skipped offset between sticky and its
>  containing block assumes that the latter is not scrollable. However,
>  when it is we need to take into account the offset between sticky's
>  anonymous containing block otherwise scrolling the container would cause
>  the sticky offset incorrectly double accumulated.
>  
>  Bug:841551
>  Change-Id: Ib49aaa74808847dcf6fce7dc0db9ac4d2de06c64
>  Reviewed-on: https://chromium-review.googlesource.com/1054488
>  WPT-Export-Revision: 3d7f01f05e79b75530e5ed61859dddbe51239915
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests
PASS   : 1
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/402bbf78b4cc
[wpt PR 10958] - Compute correct sticky box constraints within scrollable containers, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/807e010c8501
[wpt PR 10958] - Compute correct sticky box constraints within scrollable containers, a=testonly
https://hg.mozilla.org/mozilla-central/rev/807e010c8501
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.