Closed Bug 195945 Opened 22 years ago Closed 22 years ago

XSLT generated pages render in quirks mode

Categories

(Core :: XSLT, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: sicking, Assigned: sicking)

Details

(Keywords: regression, Whiteboard: fixed1.3)

Attachments

(1 file)

When starting to create real HTML-documents we also ended up render in quirks mode. This is bad! Patch comming up.
Attachment #116224 - Flags: superreview?(bzbarsky)
Attachment #116224 - Flags: review?(peterv)
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+
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 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+
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?
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?
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
without this patch we are compleatly in quirks mode
checked in on branch too
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Whiteboard: fixed1.3
mass verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: