Closed
Bug 38899
Opened 25 years ago
Closed 21 years ago
incorrect type="text/css" added to head element
Categories
(Core :: DOM: HTML Parser, defect, P3)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: Marko.Macek, Assigned: harishd)
Details
(Keywords: testcase, Whiteboard: [nsbeta3-])
Attachments
(2 files)
I have a HTML document (attached) with <style type="text/css"> inside the <body>
element.
When I load and save-as with the composer, the <style> is moved inside <head>
(OK), but the <head> element itself gets an additional type="text/css" attribute
(not OK).
Tested on windows/linux with nightly build 2000050920.
I have set component=Parser, not sure if this is correct.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
Comment 3•25 years ago
|
||
this may be an editor issue; reassign to beppe, cc cmanske, akkana
Assignee: rickg → beppe
Comment 4•25 years ago
|
||
The STYLE element within the BODY element is invalid HTML. The STYLE element is
a child of HEAD. The STYLE attribute is valid within BODY. However, moving the
TYPE attribute from the STYLE element is something that needs to be addressed.
Assigning this to Harish to see if the parser is doing something during the
'correction' phase.
Assignee: beppe → harishd
Sounds like a XIF DTD problem. Accepting bug.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Data corruption. should be addressed for nsbeta3.
Keywords: nsbeta3
This bug has been marked "future" because the original netscape engineer working
on this is over-burdened. If you feel this is an error, that you or another
known resource will be working on this bug,or if it blocks your work in some way
-- please attach your concern to the bug for reconsideration.
Target Milestone: M18 → Future
Comment 10•23 years ago
|
||
This also happens to http://cnn.com/ which does have a <STYLE>...</STYLE> inside
the body element as of 7/29/01.
Reporter | ||
Comment 11•22 years ago
|
||
Well, mozilla-1.0 / linux seems to have this fixed at least for my first testcase.
Comment 12•21 years ago
|
||
Works fine for testcase. http://cnn.com/ does not have STYLE in BODY now.
-> WORKSFORME
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•