Commit Graph

1981 Commits

Author SHA1 Message Date
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