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