Open Bug 1236202 Opened 5 years ago Updated 2 years ago

Web pages are able to prevent finishing of <textarea> resizing in unusual way

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: arni2033, Unassigned)

Details

Attachments

(1 file)

>>>   My Info:   Win7_64, Nightly 46, 32bit, ID 20151231030214
STR:
1. Open attached "testcase 1" or page
>  data:text/html,<body onmouseup="console.log('mouseup'); arguments[0].preventDefault()"><textarea>
2. Move mouse pointer over the <textarea> resizer
3. Resize <textarea> in a notmal way:  Hold left mouse button, move mouse, release left mouse button
4. Slowly move mouse pointer over resizer again

Result:       <textarea> changes its size
Expectations: It should stay still because I'm not pressing left mouse button

I'm leaving it unconfirmed because I can see the possible argument "Well, don't do it then"
However, imo, web developers can just test their site on Chrome and see that everything is working fine, and no other adjustments are required. Even youtube developers do that.
So Firefox users may still face this bug.

I know that Firefox allows web pages to prevent _starting_ <textarea> resizing - that sounds ok to me. But it should never allow pages to prevent _finishing_ <textarea> resizing
Has STR: --- → yes
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.