Commit Graph

2376 Commits

Author SHA1 Message Date
Ed Morley
1ecbe9a985 Bug 700490 - Remove nsICharsetResolver; r=smontagu 2011-12-16 09:13:29 +00:00
Carlo Alberto Ferraris
a7950c2f4f Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Andrew Quartey
d9f501a4df Bug 689834. Only look at the muted attribute when initially creating the element. r=bzbarsky 2011-12-15 14:36:46 -05:00
Gabor Krizsanits
1908ae1df4 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz 2011-12-15 15:10:36 +00:00
Masatoshi Kimura
4eadc7baec Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Henri Sivonen
54d8d54f8e Bug 648252 - Remove nsViewSourceHTML from the tree. r=mrbkap, a=khuey. 2011-04-07 16:41:53 +03:00
Steve Fink
7e8a7c5957 Bug 700202 - Propagate errors from ReparentContentWrappersInScope (r=smaug)
--HG--
extra : rebase_source : c8590dfa093620e92520a617d69d7f3ebf5edd5f
2011-11-21 09:35:26 -08:00
Tobias Markus
d70a096895 [Bug 706113] Removing null checks from VideoDocument.cpp 2011-11-30 20:06:33 +01:00
Henri Sivonen
bd1b9e065c Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Matt Brubeck
12c396afdf Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
efe5ce2bae Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Boris Zbarsky
1e74e69eff Bug 705280 - (2/2) Custom quickstub nsIDOMHTMLDocument.head and change nsIDOMHTMLDocument.body custom quickstub. r=mrbkap 2011-11-29 17:32:31 +01:00
Henri Sivonen
b74c7dc6e2 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Andrew
2aa0696362 Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc 2011-11-20 11:13:40 +00:00
Ms2ger
c265b4ae97 Bug 703374 - Add back an assignment to rv in nsHTMLDocument::StartDocumentLoad; r=hsivonen 2011-11-18 15:09:25 +01:00
Matt Brubeck
e851f37192 Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Ed Morley
7b166f8edf Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger
1049c156c8 Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 2011-11-16 08:50:19 +01:00
Ms2ger
7a9dd20769 Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Rob Campbell
86de2bc601 merge fx-team to mozilla-central 2011-11-15 13:57:15 -08:00
Henri Sivonen
689c5fc755 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Henri Sivonen
0f6c2ebd98 Bug 693399 - r=bzbarsky. 2011-11-14 10:50:15 +02:00
Jared Wein
87dcb951fa Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao 2011-11-10 15:08:47 -08:00
Jared Wein
9bda12367b Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content. r=roc 2011-11-10 15:08:07 -08:00
Jared Wein
80d13db5c2 Backout changeset 40b0d61c132b due to bad commit message 2011-11-10 15:07:10 -08:00
Jared Wein
8901da2cd9 Backed out changeset b77ec6e8eb8c due to bad commit message 2011-11-10 15:04:12 -08:00
Jared Wein
c6daa04597 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets 2011-11-10 15:02:26 -08:00
Jared Wein
603a938ed2 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content 2011-11-10 15:02:21 -08:00
Ed Morley
7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Henri Sivonen
0dba9093b0 Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
088b02553b Bug 482921 part 5 - Add entry point for new View Source for XML; Make new View Source easy to disable. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
267803686e Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +03:00
Ms2ger
0acf27c125 Bug 697210 - Part a: Make nsIDocument::GetDefaultNamespaceID non-virtual and have it return mDefaultElementType; r=bz 2011-10-29 22:20:37 +02:00
Ms2ger
6d97442563 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Ehsan Akhgari
edc983c9e8 Bug 694880 - The editable state is not updated correctly when designMode is turned off; r=bz,peterv 2011-10-20 12:27:48 -04:00
Olli Pettay
2c2da3099f Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ms2ger
ca6f7807e0 Bug 540433 - Remove nsIDocumentViewer; r=smaug 2011-10-15 09:33:26 +02:00
Jared Wein
b8bc689faa Backout revision 379147b5215f due to video controls not showing when viewing standalone videos (bug 689106). r=jonas 2011-10-03 20:46:40 -07:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
David Zbarsky
98b91d54fa Bug 682367 - Call nsINode::GetChildAt less. r=smaug 2011-09-27 09:54:58 +02:00
Gabor Krizsanits
d12dec5707 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking 2011-09-22 17:35:25 +01:00
Rob Campbell
b5b4ddd088 merge m-c to fx-team 2011-09-20 11:42:20 -03:00
Jared Wein
daa998fda1 Bug 472942 - Centering video and applying some basic styling to make viewing videos directly more pretty. r=roc ui-r=shorlander 2011-09-19 22:30:30 -07:00
Masatoshi Kimura
88a6dd692d Bug 685774 - Implement document.scripts. r=bz 2011-09-09 19:18:03 +02:00
Olli Pettay
3e3400ebbc Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ms2ger
09c97f4a38 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
aceman
8210cbd4e2 Bug 136556 - Image title should use "×", not "x". r=bz, r=dolske 2011-09-05 17:26:23 -07:00
Oleg Romashin
26a6bd99f6 Bug 681443 - Fennec does not resize document properly in portrait mode; f=mbrubeck r=jst 2011-09-01 22:16:13 +01:00
Josh Aas
3fa80a3ea0 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Josh Aas
3b6b37ef98 Bug 90268: Make content own plugin instances instead of frames. Allows display:none instances and re-parenting instances without stopping them. r=roc 2011-08-29 03:09:22 -04:00
Fabien Cazenave
7a2ab2c16d Bug 456798 — Implement document.queryCommandSupported
Rationale: a command is supported if it can be converted to an internal Midas
command. `nsCommandManager::IsCommandSupported' might not be needed any more.

Corollary: document.queryCommandEnabled should return false on unsupported
commands without raising any exception.

Browserscope tests: +43 points = 258 failed tests...
 * Q section: 0/48 => 42/48
   42 tests used to fail (execution exception), now pass
 * QE section: 36/46 => 37/46
   garbage-1_TEXT-1 used to fail, now passes
In these two sections, a lot of tests that used to raise an exception now return
`false' (that's still a FAIL, but that's not the same kind of FAIL).

Other Browserscope tests are not affected by this patch.
The status of this test suite (currentStatus.js) has been updated accordingly.
2011-08-17 08:04:14 -04:00
Malini Das
132054c82e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
ee09d54d6f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Ms2ger
3fea5b3901 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
4ca9cbc0f3 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Michael Ventnor
e78ff0e96c Bug 677495 - Image documents shouldn't have things other than the <img> in the <body> r=roc 2011-08-11 14:23:00 +10:00
Paul ADENOT
e82199ff00 Bug 462892 - Add a mIsSynthetic member to nsIDocument r=roc 2011-08-09 08:35:00 -04:00
Jan Varga
a298beaa2e Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Sindre Dammann
b3a565e7c0 Bug 578534. Make Navigator.cookieEnabled take per-site exceptions into account. r=bzbarsky 2011-08-03 14:32:32 -04:00
Henri Sivonen
21d32e82f3 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Henri Sivonen
7c13c0d93c Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky. 2011-07-29 14:48:04 +03:00
Marco Bonardo
8dd73f97b5 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
arno renevier
8ed39834bd Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Ehsan Akhgari
a67d9bdc60 Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky
This patch fixes two things:
 * The intrinsic state on elements inserted in a contenteditable section when the
   document is in designMode (the nsGenericElement::UpdateEditableState change).
 * The intrinsic state on elements existing in the document when the document first
   enters designMode (the nsHTMLDocument::EditingStateChanged change).

The reftest included tests both cases.
2011-07-20 15:58:25 -04:00
Ehsan Akhgari
f86a19e699 Bug 671672 - Reduce a bunch of console spam in debug builds caused by the HTML editor; r=roc 2011-07-14 17:06:37 -04:00
Ms2ger
8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Michael Ventnor
696bb6cdcd Followup to bug 528046 r=roc 2011-07-08 13:38:58 +10:00
Vishnu S
1af956ad4d Bug 636512 - Make document.getSelection() return the same as window.getSelection(). r=bzbarsky 2011-07-07 14:17:13 -04:00
Michael Ventnor
c8b8f837a5 Bug 528046 - Fix printing of tall images in image documents r=jst 2011-07-07 14:04:04 +10:00
Jonas Sicking
f7e72db3bc Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Igor Bazarny
3885bce98f bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Mounir Lamouri
04a1589976 Bug 655240 - Trying to fix intermittent failure in content/html/document/test/test_bug448564.html f=ehsan r=sicking 2011-06-23 12:03:18 +02:00
Jonas Sicking
0cd6950325 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Ms2ger
e369dd9f77 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02:00
Jonas Sicking
e3e6dd6825 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Bjarne
5e9b87d7d6 Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz 2011-06-05 18:20:53 +02:00
Ms2ger
338feb1384 Bug 660669 - Remove nsHTMLDocument::OpenCommon; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
471e6d31d0 Bug 660604 - Remove nsIHTMLDocument::GetBodyContentExternal; r=jst 2011-06-02 14:56:46 +02:00
Boris Zbarsky
0cc4f9cbde Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
b26e5d06c1 Bug 657353 part 2. Switch content state updates away from calling Begin/EndUpdate. r=sicking 2011-05-31 17:38:25 -04:00
Robert O'Callahan
ea66c639a5 Bug 646757. Fix faulty test for bug 463104. 2011-05-31 12:26:36 +12:00
Ms2ger
df63bccfbe Bug 659738 - Move document.open implementation from classinfo to nsHTMLDocument; r=bz 2011-05-30 13:35:55 +02:00
Boris Zbarsky
c047325b54 Bug 658213. Just pass an JSContext to ReparentContentWrappersInScope. r=peterv 2011-05-19 16:05:46 -04:00
Ms2ger
15bf6d64e2 Bug 659743 - Part a: Support image maps according to spec in non-HTMLDocuments; r=smaug
--HG--
rename : content/html/content/test/test_bug109445.xhtml => content/html/content/test/test_bug659743.xml
2011-05-30 12:59:59 +02:00
Masayuki Nakano
4a5030c91a Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Ms2ger
86b93bb1ab Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
e5cf1395fc Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Masayuki Nakano
60459f3de7 Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
c1ab9c6d97 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
3f360020b4 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Ms2ger
39c72cc360 Bug 577138 - Move nsMediaDocument and subclasses into the mozilla::dom namespace; r=jst
--HG--
rename : content/html/document/src/nsImageDocument.cpp => content/html/document/src/ImageDocument.cpp
rename : content/html/document/src/nsMediaDocument.cpp => content/html/document/src/MediaDocument.cpp
rename : content/html/document/src/nsMediaDocument.h => content/html/document/src/MediaDocument.h
rename : content/html/document/src/nsPluginDocument.cpp => content/html/document/src/PluginDocument.cpp
rename : content/html/document/src/nsVideoDocument.cpp => content/html/document/src/VideoDocument.cpp
2011-05-26 10:06:31 +02:00
Masayuki Nakano
7b13fbd2d9 Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Masayuki Nakano
caee4cc73f Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Chris Leary
3400d7a2e7 Merge mozilla-central and tracemonkey. 2011-05-20 14:29:36 -07:00
Zack Weinberg
566c8cf306 Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
e852e1fb26 Bug 541496 part 1: add an overload of nsCSSParser::Parse() that takes a string rather than a stream; rename both methods ParseSheet(); change calling convention of the older overload for the templated implementation's sake. r=bzbarsky 2011-05-18 21:22:59 -04:00
Mounir Lamouri
513d0ca1d6 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ehren Metcalfe
909c404713 Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Chris Leary
4fef967f20 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Josh Aas
669eb04ac7 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Timothy Nikkel
e0ca8544d7 Backed out changeset ed867467d35b (bug 645075) because it doesn't build. 2011-05-12 11:07:42 -05:00
Timothy Nikkel
603ea21d74 Bug 645075. Move scrolling to ref handling back from the document to the content sink so that it works with XSLT transformed documents. r=sicking 2011-05-12 10:36:21 -05:00
Henri Sivonen
dbad8bb32b Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Ms2ger
f70d867b0e Bug 655512 - Forward implementation of nsIDOMDocument from nsHTMLDocument to nsDocument; r=smaug 2011-05-08 20:15:49 +02:00
Craig Topper
c3d4c659c7 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
Ms2ger
31e3e8c5d1 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Leary
0e34a9857c Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
36481bff9a Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Peter Van der Beken
66ada9b2d0 Fix for bug 649057 (Make all nsINodeLists inherit from nsWrapperCache). r=bz.
--HG--
extra : rebase_source : 38dc8fd49822774a1ee356ab8496e2c0b908bab9
2009-06-16 08:32:10 +02:00
Ehsan Akhgari
67e7a42892 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
540ca93080 Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Jonas Sicking
e2fee3941f Bug 588990: Remove lazy hashing of names to avoid walking full DOM. r=bz 2011-04-23 00:29:12 -07:00
Mounir Lamouri
84203d9e11 Merge cedar with mozilla-central. 2011-04-22 15:25:11 +02:00
Ms2ger
cd69014034 Bug 619998 - Remove support for Document.strictErrorChecking; r=sicking 2011-04-22 10:38:37 +02:00
David Zbarsky
a0b813679f Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
2af4853be5 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky
732897cc3f Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Dão Gottwald
9291640652 Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Ms2ger
4020e44b1f Bug 585877 - Remove support for document.width and document.height; r=jonas sr=jst
* * *
try: -b do -p all -u mochitest-o -t none
2011-04-17 10:57:17 +02:00
Ms2ger
55fe3dd1ff Bug 619997 - Remove support for Document.renameNode; r=sicking 2011-04-16 11:14:09 +02:00
Ms2ger
2f5cab79a0 Bug 615509 - Remove nsIDOMDOMConfiguration, Document.domConfig; r=sicking 2011-04-15 16:06:55 +02:00
Ehsan Akhgari
64f49c06b3 Bug 649566 - @keyframe(s) missing from <style> sanitizing code in nsHTMLFragmentContentSink; r=bzbarsky 2011-04-13 18:12:32 -04:00
Ms2ger
dcca90ed82 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Ms2ger
473cebda59 Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Ms2ger
0dc0e7cbc8 Bug 619996, part a: Remove unnecessary inclusions of and references to nsISelectElement.h; r=bz 2011-04-12 14:31:59 +02:00
L. David Baron
d941f41200 Clean up handling of CSSOM modifications to rules that are non-child descendants of a sheet. (Bug 435442, patch 3) r=bzbarsky
This fixes handling of a number of cases:
 1. Modifications to a style rule inside a group rule now trigger
    GetRuleCascades.
 2. A sheet that has been (potentially) modified is reliably marked as
    such, and thus never cloned.
2011-04-11 23:18:43 -07:00
Peter Van der Beken
75ba54d84d Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Boris Zbarsky
0c4dcda0db Bug 581177 part 6. Make 'has name' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Ehsan Akhgari
2cc302e02c Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
cccdef8b2f Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
bd51cb9b94 Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Boris Zbarsky
c634f43209 Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Ms2ger
415741f594 Bug 581644 - Make nsHTMLDocument::GetImageMap return dom::Element; r=peterv 2011-03-28 12:51:59 -04:00
Ehsan Akhgari
23834c2daf Merge mozilla-central into cedar 2011-03-26 12:21:39 -04:00
Ms2ger
afb8ed489f Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Ms2ger
f97acd7317 Bug 587469 - Remove an image map quirk; r=mats 2011-03-26 11:59:54 -04:00
L. David Baron
3e524dfc64 Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
Ehsan Akhgari
7a74f6a5b4 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Craig Topper
c96353bbd5 Bug 576831 part 6. DeCOMtaminate some StyleRule method signatures. r=bzbarsky. 2011-03-10 21:50:20 -05:00
Craig Topper
678b9c7c11 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
hsivonen@iki.fi
67cd6457cb Remove the Hotmail-specific hack that forces the old parser for document.open() (bug 636692, r=bz, a=blocker). 2011-03-02 13:15:02 -08:00
Boris Zbarsky
6ef394f4fb Bug 601332. Go back to allowing FOUC on document.written documents. r=jst 2011-03-23 10:45:21 -04:00
Ehsan Akhgari
5657a05c07 Bug 609551 - Move the operations which happen at the script global scope before the document load to the point where the document is fully loaded; r=roc a=test-only 2011-03-12 00:34:56 -05:00
Henri Sivonen
4734b8d364 Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst. 2011-02-25 18:23:02 +02:00
Henri Sivonen
0f9a6ac204 Bug 627729 - Force the old HTML parser for document.open()ed documents whose host name ends with ".mail.live.com". r=bzbarsky, a=blocking2.0-final. 2011-02-26 10:57:00 +02:00
Kyle Huey
d320742fb3 Bug 631421: Teach nsImageDocument to say the magic password to nsImageLoadingContent::RemoveObserver. r=jst a=b 2011-02-20 09:40:45 -05:00
Mounir Lamouri
a2b5d8fea5 Bug 629845 (1/2) - Don't make nsHTMLDocument::EditingStateChanged fails if BeginningOfDocument fails. r=ehsan a=blocking-final 2011-02-11 01:59:37 +01:00
timeless@mozdev.org
fd89114bd0 Bug 586603 HTMLContentSink::BeginContext should null check mCurrentContext before creating sc
r=smaug
2011-03-22 11:17:44 -04:00
timeless@mozdev.org
496a26b3a9 Bug 586606 NS_NewHTMLParanoidFragmentSink should nsHTMLParanoidFragmentSink::Init before allocating
r=smaug
2011-03-22 11:17:31 -04:00
Boris Zbarsky
4193bc442a Bug 613595. Speed up the cache-hit case for getElementsByTagName. r=peterv 2010-11-23 14:10:56 -05:00
Johnny Stenback
da948a1fbe Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker 2011-01-31 20:50:01 -08:00
Hiroyuki Ikezoe
9a7311e6af Bug 559932 - intermittent content/html/document/test/test_bug445004.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - uri.match(/^http:\/\/([a-z.0-9]*)/) is null; r=bzbarsky a=test-only
--HG--
extra : rebase_source : 98485b1b2582aef9749377c736f59d2352e1ea78
2011-01-26 13:52:10 -05:00
Hiroyuki Ikezoe
75b49d3b9a Bug 628452: Fix invalid tag in test_bug445004.html. r=bz a=tests 2011-01-24 22:38:10 -08:00
Ehsan Akhgari
a995f8eace Bug 622371 - Only set the selection to the beginning of the editable document if the editor is being initialized by entering designMode; r=bzbarsky a=blocking-final+ 2011-01-06 17:13:51 -05:00
Boris Zbarsky
670b84a67f Bug 589615 part 1. Get rid of the non-HTML preshint level. r=dbaron 2011-01-14 21:14:41 -05:00
Ehsan Akhgari
c740c0cd64 Bug 620906 - Back out part of bug 289384 to make sure that scrollbars work in CKEditor fields again; r=roc a=blocking-final+ 2011-01-11 16:00:44 -05:00
Robert O'Callahan
63abe0192f Bug 615794. Part 3: Snap bounds of border and background display items to pixels if we're sure they will be snapped. r=tnikkel a=blocking 2011-01-04 23:39:47 +13:00
Mihai Sucan
0a28951aa6 Bug 603706 - Need a way to track the originating window for all nsIConsoleMessages; r=joe,bzbarsky, a=blocking2.0 2010-12-20 12:21:59 -04:00
Mihai Sucan
743a3b1798 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 3; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:59 -04:00
Mihai Sucan
116aa5fbdc Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Robert Sayre
69e34a1776 Properly check attribute URLs -- Bug 562547, r=jst, a=blocking2.0
Do not inherit principal from embedding doc (often chrome) when checking URIs,
but use NullPrincipal for untrusted content.
2010-12-15 18:14:11 +01:00
Ehsan Akhgari
3f59fe5bf3 Bug 616590 - Prevent documents loaded in mail editors to set up their own editors using the designMode or contentEditable APIs; r=bzbarsky a=blocking-final+ 2010-12-06 14:27:14 -05:00
Ehsan Akhgari
39981a468e Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+ 2010-11-24 13:31:52 -05:00
Ehsan Akhgari
c0d8e6d24f Bug 615450 - Prevent the reinitialization of the HTML editor while an editor operation is in progress on a document; r,a=roc
This should prevent crashes, update view count and edit action nesting count mismatches, and more!

--HG--
extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
2010-11-30 23:21:32 -05:00
Kyle Huey
c0aeb77991 Bug 614403: Make nsPluginDocument QI to its CC participant. r=peterv a=b:final 2010-12-02 11:19:37 -05:00
Kyle Huey
e49473a079 Bug 614401: Make nsImageDocument QI to its CC participant. r=peterv a=b:final 2010-12-02 11:18:51 -05:00
Henri Sivonen
0f8fe8c54a Bug 608373 - Do not call document.close() when stopping a script-created document load; flush tree ops when the parser exhausts the stream in the script-created case. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : c4f51cc0d40db3495ba6f56fc72f3afb2da70abd
2010-11-16 09:48:30 +02:00
Henri Sivonen
01fa16e8c5 Bug 592656 part 1 - Use the current parser-inserted script as the insertion point key. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : 92320d48b27c984e25c72be6dafbaef9d6133038
2010-09-06 10:41:26 +03:00
Ehsan Akhgari
f576d21989 Bug 551704 - Part 4: Set the selection to the beginning of the document when we're entering the design mode; r=bzbarsky a=blocking-betaN+ 2010-11-08 18:30:28 -05:00
Ehsan Akhgari
e8a5ffb557 Bug 372345 - Part 3: Some cleanup code, followup to the first part; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : c2dd67652939e1e9a26a3f0d2671b2b49c32d4d9
2010-11-04 15:00:35 -04:00
Ehsan Akhgari
1db3d2eb9f Bug 372345 - Part 2: Port the fix from bug 289384 to make sure that the editor gets reconstructed correctly when navigating back to an editable page; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : 6f92f02d129ca03b6171377eaf6b37a4a9a3325b
2010-10-31 16:10:22 -04:00
Ehsan Akhgari
b52e0d11eb Bug 372345 - [Midas] text cursor overrides CSS mouse cursor styles for some elements; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : 502e9561f1a91464b8de502eb44098ab126d3930
2010-10-29 12:30:15 -04:00
Ms2ger
68fe250adb Bug 582712 - Remove nsHTMLDocument::TryBookmarkCharset; r=bz a=bsmedberg 2010-11-05 11:57:10 +01:00
Ms2ger
a495819ba2 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Mounir Lamouri
8bb5d45783 Bug 573524 - Try to run the test on load to see if it fixes the intermittent orange; r=ehsan a=test-only 2010-10-30 01:31:45 +02:00
Michal Novotny
cb302b8fbb Bug 561085 - Make wyciwyg channel work in e10s. r=dwitte sr=biesi
--HG--
rename : content/html/document/public/nsIWyciwygChannel.idl => netwerk/protocol/wyciwyg/nsIWyciwygChannel.idl
rename : content/html/document/src/nsWyciwygChannel.cpp => netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp
rename : content/html/document/src/nsWyciwygChannel.h => netwerk/protocol/wyciwyg/nsWyciwygChannel.h
rename : content/html/document/src/nsWyciwygProtocolHandler.cpp => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp
rename : content/html/document/src/nsWyciwygProtocolHandler.h => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.h
2010-10-11 13:35:10 +02:00
Ehsan Akhgari
7ef8bdbec1 Bug 604332 - Whitelist attribute names beginning with "_" when pasting HTML into an editable field; r,a=roc 2010-10-18 13:59:34 -04:00
Mats Palmgren
b2fbbfc306 Bug 601422 - Crash [@ nsImageDocument::ShrinkToFit] in removed frame. r=Olli.Pettay a=jst 2010-10-15 06:03:33 +02:00
Timothy Nikkel
4e9e63ad22 Bug 593491. Add some debugging output to try to diagnose random orange. 2010-10-14 20:03:45 -05:00
Johnny Stenback
13e55b3788 Bug 580128. Make the editor hold on to the window it's operating on in nsHTMLDocument::EditingStateChanged() so that the window doesn't go away in the middle of this method. r=peterv@propagandism.org 2010-10-10 15:46:10 -07:00
Jesse Ruderman
432a43d261 Bug 579244 - attempt to fix an intermittent test timeout by ensuring that onload fires. a=NPOTB 2010-09-24 11:22:30 -07:00
Ehsan Akhgari
c821fda530 Bug 598105 - Support the HTML5 data-* attributes in the sanitizing fragment sink; r,a=bzbarsky
--HG--
extra : rebase_source : a76a2f8eab3452d054de86d08da885bc875a7fbb
2010-09-20 17:32:24 -04:00
Jonas Sicking
f827ce02de Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
David Zbarsky
89c048f952 Bug 499656. Make nsContentList have dual atoms (original case and lowercase) so that we can match non-HTML elements in HTML documents correctly. r=sicking 2010-08-31 19:47:00 -07:00
Neil
89fca67314 Bug 596237 - [SeaMonkey 2.1] TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/content/html/document/test/browser_bug592641.js; r=bobbyholley a=NPOTB 2010-09-14 15:48:46 -04:00
Bobby Holley
f60905754e Bug 592641 - Tests.r=Neil,a=tests 2010-09-12 08:22:26 -07:00
Bobby Holley
56fe0aff47 Bug 592641 - Image document doesn't show dimensions of cached images.r=Neil,a=blocker 2010-09-12 08:22:26 -07:00
Timothy Nikkel
62acd08cbd Bug 593491. Add some debugging output to diagnose intermittent orange. 2010-09-11 13:24:49 -05:00
Dan Witte
f9582851af Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte
3784e67919 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Dan Witte
5306a8f553 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Ms2ger
81adde64b8 Bug 585877 - Add a warning for document.width and document.height; r=sicking a=jst 2010-08-27 13:44:28 +02:00
Dan Witte
0f002d9441 Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+ 2010-08-25 17:51:21 -07:00
Dan Witte
454e26f2b0 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+ 2010-08-21 00:31:11 -07:00
Gavin Sharp
a9b7f47835 Backed out changeset 43b490ef9dab (bug 585877), a=beltzner 2010-08-17 15:27:06 -04:00
Ms2ger
8b767d3905 Bug 585877 - remove document.height / document.width. r=sicking, sr=jst 2010-08-15 11:02:20 +02:00
Boris Zbarsky
ce3034c6f7 Bug 564652. Make sure to flush out restyles on our parent before checking for a presshell. r=dbaron 2010-08-13 14:44:39 +12:00