Open Bug 848808 Opened 12 years ago Updated 2 years ago

Cursor position stops updating in a contenteditable with a css scale transform

Categories

(Core :: CSS Parsing and Computation, defect)

19 Branch
x86_64
All
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bluexander, Unassigned)

References

Details

Attachments

(1 file)

Attached file frame.html
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.56 Safari/537.17 Steps to reproduce: I place an element with contenteditable="true" inside of an element with a css transform of scale .5 applied to it and a width set. Actual results: The cursor position stops updating once it reaches half of the client width (using a scale of .5). The example demonstrates this using a div with scale and a span inside of it. The problem also happens if span is inside the body and the scale and width are set on the body. With the example, when the body width is set to something larger than half the client width the text element begins scrolling at the halfway point instead of the cursor stopping. Expected results: The cursor position should reflect where in the contenteditable element the user is editing and it shouldn't scroll if the body width is greater than the scaled client width.
OS: Linux → All
Hardware: x86_64 → All
Hardware: All → x86_64
Attachment #722293 - Attachment mime type: text/plain → text/html
Component: Untriaged → Style System (CSS)
Product: Firefox → Core
See Also: → 778761
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: