Closed
Bug 186943
Opened 22 years ago
Closed 18 years ago
the css-loader shouldn't deal with parsers
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
mozilla1.5alpha
People
(Reporter: sicking, Assigned: bzbarsky)
References
Details
The css-loader currently has two callback mechanisms for when a stylesheet is
loaded; it unblocks an nsIParser and it notifies an nsICSSLoaderObserver. This
seems unneccesary.
A better way might be to only have the nsICSSLoaderObserver-notification. The
contentsink can then implement this interface and unblocks the parser. This
seems like a cleaner separation.
I'm planning on doing some work for XSLT that should make this easier, i'll post
the bugnumber for that work here once i have a bug.
Reporter | ||
Comment 2•22 years ago
|
||
of course that would be even nicer :)
note to self: if we do this one before that we should also change
NS_ERROR_HTMLPARSER_BLOCK to something like NS_ERROR_CSS_LOAD_NOT_FINISHED, or
an outparam
Reporter | ||
Comment 3•22 years ago
|
||
i'm using bug 186835 for the XSLT changes that partly paves the way for fixing
this bug.
![]() |
Assignee | |
Updated•22 years ago
|
OS: Windows 98 → All
Priority: -- → P3
Hardware: PC → All
Target Milestone: --- → mozilla1.5alpha
![]() |
Assignee | |
Comment 4•18 years ago
|
||
Fixed by checkin for bug 84582.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•