Closed
Bug 836809
Opened 11 years ago
Closed 11 years ago
Convert XMLStyleSheetProcessingInstruction to WebIDL
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: peterv, Assigned: peterv)
References
Details
Attachments
(2 files)
20.05 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
9.15 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
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.
Comment 1•11 years ago
|
||
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...
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #708778 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #708779 -
Flags: review?(bzbarsky)
Comment 4•11 years ago
|
||
Comment on attachment 708778 [details] [diff] [review] Rename nsXMLStylesheetPI to mozilla::dom::XMLStylesheetProcessingInstruction v1 r=me
Attachment #708778 -
Flags: review?(bzbarsky) → review+
Comment 5•11 years ago
|
||
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+
Assignee | ||
Comment 6•11 years ago
|
||
(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?
Comment 7•11 years ago
|
||
Oh, good point. Yeah, that should be fine.
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/94dc3dd5174a https://hg.mozilla.org/integration/mozilla-inbound/rev/a2c01ef72e26
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/94dc3dd5174a https://hg.mozilla.org/mozilla-central/rev/a2c01ef72e26
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•