Closed Bug 72734 Opened 24 years ago Closed 18 years ago

Can't select or copy text together with quotes produced by <q> tag together

Categories

(Core :: DOM: Selection, defect, P4)

x86
Windows 98
defect

Tracking

()

RESOLVED DUPLICATE of bug 12460
Future

People

(Reporter: miciah.masters, Assigned: mjudge)

References

()

Details

(Keywords: testcase, Whiteboard: parity-opera)

Attachments

(1 file)

View a page that uses the <q> tag. Attempt to select a quotation. You can select the text before, after, and enclosed by <q> and </q>, but not the quotation marks produced by <q> and </q>. Copy-and-paste also excludes the quotation marks. AFAIK, quotation marks are produced by the following block in html.css: --- begin q:before { content: open-quote; } q:after { content: close-quote; } --- end It seems that text specified by the content attribute in CSS is unselectable and uncopyable. While per haps appropriate in most situations, it sucks in this one. I am using Win32 build 2001032004.
Attached file testcase (deleted) —
Dragging pointer over the text in the testcase will not select quotes and text together for me. I can select the quotes and text separately though, so i will edit sumary to reflect this. Marking this 1 new. Using windows Me cvs 2001042310.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: Can't select or copy quotes produced by <q> tag → Can't select or copy text together with quotes produced by <q> tag together
HTML Element component is deprecated, and should be removed from Bugzilla. Clayton is not the correct owner for these. Reassigning to layout.
Assignee: clayton → karnaze
Component: HTML Element → Layout
QA Contact: bsharma → petersen
Moving to selection component.
Assignee: karnaze → mjudge
Component: Layout → Selection
QA Contact: petersen → tpreston
section 9.2.2 of the HTML spec says this about the q element: Rendering quotations Visual user agents generally render BLOCKQUOTE as an indented block. Visual user agents must ensure that the content of the Q element is rendered with delimiting quotation marks. Authors should not put quotation marks at the beginning and end of the content of a Q element. -------------- The quotation marks are generated content in this case, if you copy and paste into Composer, they are pasted correctly even if the selection looks incorrect. If I select and copy from teh browser and paste into Composer, it pastes correctly even if the selection looks incorrect. Assigning to mjudge to see if selection can somehow include the quotation.
Severity: normal → minor
Priority: -- → P4
Target Milestone: --- → Future
Well, but Copy&Paste as plain text goes wrong.
Well, but Copy&Paste as plain text goes wrong.
*** Bug 141171 has been marked as a duplicate of this bug. ***
Whiteboard: parity-opera
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040719 When in Normal View I cut and paste the following line <td>Reg Barclay: <q>My horror holodeck addiction!</q><br> I get the quotes as writ, but the old quotes remain sans text <td><q></q><br> They are undeletable unless I go down a line and CTRL+Arrow Up (thereby selecting "<q></q><br>") and pressing delete, although the quotes don't get highlighted.
This is just a special case of bug 12460 (see esp. bug 12460 comment #62). *** This bug has been marked as a duplicate of 12460 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: