Commit Graph

1978 Commits

Author SHA1 Message Date
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Matt Woodrow
9d7dd64918 Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe 2011-04-21 16:38:39 +12:00
Timothy Nikkel
8e6d2ba938 Backed out changeset ed867467d35b (bug 645075) because it doesn't build. 2011-05-12 11:07:42 -05:00
Timothy Nikkel
41f2c9b7d4 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
4fe663e3bc Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Chris Pearce
83fc85f024 Bug 655648 - Go to readyState HAVE_ENOUGH_DATA if resource is fully loaded at loadeddata state. r=roc 2011-05-12 14:02:34 +12:00
Mats Palmgren
9b597207cc Bug 649134 - Add a comment explaining the extra subdirectory for the test. r=me 2011-05-11 18:49:57 +02:00
Mats Palmgren
691c173afd Bug 649134 - Ignore an empty or whitespace only href in the Link HTTP header. r=bzbarsky 2011-05-11 11:46:59 +02:00
Mats Palmgren
2e345f50e8 Bug 649134 - Ignore an empty or whitespace only <link> href. r=bzbarsky 2011-05-11 11:46:59 +02:00
Mounir Lamouri
6f77bd7c3d Bug 633913 - Add a pseudo-class to access indeterminate <progress> elements. r=bz 2011-05-04 16:53:17 +02:00
Mounir Lamouri
a5c69ab82a Bug 514437 - Tests for progress element (content part). r=smaug 2011-04-20 13:05:59 +02:00
Mounir Lamouri
7211c91c57 Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Matt Brubeck
1b17575132 Back out changeset bfb48178c8ec (finish backing out bug 514437) to fix tests on a CLOSED TREE. 2011-05-09 19:38:05 -07:00
Shawn Wilsher
f8feb2aafd Merge for back out tracked by bug 655860. Also backs out bug 654990 because it depends on bugs in the back out range. 2011-05-09 15:52:44 -07:00
Shawn Wilsher
259bae0699 Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860. 2011-05-09 15:48:39 -07:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Mounir Lamouri
e4b3883c74 Bug 633913 - Add a pseudo-class to access indeterminate <progress> elements. r=bz 2011-05-04 16:53:17 +02:00
Mounir Lamouri
9841889de9 Bug 514437 - Tests for progress element (content part). r=smaug 2011-04-20 13:05:59 +02:00
Mounir Lamouri
dd977ba6ef Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Chris Pearce
8b87c69da8 Bug 566779 - Don't move media to readyState HAVE_ENOUGH_DATA when resource loaded, if metadata not loaded yet r=roc 2011-05-09 09:10:44 +12:00
Ms2ger
b0ed41d802 Bug 655512 - Forward implementation of nsIDOMDocument from nsHTMLDocument to nsDocument; r=smaug 2011-05-08 20:15:49 +02:00
Craig Topper
cc15a2a6e3 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
Boris Zbarsky
162c571d02 Bug 614171 part 4. Eliminate nsINodeInfo::GetLocalName in favor of GetName. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
288e7c4072 Bug 614171 part 2. Cache the qualified name, in normal and corrected case, on the nsINodeInfo. r=sicking 2011-05-05 12:26:32 -04:00
Boris Zbarsky
885c07dc20 Merge cedar with mozilla-central 2011-05-04 13:58:26 -04:00
Mounir Lamouri
27b0510f87 Bug 641720 - Make nsHTMLInputElement::GetRadioGroupContainer saner. r=sicking,bz 2011-05-04 14:49:59 +02:00
Mounir Lamouri
15cbf347cf Backout f68a9bfc9bfd (bug 641720). 2011-05-04 14:53:06 +02:00
Mounir Lamouri
fba6327793 Bug 639490 - Remove nsHTMLInputElement::GetNameIfExists. r=sicking 2011-05-04 14:46:09 +02:00
Mounir Lamouri
b8dfaebbb5 Bug 641720 - Make nsHTMLInputElement::GetRadioGroupContainer saner. r=sicking,bz 2011-05-04 14:45:47 +02:00
Chris Pearce
ed9ece16c8 Bug 600020 - Don't dispatch error events for media loads on cancelled channels. r=roc 2011-05-04 14:43:48 +12:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Mounir Lamouri
6a301536c7 Merge cedar with mozilla-central. 2011-04-29 16:19:07 +00:00
Mounir Lamouri
2b24e1f8fe Bug 651075 - Make content/html/content/test/test_bug386496.html non flaky. r=ehsan 2011-04-29 12:23:23 +00:00
L. David Baron
b712774643 Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky 2011-04-28 10:21:37 -07:00
Olli Pettay
52d1607b54 Bug 653420 - nsHTMLMediaElement should traverse/unlink mSourceLoadCandidate, r=chris@pearce.org.nz?
--HG--
extra : rebase_source : fa3e87f031dced4391e2caa83541d1c85ecb62c9
2011-04-28 17:08:03 +03:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
338cf025af Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Peter Van der Beken
d007f2048d 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
Bas Schouten
027fa3f061 Bug 651858 - Part 8: Expose azure on/off state from gfxInfo. r=joedrew 2011-06-24 19:41:18 +02:00
Bas Schouten
001a090937 Bug 651858 - Part 7: Allow choosing the Azure canvas implementation. r=roc 2011-06-24 19:41:18 +02:00
Ehsan Akhgari
d2a61eb331 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
Boris Zbarsky
f42dda77b2 Bug 649997 followup. Don't return uninitialized rv. Caught by ms2ger 2011-04-25 15:15:28 -04:00
Boris Zbarsky
d7fa626f0b Bug 649997 part 3. Change nsIHTMLCollection::GetNamedItem to not use an nsresult outparam. r=peterv 2011-04-25 13:46:59 -04:00
Boris Zbarsky
ed02e974ea Bug 649997 part 2. Change nsIHTMLCollection::GetNodeAt to not use an nsresult outparam. r=peterv 2011-04-25 13:46:57 -04:00
Boris Zbarsky
8392780a01 Bug 649997 part 1. Stop touching rv in DO_FOR_EACH_ROWGROUP on table rows collections. r=peterv 2011-04-25 13:46:51 -04:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Jonas Sicking
5cf82091f0 Bug 588990: Remove lazy hashing of names to avoid walking full DOM. r=bz 2011-04-23 00:29:12 -07:00
Masayuki Nakano
cc0623b6e3 Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky 2011-04-23 14:16:41 +09:00
Mounir Lamouri
db44db0ebe Merge cedar with mozilla-central. 2011-04-22 15:25:11 +02:00
Mounir Lamouri
21e3015a9f Bug 651079 - Use addLoadEvent instead of <body onload=""> in content/html/content/tests/. r=ehsa 2011-04-22 11:17:25 +02:00
Ms2ger
4c31d5c78f Bug 619998 - Remove support for Document.strictErrorChecking; r=sicking 2011-04-22 10:38:37 +02:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
1cbc3af87e Bug 651077 - Make content/html/content/test/test_bug209275.xhtml and content/html/content/test/test_bug481335.xhtml non flaky. r=ehsan 2011-04-20 11:45:54 +02:00
Mounir Lamouri
666763de1d Bug 651078 - Make content/html/content/test/test_bug613113.html non flaky. r=ehsan 2011-04-20 11:45:19 +02:00
Chris Pearce
ff19a13fe9 Bug 593305 - Don't assert that media load isn't delaying the document load event at start of resource load. r=roc 2011-04-20 13:16:40 +12:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Ehsan Akhgari
6d0857c194 Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
--HG--
extra : rebase_source : 88fc16ca38ded79ca87bb861dc4cef92a69dd548
2011-04-16 19:39:34 -04:00
Mounir Lamouri
7ccf5d6ca3 Bug 650629 - Clean up and fixes tests landed with bug 583514. r=ehsan 2011-04-18 11:25:52 +02:00
Dão Gottwald
4ac8291c1d 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
Phil Ringnalda
e246a13e51 Bug 650602 - Annotate content/html/content/reftests/583514-1.html as failing on Android, since it does 2011-04-16 23:37:56 -07:00
Ms2ger
c0773e39d2 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
c50cc444cc Bug 619997 - Remove support for Document.renameNode; r=sicking 2011-04-16 11:14:09 +02:00
Ms2ger
da588aa293 Bug 615509 - Remove nsIDOMDOMConfiguration, Document.domConfig; r=sicking 2011-04-15 16:06:55 +02:00
Ehsan Akhgari
f9088e8fe4 Bug 649566 - @keyframe(s) missing from <style> sanitizing code in nsHTMLFragmentContentSink; r=bzbarsky 2011-04-13 18:12:32 -04:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Ms2ger
330bb49437 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Ms2ger
6ee0b2b1da Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Chris Pearce
a259c20cba Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Mounir Lamouri
bb311bd679 Bug 635749 - Don't assume we can press ENTER on an <input type='file'> to submit a form. r=bz,smaug
--HG--
extra : rebase_source : 85b73e61002ebc3c68cfff3363afb29b448c6121
2011-04-13 12:43:34 -07:00
Ehsan Akhgari
3b68afadb4 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00
Ehsan Akhgari
21594f846d Bug 637671 - Don't display the selection for a non-focused text element when restoring the selection state after a reframe; r=bzbarsky 2011-04-11 22:03:50 -04:00
Mounir Lamouri
500e4eacd5 Bug 586298 - Move nsRadioVisitor and its children to nsRadioVisitor.{h,cpp} and remove radio visitor factories. r=sicking 2011-04-11 11:31:00 -07:00
Mounir Lamouri
a8a9b2428d Bug 640978 - Various clean-ups to nsIRadioVisitor and its children. r=peterv 2011-04-11 11:24:18 -07:00
Christian Biesinger
040a8153c7 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-11 16:26:11 -07:00
Ehsan Akhgari
4153f12b55 Bug 617539 - Remove nsIEditor_MOZILLA_2_0_BRANCH; r=roc 2011-04-11 16:00:32 -04:00
David Zbarsky
aa301d629c Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-11 18:56:37 +02:00
Jonathan Kew
55114c659a merge backout of bug 585152 2011-04-13 14:35:39 +01:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Mounir Lamouri
6a3e0e4fb2 Bug 519592 - Attempt to fix intermittent failure in content/html/content/test/test_bug514856.html. r=ehsan 2011-04-12 23:34:02 -07:00
Mounir Lamouri
e0ce9b1f89 Bug 641352 - Add nsHTMLTextAreaElement::IsValueEmpty() const. r=bz 2011-04-12 23:33:01 -07:00
Ms2ger
fbdb643f9b Bug 619996, part g: Kill nsISelectElement; r=bz 2011-04-12 14:32:01 +02:00
Ms2ger
8eb4c9e4bd Bug 619996, part e: make nsSafeOptionListMutation::mSelect a nsHTMLSelectElement; r=bz 2011-04-12 14:32:00 +02:00
Ms2ger
65df88b847 Bug 619996, part c: stop using QueryInterface on nsHTMLOptionElement::GetSelect's return value; r=bz 2011-04-12 14:32:00 +02:00
Ms2ger
038d6657ef Bug 619996, part b: make nsHTMLOptionElement::GetSelect return nsHTMLSelectElement; r=bz 2011-04-12 14:32:00 +02:00
Ms2ger
bb2faf4a3d Bug 619996, part a: Remove unnecessary inclusions of and references to nsISelectElement.h; r=bz 2011-04-12 14:31:59 +02:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
52ee86d378 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
L. David Baron
a9d44dc761 Backout changeset b48ebf9695bb for causing failures in layout/generic/test/test_selection_expanding.html . 2011-04-12 00:11:58 -07:00
Ehsan Akhgari
7d370425b0 Bug 637671 - Don't display the selection for a non-focused text element when restoring the selection state after a reframe. r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
b149cd157b 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
Paul Biggar
c0aeeea187 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Peter Van der Beken
afdf1551f1 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
Ehsan Akhgari
1bf12a739b Backout changeset 4910cd19bc9a (Bug 583514) because it breaks the build as a result of incompatibility with the patches for bug 581177 2011-04-08 07:35:40 -07:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
David Zbarsky
7e54902b80 Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-07 21:52:08 -07:00
Boris Zbarsky
a63405c419 Bug 581177 part 7. Make 'may have contenteditable attr' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Boris Zbarsky
f0517db35a Bug 581177 part 6. Make 'has name' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Mats Palmgren
7bc245e495 Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
Ehsan Akhgari
fc408ed65e Backout changeset 88eb5b5bb5d2 (bug 583514) because of reftest orange 2011-04-02 07:55:52 -04:00
David Zbarsky
ca29061d7e Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-01 18:50:58 -04:00
Ehsan Akhgari
73dd5db57d 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
49fceed112 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
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Pearce
48f5b7cc07 Bug 641718 - Backout 44d43f095a4f. r=backout 2011-04-01 13:02:20 +13:00
Chris Pearce
526f101e8a Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-01 11:10:49 +13:00
Robert O'Callahan
c6e4498a20 Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.

The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).

This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Ehsan Akhgari
a0f4acae30 Merge cedar into mozilla-central 2011-03-30 13:53:35 -04:00
Simon Montagu
be96a9dc94 Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
Ms2ger
bf7288aa6e Bug 630511 - Lowercase mime type argument to toDataURL; r=sicking 2011-03-29 22:24:53 -04:00
Ms2ger
94eeb9d959 Bug 641219 - Fix HTMLElement.getElementsByTagName with foreign children; r=sicking 2011-03-29 22:24:53 -04:00
Ehsan Akhgari
ca0a27ab24 Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
Boris Zbarsky
0a7e20bbec Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
L. David Baron
2131a8f272 Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky 2011-03-28 16:07:26 -07:00
Jonas Sicking
ca53c7c13a Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug 2011-03-28 13:18:45 -07:00
Ehsan Akhgari
db0e06d061 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Robert O'Callahan
4ca813ae6e Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.

The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).

This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Ms2ger
cda8ae48ca Bug 587469 - Remove an image map quirk; r=mats 2011-03-26 11:59:54 -04:00
Ms2ger
e1e1dbb813 Bug 585933 - Only implement HTMLUnknownElement on unknown elements; r=jonas,smaug
--HG--
rename : content/html/content/src/nsHTMLSpanElement.cpp => content/html/content/src/nsHTMLUnknownElement.cpp
2011-03-26 11:58:55 -04:00
Ehsan Akhgari
73a35597a9 Merge mozilla-central into cedar 2011-03-28 14:39:03 -04:00
Ms2ger
82697a892d Bug 581644 - Make nsHTMLDocument::GetImageMap return dom::Element; r=peterv 2011-03-28 12:51:59 -04:00
Ehsan Akhgari
f4575bfe5e 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
Benjamin Smedberg
f16e230ee4 Bug 617539 - Fold in nsIDOMHTMLSelectElement_Mozilla_2_0_Branch, r=smaug 2011-03-25 11:03:35 -04:00
Mounir Lamouri
77361d1f11 Bug 636750 (4/4) - s/float/double/g on few methods/enums/variables. r=bz sr=sicking 2011-03-25 15:43:53 +01:00
Mounir Lamouri
3e3658025e Bug 636750 (3/4) - Use a double value instead of a float in nsAttrValue::MiscContainer. r=bz 2011-03-25 15:43:40 +01:00
Mounir Lamouri
555701d032 Bug 633058 - Satchel should not stop events propagations. r=dolske 2011-03-25 12:30:36 +01:00
Mounir Lamouri
5c636d8313 Bug 610212 - canvas.width and canvas.height should be reflected as unsigned int. r=jst 2011-03-25 12:40:55 +01:00
Mounir Lamouri
ac7a700dc6 Bug 640946 - Add a method to nsIFormControl to know if a form control can have draggable children. r=smaug 2011-03-24 15:55:32 +01:00
Mounir Lamouri
c1af012c99 Bug 563669 - Move nsGenericHTMLFormElement::AcceptAutofocus to nsIFormControl. r=smaug 2011-03-24 16:10:42 +01:00
Mounir Lamouri
bdebc24a2b Bug 641409 - Move methods using only using GetType from nsGenericHTMLFormElement to nsIFormControl. r=bz 2011-03-24 17:06:58 +01:00
L. David Baron
65ba1c0595 Merge layout work from projects/birch, part 3. a=smaug 2011-03-24 08:38:19 -07:00
Mounir Lamouri
700ff02968 Bug 639175 - Do not throw an exception when select.size is set to 0. r=smaug 2011-03-24 12:49:19 +01:00
Mounir Lamouri
7729756851 Bug 630889 - textarea.rows and textarea.cols should be unsigned long and limited to only non-negative numbers greater than zero. r=smaug 2011-03-24 13:04:23 +01:00
L. David Baron
9cd361a5d0 Remove support for the variable attribute on the HTML pre element. (Bug 642227) r=bzbarsky 2011-03-17 20:14:32 -07:00
L. David Baron
019db3ab80 Convert custom style rules to property getters instead of accessing struct members. (Bug 636039, patch 8) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
77e8bd5e22 Convert attribute mapping functions to property getters instead of accessing struct members. (Bug 636039, patch 7) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
4e2ed0d43c Fix error in CSS vs. HTML precedence for the variable atttribute on the pre element. (Bug 636039, patch 6) r=bzbarsky 2011-03-17 20:14:30 -07:00
Mounir Lamouri
f65b113add Bug 640963 - Add nsHTMLInputElement::IsValueEmpty() const. r=bz 2011-03-12 02:07:34 +01:00
Craig Topper
d52db340a6 Bug 576831 part 6. DeCOMtaminate some StyleRule method signatures. r=bzbarsky. 2011-03-10 21:50:20 -05:00
Craig Topper
72d7c1f754 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
Mounir Lamouri
8d00fff243 Bug 585097 - Add a GetValue() const to nsHTMLInputElement and make some other methods const. r=bz 2011-03-09 19:25:20 +01:00
L. David Baron
802da587ae Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
Ehsan Akhgari
7804c38300 Merge mozilla-central into cedar, in order to import work targetted at Firefox 4 into the tree 2011-03-23 19:18:30 -04:00
Ehsan Akhgari
ca95c68a1e Merge mozilla-central into cedar 2011-03-23 18:29:19 -04:00
Chris Pearce
a77b17534e Bug 628665 - Buffer media when low on undecoded data. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
369aa52ce4 Bug 628665 - Fire a 'waiting' event when play() is called on a media element with readyState HAVE_NOTHING. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
c285d2e2af Bug 580531 - Implement HTMLMediaElement.mozPaintedFrames and mozFrameDelay. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce ext:(%2C%20Chris%20Double%20%3Cchris.double%40double.co.nz%3E)
a74080606c Bug 580531 - Add video demuxing/decoding stats. r=kinetik sr=roc 2011-03-24 11:28:57 +13:00
Ehsan Akhgari
47cf269311 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
Ehsan Akhgari
23d6dd6588 Back out changeset 905ba2a1095a (bug 597525) because it breaks accessibility tests 2011-03-22 17:42:45 -04:00
L. David Baron
31bb14549e Remove tracking of whether the font family comes from HTML, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
Ehsan Akhgari
c9056fbe7c Bug 638276 - Correct the name of the member variable in the comment for the nsTextEditorState class; a=doh!
CLOSED TREE DONTBUILD
2011-03-02 18:36:36 -08:00
hsivonen@iki.fi
7bf44fded1 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
fe21f6185a Bug 636336. Don't mess with whitespace in the src attribute of images, now that necko can deal with it itself. r=sicking 2011-03-23 10:45:21 -04:00
Boris Zbarsky
aa3762bd36 Bug 601332. Go back to allowing FOUC on document.written documents. r=jst 2011-03-23 10:45:21 -04:00
Ehsan Akhgari
21d69946e2 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
Mounir Lamouri
7bd454cbb0 Bug 637321 - Fix tests that try to use the 'telephone' input type instead of 'tel'. r=bz a=tests 2011-03-01 16:04:01 +01:00
Ehsan Akhgari
c06813a2c5 Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary; r=roc 2011-03-11 00:40:31 -05:00
Henri Sivonen
5bc865c4b0 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
25669709c5 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
Mounir Lamouri
244dad67e9 Bug 635008 (4/4) - More tests for required radio groups. r=bz a=tests 2011-02-25 19:13:55 +01:00
Mounir Lamouri
729c57b0b5 Bug 635008 (3/4) - Keep track of the validity state of radio groups. r=bz a=hardblocker 2011-02-25 19:16:04 +01:00
Mounir Lamouri
1c0e6ffecf Bug 635008 (2/4) - Remove dead code. r=bz a=hardblocker 2011-02-25 19:12:35 +01:00
Mounir Lamouri
ecb1ecf813 Bug 635008 (1/4) - Keep track of the required state of radio groups. r=bz a=hardblocker 2011-02-25 19:12:47 +01:00
Kyle Huey
f76b74a821 Bug 631421: Teach nsImageDocument to say the magic password to nsImageLoadingContent::RemoveObserver. r=jst a=b 2011-02-20 09:40:45 -05:00
Doug Turner
ff1d41e7b6 Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff 2011-02-17 08:41:07 -08:00
Neil Rashbrook
a72ae3b0a1 Bug 616812 Remove extraneous CRs r+a=dbaron 2011-02-16 21:39:52 +00:00
Wes Johnston
39a572652e Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. This has the fix ups that cpearce requires. r=cpearce, a=blocking-fennec 2011-02-15 20:31:08 -08:00
Doug Turner
15b16004ce Backed out changeset 0000b936e5c6 2011-02-15 20:31:00 -08:00
Wes Johnston
d04cf02a60 Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
Wes Johnston
a97733eea4 Bug 631058 - Part 1 - Allow specifying default preload behavior through a pref. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
Doug Turner
cee16d2b7f Backed ou Johnston – Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
changeset a8d213604ca6
2011-02-14 21:25:06 -08:00
Wes Johnston
1f8d9514ad Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
--HG--
extra : rebase_source : 743cb30aea1bd8cb6e9a189b9142c5ef8abce964
2011-02-14 17:01:03 -08:00
Kyle Huey
029b5aaed4 Bug 605264: Stop content script from mucking around with nsHTMLMediaElement::Observe. r=jst a=b 2011-02-12 13:04:15 -05:00
Mounir Lamouri
350253af3e 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
Mounir Lamouri
f3db6089ca Bug 597525 - Remove GetDefaultValueFromContent method; r=ehsan 2010-12-02 02:39:46 +01:00
L. David Baron
56e6f8182f Merge layout work from projects/birch, part 1. a=bsmedberg 2011-03-23 12:36:08 -07:00
Ehsan Akhgari
deae53f1e4 Bug 629878 - Part 2: Do not scroll the selection into view when restoring the selection offsets for a text control after a reframe; r=roc a=blocking-final+
Previously, we used to scroll the text control's selection into view after a
reframe.  This had two problems: it was not precise (in case the selection was
modified by the mouse, for example), and it lead to problems such as bug 629878
if the control's frame was reconstructed because of the control being moved
inside the DOM.

This patch disables that behavior by wrapping the selection scroll function
into nsITextControlFrame::ScrollSelectionIntoView, so that APIs such as
setSelectionRange on the text control's content node can still call it
explicitly (since they actually need this behavior), but other callers of
nsITextControlFrame::SetSelectionRange (such as the nsTextEditorState
object's selection offset restoring mechanism) don't get this behavior as
an undesired side-effect.
2011-02-04 19:29:29 -05:00
Ehsan Akhgari
44c6ad0a4f Merge backout of bug 622072 2011-03-29 14:32:11 -04:00
Ehsan Akhgari
931bd6ee19 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Ms2ger
1a17fa9d41 Bug 623589 - Remove aCanBePercent parameter from nsAttrValue::ParseSpecialIntValue; r=peterv a=jst 2011-02-04 14:46:16 -05:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
Ms2ger
5e3f85aa9c Bug 623589 - Remove aCanBePercent parameter from nsAttrValue::ParseSpecialIntValue; r=peterv a=jst
--HG--
extra : rebase_source : 0347c1a1540267d64c09d27577f1c66c78d430c7
2011-02-04 14:46:16 -05:00
Ms2ger
1976742cd2 Bug 599975 - Fire error event for images with empty string src value; r=smaug a=jst
--HG--
extra : rebase_source : 7a28c7b1524de3d059e62fd253b8a6daf614d904
2011-02-04 14:46:01 -05:00
Joe Drew
15ab30549b Bug 629016 - Re-enable tests that didn't work with OpenGL-accelerated layers now that we've disabled OpenGL on the versions of OS X that have the bug. r=jrmuizel a=b 2011-02-03 16:12:33 -05:00
Chris Jones
8991442744 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Johnny Stenback
7ed31a41cb Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker 2011-01-31 20:50:01 -08:00
Ehsan Akhgari
b1d2463ed9 Bug 629172 - Fix the regression in switching the text input direction using Cmd/Ctrl+Shift+X; r=roc a=blocking-final+
--HG--
extra : rebase_source : 57471865db00c1efa07bb746df42de8278027b36
2011-01-27 00:26:33 -05:00
Mounir Lamouri
1bc79922b2 Bug 628970 - test_bug347174_write.html should not load an image over the network. r=sicking a=tests 2011-01-27 14:53:04 +01:00
Mounir Lamouri
260a61137e Bug 622597 - form.novalidate should not be taken into account for validity UI when focusing an element. r+a=sicking 2011-01-27 14:51:45 +01:00
Ehsan Akhgari
a520cbecdc Disable the permaorange OSX64 failures under investigation in bug 629016 only on 10.6 2011-01-26 17:31:58 -05:00
Ehsan Akhgari
17118a02d5 Disable another reftest failure on OSX64 pending investigation in bug 629016. approval=joe a=uselessflag 2011-01-26 15:00:29 -05:00
Hiroyuki Ikezoe
41d35974b2 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
Alon Zakai
f84d1f4c8d Bug 594771 - Reset animations when .src changes. r=joe,bz a=blocking-final 2011-01-26 10:52:48 -08:00
Chris Double
4e29108ec5 Bug 623998 - Reduce frameset size limit - r=roc a=blocking2.0:final 2011-01-25 14:38:07 +13:00
Hiroyuki Ikezoe
4c83127f20 Bug 628452: Fix invalid tag in test_bug445004.html. r=bz a=tests 2011-01-24 22:38:10 -08:00
Mounir Lamouri
73b95dc2f3 Bug 627657 - Allow email's with no dot in the domain name for <input type='email'>. r=smaug a=sicking 2011-01-22 00:08:42 +01:00
Mounir Lamouri
edcb60858e Bug 320462 - Send an input event when a value is selected from the autocomple or list dropdown. r=smaug a=sicking 2011-01-22 00:06:27 +01:00
Mounir Lamouri
f76255784b Bug 606491 (2/2) - Update tests. r=smaug a=jst 2011-01-20 12:06:34 +01:00