Closed Bug 1716171 Opened 1 year ago Closed 1 year ago

Make WPT /inert/inert-retargeting-iframe.tentative.html more robust

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

References

Details

Attachments

(1 file)

No description provided.
Blocks: 1542807

This change fixes two problems:

  1. an auto-positioned relative pos box may fall on a
    fractional pixel position. This breaks the test since it
    uses positionMove(), which throws if its params aren't
    integers:
    https://searchfox.org/mozilla-central/rev/0c7c41109902cb8967ec3ef2c0ddb326701cfbee/remote/marionette/action.js#743-745,750-752
  2. appending text (with ::after) when a click occurs made
    the text too wide to fit on one line and thus made these
    boxes have a larger height which caused them to get in
    the way of the intended target of the click.
Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1503a303a138
Make inert-retargeting-iframe.tentative.html more robust.  r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/29355 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.