Closed
Bug 347886
Opened 18 years ago
Closed 16 years ago
Selection won't go out of blocks with overflow-x: auto
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
People
(Reporter: benjamin, Assigned: roc)
Details
(Keywords: testcase)
Attachments
(1 file)
283 bytes,
text/html
|
Details |
If you have a block (maybe just a pre?) with overflow-x: auto, and you start selecting with the mouse in side the block, you cannot extend the selection outside of the block. Testcase forthwith. This is not a problem with 1.8 branch, only trunk.
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Updated•18 years ago
|
Whiteboard: [regression date wanted]
Reporter | ||
Comment 2•18 years ago
|
||
bz says that since overflow-x causes a scrollable view that perhaps this isn't quite as incorrect as I thought. And that it's only a regression from 1.8 in that we started supporting overflow-x. I'd still expect selection to work within the same document, however.
Assignee: nobody → roc
Component: Layout: Block and Inline → Layout: View Rendering
Keywords: regression
QA Contact: layout.block-and-inline → ian
Whiteboard: [regression date wanted]
Comment 3•18 years ago
|
||
I do see a regression but only a very old one: between 2004-09-04:07 and 2004-09-05:07. In newer builds I see the same behaviour: impossible to select the third line when you start selecting in the second line.
Comment 4•18 years ago
|
||
When I narrow the browser window so that the sentence in the pre tag in the testcase does not fit anymore there is no horizontal scrollbar given unless I set a height on the pre block.
This is not a problem with a div that has white-space:nowrap. The div is made taller and a horizontal scrollbar is added.
Assignee | ||
Comment 5•18 years ago
|
||
(In reply to comment #4)
> When I narrow the browser window so that the sentence in the pre tag in the
> testcase does not fit anymore there is no horizontal scrollbar given unless I
> set a height on the pre block.
That works for me. Try increasing the font size; narrowing the browser window can mislead you because at some point the content area stays the same size and stars overflowing the browser window.
Comment 6•18 years ago
|
||
Ok but then why doesn't a horizontal scrollbar appear at the bottom of the page in that case when the minimum content size is reached?
Assignee | ||
Comment 7•18 years ago
|
||
What's happening is that the browser UI is overflowing its window. If you make the window narrow enough you will see that e.g. the "busy" spinner in the top right gets cut off
Updated•16 years ago
|
Component: Layout: View Rendering → Selection
QA Contact: ian → selection
Comment 8•16 years ago
|
||
This is just a special case of bug 42676.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•