Commit Graph

2226 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
d7caddd820 Bug 646845 - Don't lose the plaintext editor value if it's set while the script blocker for a flush is in progress; r=bz 2011-07-19 14:28:50 -04:00
Mounir Lamouri
b088e154d6 Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri
fe7ffbef8b 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
Benjamin Smedberg
697f27ea00 Bug 617539 - Combine nsIRadioGroupContainer_MOZILLA_2_0_BRANCH; r=bz 2011-07-19 11:44:55 +02:00
Ehsan Akhgari
a6b5feed16 Bug 671672 - Reduce a bunch of console spam in debug builds caused by the HTML editor; r=roc 2011-07-14 17:06:37 -04:00
Joe Drew
98ba09f844 Bug 664299 - Test that the crossOrigin attribute is probably reflected into JS. r=Ms2ger 2011-07-17 13:40:28 -04:00
Joe Drew
33e03d0d4b Bug 671906 - Rename crossOrigin atom to crossorigin, because attributes are lowercased before being mapped to atoms. r=bz 2011-07-17 13:40:22 -04:00
Ehsan Akhgari
0787743cf4 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Ms2ger
c621c0dcb3 Bug 666666 - Reflect HTMLMediaElement.preload like an enumerated attribute; r=bz 2011-07-15 12:18:27 +02:00
Benoit Jacob
a51099130a Bug 664299 - Add support for the crossorigin attribute on the html:img tag, and pass the appropriate CORS mode to imgILoader::loadImage when it's specified. r=bz 2011-07-14 14:47:35 -04:00
Ehsan Akhgari
4c04a19536 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-21 11:11:45 -04:00
Ehsan Akhgari
b85c178117 Merge mozilla-central and mozilla-inbound 2011-07-22 15:51:08 -04:00
Mounir Lamouri
c513cd9d9f 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
arno renevier
3861eac624 Bug 676842 - nsTextEditorState.h should include nsString.h; r=ehsan 2011-08-08 17:28:04 -04:00
Ehsan Akhgari
ec2d83e852 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Jeff Muizelaar
6f22e3e5d3 Bug 684859. Add telemetry to track when 2d or webgl canvas is used. r=bas
--HG--
extra : transplant_source : %FB5%40%FA%3A%2Cg%AF%14W%D3%E8%D1y%03%25%D1%E9%22%AB
2011-09-19 16:08:56 -04:00
Chris Pearce
f75f5e57e5 Bug 592833 - Merge all media state machines into a single thread. r=roc 2011-07-12 15:39:34 +12:00
Jonas Sicking
eb9ce9a027 Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey 2011-07-11 19:41:29 -07:00
Daniel Holbert
5493695d98 Backout f2390732b6a4 (Bug 668154) for apparently turning debug mochitest-oth & mochitest-4 perma-orange 2011-07-11 17:49:03 -07:00
Mats Palmgren
8f3490e2d0 Bug 648910 - Make nsIDOMHTMLImageElement widths and heights unsigned to match the HTML5 spec. r=jst 2011-07-11 22:18:26 +02:00
Geoff Lankow
2ebe71ef6e Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests r=jmaher 2011-07-11 12:24:13 -07:00
David Zbarsky
37cd5bf16c Bug 586786 - Fix legacy reflected attributes r=bz, mounir 2011-07-11 12:56:00 +02:00
Kyle Huey
55c911c020 Merge m-i to m-c. 2011-07-09 20:19:36 -07:00
Robert O'Callahan
26c67a621c Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas 2011-07-08 22:42:21 +12:00
Michael Ventnor
4875f406c3 Followup to bug 528046 r=roc 2011-07-08 13:38:58 +10:00
Felipe Gomes
f268d99a4c Bug 583976. Part 4 pre - some clean up and adjustments to enable needs-focus tests for OOP content. r=cjones 2011-06-22 13:43:05 -07:00
Vishnu S
146aeeab84 Bug 636512 - Make document.getSelection() return the same as window.getSelection(). r=bzbarsky 2011-07-07 14:17:13 -04:00
Michael Ventnor
6550617ff6 Bug 528046 - Fix printing of tall images in image documents r=jst 2011-07-07 14:04:04 +10:00
Mounir Lamouri
12f2702d6c Bug 668826 - Make reflectString able to test reflections with different IDL attribute and content attribute names. r=Ms2ger 2011-07-06 14:47:41 +02:00
Chris Pearce
1a681bcb6a Bug 592833 - Merge backout. r=philor 2011-07-06 19:22:06 +12:00
Chris Pearce
a24dd67388 Bug 592833 - Backout due to suspected android crashtest permaorange. r=philor 2011-07-06 19:21:49 +12:00
Mounir Lamouri
fafd33546b Bug 668824 - Move content/html/content/test/test_bug630889.html to forms/test_textarea_attributes_reflection.html. r=Ms2ger
--HG--
rename : content/html/content/test/test_bug630889.html => content/html/content/test/forms/test_textarea_attributes_reflection.html
2011-07-06 00:45:29 +02:00
Mounir Lamouri
2a06b2662d Bug 668822 - Move input.size reflection tests to test_input_attributes_reflection.html. r=Ms2ger 2011-07-06 00:44:43 +02:00
Mounir Lamouri
5f0c5f1d55 Bug 668820 - Improve how we pass arguments to reflects.js methods. r=Ms2ger 2011-07-06 00:42:44 +02:00
Mounir Lamouri
31a8f9a0d9 Bug 668816 - Refactorize test_input_email.html. rs=sicking 2011-07-06 00:32:41 +02:00
Mounir Lamouri
7f9de26fe6 Bug 668817 - Update the validity when changing the multiple attribute. r=sicking 2011-07-06 00:31:23 +02:00
Chris Pearce
85587ab2a6 Bug 592833 - Merge all media state machines into a single thread. r=roc 2011-07-06 10:05:24 +12:00
Ms2ger
16806b4b64 Bug 651858 - Address comments; pending-r=roc 2011-07-05 12:15:17 +02:00
Phil Ringnalda
b60fccfd72 Merge m-c to m-i 2011-07-03 19:21:16 -07:00
Phil Ringnalda
902b4e6f6f Back out 29ec386d969f and ed18b0cca283 (bug 462959) for a very frequent assertion loop in test_played.html 2011-07-03 18:26:00 -07:00
Ms2ger
11413e95a1 Merge m-c to m-i 2011-07-03 21:54:56 +02:00
Ms2ger
87578b97f7 Bug 383383 - Don't throw NS_ERROR_DOM_NOT_SUPPORTED_ERR from nsHTMLScriptElement::MaybeProcessScript; r=smaug 2011-07-03 11:53:41 +02:00
Paul ADENOT
011480680d Bug 462959 - Implement HTMLMediaElement.played; r=kinetik 2011-07-03 11:53:38 +02:00
Marco Bonardo
8f1f6418cb Backout changesets ed9bdae57981 due to permanent R2 Android failure on a CLOSED TREE 2011-07-01 18:04:13 +02:00
Mats Palmgren
8968056a3a Bug 667518 - Don't ignore <link> href white-space only values. r=bzbarsky 2011-06-30 22:09:26 +02:00
Matheus Kerschbaum
37f901a791 Test for bug 383383. r=smaug 2011-06-30 14:31:41 +02:00
Matheus Kerschbaum
f1c2a21293 Bug 383383 - Remove nsIScriptEventManager and nsIScriptEventHandler. r=smaug 2011-06-30 14:30:08 +02:00
Ehsan Akhgari
68be621524 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Jonas Sicking
08ce29756c Bug 649150: Make sure that all blobs and files sent using FormData have a filename in the encoded submission. r=mounir 2011-06-29 11:03:36 -07:00
Mounir Lamouri
8360e45f4c Bug 665865 - Make test_bug590363.html apply for all input types. r=smaug 2011-06-29 12:51:57 +02:00
Mounir Lamouri
08091f9f6f Bug 667866 - Misc fixes and improvements to reflect.js. r=Ms2ger
Add license boilerplate, header comment, check for the attribute being in the
IDL and the attribute type. Finally, fixing some typos.
2011-06-29 12:50:43 +02:00
Mounir Lamouri
5c99b0421a Bug 667864 - Tests more nsHTMLInputElement attributes reflection. r=Ms2ger
--HG--
rename : content/html/content/test/test_bug557628-1.html => content/html/content/test/test_bug557628.html
2011-06-29 12:48:56 +02:00
Mounir Lamouri
7250efb1bf Bug 668166 - Add reflectString method to reflect.js. r=Ms2ger 2011-06-29 12:49:06 +02:00
Ms2ger
8fc42dbaa6 Bug 667582 - Stop const_casting in nsHTMLOptionElement; r=bz 2011-06-28 12:45:51 +02:00
Mounir Lamouri
aae725b72d Bug 665866 - Use reflect.js for input.type and button.type reflection tests. r=Ms2ger 2011-06-27 15:33:16 +02:00
Mats Palmgren
fbe6472f30 Bug 667518 - Don't ignore <link> href white-space only values. r=bzbarsky 2011-07-02 23:50:02 +02:00
Matt Brubeck
6a1c07e10e Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Marco Bonardo
5fe0614d99 Merge last green changeset from mozilla-inbound to mozilla-central 2011-06-25 12:04:08 +02:00
Jonas Sicking
874223b9ae Bug 665609: Remove Add/RemoveEventListenerByIID from nsTextEditorState. r=jst 2011-06-24 22:56:13 -07:00
Jonas Sicking
5e5e6bd544 Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
864793d608 Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking
976231a975 Bug 658714 Part 3: Move nsIDOMEventTarget implementation to nsINode. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking
6c4113f213 Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Mounir Lamouri
05a1e8b365 Bug 655240 - Trying to fix intermittent failure in content/html/document/test/test_bug448564.html f=ehsan r=sicking 2011-06-23 12:03:18 +02:00
Robert O'Callahan
59cfc47b23 Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00
Mounir Lamouri
face2086d2 Bug 665612 - More cleanup around mInputData and IsSingleLineTextControl(). f=ehsan r=bz 2011-06-22 12:41:00 +02:00
Makoto Kato
f8772e188e Bug 182279 - select.add() should have the second parameter optional. r=smaug 2011-06-22 16:33:30 +09:00
Olli Pettay
b8bc9bfead Bug 664467 - Unlink content/html some more, r=sicking
--HG--
extra : rebase_source : 8821bba1a7651bf96f862ca98a0cf179aaf5ea60
2011-06-22 00:12:50 +03:00
Mounir Lamouri
12f4cc8dcb Bug 665845 - Fixes to content/html/content/test/test_bug561634.html. r=ehsan 2011-06-21 18:50:12 +02:00
Mounir Lamouri
826e399a68 Bug 665841 - Move some tests to HTML Forms test directory. rs=smaug
--HG--
rename : content/html/content/test/test_bug566160.html => content/html/content/test/forms/test_formaction_attribute.html
rename : content/html/content/test/test_bug589696.html => content/html/content/test/forms/test_formnovalidate_attribute.html
rename : content/html/content/test/test_bug555559.html => content/html/content/test/forms/test_input_email.html
rename : content/html/content/test/test_bug344615.html => content/html/content/test/forms/test_input_url.html
rename : content/html/content/test/test_bug562932.html => content/html/content/test/forms/test_label_control_attribute.html
rename : content/html/content/test/test_bug565538.html => content/html/content/test/forms/test_mozistextfield.html
rename : content/html/content/test/test_bug556013.html => content/html/content/test/forms/test_novalidate_attribute.html
rename : content/html/content/test/test_bug346485.html => content/html/content/test/forms/test_output_element.html
rename : content/html/content/test/test_bug345512.html => content/html/content/test/forms/test_pattern_attribute.html
rename : content/html/content/test/test_bug345822.html => content/html/content/test/forms/test_required_attribute.html
2011-06-21 18:50:47 +02:00
Mounir Lamouri
71c623646b Bug 665027 - Remove confusing code that is no longer used. f=ehsan r=bz 2011-06-20 13:44:05 +02:00
L. David Baron
c09bb2ecf4 Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky 2011-06-29 14:39:21 -07:00
Ms2ger
0238f10ef6 Bug 664544 - Remove the remnants of HTMLHeadElement.profile; r=sicking 2011-06-18 11:01:57 +02:00
Ms2ger
01bb0e3457 Bug 631795 - Inline HasPotentialResource into its only caller; r=kinetik 2011-06-15 09:37:38 +02:00
Jonas Sicking
e82dadd3d8 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
cc4977777e Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Ms2ger
c665a4e4c0 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02:00
Jonas Sicking
5f95458332 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Neil Rashbrook
556e8dfd93 Bug 660536 Remove useless uses of PromiseFlat(C)String r=smaug 2011-06-09 21:17:58 +01:00
Daniel Holbert
714ee4b051 Bug 578564 followup: Make text after #endif into a comment to fix build warning. (comment-only, basically) DONTBUILD 2011-06-11 17:13:30 -07:00
Ms2ger
a6c4503b05 Bug 663194 - Calling drawImage with zero-size canvas should throw INVALID_STATE_ERR; r=sicking 2011-06-11 09:52:27 +02:00
Ms2ger
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Ehsan Akhgari
c29fd423ea Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Kyle Huey
3c43cf4d3f Bug 661529: Make <canvas>.toDataURL more efficient by avoiding unnecessary copying/allocation. r=vlad
--HG--
extra : rebase_source : 38e535e3d9835ab6ffc298263d39ca75c606cc3f
2011-06-08 11:12:18 -07:00
Sebastian Kromp
1052ad8280 Bug 578564. Remove nsIFrameSetElement and just use nsHTMLFrameSetElement instead. r=bzbarsky
--HG--
rename : content/html/content/public/nsIFrameSetElement.h => content/html/content/src/nsHTMLFrameSetElement.h
2011-06-08 12:04:10 -07:00
Mounir Lamouri
bb91918b3b Bug 350022 (2/2) - Tests. r=bz
This patch also creates a forms/ directory inside content/html/content/tests/
to host the forms test suite.
2011-06-08 00:01:09 +02:00
Mounir Lamouri
bca99c125b Bug 350022 (1/2) - Don't save a radio button state if the user didn't interact with the group. r=bz 2011-06-08 00:01:25 +02:00
Bjarne
c8814a65f7 Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz 2011-06-05 18:20:53 +02:00
Ms2ger
6b82352a35 Bug 635194 - Don't resolve body.background; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
910b553f57 Bug 660669 - Remove nsHTMLDocument::OpenCommon; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
3505147a43 Bug 660663 - Make element.dir reflect like other reflecting enumerated attributes; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
e97c66dfd4 Bug 660604 - Remove nsIHTMLDocument::GetBodyContentExternal; r=jst 2011-06-02 14:56:46 +02:00
Henri Sivonen
8284f3f717 Bug 661140 - Make test_bug596350.html test focus on rendered elements instead of display:none; elements. r=mounir 2011-06-01 16:02:36 +02:00
Mounir Lamouri
0c784be5a4 Merging cedar with mozilla-central. 2011-06-01 10:06:55 +02:00
Michael Ventnor
a43e9c5591 Bug 50660 - Drag and drop for file upload form control r=jst,enndeakin 2011-06-01 16:06:38 +10:00
Boris Zbarsky
76f757828a Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
f46b921065 Bug 598833 part 11. Changes to @form should notify the old default submit correctly. r=mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
05703a1730 Bug 598833 part 10. Make unbinding a <select> update its validation state. r=mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e167b0caba Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e0320797e3 Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Boris Zbarsky
7867f56859 Bug 598833 part 7. Make IntrinsicState protected. r=smaug 2011-05-31 21:46:57 -04:00
Boris Zbarsky
142a55fcd8 Bug 598833 part 1. Move IntrinsicState from nsIContent to Element. r=smaug 2011-05-31 21:46:56 -04:00
Boris Zbarsky
cebd3ace3b Bug 657353 followup. Put a scriptblocker around our call to VisitGroup with nsRadioSetValueMissingState, since that dispatches state change notifications. 2011-05-31 20:21:24 -04:00
Mounir Lamouri
ce3108de44 Bug 644959 - Do not try to restore HTMLButtonElement state when created from parser fragment. r=hsivonen 2011-05-31 23:57:16 +02:00
Robert O'Callahan
0375caa915 Bug 646757. Fix faulty test for bug 463104. 2011-05-31 12:26:36 +12:00
Mounir Lamouri
897866ef5b Bug 660200 - Fix intermittent failure in content/html/content/test/test_bug514437.html. r=ehsan 2011-05-30 17:50:41 +02:00
Boris Zbarsky
18cce8e61c Bug 657353 part 2. Switch content state updates away from calling Begin/EndUpdate. r=sicking 2011-05-31 17:38:25 -04:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Ms2ger
509e00cd9a Bug 660433 - Remove nsIDOMNSHTMLFormElement; f=volkmar r=peterv 2011-05-30 13:35:56 +02:00