Closed Bug 475493 Opened 16 years ago Closed 16 years ago

HTML <q> does not participate correctly in text selections

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 12460

People

(Reporter: ehsan.akhgari, Unassigned)

Details

(Keywords: testcase)

Attachments

(3 files)

Attached file Test case (deleted) —
HTML <q> does not participate correctly in text selections, when the selection is done character by character. In order to reproduce this, load the attached test case, and: 1. Start selecting at the start of "Lorem". Move the cursor precisely on the first line and notice that the quotation marks are not selected. 2. At the end of first line, move the mouse downwards to select the rest of the lines one by one. Notice that the quotes are selected in this case. 3. Place the mouse cursor at the end of one line and start dragging it along the line backwards, to deselect the text. Note that the quotation marks remain selected. 4. Repaints cause the selection to be painted correctly (example: switch to another tab and back to the original tab). I'll attach a screenshot taken after completing step 3 above. This is reproducible both on trunk and 1.9.1.
Attached image Screenshot (deleted) —
Attached file Test case with CSS-generated content (deleted) —
The exact same thing happens with CSS-generated content. See this test with the same STR.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: