Closed
Bug 769038
Opened 12 years ago
Closed 12 years ago
Margin/padding on root element causes selection handles to appear at wrong spot
Categories
(Firefox for Android Graveyard :: Text Selection, defect)
Tracking
(firefox15 verified, firefox16 verified, firefox17 verified)
VERIFIED
FIXED
Firefox 16
People
(Reporter: martijn.martijn, Assigned: Margaret)
References
()
Details
(Keywords: testcase)
Attachments
(2 files)
638 bytes,
text/html
|
Details | |
5.41 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
See testcase, steps to reproduce: - Select some text on the page by long tapping on it Expected result: - Selection handles appear at the right spot. Actual result: - Selection handles appear at the wrong spot.
Reporter | ||
Comment 1•12 years ago
|
||
I suspect this is the cause of the small offset of selection handles at http://mobiel.nu.nl/pda/ (has a 8px margin on the body.
Assignee | ||
Comment 2•12 years ago
|
||
I found margin was the thing causing the problem. I was concerned this patch will be wrong if the computed style isn't in pixels, but it seems that getPropertyValue("margin-*") always returns a value in pixels, even if the CSS rule uses a different unit of measure.
Assignee: nobody → margaret.leibovic
Attachment #637637 -
Flags: review?(mbrubeck)
Updated•12 years ago
|
Attachment #637637 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a9f5408e83e0
Target Milestone: --- → Firefox 16
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a9f5408e83e0
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•12 years ago
|
||
Uplifted to aurora as part of a roll-up patch: https://hg.mozilla.org/releases/mozilla-aurora/rev/2fb0a358eaf6
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
status-firefox17:
--- → verified
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•