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
Ms2ger
1664471214
Bug 659738 - Move document.open implementation from classinfo to nsHTMLDocument; r=bz
2011-05-30 13:35:55 +02:00
Boris Zbarsky
7e1dd99351
Bug 658213. Just pass an JSContext to ReparentContentWrappersInScope. r=peterv
2011-05-19 16:05:46 -04:00
Ms2ger
e18ad59abc
Bug 659743 - Part b: Remove nsImageMapUtils; r=smaug
2011-05-30 13:00:00 +02:00
Ms2ger
d00c9e19d6
Bug 659743 - Part a: Support image maps according to spec in non-HTMLDocuments; r=smaug
...
--HG--
rename : content/html/content/test/test_bug109445.xhtml => content/html/content/test/test_bug659743.xml
2011-05-30 12:59:59 +02:00
Ed Morley
9e71e5b9ac
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Masayuki Nakano
85c451e309
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Ms2ger
35e44f908f
Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz
2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c
Bug 658906 - Remove nsIDOMNSDocument; r=sicking
2011-05-28 09:43:53 +02:00
Ms2ger
bfe60518ca
Bug 659990 - Remove nsIDOMNSHTMLHRElement; r=peterv
2011-05-28 09:43:44 +02:00
Ms2ger
655b045151
Bug 587021 - drop HTMLImageElement.x/.y; r=sicking sr=jst
2011-05-28 09:43:43 +02:00
Masayuki Nakano
2b6aea130f
Bug 660401 Re-land the previous backed out patch
2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235
Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression
2011-05-28 13:50:19 +09:00
Mounir Lamouri
70ae154c23
Bug 659596 - option.label should be reflected like option.value. r=smaug sr=bz
2011-05-27 12:32:59 +02:00
Masayuki Nakano
387ea6f111
Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc
2011-05-27 13:53:03 +09:00
Ms2ger
e8e412d080
Bug 577138 - Move nsMediaDocument and subclasses into the mozilla::dom namespace; r=jst
...
--HG--
rename : content/html/document/src/nsImageDocument.cpp => content/html/document/src/ImageDocument.cpp
rename : content/html/document/src/nsMediaDocument.cpp => content/html/document/src/MediaDocument.cpp
rename : content/html/document/src/nsMediaDocument.h => content/html/document/src/MediaDocument.h
rename : content/html/document/src/nsPluginDocument.cpp => content/html/document/src/PluginDocument.cpp
rename : content/html/document/src/nsVideoDocument.cpp => content/html/document/src/VideoDocument.cpp
2011-05-26 10:06:31 +02:00
Ms2ger
9d8e97c84f
Bug 587463 - Drop support for HTMLDelElement and HTMLInsElement; r=jonas
...
--HG--
rename : content/html/content/src/nsHTMLDelElement.cpp => content/html/content/src/nsHTMLModElement.cpp
2011-05-26 10:06:31 +02:00
Brian O'Keefe
02a4c1c6d9
Bug 564388 - Make the 'quality' parameter to ToDataURL work for image/jpeg. Also fixes bug 401795 (handle excess arguments to ToDataURL by ignoring them). r=bz,roc
2011-05-26 09:28:26 +02:00
Jonas Sicking
b35fd6c424
Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug
2011-05-25 10:58:23 -07:00
Mounir Lamouri
dc834941e6
Merging cedar with mozilla-central.
2011-05-25 10:03:25 +02:00
Boris Zbarsky
5d28b8f140
Bug 656379 part 2. Make labels expose a nicer API for getting their labeled content. r=smaug
2011-05-24 20:18:31 -04:00
Boris Zbarsky
ca59214f04
Bug 656379 part 1. Move the class decl for nsHTMLLabelElement out to a header. r=smaug
2011-05-24 20:18:23 -04:00
Masayuki Nakano
49814a538d
Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc
2011-05-25 15:32:00 +09:00
Masayuki Nakano
060287addd
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Steven Michaud
3c38967408
Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff
2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22
bug 570341 - Initial implementation of web timing specification
...
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
William Chen
d166aaa360
Bug 658746 - "Assertion failure: JSID_IS_STRING(id)" with dataset[0].
...
Fixed incorrect handling of integer jsid to access dataset properties. Converted integer jsids to strings. Added checks to ensure jsids are strings when using them as strings. r=sicking
2011-05-23 15:53:12 -07:00
Jim Mathies
4327e25f5e
Backout of bug 570341 (cset:1a645ea075fc) due to test failure.
2011-05-23 19:55:36 -05:00
Igor Bazarny
dbf49a1d09
bug 570341 - Initial implementation of web timing specification
...
r=smaug sr=biesi
--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Ms2ger
fb6f5dd0ca
Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug
2011-05-23 18:46:36 +02:00
Chris Leary
52221a8477
Merge mozilla-central and tracemonkey.
2011-05-23 00:02:05 -07:00
Chris Leary
b2d9eba98e
Merge mozilla-central and tracemonkey.
2011-05-20 14:29:36 -07:00
Mounir Lamouri
77c1d76262
Merging cedar with mozilla-central.
2011-05-20 15:55:16 +02:00
Mounir Lamouri
de7cd2d1a0
Bug 658282 (2/2) - Notify state change when a radio button checkness changes. r=bz
2011-05-20 00:33:33 +02:00
Benjamin Peterson
6ca89b9ae1
Bug 649618: toDataURL on a zero canvas should return "data:," r=joe
2011-05-20 00:28:45 +02:00
Craig Topper
52d9de655d
Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc
2011-05-18 22:26:45 -07:00
Craig Topper
4e38ca20a7
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Olli Pettay
2d023944de
Bug 656386 - nsUIEvent should generate nsDOMUIEvent, r=sicking
2011-05-19 16:40:52 +03:00
Benjamin Peterson
00688a9856
Bug 421865 - Handle zero dimensions correctly in canvas GetWidthHeight(). r=joe sr=roc
2011-05-19 12:49:18 +02:00
Benjamin Peterson
f41c05a7d6
Bug 656183: remove duplicate call to SetCanvasElement. r=joe
2011-05-18 21:23:00 -04:00
Zack Weinberg
1a37e44f98
Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky
2011-05-18 21:22:59 -04:00
Zack Weinberg
4528c43578
Bug 541496 part 1: add an overload of nsCSSParser::Parse() that takes a string rather than a stream; rename both methods ParseSheet(); change calling convention of the older overload for the templated implementation's sake. r=bzbarsky
2011-05-18 21:22:59 -04:00
Randell Jesup
f9901669f2
Bug 655084 - Remove nsWeakFrame's from editor scripts and the nsTextInputListener to improve perf on pages with lots of text widgets. r=ehsan
2011-05-21 04:25:27 -04:00
Benoit Jacob
fc2bfc20c7
Bug 656215 - null out failed canvas contexts - r=roc
...
This is needed to correctly handle exceeding large canvases. The previous patch lets us know that the canvas is too large, and this canvas then correctly marks it as 'bad' so that we no longer crash.
2011-05-20 15:53:53 -04:00
William Chen
db78afb329
Bug 560112 - Implement HTML5 dataset attribute. r=sicking,mrbkap
2011-05-20 10:23:49 -07:00
Mounir Lamouri
3614c727b5
Merging cedar with mozilla-central.
2011-05-18 11:42:37 +02:00
Ehren Metcalfe
8947b2bf0c
Bug 551390 - Remove dead code in content r=sicking,roc
2011-05-17 15:54:09 +02:00
Paul ADENOT
6f534e4407
Bug 657447 : adding include guard aroung nsTimeRanges class.
2011-05-17 11:14:40 +12:00