All users were logged out of Bugzilla on October 13th, 2018

'Select All' broken in XHTML if html is not the root element

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
8 years ago
7 years ago

People

(Reporter: crazy-daniel, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows Vista
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

8 years ago
Created attachment 522723 [details]
small testcase

In an XHTML document that has a 'root' element other than the html element, Select All doesn't work. Neither by right click > Select All nor by Ctrl + A.

Comment 1

8 years ago
Confirmed on Mozilla/5.0 (Windows NT 6.1; rv:2.2a1pre) Gecko/20110329 Firefox/4.2a1pre. 
Able to reproduce in firefox 3.6.16 also.
(Reporter)

Comment 2

7 years ago
Created attachment 550039 [details]
small testcase (same markup, different media type, and works)

I have discovered that the exact same markup doesn't suffer from this issue if the media type 'text/xml' or 'application/xml' is used instead of 'application/xhtml+xml'.

I don't know what that means implementation wise, but it appears there is some kind of differentiation going on.
You need to log in before you can comment on or make changes to this bug.