Open Bug 1438105 Opened 2 years ago Updated 4 months ago

javascript: doesn't work when a:active {position:relative} is set on a href on Firefox Android

Categories

(Core :: Layout, defect, P3)

60 Branch
Unspecified
Android
defect

Tracking

()

Webcompat Priority revisit
Tracking Status
firefox60 --- affected

People

(Reporter: karlcow, Unassigned)

References

()

Details

(Whiteboard: [webcompat])

This is a spin-off of https://webcompat.com/issues/15320


This is happening on Firefox Android
<a href="javaScript:getContent('press_note.html')">blah</a>

The button is not working until we remove.
a:active {position: relative}
If you make :active applied from the beginning (via devtools), it works as well.

Changing position would triggering a reframe, so probably there is something going wrong with how touch works with a reframe. This could be a event dispatching issue or a layout issue, I'm not sure.
Looked a bit at the code but failed to find any place suspicious...

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: ? → revisit
You need to log in before you can comment on or make changes to this bug.