Closed
Bug 195945
Opened 22 years ago
Closed 22 years ago
XSLT generated pages render in quirks mode
Categories
(Core :: XSLT, defect)
Core
XSLT
Tracking
()
VERIFIED
FIXED
People
(Reporter: sicking, Assigned: sicking)
Details
(Keywords: regression, Whiteboard: fixed1.3)
Attachments
(1 file)
1.15 KB,
patch
|
peterv
:
review+
bzbarsky
:
superreview+
dbaron
:
approval1.3+
|
Details | Diff | Splinter Review |
When starting to create real HTML-documents we also ended up render in quirks
mode. This is bad! Patch comming up.
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #116224 -
Flags: superreview?(bzbarsky)
Attachment #116224 -
Flags: review?(peterv)
![]() |
||
Comment 2•22 years ago
|
||
Comment on attachment 116224 [details] [diff] [review]
patch to explicitly set standards mode
sr=me, but could we fix SetCompatibilityMode to notify _all_ the prescontexts,
please?
Attachment #116224 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Comment 3•22 years ago
|
||
sure, but i'd rather not do that here as i was hoping to land this patch on the
1.3 branch. I'd hate it if people started relying on quirks mode in XSLT
Comment 4•22 years ago
|
||
Comment on attachment 116224 [details] [diff] [review]
patch to explicitly set standards mode
Though you could set htmlDoc at the start of the function, where you set
mDocumentIsHTML. Up to you.
Attachment #116224 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 5•22 years ago
|
||
Comment on attachment 116224 [details] [diff] [review]
patch to explicitly set standards mode
This patch should be safe. As usual it's only limited to XSLT-generated pages.
The reason I want this in the 1.3 release is that I don't want people to get
used to quirks-mode in XSLT.
Attachment #116224 -
Flags: approval1.3?
Assignee | ||
Comment 6•22 years ago
|
||
checked in on trunk
Have you tested the various tests in http://dbaron.org/mozilla/tests/compat to
see that you're setting the mode in all of the places that it's stored with the
function call you're using?
Assignee | ||
Comment 8•22 years ago
|
||
I had only ran my own tests, but it passes yours too. (except that I of course
couldn't run the comment-parsing test).
Status: NEW → ASSIGNED
Assignee | ||
Comment 9•22 years ago
|
||
without this patch we are compleatly in quirks mode
Attachment #116224 -
Flags: approval1.3? → approval1.3+
Assignee | ||
Comment 10•22 years ago
|
||
checked in on branch too
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•22 years ago
|
Whiteboard: fixed1.3
You need to log in
before you can comment on or make changes to this bug.
Description
•