and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
content/base/public/nsIContentIterator.h
content/base/src/nsContentIterator.cpp
content/base/src/nsGeneratedIterator.cpp
content/build/nsContentCID.h
content/build/nsContentModule.cpp
embedding/components/find/src/nsFind.cpp
layout/html/style/src/nsFrameContentIterator.cpp
- Removed MakePre() and MakePost() from the nsIContentIterator interface.
- Traversal must now be specified at time of creation.
- Fixed nsContentIterator Init() methods so that they correctly calculate
mFirst and mLast.
- Modified PositionAt() to check if the node is in the traversal range.
r=jfrancis@netscape.comsr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134263 18797224-902f-48f8-a5cc-f745e15eee43
Prettyprint without modifying the DOM by using an XBL binding. Use viewsource.css for styling. Also refactor a real sync-load service and make transformiix and XBL use it.
r=jkeiser sr=darin
git-svn-id: svn://10.0.0.236/trunk@131580 18797224-902f-48f8-a5cc-f745e15eee43
* Get the computed -moz-binding directly from the style context which is faster than getComputedStyle
* Speed up computed style by not QI'ing so much
* Cache the computed style object so we don't keep re-alloc'ing memory for it.
* Shrink ROCSSPrimitiveValue.
* Don't get computed style of non-existant properties.
* Use nsSize instead of nsRect when we only care about height and width
* Other random code cleanup of computed style
Bug 155525
r=bzbarsky
sr=jst
git-svn-id: svn://10.0.0.236/trunk@124754 18797224-902f-48f8-a5cc-f745e15eee43
Thanks to Nick Blievers <nickb@adacel.com.au> for the patch.
Bug #152453 r=cls
git-svn-id: svn://10.0.0.236/trunk@123484 18797224-902f-48f8-a5cc-f745e15eee43
Implement XUL Prototype Document and Prototype Element serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@120648 18797224-902f-48f8-a5cc-f745e15eee43
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.
This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new class to build
r=akk, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119118 18797224-902f-48f8-a5cc-f745e15eee43
Backing out the fix for bug 52334
approved by sheriff (karnaze) and cathleen
git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa
Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function
git-svn-id: svn://10.0.0.236/trunk@117305 18797224-902f-48f8-a5cc-f745e15eee43
Thanks to Christopher Blizzard <blizzard@redhat.com> for the patch.
Bug #123391 r=cls,blizzard
git-svn-id: svn://10.0.0.236/trunk@115067 18797224-902f-48f8-a5cc-f745e15eee43