Commit Graph

1826 Commits

Author SHA1 Message Date
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
Anas Husseini
a5271eb914 Bug 606491 (1/2) - Submit controls should be barred from constraint validation. f=volkmar r=smaug a=jst 2011-01-20 12:05:57 +01:00
Mounir Lamouri
00aa4789bb Bug 622558 - When .setCustomValidity() is used, :-moz-ui-invalid should always apply. r+a=sicking 2011-01-20 12:05:29 +01:00
Mounir Lamouri
16ebde62a6 Bug 619278 - :-moz-ui-invalid should apply as soon as the user tries to submit the form. r=sicking a=jst 2011-01-20 12:02:37 +01:00
Mounir Lamouri
b7cac8ada1 Bug 603919 - 'change' event for <input type='file'> should be sent even if we can't store the last used directory. r=smaug a=jst 2011-01-19 12:18:46 +01:00
Matthew Gregan
31cc4eb4f7 Bug 626273 - Correct boundary seek logic. Change media element IDL floats to doubles per the spec. Invalidate updated frame after seeking. Optimize small forward seeks in WebM. r=cpearce a=roc 2011-01-17 16:03:00 +13:00
Ehsan Akhgari
8f4c8cb8dc Bug 549260 - crash [@ nsTextInputListener::EditAction()][@ nsTextInputListener::EditAction ] while typing, pasting text in editor; r=bzbarsky a=blocking-final+ 2011-01-12 10:40:21 -05:00
Ehsan Akhgari
d48edb3f7d 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
c58b055ea9 Bug 589615 part 1. Get rid of the non-HTML preshint level. r=dbaron 2011-01-14 21:14:41 -05:00
timeless@mozdev.org
fe23ea42a2 Bug 586603 HTMLContentSink::BeginContext should null check mCurrentContext before creating sc
r=smaug
2011-03-22 11:17:44 -04:00
timeless@mozdev.org
c38e2ca4a1 Bug 586606 NS_NewHTMLParanoidFragmentSink should nsHTMLParanoidFragmentSink::Init before allocating
r=smaug
2011-03-22 11:17:31 -04:00
Boris Zbarsky
6e82217ba2 Bug 613595. Speed up the cache-hit case for getElementsByTagName. r=peterv 2010-11-23 14:10:56 -05:00
Ehsan Akhgari
0ce5440550 Merge mozilla-central into cedar 2011-03-26 12:21:39 -04:00
Ms2ger
2deca252e5 Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Boris Zbarsky
700105b822 Bug 619220. Allow <base> elements that are not direct children of the <head>. r=sicking 2011-01-14 10:34:39 -05:00
Olli Pettay
3eb23e0076 Bug 623291 - Firefox 4: change/blur event are not dispatched to input upon button click, r=enn, a=blocking
--HG--
extra : rebase_source : 3866a4ba1cfd9721a43c1c1fedeba2f6ed3c80d6
2011-01-14 15:03:39 +02:00
Chris Jones
c0d9b1b0d4 Bug 618249: Default remote-browser to synchronous scrolling, and let users change that. r=tn sr=roc a=a 2011-01-11 15:34:31 -06:00
Ehsan Akhgari
b3f2d74515 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
Olli Pettay
6e39f63f72 Bug 606011 - (OSX) focus event not fired on click for elements made specially focusable via tabindex, r=enndeakin, a=blocking
--HG--
extra : rebase_source : f76cbeee1fad42d51e6529fbcf04d305a09a52c3
2011-01-05 15:23:37 +02:00
Robert O'Callahan
319edd4ba7 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
Chris Leary
272d457a20 Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Boris Zbarsky
853fd4d981 Bug 331959 and bug 127903. Make situations in which an anchor or submit control is nested inside another anchor and the inner thing is clicked trigger the inner thing, not both. r=smaug,gavin a=blocker 2010-12-27 14:42:10 -06:00
timeless@mozdev.org
5c6ecd40a3 Bug 620255 add comment nsHTMLInputElement::PostHandleEvent for isMovingBack falling through, r+a=dbaron 2010-12-19 19:44:00 -08:00
Mounir Lamouri
301df17125 Bug 618948 - Add support for element.oninput and element.oninvalid. r=smaug a=sicking 2010-12-22 19:43:50 -05:00
Mounir Lamouri
448285f959 Bug 620078 - Crash [@ nsAutoFocusEvent::Run] with autofocus attribute in frame with no window. r=smaug a=blocking-betaN 2010-12-21 19:58:24 -05:00
Mihai Sucan
6af7fd5fc9 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
215e61a4b2 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
176912a7c2 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
Ehsan Akhgari
393e54e609 Bug 527935 - Fire the input event for text controls with the correct trusted-ness status; r=roc a=blocking-final+ 2010-12-07 01:30:05 -05:00
Mounir Lamouri
bb1eaf03a1 Bug 598092 - Autocomplete should not remember form values if the submit is stopped due to HTML5 validation. r+a=sicking
--HG--
extra : rebase_source : a73d81bb3bd0f67b23b54db39f74611a88ef90b6
2010-12-16 12:13:02 -08:00
Ms2ger
2104b9efeb Bug 604807 - Make nsISelectElement unscriptable to prevent crashes; r=bz a=blocking-beta9
--HG--
extra : rebase_source : 39c142478f0dea004e32b023b7253b244fe0f14a
2010-12-17 18:10:51 -08:00
Mounir Lamouri
a7f188e73e Bug 610415 - Make :-moz-ui-invalid and :-moz-ui-valid not applying when the form element has novalidate attribute set. r+a=sicking
--HG--
extra : rebase_source : 16d889910f0cd14071da4ecedfa92fa2db0be750
2010-12-17 15:26:24 -08:00
Mounir Lamouri
efd278ae85 Bug 615764 - Remove nsRadioUpdateValueMissingVisitor. r+a=sicking
--HG--
extra : rebase_source : 1655bae21cbaf865be38b63ebd0f8ac59b5002dd
2010-12-16 11:53:40 -08:00
Mounir Lamouri
54f6748d69 Bug 610687 - Make all the radio button group suffering from being missing instead of only radio's with the required attribute. r+a=sicking
--HG--
extra : rebase_source : 804f50ebb47feeac9328a47e86fa387fc07ab32d
2010-12-16 11:51:59 -08:00
Mounir Lamouri
c14568541d Bug 601030 (2/2) - Don't let a frame steal focus with autofocus when the document has been loaded. r=smaug a=sicking
--HG--
rename : content/html/content/test/test_bug546995-1.html => content/html/content/test/test_bug546995.html
extra : rebase_source : 5f84b2ef8ce5bf4cad9c736dc63393e7286ae51f
2010-12-17 18:01:12 -08:00
Mounir Lamouri
786c3cbc56 Bug 601030 (1/2) - Don't let a frame to steal focus from another frame with autofocus. r=smaug a=sicking
--HG--
extra : rebase_source : 18b3f4ac812c8562862bd9b466f34370248c0109
2010-12-17 09:47:58 -08:00
Mounir Lamouri
1a18d39d68 Bug 615833 - Change event should not be cancelable. r=smaug a=sicking
--HG--
extra : rebase_source : a067989d8ce1297a9ed9869f931b64f33f2fed9f
2010-12-17 09:45:46 -08:00
Mounir Lamouri
df9f4b15c7 Bug 613979 - oninput should fire after the validity state update. r=smaug a=blocking-betaN
--HG--
extra : rebase_source : 69bde11286f9c93248b1a32a7d6795d3a22554f9
2010-12-14 09:56:52 -08:00
Robert Sayre
be7b7e126a 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
Luke Wagner
2fc61cf52e Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Daniel Holbert
59aec5e3a8 Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc
--HG--
extra : rebase_source : b4048d8fbde522f05a01df693887e0e26a5afb97
2010-12-05 13:17:29 +00:00
Ehsan Akhgari
1bd8b7c9e7 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
ef612c0f0a 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
Mounir Lamouri
9c611e62d4 Bug 613722 - Do not make <embed hidden> display none. r=jst a=blocking-betaN 2010-12-03 15:22:11 +01:00
Mounir Lamouri
1e9c4a160e Bug 615697 - <input type='file'> change event should bubble. r=smaug a=blocking-betaN 2010-12-03 15:20:07 +01:00
Kyle Huey
395e7205c3 Bug 614403: Make nsPluginDocument QI to its CC participant. r=peterv a=b:final 2010-12-02 11:19:37 -05:00
Kyle Huey
ec6e9646f6 Bug 614401: Make nsImageDocument QI to its CC participant. r=peterv a=b:final 2010-12-02 11:18:51 -05:00
Kyle Huey
e76dc620f2 Bug 614279: Make nsHTMLDataListElement QI to its own CC participant. r=peterv a=blocking-final 2010-12-02 14:13:59 +01:00
Ehsan Akhgari
f10d7e89cf Bug 614988 - "ASSERTION: We should never try to use the editor if we're not initialized unless we're being initialized" should not apply to textarea's; r=bzbarsky a=roc 2010-11-26 15:48:45 -05:00
Ben Bucksch
5cbe4f70b1 Bug 614760 - Don't send 'Accept-Encoding: gzip,deflate' for video. r=doublec a=roc 2010-11-29 10:21:27 +13:00
Ms2ger
d0039badbb Bug 604086 - Fix signed-unsigned comparison in nsHTMLCanvasElement::ExtractData; r=khuey a=bsmedberg 2010-11-25 10:10:29 +01:00
Ehsan Akhgari
6ca27c613a Bug 611189 - Parchment IF Reader Misbehaves; r=bzbarsky a=blocking-final+
This patch makes sure that we don't try to read the value from the editor if we haven't started to initialize the editor yet.
This ensures that the UpdateValueDisplay calls before we start to initialize the editor will always end up reading the value from the content node, and do not rely on the data returned by the editor, which might be stale.

--HG--
extra : rebase_source : e31be0ce21585f0f18eca3aa2d8e43d3646348e2
2010-11-22 03:12:56 -05:00
Chris Pearce
0e486c9c7c Bug 611994 - Fire timeupdate based on time change, not timer. r=roc a=roc 2010-11-25 07:34:57 +13:00