Commit Graph

2241 Commits

Author SHA1 Message Date
Matthew Gregan
b91f76289a Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec 2011-09-30 12:34:37 +13:00
Michael Wu
d8e503c38b 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
Boris Zbarsky
095402dd70 Bug 689564. Only forward event attributes on body/frameset to the window if we also forward the corresponding on* property. r=smaug 2011-09-28 11:54:50 -04:00
Matthew Gregan
bd4295528f Bug 689432 - Disambiguate use of "samples" by introducing "frames" in a number of places. r=doublec 2011-09-27 16:31:18 +13:00
Daniel Holbert
00145c4558 Bug 689204: Remove unused variable 'readDisplay' from nsHTMLTableElement.cpp. r=bernd 2011-09-27 13:22:47 -07:00
David Zbarsky
f28bcb747a Bug 682367 - Call nsINode::GetChildAt less. r=smaug 2011-09-27 09:54:58 +02:00
Benoit Girard
95f511b8f5 Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe
--HG--
extra : rebase_source : b5458fa13fc6277560eb0ebc3e4e31f6c04b4e6c
2011-09-19 13:05:15 -07:00
Neil Rashbrook
371c458f30 Bug 684825 Fix for ASSERTION: QueryInterface needed r=jmuizelaar 2011-09-24 18:20:12 +01:00
Ehsan Akhgari
85e673bce7 Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions 2011-09-22 18:09:44 -04:00
Gabor Krizsanits
e9acfc4dca Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking 2011-09-22 17:35:25 +01:00
Ainsley Chong
1ceb754ade Bug 669578 - Add a reflectInt() method to reflect.js. r=Ms2ger,mounir 2011-09-21 10:46:46 -07:00
Rob Campbell
7eef002771 merge m-c to fx-team 2011-09-21 08:28:43 -03:00
Rob Campbell
7fe37c14f5 merge m-c to fx-team 2011-09-20 11:42:20 -03:00
Ehsan Akhgari
41c2a18909 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Olli Pettay
f2788cf525 Bug 682886 - menuitem should be serialized as a container, r=sicking 2011-09-20 08:50:43 +03:00
Jared Wein
942a1a8dc3 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
Olli Pettay
2f2d683768 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
670b0e16b1 Bug 684470 - Remove the FromParser argument from nsHTMLMediaElement and subclasses' constructors; r=jst 2011-09-18 11:22:18 +02:00
Ms2ger
2e89d057d9 Bug 684471 - Make nsGenericHTMLFormElement::mFieldSet a nsHTMLFieldSetElement*; r=peterv 2011-09-18 11:22:18 +02:00
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Boris Zbarsky
7ddc04fb21 Bug 680922. Don't try to remove anonymous elements from the name map. r=sicking 2011-09-19 22:59:43 -04:00
Masatoshi Kimura
b568eebe2a Bug 685774 - Implement document.scripts. r=bz 2011-09-09 19:18:03 +02:00
Ehsan Akhgari
3a950c12c0 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-09 10:05:52 -04:00
Olli Pettay
1c7334ba31 Bug 682058 - nsGenericElement::SetInnerHTML should suppress DOMNodeRemoved when dealing with a non-HTML5 document, r=sicking 2011-09-09 12:18:00 +03:00
Masayuki Nakano
e6baf66ee4 Bug 669028 part.7 content should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:12 +09:00
Ehsan Akhgari
9ced1bc054 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-08 11:46:37 -04:00
Tim Taubert
d96dbb66ff merge the last green changeset on m-c to fx-team 2011-09-08 11:03:35 +02:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
aceman
266607effb Bug 136556 - Image title should use "×", not "x". r=bz, r=dolske 2011-09-05 17:26:23 -07:00
Ed Morley
59e8ad1ced Merge mozilla-central to mozilla-inbound 2011-09-05 01:18:16 +01:00
Chris Pearce
c28e8a66d9 Bug 545812 - Break out of DOM full-screen mode upon non-alpha-numeric key input. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce
fb98936759 Bug 545812 - Only allow request and cancel full-screen api to work from a trusted event handler. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce
1452491964 Bug 545812 - Mochitests for full-screen DOM API. r=jst 2011-09-05 08:40:18 +12:00
Chris Pearce
c782ba7555 Bug 545812 - Implement iframe.mozallowfullscreen. r=jst 2011-09-05 08:40:17 +12:00
Chris Pearce
7c1b965126 Bug 545812 - DOM/content changes required for DOM full-screen API. r=jst 2011-09-05 08:39:05 +12:00
Ms2ger
79de18756d Bug 683457 - test_bug430392.html should not call SimpleTest.finish() twice; r=peterv 2011-09-04 12:49:29 +02:00
Justin Wood
7130d2f9b7 Backed out changeset 97216ae0fc04 due to accidentally landing to m-c rather than try. 2011-09-03 03:15:21 -04:00
Atul Aggarwal
a4698e8d6e Bug 668819 - HTMLTableColElement span should be unsigned long try: -b do -p linux,linux64,win32 -u all -t all 2011-09-03 12:15:03 +05:30
Oleg Romashin
d75d28ff7c Bug 681443 - Fennec does not resize document properly in portrait mode; f=mbrubeck r=jst 2011-09-01 22:16:13 +01:00
arno renevier
72d929e113 bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan
Manage private browsing mode in content pref service. CPS should be available
in private browsing mode, but should not store informations on disk, and should
clear all informations once the private session ends.

When setting a pref in private mode, it is stored in an in-memory hash table.
When getting a pref, it is retrieved from that hash table if available.
Otherwise, it is retrieved using the standard mechanism. When removing a pref,
it is retrieved from the hash table. The rationale is that in private mode,
it's ok to read a pref from normal database, but not ok to set it.

The in-memory hash table is cleared when leaving the private browsing mode.

When removing a set of preferences (with removeGroupedPrefs or
removePrefsByName), preferences are removed from the in-memory hashtable, *and*
from normal mode database. The rationale is that visiting a website may trigger
setting/getting/removing for a specific preference only. But removing many
prefs at once is the result of an action not associated with a website. For
example, user may wish to delete all its informations. In that case, user
probably expects to not have those informations restored once it leaves private
browsing mode.
2011-09-01 14:13:03 -04:00
Chris Pearce
d50edc2277 Bug 684627 - Add time limit to nsEventStateManager::IsHandlingUserInput(). r=smaug 2011-09-07 08:14:59 +12:00
Josh Matthews
ff41822e1b Bug 683614 - Fix typo in oninvalid event handler name in test. r=mounir 2011-08-31 18:06:49 +02:00
Atul Aggarwal
e85785bdd4 Bug 679653 - Makes li.value follow rules for integer reflection. r=mounir 2011-08-31 12:34:07 +02:00
Marco Castelluccio
7cb0506077 Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Peter Van der Beken
c7c99a0fea Fix for bug 678528 (Traverse mChildNodes (and consolidate node CC code)). r=jst. 2011-08-28 16:07:24 +02:00
Ms2ger
c9046e037c Bug 682460 - Fix leak when forcing layout during mutation event for table attribute; r=smaug 2011-08-28 11:59:34 +01:00
Marco Bonardo
40c1e206de Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
David Zbarsky
0f136718bb Bug 682366 - Remove nsINode::ChildIterator r=smaug 2011-08-27 00:23:02 +01:00
Matt Brubeck
94680ab6db Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-26 09:17:54 -07:00
Mounir Lamouri
40b271b155 Bug 681667 - Create a test_form_attributes_reflection.html with novalidate check. r=Ms2ger
The other attribute reflection tests will be done with bug 682239.
2011-08-26 11:43:23 +02:00
Ed Morley
a31b5adc78 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Ms2ger
6aeeb50315 Bug 672054 - Part b: Remove nsIDOMNSMouseEvent; r=smaug 2011-08-26 09:43:56 +02:00
Arno Renevier
33243cdfc6 Bug 681190 - Fixes crash in nsPNGEncoder::ConvertHostARGBRow when calling mozGetAsFile on large canvas; r=roc 2011-08-26 20:50:23 +01:00
Marco Bonardo
01583193e9 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-25 13:26:15 +02:00
Ms2ger
34e16a2126 Bug 681615 - Move a couple of tests from content/html/content/test to content/html/content/test/forms; r=mounir
--HG--
rename : content/html/content/test/test_bug555840.html => content/html/content/test/forms/test_datalist_element.html
rename : content/html/content/test/test_bug556007.html => content/html/content/test/forms/test_input_list_attribute.html
rename : content/html/content/test/test_bug345624-2.html => content/html/content/test/forms/test_maxlength_attribute.html
rename : content/html/content/test/test_bug345624-1.html => content/html/content/test/forms/test_validation.html
2011-08-25 10:45:53 +02:00
Brian R. Bondy
af4638202b Bug 670466 - Expose image encoder options to canvas.toDataURL. r=smaug 2011-08-25 16:09:05 -04:00
Mounir Lamouri
47ba6f0cd0 Bug 682239 - Tests all HTMLFormElement attributes reflection. r=Ms2ger 2011-08-26 16:30:02 +02:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Boris Zbarsky
8bdd1a64af Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Boris Zbarsky
81585dfcf4 Bug 659350 part 3. Add nsITouchEventReceiver for elements. r=smaug 2011-08-24 15:49:25 -04:00
Mounir Lamouri
bac3416b1a Bug 681666 - Add formNoValidate attribute to test_button_attributes_reflection.html r=Ms2ger 2011-08-24 21:32:06 +02:00
Chris Double
1e5e4609a1 Bug 648595 - Part 1/2: Implement temporal dimension portion of Media Fragments URI specification for video/audio - r=cpearce
--HG--
extra : rebase_source : f9b5986e739a091c37caeb882904434f21fb6d81
2011-08-25 11:42:23 +12:00
Ehsan Akhgari
7b45893388 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari
71ab4b195b Backout changeset 2705abe8d3f2 (bug 686247) again because of the accessibility test failures 2011-09-13 17:42:43 -04:00
Ehsan Akhgari
ba819d11ee Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari
6b8124559c Backed out changeset c9013399fa39 (bug 686247) because of mochitest-a11y failures on Linux 2011-09-13 13:29:30 -04:00
Ehsan Akhgari
5964c37a93 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 11:45:54 -04:00
Mounir Lamouri
4efa316d84 Bug 657702 - Remove leading and trailing whitespaces in <input type='email'> value sanitizing algorithm. r=smaug 2011-08-22 14:58:01 +02:00
Bernd
fc4e7dd856 bug 211636 replace shared table attribute mapping by a more rule conforming mapping r=dbaron 2011-08-20 12:18:50 +02:00
Matthew Gregan
6a2291960b Bug 623444 - Remove unused non-blocking code from nsAudioStream. r=doublec 2011-08-08 12:51:04 +12:00
Mounir Lamouri
fe50c38240 Bug 679499 - Add nsHTMLAnchorElement, nsHTMLSpanElement and nsHTMLDivElement to the DOM Memory Reporter. r=jst 2011-08-18 00:14:53 +02:00
Fabien Cazenave
c85fd56970 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
Marco Castelluccio
b8fd68e0c6 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Malini Das
960a7c7495 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
02665c9658 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
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Benoit Jacob
7c39744842 Bug 676413 - fix the crossOrigin attribute test - r=smaug
This is not a limited-enumerated attribute, so let's use reflectString instead.
2011-08-11 18:17:59 -04:00
Boris Zbarsky
a7f91c37d8 Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute

"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Ms2ger
8a80c69b70 Bug 677101, part d - Remove some includes from nsHTMLInputElement.cpp; r=volkmar 2011-08-11 15:29:59 +02:00
Ms2ger
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri
8b3a5c07fb Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Jan Varga
9b22131da7 Bug 677463 - <menuitem>.label should return .textContent if there's no label content attribute r=smaug 2011-08-11 08:07:26 +02:00
L. David Baron
61b034946c Backout changeset 89a9f4a88d5b (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 18:00:39 -07:00
Boris Zbarsky
ee08b0a2a4 Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute

"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Olli Pettay
badccfcde0 Bug 677658, disable scriptloader when parsing in innerHTML/InsertAdjacentHTML, r=sicking 2011-08-10 23:53:14 +03:00
Michael Ventnor
dd85675225 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
1493cdedf4 Bug 462892 - Add a mIsSynthetic member to nsIDocument r=roc 2011-08-09 08:35:00 -04:00
Ehsan Akhgari
e48161b8ff Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Justin Wood
f20a7276c2 Merge from m-c 2011-08-09 06:31:01 -04:00
Paul ADENOT
36cf6a91a7 Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce 2011-08-09 12:10:48 +02:00
Jan Varga
5020b003ce 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
Ms2ger
e2080fcb25 Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz 2011-08-08 17:14:33 +02:00
Henri Sivonen
123c12d01a Bug 675621 - Reposition update batch to avoid an assertion about removal mutations when inserting a DOM fragment in insertAdjacentHTML. r=Olli.Pettay. 2011-08-05 19:45:31 +03:00
Nikhil Marathe
c3f0bf12bc Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : 1bcd524f639b1e79dbb461c737b6abdbc62ba606
2011-08-01 15:50:04 -07:00
Ehsan Akhgari
473351faa5 Bug 674820 - input/textarea.selectionStart/selectionEnd/selectionDirection should not require the presence of a frame; r=bzbarsky
--HG--
rename : layout/reftests/editor/selection_visibility_after_reframe.html => layout/reftests/editor/selection_visibility_after_reframe-3.html
2011-07-29 17:31:57 -04:00
Marco Bonardo
527591fbb1 Merge mozilla-central and mozilla-inbound 2011-08-04 11:35:17 +02:00
Marco Bonardo
8dfa1762f3 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-04 11:19:01 +02:00
Marco Bonardo
195908f0b1 Backout changeset d43b06e79794 (Bug 612839) due to build bustage. 2011-08-04 11:02:49 +02:00
Marco Castelluccio
21c8d81293 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-03 19:54:55 +02:00
Benoit Jacob
a45586ae35 Bug 673378 - Crash at nsHTMLCanvasElement::GetContext - r=roc
When UpdateContext fails, we only reset mCurrentContext, and forgot to reset mCurrentContextId.
2011-08-03 19:35:56 -04:00
Michael Wu
e6dce0d707 Backed out changeset f29ddae820bf (bug 664249) for possible orange r=killer 2011-08-01 21:18:48 -07:00
Nikhil Marathe
a28285d0a7 Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : fd068e786d6d49b4800a6efebf9811191a6309ef
2011-08-01 15:50:04 -07:00
Paul ADENOT
99d65b2f85 Bug 619752 part 1 - Duration should be +Inf on infinite length video streams. Core changes and corresponding test fixes. r=cpearce 2011-08-01 14:11:20 -04:00
Makoto Kato
5c20792f2d Bug 675072 - can not enter text into comment textbox for online picasa web picture. r=smaug 2011-08-01 20:28:52 +09:00
Henri Sivonen
968a07a802 Bug 613662 - Implement insertAdjacentHTML. r=bzbarsky. 2011-08-01 10:48:28 +03:00
Henri Sivonen
c7d8484bd1 Bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
cd3a59b9ef Bug 563322 part 1 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the HTML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
0176915bb7 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
arno renevier
3654ca6f15 Bug 673685 - remove unneeded null assignments. r=roc 2011-08-01 09:20:05 +02:00
David Zbarsky
d15acdd08b Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00
Boris Zbarsky
f34542d2df Bug 675267. Remove some target arguments from nsEventListenerManager APIs, since we have a perfectly good mTarget. r=smaug 2011-07-29 15:37:17 -04:00
Henri Sivonen
147c3287ec 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
Ehsan Akhgari
2f51d73796 Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky 2011-07-28 13:51:22 -04:00
Ehsan Akhgari
8eaf1685d8 Backout bug 670205 and bug 673451 because of build bustage
--HG--
extra : rebase_source : 1125480c0f47d0388876c09648d64bdbd62d1206
2011-07-26 14:41:43 -04:00
Bill McCloskey
51329bbb65 Bug 670205 - Maintain JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal) 2011-07-13 15:43:31 -07:00
Sindre Dammann
deab7c03fb Bug 578534. Make Navigator.cookieEnabled take per-site exceptions into account. r=bzbarsky 2011-08-03 14:32:32 -04:00
Boris Zbarsky
2dd5488c1b Bug 506844. Remove kids in order, not in reverse order, when clearing textContent and innerHTML. r=sicking 2011-08-03 14:32:32 -04:00
Vitor Menezes
776c5bc61f Only override font properties when in quirks mode. (Bug 403524) r=dbaron
Font tags cause NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL in quirks
mode only, so that standards mode (in which font tags don't cause the
override) can use the same codepath in the near future.
2011-08-03 11:30:58 -07:00
Justin Lebar
2bc2762f54 Bug 673467 - Part 2. Fix tests. r=smaug
--HG--
extra : rebase_source : 2b4d7c00e42f4fa54121fc4a9e0360984709357e
2011-08-01 19:45:47 -04:00
Marco Bonardo
e54d67ac13 Backout changesets e0aab5011b70, 0040f406ea6d (Bug 462959) due to intermittent crashes in its own test. 2011-08-02 23:36:14 +02:00
Paul ADENOT
042cb31c6a Bug 462959 - Implement HTMLMediaElement.played; r=kinetik 2011-07-03 11:53:38 +02:00
Ehsan Akhgari
cadef9ec48 Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Paul ADENOT
0eed6ded64 Bug 599205 - Controls can show incorrect buffered range after media download finishes. r=kinetik 2011-07-23 23:45:37 +02:00
Ms2ger
2a3176b2ee Bug 666665 - Remove isindex content code; r=sicking+hsivonen 2011-07-23 11:45:38 +02:00
Ehsan Akhgari
3be0b6110e Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-22 15:48:18 -04:00
Kyle Huey
21cdfe78c0 Merge m-c to b-s. 2011-07-22 00:03:35 -07:00
Kyle Huey
085174474c Bug 646157: Prevent 2^n growth in event dispatch in a chain of nested labels. r=smaug
Prior to this patch, Gecko allowed bubbling click events to trigger multiple <label>s, and for the synthetic click events generated by <label>s to also trigger additional <label>s.  In contrast, Opera allows only the latter, and Webkit/IE allow neither.  Gecko's behavior leads to 2^n events being dispatched in the case of markup like:

<label for="thing1" /><input type="foo" name="thing1" />
<label for="thing2" /><input type="foo" name="thing2" />
...

After this patch a bubbling click event triggers at most one <label>, and the synthetic click event cannot trigger additional labels.  Our behavior is still not identical to Webkit/IE though, because in Gecko a click event will still bubble up past a <label>, while in Webkit/IE the click event will stop at the <label>.
2011-07-19 09:19:32 -07:00
Brian R. Bondy
3e87c4148f Bug 274626 - Show tooltips for disabled elements. r=smaug 2011-07-18 16:16:44 -07:00
Mounir Lamouri
e916abbfa3 Bug 670874 - Tests all attributes in test_textarea_attributes_reflection.html. r=Ms2ger 2011-07-21 09:36:09 -07:00
Mounir Lamouri
79ce112c8b Bug 670873 - Use 'todo' for non-implemented attributes reflection in test_input_attributes_reflection.html. r=Ms2ger 2011-07-19 11:38:12 -07:00
Mounir Lamouri
35aaeb0cf4 Bug 669580 - Add a reflectBool method to reflect.js. r=Ms2ger 2011-07-19 11:36:51 -07:00
Marco Bonardo
35c957f93a Merge mozilla-central and mozilla-inbound 2011-07-21 14:44:08 +02:00
Marco Bonardo
225034df61 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
Makoto Kato
6d00756bed Bug 666200 - fix typo 2011-07-21 19:23:28 +09:00
Makoto Kato
d2c3fc89e8 Bug 666200 - support select.add(element, long before). r=smaug 2011-07-21 19:16:28 +09:00
arno renevier
5388ac92cf Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Ehsan Akhgari
aa9c0820e7 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
17ab950e8e Backout volkmar's push for breaking Windows builds 2011-07-20 15:49:16 -04:00
Mounir Lamouri
fe35661680 Bug 669886 - Make nsMappedAttributeElement, nsStyledElement, nsStyledElementNotElementCSSInline, nsGenericHTMLElement, nsGenericHTMLFormElement and nsGenericHTMLFrameElement participate in the DOM Memory Reporter. r=jst 2011-07-19 09:54:43 -07:00
Mounir Lamouri
145242dfb7 Bug 670874 - Tests all attributes in test_textarea_attributes_reflection.html. r=Ms2ger 2011-07-20 11:25:47 -07:00
Mounir Lamouri
d6111dd9b9 Bug 670873 - Use 'todo' for non-implemented attributes reflection in test_input_attributes_reflection.html. r=Ms2ger 2011-07-19 11:38:12 -07:00
Mounir Lamouri
66186e4cc6 Bug 669580 - Add a reflectBool method to reflect.js. r=Ms2ger 2011-07-19 11:36:51 -07:00
Marco Bonardo
cc45fb85d1 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-20 15:04:30 +02:00
Dão Gottwald
640abb2979 Fix for undefined Cc/Ci/Cr/Cu in test_bug500885.html, test_bug592802.html, test_bug61098.html and test_bug36619.html 2011-07-20 11:51:43 +02:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
97235c7d3d Bug 669886 - Make nsMappedAttributeElement, nsStyledElement, nsStyledElementNotElementCSSInline, nsGenericHTMLElement, nsGenericHTMLFormElement and nsGenericHTMLFrameElement participate in the DOM Memory Reporter. r=jst 2011-07-19 09:54:43 -07:00
Mounir Lamouri
49539901be Bug 670874 - Tests all attributes in test_textarea_attributes_reflection.html. r=Ms2ger 2011-07-19 11:40:30 -07:00
Mounir Lamouri
a2fc60553c Bug 670873 - Use 'todo' for non-implemented attributes reflection in test_input_attributes_reflection.html. r=Ms2ger 2011-07-19 11:38:12 -07:00
Mounir Lamouri
7cc9aae186 Bug 669580 - Add a reflectBool method to reflect.js. r=Ms2ger 2011-07-19 11:36:51 -07:00