Closed Bug 836809 Opened 12 years ago Closed 12 years ago

Convert XMLStyleSheetProcessingInstruction to WebIDL

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: peterv, Assigned: peterv)

References

Details

Attachments

(2 files)

We didn't do this as part of bug 826703, so it's using the generic ProcessingInstruction binding, which means the sheet property is not available anymore.
So this is a potential web compat issue, to the extent that anyone uses .sheet on xml-stylesheet PIs, but not a problem past that, right? My gut feeling is that we don't need to backport this...
Attached patch v1Splinter Review
Attachment #708779 - Flags: review?(bzbarsky)
Comment on attachment 708778 [details] [diff] [review] Rename nsXMLStylesheetPI to mozilla::dom::XMLStylesheetProcessingInstruction v1 r=me
Attachment #708778 - Flags: review?(bzbarsky) → review+
Comment on attachment 708779 [details] [diff] [review] v1 > nsStyleLinkElement.h The change to this file seems to be a stray. >+++ b/dom/tests/mochitest/general/test_stylesheetPI.html This needs some waitForExplicitFinish love, no? >+++ b/dom/webidl/XMLStylesheetProcessingInstruction.webidl We need a spec issue raised on this, right? r=me with those fixed
Attachment #708779 - Flags: review?(bzbarsky) → review+
(In reply to Boris Zbarsky (:bz) from comment #5) > This needs some waitForExplicitFinish love, no? Wouldn't the insertion of the style-sheet PI block the page's onload that calls finish until the stylesheet has loaded? Or will the page onload sometime fire before the stylesheet's onload?
Oh, good point. Yeah, that should be fine.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: