Closed
Bug 130161
(txxhtml)
Opened 22 years ago
Closed 22 years ago
html is emulated using xhtml
Categories
(Core :: XSLT, defect)
Core
XSLT
Tracking
()
VERIFIED
FIXED
mozilla1.2beta
People
(Reporter: sicking, Assigned: sicking)
References
Details
Attachments
(2 files, 2 obsolete files)
10.08 KB,
patch
|
Details | Diff | Splinter Review | |
49.79 KB,
patch
|
Details | Diff | Splinter Review |
We currently emulate html by creating xhtml elements. We also always use an nsXMLDocument as document. This makes XSLT generated html pages different in many ways then normal html- pages, for example: * All html-related methods/attributes on the document, such as .forms and .links, are missing. * All element-names will be lowercased * CSS is case-sensitive * getElementsByTagName is case-sensitive I've started working on fixing this. However it's not an easy task since we have to postpone creation of the document until we know if we should create an html or an xml one. This forces us to live without a result document in many situations when we are used to have it (when creating RTFs, when creating root comments and PIs) I may or may not be able to finish this before 1.0
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Comment 2•22 years ago
|
||
Assignee | ||
Comment 3•22 years ago
|
||
Attachment #75191 -
Attachment is obsolete: true
Assignee | ||
Comment 4•22 years ago
|
||
The two above patches builds and runs. However i get tons of assertions and styleing doesn't seem to fully work. Also the DOM Inspector ends up inspecting the source-document instead of the result-document. So more work is defenetly needed
Attachment #75192 -
Attachment is obsolete: true
Comment 5•22 years ago
|
||
I'm not really sure if I like the xslt in the topics. Never really did. Not sure if we need to "namespace" the topics, though. Is there any use in adding a "progress" topic? Should we add for extension output methods for xul and svg? And I'd really like to land this with bug 90157, which peterv works on. Transforming to existing document should continue to work, now that we just fixed it. I didn't look too closely on the patch, I need a map to get thru all that output stuff. I'll get my head out of the sand once Jonas and Peter are on common grounds what each of these interfaces needs.
Assignee | ||
Updated•22 years ago
|
Target Milestone: --- → mozilla1.1beta
Comment 6•22 years ago
|
||
*** Bug 142529 has been marked as a duplicate of this bug. ***
Comment 7•22 years ago
|
||
*** Bug 152046 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 8•22 years ago
|
||
note to self: bug 150916 will probably affect the patch
Target Milestone: mozilla1.1beta → mozilla1.2beta
Comment 9•22 years ago
|
||
one thing we should look at once this is done is quirks mode. esp images within tables cause trouble, see bug 22274. This is was the remaining issue in bug 86664, adding a img {display:block;} and removing the borders brings us to the expected result, that is what quirks does.
Comment 10•22 years ago
|
||
the design for bug 90157 and bug 130161 need to worship each other. Esp. one needs the creation of the document during the transform, the other needs to work on an existing document.
Updated•22 years ago
|
Keywords: mozilla1.2
Comment 11•22 years ago
|
||
*** Bug 159061 has been marked as a duplicate of this bug. ***
Comment 12•22 years ago
|
||
*** Bug 168852 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 13•22 years ago
|
||
*** Bug 169123 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•22 years ago
|
Alias: txxhtml
Status: NEW → ASSIGNED
Assignee | ||
Comment 14•22 years ago
|
||
*** Bug 170094 has been marked as a duplicate of this bug. ***
Comment 15•22 years ago
|
||
*** Bug 170915 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 16•22 years ago
|
||
fixed with the branch-landing
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•