Commit Graph

2226 Commits

Author SHA1 Message Date
Ms2ger
d0d71f707b Bug 598316 - Fix a comparison between signed and unsigned integers in nsHTMLFieldSetElement::InsertChildAt; r=volkmar a=jst 2010-10-15 17:23:06 +02:00
Mounir Lamouri
7d40268f25 Bug 600155 - Let the authors override validation message with x-moz-errormessage attribute. r=sicking a=jst 2010-10-15 15:05:14 +02:00
Mounir Lamouri
6ac0322cd0 Backing out a patch that has been accidentally pushed with a merge. a=backout 2010-10-15 15:05:04 +02:00
Ehsan Akhgari
cc3a98796c Bug 602130 - Caret positioned incorrectly in input[type=text] when hidden and redisplayed; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : 673601ada34f5d1eefc61303f7420dd74363e2b3
2010-10-14 15:36:35 -04:00
Mats Palmgren
6a2386e03c Bug 601422 - Crash [@ nsImageDocument::ShrinkToFit] in removed frame. r=Olli.Pettay a=jst 2010-10-15 06:03:33 +02:00
Timothy Nikkel
791652f07c Bug 593491. Add some debugging output to try to diagnose random orange. 2010-10-14 20:03:45 -05:00
Ehsan Akhgari
59f3ed2f55 Backed out changeset a1ee6ca61426 (bug 602130) because of test failure 2010-10-14 16:53:43 -04:00
Ehsan Akhgari
c7f1418903 Bug 602130 - Caret positioned incorrectly in input[type=text] when hidden and redisplayed; r=bzbarsky a=blocking-final+ 2010-10-14 15:36:35 -04:00
Daniel Holbert
646141ff90 Bug 603734: Remove unused variable from nsHTMLSelectElement.cpp. r=sicking a=joe 2010-10-14 09:12:56 -07:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Jonas Sicking
e7e13b2084 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Johnny Stenback
bdc693a467 Bug 580128. Make the editor hold on to the window it's operating on in nsHTMLDocument::EditingStateChanged() so that the window doesn't go away in the middle of this method. r=peterv@propagandism.org 2010-10-10 15:46:10 -07:00
Ehsan Akhgari
52b16445e6 Bug 597331 - Reframing a textarea sets the caret position to the end of its contents; r=bzbarsky a=blocking-final+ 2010-10-13 01:34:05 -04:00
Ehsan Akhgari
16a0dc9a08 Bug 601881 - video and audio should never play automatically in editor; r,a=bzbarsky 2010-10-06 16:31:09 -04:00
Mounir Lamouri
7873baa96e Bug 595606 - "ASSERTION: no common ancestor at all" when removing a subtree with more than one id pointed by @form. r=jst a=blocking
--HG--
rename : content/base/crashtests/595606.html => content/base/crashtests/595606-1.html
2010-10-13 12:52:45 +02:00
Blake Kaplan
a34f91e879 Fix hiding warnings. r=peterv 2010-09-17 14:54:39 -07:00
Mounir Lamouri
7f2eb27039 Bug 596350 - Make object elements focusable when they contain a document and no longer by default. r=smaug,enndeakin a=blocking 2010-10-08 12:20:20 +02:00
Mounir Lamouri
b4aa8d6633 Bug 597744 - Use aNotify when notifying elements that the fieldset disabled state has changed. r=sicking a=blocking 2010-10-08 12:19:34 +02:00
Mounir Lamouri
1d7af1e144 Bug 596785 - Do not update form validity for submit controls when we remove/add an element because of a type change. r=smaug a=blocking 2010-10-08 15:42:09 +02:00
Mounir Lamouri
68417f7637 Bug 598238 - Don't call GetMultiple but use HasAttr. r=smaug a=sicking 2010-10-08 14:15:00 +02:00
Mounir Lamouri
b5b12f9409 Bug 590386 - <input type='file'> should not use more than one filter. r=sicking a=blocking 2010-10-08 12:13:08 +02:00
Mounir Lamouri
50b705b40d Bug 598236 - nsHTMLInputElement should not ask nsFileControlFrame to know the filters for the file picker. r=smaug a=sicking 2010-10-08 12:07:20 +02:00
Mounir Lamouri
b18688f910 Bug 603586 - input.list shouldn't return the element associated with the id if it's not a datalist element. r+a=bz 2010-10-12 18:25:31 +02:00
Ms2ger
78c77cf6be Bug 599558 - Remove support for the :optional pseudo-class on button; f=volkmar r+a=sicking 2010-10-07 23:09:31 +02:00
Ehsan Akhgari
a26e6baee2 Bug 602151 - Too many calls to OnValueChanged; r,a=bzbarsky 2010-10-06 16:31:09 -04:00
Ehsan Akhgari
c05196072c Bug 174823 - Re-enable async reflow and painting for text widgets; r=roc a=blocking-betaN+ 2010-09-23 14:44:27 -04:00
Jonas Sicking
466c50688d Bug 600809: Make HTMLBaseElement.href work properly. r=smaug a=blocker 2010-10-07 09:39:01 -07:00
Justin Wood
bffe84fd6f Bug 597887 - mochitests: "Error: useless setTimeout call (missing quotes around argument?)" at "file_bug546995.html : 28". r=sicking a=tests 2010-10-07 16:22:04 +02:00
Mounir Lamouri
2bb2f039af Follow-up for bug 600813 : cleaning tests. r=sicking a=tests 2010-10-07 12:32:35 +02:00
Mounir Lamouri
faf6652cff Bug 598643 - maxlength should not apply on all input types. r=smaug a=blocking-2.0 2010-10-07 12:01:53 +02:00
Mounir Lamouri
795cd5bd9d Bug 596496 - IsTooLong shouldn't compare maxlength and text length if maxlength isn't set. r=bz a=blocking2.0 2010-10-07 12:02:29 +02:00
L. David Baron
b7ba7ece96 When we set border-radius on <hr>, make the ends circular rather than elliptical. (Bug 597721) r=bzbarsky a2.0=blocking:betaN 2010-10-06 21:25:44 -07:00
async.processingjs@yahoo.com
23de2accd2 Bug 598812 - Fix time attribute of audio available event. r=cpearce a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce
903c5bab83 Bug 505158 - Handle invalid media in video element's source children. r=roc a=blocking2.0 2010-10-07 11:58:36 +13:00
Matthew Gregan
f3d96bd23a Bug 598217 - Share nsWebMBufferedState between cloned decoders. r=roc a=blocking2.0 2010-09-21 12:49:50 +12:00
Kyle Huey
a0333b690b Bug 598523. r=vlad sr=sicking a=blocking-beta-N 2010-10-03 20:20:48 -04:00
Jonas Sicking
bdf59c33ee Bug 597301: Update CORS to latest spec. r=jst a=blocker 2010-10-04 17:41:07 -07:00
Mounir Lamouri
cc33a99998 Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Mounir Lamouri
8ac657546b Merging backout. 2010-09-30 17:05:19 -07:00
Mounir Lamouri
6fb5c95481 Bug 600813 - Removing PUT and DELETE form methods. a=blocking-b7 2010-09-30 16:55:11 -07:00
Mounir Lamouri
5c3aec9631 Bug 583288 (2/2) - Let forms using DELETE and PUT HTTP method when submitting. r=jst,sicking a2.0=sicking 2010-09-10 07:00:10 +02:00
Henri Sivonen
62878d9b2f Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7. 2010-09-01 14:41:12 +03:00
Mounir Lamouri
71dbf7d2e0 Bug 599628 - Fix test timeout for Gecko consumers without invalidformsubmit observers. r=callek a=test 2010-09-27 18:19:59 -07:00
Jonas Sicking
5d3b067a49 Back out bug 591981 since it causes bug 599583. a=backout 2010-09-27 16:23:33 -07:00
Mounir Lamouri
18a6e08b6e Bug 599258 - Fix random orange on content/html/content/test/test_bug561636.html. r=jst a=test 2010-09-24 17:14:50 -07:00
Jesse Ruderman
268a575f7a Bug 579244 - attempt to fix an intermittent test timeout by ensuring that onload fires. a=NPOTB 2010-09-24 11:22:30 -07:00
Mounir Lamouri
821d68f9c0 Bug 598529 - Improve form validation messages with Alex Faaborg recommandations. r=sicking ui-r=limi a=blocking-beta7 2010-09-22 18:44:13 -07:00
Henri Sivonen
27395b2f77 Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=sicking a=blocking2.0-beta7 2010-09-21 12:48:40 -07:00
Serge Gautherie
afd49baf3a Bug 597811 - [SeaMonkey] mochitests-1/5: "WARNING: NS_ENSURE_SUCCESS(rv, rv) ... nsHTMLInputElement.cpp, line 436" + "test_bug592802.html | Test timed out.", caused by "test_bug548193.html / nsContentPrefService.js"; (Av1) Simplify test_bug592802.html mockObjects.js load.
r=jonas a=(test only).
2010-09-21 01:33:11 +02:00
Jonas Sicking
f161eca3e2 Back out bug 591981 to see if it caused a performance regression. a=backout 2010-09-20 15:47:57 -07:00
Ehsan Akhgari
855295156d Bug 598105 - Support the HTML5 data-* attributes in the sanitizing fragment sink; r,a=bzbarsky
--HG--
extra : rebase_source : a76a2f8eab3452d054de86d08da885bc875a7fbb
2010-09-20 17:32:24 -04:00
Mounir Lamouri
4b4b626c6c Bug 596455 - Do not sanitize input's value while we are parsing. r=bz a=blocking 2010-09-20 22:33:17 +02:00
Mounir Lamouri
1ac9b98044 Bug 557087 (6/6) - Elements in the first legend should not be disabled if the fieldset is disabled but not it's fieldset parent. r+a=sicking
--HG--
extra : rebase_source : 226f0169d41f4f6b72549b522a818577ccc3e326
2010-09-19 03:47:15 +02:00
Mounir Lamouri
9532ebf9c3 Bug 557087 (2/6) - Make the content aware of the new disabled state rule. r+a=sicking
--HG--
extra : rebase_source : 66ef476d46872edcc8ea8cd6488cd14d24ce8446
2010-09-18 23:33:16 +02:00
Mounir Lamouri
440c2dad4d Bug 557087 (1/6) - Fieldset elements can be disabled. r+a=sicking
--HG--
extra : rebase_source : 9a11a362b24285af3a5d87ebb88e39be0cf1e098
2010-09-18 23:24:58 +02:00
Ms2ger@gmail.com
b86abd43d7 Bug 596163 - GetValidationMessage hidden in nsHTMLObjectElement. r=mounir.lamouri 2010-09-19 17:57:32 +02:00
Ian Neal
2137b2fbed Bug 596636 - [SeaMonkey 2.1] TEST-UNEXPECTED-FAIL | /tests/content/html/content/test/test_bug589696.html | submit event should not be sent
r=mounir.lamouri a=testing
2010-09-18 13:41:49 +01:00
Kyle Huey
50c802e385 Followup to fix bustage because the two patches that I wrote don't like each other a=bustage 2010-09-17 21:38:22 -04:00
Ms2ger
ae84af88cb Bug 596162: Fix build warning. r=khuey a=jst 2010-09-17 21:25:23 -04:00
Kyle Huey
40924b6ff2 Bug 594964: Fix moz-filedata principal handling so that files can be dragged and dropped. r=sicking a=blocker 2010-09-17 21:22:44 -04:00
Kyle Huey
a9713881d1 Bug 565843: Implement <canvas>.mozGetAsFile(name, type). r+a=sicking
--HG--
extra : rebase_source : 1a7a635dc5a7da047967d8feb57d637e83027618
2010-09-17 21:14:59 -04:00
Mounir Lamouri
b23dd5492e Bug 596422 - Descendants of nsGenericHTMLElement should not call NS_DECL_CYCLE_COLLECTING_ISUPPORTS. r=peterv a=sicking 2010-09-17 02:37:29 +02:00
Mounir Lamouri
e6cc4a6ead Bug 595457 - HTMLDatalist.options should also return options which are not direct children. r=smaug a=blocking 2010-09-17 02:26:32 +02:00
Henri Sivonen
1e21e4e21a Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7.
--HG--
extra : rebase_source : 3d30baa42025c2d5e63b39586671345ae87bb0b2
2010-09-01 14:41:12 +03:00
Chris Double
bcc17142af Bug 584480 - Send Referer header with media requests - r=roc a=blocking2.0 2010-09-17 05:36:23 +12:00
Chris Jones
0a1ec83bc9 Merge m-c --> cedar 2010-09-15 18:28:06 -05:00
Jonas Sicking
aac728d04b Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
Jonas Sicking
3bea0686f0 Bug 596385: Update FormData to latest spec. r=jst a=blocker 2010-09-15 15:52:02 -07:00
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones
0a4b5217a4 Merge m-c --> cedar 2010-09-15 12:33:59 -05:00
Chris Jones
110d280286 Merge m-c --> cedar 2010-09-14 14:28:39 -05:00
Chris Jones
ee72f210ea Merge m-c --> cedar 2010-09-13 19:24:09 -05:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Mounir Lamouri
9d5ac0b512 Bug 556013 - Implement novalidate attribute for form elements. r=smaug a2.0=blocking 2010-09-11 06:11:58 +02:00
Mounir Lamouri
0273bb3daa Bug 561636 (2/4) - Create new invalid form submission event and block invalid form submissions when there is an observer. r=smaug a2.0=blocking 2010-09-11 06:07:41 +02:00
Mounir Lamouri
8ec525a506 Bug 561636 (1/4) - Tests for form submission/validation. r=smaug a2.0=test-only 2010-09-11 06:06:57 +02:00
Chris Pearce
8cddfb64fa Bug 589626 - Backed out changeset 87ffcfb83db3 a=backout 2010-09-11 14:04:56 +12:00
Chris Pearce
eac2dfbf01 Bug 589626 - Force canplaythrough to fire when the download has been suspended. r=roc a=blocking 2010-09-11 11:29:11 +12:00
Chris Double
b1c4739e05 Bug 464398 - Stop HTML media elements from firing events in bfcache - r=roc a=blocking2.0 2010-09-10 16:20:10 +12:00
Chris Double
9c0d8b2cee Bug 584615 - Make media progress events be 'simple' Events, not 'progress' Events - r=roc,cpearce,dolske,kinetik a=blocking2.0 2010-09-10 15:29:06 +12:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
David Zbarsky
dcd40d9c0b Bug 556007 (1/3) - Add list IDL attribute to HTMLInputElement. r=sicking a2.0=sicking 2010-09-10 07:18:10 +02:00
Mounir Lamouri
af7af7ba81 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Mounir Lamouri
c509a433c2 Bug 580575 - Implement :-moz-submit-invalid pseudo-class applying on submit buttons when the form is invalid. r=bz sr=sicking a2.0=roc 2010-09-10 07:08:56 +02:00
Chris Jones
9e23f35349 Merge m-c --> cedar 2010-09-07 17:35:15 -05:00
Bobby Holley
49614ac577 Bug 592641 - Tests.r=Neil,a=tests 2010-09-12 08:22:26 -07:00
Bobby Holley
fe65003f61 Bug 592641 - Image document doesn't show dimensions of cached images.r=Neil,a=blocker 2010-09-12 08:22:26 -07:00
Timothy Nikkel
19b4faee8e Bug 593491. Add some debugging output to diagnose intermittent orange. 2010-09-11 13:24:49 -05:00
Mounir Lamouri
b7e537067c Bug 590363 - Implement the new input type change algorithm. r=sicking a2.0=blocking 2010-09-14 02:23:03 +02:00
Chris Jones
6e7a7cd71a Merge m-c --> cedar
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 14:07:55 -05:00
Chris Pearce
6a92a3da34 Bug 485288 - Update media load algorithm. r=roc a=blocking2.0 2010-09-03 12:03:03 +12:00
David Zbarsky
e5944a3eba Bug 499656. Make nsContentList have dual atoms (original case and lowercase) so that we can match non-HTML elements in HTML documents correctly. r=sicking 2010-08-31 19:47:00 -07:00
Chris Pearce
593a071711 Bug 593528 - Ensure audioavailable frame buffer memory is always freed. r=kinetik a=blocking2.0 2010-09-06 14:14:50 +12:00
Kyle Huey
a846b63dba Bug 583863: Refactor <input> implementation to deal with files that aren't on the disk. r=sicking a=blocking-fennec
--HG--
extra : rebase_source : 2b3605042aea4e4c8273cdad5ec7f05af15959cc
2010-09-05 14:00:05 -04:00
Kyle Huey
73e9690f8f Backed out changeset af1365b24066 2010-09-05 11:32:57 -04:00
Kyle Huey
bde906120c Bug 583863: Refactor <input> implementation to deal with files that are not on the disk. r=sicking a=blocking-fennec 2010-09-05 09:09:04 -04:00
Marco Bonardo
b5f938275c Backed out changeset 96b74fec2915 2010-09-11 11:17:11 +02:00
Chris Double
417b0c1a00 Bug 584615 - Make media progress events be 'simple' Events, not 'progress' Events - r=roc,cpearce,dolske,kinetik a=blocking2.0 2010-09-10 15:29:06 +12:00
Chris Double
67ab1fd425 Bug 588312 - Set video.currentTime to seek time when seek starts - r=kinetik a=blocking2.0 2010-09-10 14:48:36 +12:00
Chris Jones
7b7af2c67c Merge m-c --> cedar
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05:00
Robert O'Callahan
c7acef03ff Bug 579323. Part 1.8: Rename InvalidateOverflowRect to InvalidateFrameSubtree. r=tnikkel
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
extra : rebase_source : f7bd38670a03e8a7f3f8c40838af114be79b06f1
2010-08-31 12:49:12 +12:00
Ms2ger
439f7a1da6 Bug 589871 - Fix GetValidationmessage warnings; r=Olli.Pettay approval2.0=jst 2010-09-02 22:12:47 +02:00
Dan Witte
ccd3c28130 Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte
86583b1783 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Chris Jones
49048c0d61 Merge m-c --> cedar
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
Chris Jones
8992432666 Merge m-c --> cedar 2010-08-26 21:36:43 -05:00
David Zbarsky
76be33e32b Tests for Bug 36619 r=sicking a=blocking 2010-08-27 11:49:10 -04:00
David Zbarsky
a65da96f73 Bug 36619 - display notification when file picker is blocked r=sicking a=blocking 2010-08-27 11:49:08 -04:00
David Zbarsky
4425a427fd Bug 36619 - allow file input .click() to bring up filepicker r=sicking a=blocking 2010-08-27 11:49:06 -04:00
Dan Witte
8de0079a42 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Ms2ger
0f41207847 Bug 585877 - Add a warning for document.width and document.height; r=sicking a=jst 2010-08-27 13:44:28 +02:00
Dan Witte
8937bd5738 Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+ 2010-08-25 17:51:21 -07:00
Dan Witte
f2000be3eb Merge. 2010-08-23 17:30:33 -07:00
Mounir Lamouri
0299523479 Bug 581947 - Show validation message error in the tooltip of an invalid element. r=gavin.sharp sr=sicking ui-r=limi a2.0=blocking
--HG--
rename : content/html/content/src/nsIConstraintValidation.h => content/html/content/public/nsIConstraintValidation.h
2010-08-27 07:46:17 +02:00
Dan Witte
886f18b404 Merge m-c -> e10s. 2010-08-21 10:21:06 -07:00
Mounir Lamouri
98dcdbc7b5 Bug 589026 - Reduce time taken by test_bug535043.html. r=ehsan a=test-only 2010-08-21 18:32:24 +02:00
Dan Witte
4439f97632 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+ 2010-08-21 00:31:11 -07:00
Mounir Lamouri ext:(%2C%20David%20Zbarsky%20%3Cdzbarsky%40gmail.com%3E)
f8ab79e415 Bug 582412 - Implement @formmethod, @formenctype. r=smaug sr=sicking a2.0=blocking 2010-08-20 19:47:30 +02:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Oleg Romashin
832333ab06 Merged with mozilla-central: 00186bbb7459 2010-08-24 14:21:48 -07:00
Chris Jones
1b38174082 Merge remote-frame code into m-c tip 2010-08-23 22:10:50 -05:00
Mounir Lamouri
7511140cd2 Bug 588683 - Implement the form attribute. r=sicking sr=jst a2.0=blocking 2010-08-24 03:11:04 +02:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Chris Jones
fcfbc0ecb8 Missed comment and --disable-ipc bustage fix. 2010-08-20 22:06:53 -05:00
Chris Jones
f2e059ba52 Bug 585244: Don't attempt to prefetch invalid hostnames from content processes. r=dougt 2010-08-20 18:24:40 -05:00
Mounir Lamouri
d0c82b6c97 Bug 595449 - Implement elements IDL attribute for HTMLFieldsetElement. r+a=jst 2010-09-15 09:55:48 +02:00
Mounir Lamouri
2b85f59b0d Bug 595447 - Add type IDL attribute for HTMLFieldSetElement. r=smaug a=jst 2010-09-15 09:55:06 +02:00
Mounir Lamouri
10942c993a Bug 595429 - Add name IDL attribute for HTMLFieldSetElement. r=smaug a=jst 2010-09-15 09:54:20 +02:00
Ms2ger
a2c049c1fc Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN 2010-08-20 08:05:05 +02:00
Chris Pearce
e7bc98cbb3 b=587329 Fix so build with disable webm/ogg/wave works r=doublec a=roc
--HG--
extra : rebase_source : 458cd650f36a9a93c358c7ea1db1fc32432055f0
2010-08-23 13:40:21 +12:00
Mounir Lamouri
3c100f9dbb Bug 561634 - Rename nsConstraintValidation to nsIConstraintValidation. r=sicking a2.0=blocking
--HG--
rename : content/html/content/src/nsConstraintValidation.cpp => content/html/content/src/nsIConstraintValidation.cpp
rename : content/html/content/src/nsConstraintValidation.h => content/html/content/src/nsIConstraintValidation.h
2010-08-21 20:52:49 +02:00
Mounir Lamouri
2643c3bd63 Bug 561634 - Implement constraint validation API for form element. r=smaug sr=sicking a2.0=blocking 2010-08-21 20:51:38 +02:00
Mounir Lamouri
f0abd62b35 Bug 561635 - Implement constraint validation API for output element. r=sicking a2.0=blocking 2010-08-21 19:54:53 +02:00
Mounir Lamouri
4961d1afbf Bug 558788 - More tests for :invalid and :valid, using querySelectorAll(). r=sicking a=test-only
--HG--
rename : content/html/content/test/test_bug558788.html => content/html/content/test/test_bug558788-1.html
2010-08-21 19:53:52 +02:00
Mounir Lamouri
eb4a11a0de Bug 558788 - Valid/Invalid form elements should change their state to use CSS3 pseudo-classes :valid and :invalid. f=ehsan r=sicking,dbaron sr=jst a2.0=blocking 2010-08-21 19:52:57 +02:00
Boris Zbarsky
1bbc3ac123 Bug 593689. Convert arguments to new Image() to integers the way other conversions to integer happen. r=jst a=jst 2010-09-09 01:38:10 -04:00
Ehsan Akhgari
c4d1fc059a Bug 592592 - Non-breaking spaces inserted when multiple spaces are typed, even in pre-wrap-styled text r,a=roc 2010-09-02 20:36:42 -04:00
Mounir Lamouri
1562ac0867 Bug 589686 - Fix uses of ContentStatesChanged and MOZ_AUTO_DOC_UPDATE in content/html/content/*.cpp. r=bz a2.0=blocking 2010-09-08 19:43:28 +02:00
Mounir Lamouri
ddfdded1b7 Bug 590353 - Do not try to reset the default value if the element value isn't different from the value attribute. r=smaug a2.0=blocking 2010-09-08 19:42:35 +02:00
Ehsan Akhgari
dfd8ce442d Back out bug 592592, bug 588999, bug 591706 and bug 592586 because of test failures 2010-09-07 19:23:29 -04:00
Ehsan Akhgari
48efe58c89 Bug 592592 - Non-breaking spaces inserted when multiple spaces are typed, even in pre-wrap-styled text r,a=roc 2010-09-02 20:36:42 -04:00
Mounir Lamouri
54cd299512 Bug 589490 - Implement constraint validation API for <object>. r=sicking a=blocking 2010-08-28 02:36:45 +02:00
Mounir Lamouri
6d9bb03e5f Move 590387.html crashtest to content/html/content/crashtests/ a=test-only
--HG--
rename : layout/generic/crashtests/590387.html => content/html/content/crashtests/590387.html
2010-08-28 02:35:42 +02:00
Mounir Lamouri
2fc5b9497e Typo fix. a2.0=typo 2010-08-26 00:45:35 +02:00
Mounir Lamouri
dd70db2b50 Bug 590387 - Crash [@ nsGenericHTMLFormElement::UpdateFormOwner] when attaching an element with @form set to an element which is not in a document. r=sicking a2.0=blocking
--HG--
extra : rebase_source : 9f2a36b9a622c9ef1a2e3501ba45a297b8451d9e
2010-08-25 22:45:43 +02:00
David Humphrey
07de814ba1 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Chris Pearce
b1b1746c37 Bug 589561 - Rename HTMLTimeRanges to TimeRanges, HTMLMediaError to MediaError. r=roc a=roc
--HG--
rename : content/html/content/src/nsHTMLMediaError.cpp => content/html/content/src/nsMediaError.cpp
rename : content/html/content/src/nsHTMLMediaError.h => content/html/content/src/nsMediaError.h
rename : content/html/content/src/nsHTMLTimeRanges.cpp => content/html/content/src/nsTimeRanges.cpp
rename : content/html/content/src/nsHTMLTimeRanges.h => content/html/content/src/nsTimeRanges.h
rename : dom/interfaces/html/nsIDOMHTMLMediaError.idl => dom/interfaces/html/nsIDOMMediaError.idl
rename : dom/interfaces/html/nsIDOMHTMLTimeRanges.idl => dom/interfaces/html/nsIDOMTimeRanges.idl
2010-08-25 20:43:00 +12:00
Mounir Lamouri
41d31e0af5 Bug 457801 (1/2) - Implement -moz-placeholder pseudo-class. r=dbaron a2.0=blocking 2010-08-25 06:39:10 +02:00
Mounir Lamouri
a998cdc78c Backing out unintentional push ba7b3f3d3451, b21458f2e3a2 and f69cabe709ca. a=backout 2010-08-25 02:40:47 +02:00
Mounir Lamouri
5de293a274 Bug 457801 (1/3) - Implement -moz-placeholder pseudo-class. r=dbaron a2.0=blocking 2010-08-24 21:02:09 +02:00
Dan Witte
2d6527e305 Merge e10s -> m-c. a=wecanhazbeta 2010-08-23 21:18:09 -07:00
Mounir Lamouri
199316d774 Bug 566160 - Implement formaction for <input> and <button> which ovverid <form> action attribute. r=sicking sr=smaug a2.0=blocking 2010-08-20 01:23:59 +02:00
Mounir Lamouri
75d4416512 Bug 566064 (2/2) - Implement formtarget for <input> and <button> which override <form> target attribute. r=sicking a2.0=blocking 2010-08-20 00:58:10 +02:00
Mounir Lamouri
ac22730bb3 Bug 566064 (1/2) - Moving form submission originating element to nsFormSubmission. r=sicking a2.0=blocking 2010-08-19 23:58:20 +02:00
Mounir Lamouri
a1ce6b8e9b Bug 566128 (2/3) - Add mozActionUri to get the resolved action URI from scripts. r=sicking a2.0=blocking 2010-08-19 23:55:35 +02:00
Mounir Lamouri
5e767b453c Bug 566128 (1/3) - HTMLFormElement action IDL attribute should reflect the action content attribute. r=sicking a2.0=blocking 2010-08-19 23:55:00 +02:00
Chris Pearce
2eccbf0c80 Bug 548523 - Don't show throbber on video controls if we're not loading a resource. r=dolske a=blocking2.0 2010-08-20 10:50:37 +12:00
Rich Dougherty ext:(%2C%20Chris%20Pearce%20%3Cchris%40pearce.org.nz%3E)
eccf17ee01 Bug 548523 - Replace HTMLMediaElement.autobuffer attribute with 'preload'. r=roc a=blocking2.0
--HG--
rename : content/media/test/test_autobuffer.html => content/media/test/test_preload_attribute.html
rename : content/media/test/test_autobuffer2.html => content/media/test/test_preload_suspend.html
2010-08-20 10:50:37 +12:00
Zack Weinberg
a5a3802007 Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Zack Weinberg
5922bd1bb5 Bug 576044 (2/12): eliminate ValuePair as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
Mounir Lamouri
c3e6d1d85d Bug 506554 - Implement the CSS3 pseudo-classes :required and :optional for HTML. r=sicking sr=bz a2.0=blocking 2010-08-19 02:03:20 +02:00
Mounir Lamouri
335de1dc4f Bug 345512 - Implement pattern attribute for input elements. f=ajvincent r=sicking,jorendorff sr=smaug a2.0=blocking 2010-08-18 21:26:22 +02:00
Mounir Lamouri
b0401c6221 Bug 583610 - Value sanitizing algorithm form <input type='url'>. r=smaug sr=jst a2.0=blocking 2010-08-18 20:34:14 +02:00
Mounir Lamouri
ef6632684a Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking 2010-08-18 20:33:37 +02:00
Mounir Lamouri
d22e4be9f9 Bug 583586 - Value sanitizing algorithm form <input type='email'>. r=smaug a2.0=blocking 2010-08-18 20:32:40 +02:00
Mounir Lamouri
17e57ca845 Bug 555559 - Implement <input type="email">. r=smaug,sicking sr=jst a2.0=blocking 2010-08-18 20:31:54 +02:00
Mounir Lamouri
3c37076481 Bug 345822 - Implement required attribute. f=ajvincent r=smaug sr=sicking a2.0=blocking 2010-08-18 20:30:41 +02:00
Mounir Lamouri
3d7210d055 Bug 561640 - <input> and <textarea> should not suffer from being too long if dirty value flag is true. r=smaug a2.0=blocking 2010-08-18 20:29:20 +02:00
Mounir Lamouri
b3a82943f3 Bug 345624 - Implement HTML 5's Constraint Validation API. f=ajvincent r=smaug sr=sicking a2.0=blocking 2010-08-18 20:28:08 +02:00
Robert Sayre
53e582b692 Merge tracemonkey to mozilla-central. a=blockers 2010-09-14 18:18:32 -07:00
Mounir Lamouri
028a464466 Bug 589696 - Implement formnovalidate attribute for submit controls. r=smaug a2.0=blocking 2010-09-15 01:38:07 +02:00
Chris Pearce
5ac3db9615 Bug 593922 - Resolve gcc warnings when compiling nsHTMLMediaElement.cpp r=doublec a=roc 2010-09-14 16:24:47 -07:00
Chris Leary
269a7d6bab Bug 571355: Move RegExpStatics out of JSContext. (r=gal) 2010-09-13 15:53:50 -07:00
Neil
6b7202a7df Bug 596237 - [SeaMonkey 2.1] TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/content/html/document/test/browser_bug592641.js; r=bobbyholley a=NPOTB 2010-09-14 15:48:46 -04:00
Mounir Lamouri
77e3387289 Bug 592802 - Send change event when <input type='file'> is changed even with display:none. r=sicking a2.0=blocking 2010-09-14 20:35:37 +02:00
Mounir Lamouri
f897233b6a Bug 557628 (2/2) - Implement the autocomplete IDL attribute for input elements. f=smaug r+a=sicking
--HG--
rename : content/html/content/test/test_bug557628.html => content/html/content/test/test_bug557628-1.html
2010-09-14 19:58:34 +02:00
Mounir Lamouri
cb42ff72a0 Bug 557628 (1/2) - Implement the autocomplete IDL attribute for form elements. r=smaug a=sicking 2010-09-14 19:55:16 +02:00
Ted Mielczarek
be942c946d Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures. 2010-08-18 13:04:31 -04:00
David Humphrey
960122a5de bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-17 09:40:00 -04:00
Chris Pearce
d05b3252ce Backed out changeset 42c8cd0e1a65 2010-08-18 13:50:49 +12:00
Rich Dougherty ext:(%2C%20Chris%20Pearce%20%3Cchris%40pearce.org.nz%3E)
3c4b6f1279 Bug 548523 - Replace HTMLMediaElement.autobuffer attribute with 'preload'. r=roc a=blocking2.0
--HG--
rename : content/media/test/test_autobuffer.html => content/media/test/test_preload_attribute.html
rename : content/media/test/test_autobuffer2.html => content/media/test/test_preload_suspend.html
2010-08-18 10:49:14 +12:00
Gavin Sharp
be5d8bffff Backed out changeset 43b490ef9dab (bug 585877), a=beltzner 2010-08-17 15:27:06 -04:00
Olli Pettay
75b4ffdc0e Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Mounir Lamouri
c830650825 Bug 585508 - HTMLFormElement enctype and method IDL attributes should be
limited to only known values. r=jst
2010-08-10 13:52:46 +02:00
Ms2ger
120c26ed9f Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
Ms2ger
eabbd18c18 Bug 585877 - remove document.height / document.width. r=sicking, sr=jst 2010-08-15 11:02:20 +02:00
Boris Zbarsky
d276f7c756 Bug 564652. Make sure to flush out restyles on our parent before checking for a presshell. r=dbaron 2010-08-13 14:44:39 +12:00
Ehsan Akhgari
5a36ff1530 Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+
--HG--
extra : rebase_source : 7085d047498e0509f056c8a33d9189e52aaeb077
2010-08-10 11:52:32 -04:00
Kyle Huey
edb11525d1 Backing out Bug 572290 due to leaks 2010-08-10 21:15:13 -07:00
Kyle Huey
4108bf2819 Backed out changeset 0aa4ad290221 2010-08-10 21:14:51 -07:00
Kyle Huey
65f51e9465 Backing out Bug 572290 due to leaks 2010-08-10 21:11:15 -07:00
Kyle Huey
64c504f404 Backed out changeset 1b12ed9d1c48 2010-08-10 21:10:36 -07:00
Doug Turner
7c50d1ab8c Merge from e10s clone. a=dougt 2010-08-10 18:33:38 -07:00
Ehsan Akhgari
2dc88eb94c Bug 572290 - comment addition; a=NPOTB 2010-08-10 21:20:04 -04:00
Ehsan Akhgari
d8ca1c0100 Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+ 2010-08-10 11:52:32 -04:00
Oleg Romashin
d03e19a821 Bug 586116 - Crash in nsHTMLDNSPrefetch::Prefetch gNeckoChild == 0x0. r=jduell.mcbugs a=blocking-fennec2.0a1+ 2010-08-10 17:20:17 -07:00
Neil Deakin
cd970262b2 Bug 577316, add preference to allow form elements to be focused when clicked, r=smaug 2010-08-09 12:15:47 -04:00
Ms2ger@gmail.com
fcb776009d Bug 585153 - Remove nsITextAreaElement.idl. r=bz 2010-08-07 09:12:33 +02:00
Robert Sayre
ca10e5d657 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Kyle Huey
d7397260c9 Fix build dependencies in content/html/content/src and make double-including config.mk fatal. irc-r=ted
--HG--
extra : rebase_source : 3362befa95b5ab3aff581b49f58652d653d1a8ac
2010-08-06 08:26:20 -07:00
Ehsan Akhgari
5af59c56b4 Bug 580507 - Crash [@ nsTextEditorState::UpdatePlaceholderText]; r=jst a=blocking2.0+
--HG--
extra : rebase_source : 484bd181734c344db786c64f4e99006607ee1670
2010-08-05 22:13:07 -04:00
Boris Zbarsky
07c39320f4 Adding missing test file for bug 564001.html to fix build bustage. 2010-08-06 08:21:53 -04:00
Blake Kaplan
45243e880e Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-07-20 21:05:11 -07:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Craig Topper
a53310509d Bug 579830 - Change nsCOMPtr<Element> to nsRefPtr<Element>. Change one location that was QIing to Element. r=bz a2.0=benjamin
--HG--
extra : rebase_source : db2a1a863ed6c646ef8eb850eaf93b64b4552be7
2010-07-30 20:44:45 -07:00
Ms2ger
ce3120a969 Bug 573322 - Align td@align with HTML5; r=bzbarsky a=blocking-betaN 2010-07-30 16:48:57 -07:00
Ms2ger
dc206bff4c Bug 573258 - Support a.text as defined in HTML5; r=Olli.Pettay approval2.0=benjamin 2010-07-30 16:48:57 -07:00
Chris Double
9c9fb70b28 Bug 489071 - Send correct Accept header when requesting <video> and <audio> resources - r=roc
--HG--
extra : rebase_source : fefb3792e2c69919fb7fcb87ef04df80f2766364
2010-07-29 16:58:07 +12:00
David Zbarsky
b031cede9e Remove unneeded nsIDOMNSHTMLButtonElement interface by merging it into nsIDOMHTMLButtonElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
b3ebf67236 Remove unneeded nsIDOMNSHTMLAreaElement and nsIDOMNSHTMLAreaElement2 interfaces by merging them into nsIDOMHTMLAreaElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
f1c4604ccc Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
91c644282f Remove unneeded nsIDOMNSHTMLOptionElement interface by merging it into nsIDOMHTMLOptionElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
08bd79fe55 Remove unneeded nsIDOMNSHTMLScriptElement interface by merging it into nsIDOMHTMLScriptElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
aa0b85856a Remove unneeded nsIDOMNSHTMLLabelElement interface by merging it into nsIDOMHTMLLabelElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Ms2ger
f44cbdb1a4 Bug 564001 - Should use the first image map in tree order r=bzbarsky a=benjamin
--HG--
extra : rebase_source : 0bd0a6eafd22095fc0621dc294ad95ca7fd1b7d6
2010-08-06 13:08:58 +02:00
Boris Zbarsky
333db1149b Backed out changeset ea50ac5c3d1f, which was a failed bustage fix, from CLOSED TREE
--HG--
extra : rebase_source : f1c225ff6d0151d9f91505198f57124bbfb3c167
2010-08-05 22:19:34 -04:00
Kyle Huey
3809a4a238 Fixing Microsoft defines stupidity 2010-08-05 17:26:42 -07:00
Boris Zbarsky
ff911ada1d Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
Chris Pearce
ec5a28e946 Bug 462957 - HTMLTimeRanges out of bounds check should not be off by 1. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
fb117ca2e7 Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
David Zbarsky
de6582a359 Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
9f2162a376 Remove unneeded nsIDOMNSHTMLImageElement interface by merging it into nsIDOMHTMLImageElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
David Zbarsky
ad200f8dad Remove unneeded nsIDOMNSHTMLAnchorElement interface by merging it into nsIDOMHTMLAnchorElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Zack Weinberg
6873de67ec Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron 2010-07-23 11:00:34 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Ginn Chen
24dac47fb1 Bug 580969 nsHTMLSelectElement.cpp failed to compile with Sun Studio r=peterv a=bsmedberg 2010-07-27 17:21:45 +08:00
Steffen Imhof
78bd96033d Bug 565163 - e10s: nsHTMLDNSPrefetch needs to be forwarded to chrome. r=dougt
--HG--
extra : rebase_source : bb91a8287ad6484846c89f57d916c97f3c05fb70
2010-07-26 11:49:09 -07:00
Kyle Huey
c83653fee9 Bug 508082: Implement a raw video decoder. Based on an earlier patch by Brad Lassey. r=doublec 2010-07-26 12:35:16 -07:00
Kyle Huey
547de8317f Bug 578570: Followup to remove a dead header that I missed. 2010-07-26 12:30:05 -07:00
Chris Pearce
1536283f5a Bug 534571 - Fire video timeupdate event when starting a new load. r=roc,dolske a=blocking2.0 2010-07-26 10:45:41 +12:00
Chris Pearce
86e38ce4c9 Bug 534571 - Enable reloads from audio source child to work. r=roc a=blocking2.0 2010-07-26 10:45:18 +12:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Ms2ger@gmail.com
0792cf5941 Bug 401788 - Canvas throws exceptions on invalid string values. r=sicking 2010-07-12 16:51:17 +02:00
Ehsan Akhgari
7dcf9d424a Backout bug 289384 because of crashtest assertion failures 2010-07-11 17:43:27 -04:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Olli Pettay
09290d1c85 Bug 575374 - Optimize ::GetInnerHTML (part 2), r=jst
--HG--
extra : rebase_source : 6e1574ed157561540b74d9f19b61f6292a42367e
2010-07-19 13:35:02 +03:00
Daniel Holbert
ef7d10cf70 Bug 574430: In nsTextEditorState.cpp, move helper-class declaration outside of function-bodies to fix GCC warnings. r=jst 2010-07-18 15:07:53 -07:00
Craig Topper
dcd5047456 Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz 2010-07-18 16:39:20 +02:00
Mounir Lamouri
c72ca112fb Bug 573969 - innerHTML getter on <xmp> is no longer special-cased, causing tuenti.com to display unparsed markup r=sicking
--HG--
extra : rebase_source : c9c62485cd1e073f21b6096620ae0463b0b80f6f
2010-07-17 16:00:27 +02:00
Ms2ger@gmail.com
dcad0405ef Bug 577081 - nsAttrValue::ParseColor doesn't need a document parameter anymore. r=jst 2010-07-17 10:09:14 +02:00
Peter Van der Beken
1a344e3027 Part 5 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make ResolveName and GetDocumentAllResult return the wrapper cache. r=jst.
--HG--
extra : rebase_source : d36cf87ab26c82bba89998111f872389a1cae754
2010-05-10 18:43:20 +02:00
Peter Van der Beken
c872db9372 Part 4 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNamedItem return the wrapper cache. r=jst.
--HG--
extra : rebase_source : 584b74ed06c59bbf08c20e3a8a3b10dd7d540592
2010-05-09 21:41:19 +02:00
Peter Van der Beken
6c9db700f1 Fix for bug 564585 (Use WrapNativeParent if we can in nsNodeSH::PreCreate). r=bz.
--HG--
extra : rebase_source : 349801780c4e8ae13e61ee43dfdae32344c936db
2010-05-09 21:33:00 +02:00
Peter Van der Beken
76cf6809a4 Part 3 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNodeAt return nsIContent*. r=jst.
--HG--
extra : rebase_source : 4653ed3c0f67141bbace1b1973db4aca4b4d908d
2010-05-09 21:33:00 +02:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Jonas Sicking
86d78a4568 Bug 576447: ^ means bitwise-xor, nothing else. r=dbaron 2010-07-22 18:16:02 -07:00
Chris Pearce
6aa46b1e86 Bug 543769 - Buffer non-autobuffer videos upon first playback to ensure smooth playback. r=roc a=blocking2.0 2010-07-23 10:48:32 +12:00
Mounir Lamouri
679de0ecc9 Fix bug 572896 and bug 572897 bustage on embedding/test/test_bug293834.html; r=Smaug 2010-07-22 20:27:33 +02:00
Mounir Lamouri
0582cc25b2 Bug 572897 - Do not always call SetValueChanged(PR_TRUE) when SetValueInternal is called; r=Olli.Pettay approval2.0=benjamin 2010-07-22 17:28:03 +02:00
Mounir Lamouri
1cfc71b139 Bug 572896 - Split nsHTMLInputElement::Reset() to prevent calling it to set the default value to the current value; r=Olli.Pettay approval2.0=benjamin 2010-07-22 17:10:27 +02:00
Ehsan Akhgari
25d50210ce Bug 579077 - WARNING: NS_ENSURE_TRUE(mBoundFrame) failed: file ../../../../../content/html/content/src/nsTextEditorState.cpp, line 1326; r=jst approval2.0=benjamin 2010-07-21 20:59:25 -04:00
Mounir Lamouri
dbf929d752 Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Jonas Sicking
888d947e61 Bug 579079: Remove elements from name table as appropriate. Test by bz. r=jst 2010-07-20 17:40:54 -07:00
Jonas Sicking
7be8ee4b81 Fix bug 576447. r=jst 2010-07-20 17:37:08 -07:00
Boris Zbarsky
ae9e1bc03c Bug 578696 part 6. Stop holding strong refs when calling CharacterDataChanged. r=sicking 2010-07-21 11:33:32 -04:00
Peter Van der Beken
8ac29c76fa Part 2 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsHTMLOptionElement in nsHTMLOptionCollection instead of nsIDOMHTMLOptionElement. r=jst.
--HG--
extra : rebase_source : 0dab994cd3bfbc72b7b876876b89b138cb3290f1
2010-05-09 20:32:57 +02:00
Peter Van der Beken
1d8a08a24c Fix line-endings for nsHTMLOptionElement.h
--HG--
extra : rebase_source : ec5f4caa7765d69c0afad7ae230af2c4047ac7db
2010-07-15 20:07:21 +02:00
Ehsan Akhgari
b345e2de4d Bug 577518 - Stack exhaustion on startup with accessibility enabled and default browser dialog not yet answered; r=jst a=blocking2.0+
--HG--
extra : rebase_source : baa84479e37e2381c8dfb1213776d0af1c9fb5f6
2010-08-04 14:59:35 -04:00
Robert O'Callahan
601e5b55ce Backout edd01aafe372 to fix red 2010-08-02 15:20:24 +12:00
Robert O'Callahan
b88214cae4 Backed out changeset edd01aafe372 2010-08-02 15:20:05 +12:00
Ms2ger
7b6cd84171 Bug 567663. Implement 'hidden' attribute. r=sicking 2010-08-02 15:07:07 +12:00
David Zbarsky
ae961dd518 Bug 582303. Move nsIDOMNSHTMLImageElement into nsIDOMHTMLImageElement. r=jst 2010-08-02 15:07:06 +12:00
Peter Van der Beken
8c1a0bae2b Part 1 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsDOMAttribute in nsDOMAttributeMap instead of nsIDOMNode. r=jst.
--HG--
extra : rebase_source : d9a660d478412545c7f1717b034b04d419111757
2010-04-19 17:41:39 +02:00
Robert O'Callahan
1917c1d836 Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron 2010-07-16 09:07:53 +12:00
Robert O'Callahan
a7c0fe60ac Bug 564991. Part 2: Create retained layer API: methods on FrameLayerBuilder that frames can use to access, reuse and invalidate retained layers. r=mats,sr=vlad 2010-07-16 09:07:46 +12:00
ms2ger@gmail.com
44ac2ac21f b=578215; crash with canvas getContext; r=jonas 2010-07-15 13:39:31 -07:00
Henri Sivonen
e985ea0186 Bug 560256 - Ignore document.write() from external scripts when there is no proper insertion point. r=jonas. 2010-06-19 09:38:41 +03:00
Kyle Huey
ae699722b3 Bug 578570: Remove nsIOptionElement and nsIRadioControlElement. r=jst
--HG--
extra : rebase_source : 9e91a8dd4813109d0bd84fd5e62ce5c28d682976
2010-07-13 23:39:48 -07:00
Daniel Holbert
14b174c3db Bug 573895, better patch: Expand 0-argument invocations of NS_*_NS_NEW_HTML_ELEMENT macros, to fix GCC & MSVC build warnings. r=jst 2010-07-14 09:27:31 -07:00
Peter Van der Beken
ba965ac95d Backout 249ee5a4b51d, f3003a80bf28 and 1b4359586ce5 to fix leak.
--HG--
extra : rebase_source : effdeb6ac33a5a065689ca5c3f8f6da249eb6375
2010-07-14 15:45:11 +02:00
Peter Van der Beken
0c2e4a8076 Fix for bug 564585 (Use WrapNativeParent if we can in nsNodeSH::PreCreate). r=bz. 2010-05-09 21:33:00 +02:00
Peter Van der Beken
b7843c8de4 Part 2 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsHTMLOptionElement in nsHTMLOptionCollection instead of nsIDOMHTMLOptionElement. r=jst. 2010-05-09 20:32:57 +02:00
Peter Van der Beken
7fa945a5b8 Part 1 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsDOMAttribute in nsDOMAttributeMap instead of nsIDOMNode. r=jst. 2010-04-19 17:41:39 +02:00
Ehsan Akhgari
f9e95a2600 Bug 574820 - URL and Placeholders (e.g. "Go to a Web Site") show at same time in Location Bar after closing Print Preview; r=roc 2010-07-13 22:00:57 -04:00
Ehsan Akhgari
0ad20714f9 Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky 2010-07-11 17:48:46 -04:00
Ehsan Akhgari
f6d555362e Bug 572637 - Paste image into Compose window broken with Shredder; r=bzbarsky
--HG--
extra : rebase_source : 30d81359c13d31a4693c8140ec6ed2b450759a99
2010-06-25 22:22:12 -04:00
Ehsan Akhgari
d288e15ecd Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
--HG--
extra : rebase_source : d533ad700d2e3e5d50dc0f03b57b14723e12c7eb
2010-06-25 14:58:25 -04:00
Michael Kohler
dab190d2bc Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
Ms2ger@gmail.com
b19dbc3451 Bug 573260 - Make nsGenericHTMLElement::ParseDivAlignValue static. r=bz 2010-07-06 06:25:52 +02:00
Ms2ger@gmail.com
0b55de891c Bug 574078 - nsHTMLTagList.h calls macros with empty arguments. r=sicking 2010-07-06 06:24:35 +02:00
Phil Ringnalda
9a967f7fbd Bug 570376 followup, rename the test file to have the right bug number
--HG--
rename : content/html/document/test/test_bug570375.html => content/html/document/test/test_bug570376.html
2010-07-05 20:02:34 -07:00
Ms2ger@gmail.com
6c14d4bcad Bug 489532 - Make document.createElement("<x>") throw in quirks mode. r=sicking 2010-07-04 20:29:14 +02:00
Neil Deakin
3da6205dd4 Bug 437296, allow tabbing to <input>, <select> and <button> regardless of keyboard access setting, r=jonas 2010-07-02 10:50:08 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Peter Van der Beken
4b78fc64de Fix testcase (readonly properties shouldn't throw on setting except in strict mode). 2010-07-01 14:40:49 +02:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ehsan Akhgari
fafab966e3 Bug 572642 - Part 1: Allow comments, and disallow styles when pasting CF_HTML content; r=roc 2010-06-23 14:40:08 -04:00
Ehsan Akhgari
814b9f0c25 Bug 573527 - Correct the test for bug 404320; r=roc 2010-06-23 14:40:08 -04:00
Ms2ger
27a3b29543 Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
4164b0645e Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Benjamin Smedberg
ed3a49c9a2 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Neil Deakin
847d6ce201 Bug 564277, fix up various focus ring issues for html elements, r=smaug 2010-06-21 08:37:34 -04:00
Ms2ger
bb9993f59f Bug 573340 - Remove unused declaration of nsGenericHTMLElement::Shutdown. r=jst 2010-06-22 14:44:36 +02:00
Johnny Stenback
660ac78445 Merge of backout of fix for bug 572609. CLOSED TREE 2010-06-21 22:41:52 -07:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
63e3022e0d Fixing bug 572614. Eliminate double hash lookups in document.getElementById(). r=jonas@sicking.cc 2010-06-21 19:59:37 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Mounir Lamouri
8ec44938fc Bug 568515 - xmp and plaintext element should be considered as HTMLElement, not HTMLSpanElement, r=sicking 2010-06-22 02:02:07 +02:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Ehsan Akhgari
1c4e5eae5f Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay
--HG--
extra : rebase_source : 7d01d90f59e60b63e64b96bb655937fe0d0c879a
2010-06-04 17:03:50 -04:00
Ehsan Akhgari
731ad4df41 Merge backout of changeset d1cbe16de6bf 2010-06-28 15:29:45 -04:00
Ehsan Akhgari
fb10e0a996 Backed out changeset d1cbe16de6bf to fix oranges 2010-06-28 15:29:30 -04:00
Ehsan Akhgari
47e64b8ff4 Bug 574558 - Part 3: Handle frame reconstruction duirng nsTextEditorState::SetValue gracefully; r=roc 2010-06-28 14:04:37 -04:00
Ehsan Akhgari
11dcb95e1d Bug 574558 - Part 1: Pass the correct content to ContentChanged; r=roc 2010-06-28 14:04:37 -04:00
Ehsan Akhgari
4ba6d6114b Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay 2010-06-04 17:03:50 -04:00
Peter Van der Beken
26a0e0161a Fix for bug 571981 ("ASSERTION: Got the wrong answer from the custom method call" with frameset root). r=bz.
--HG--
extra : rebase_source : 84ed582dcec4f32644e549a1030df9b7ee64bb85
2010-06-17 17:17:25 +02:00
Olli Pettay
f48d7a4a08 Bug 574089 - Optimize ::GetInnerHTML, r=jst
--HG--
extra : rebase_source : 3ed1549eaa96d3ff3fe6bf2bb2562dd9e68fcc17
2010-06-26 23:39:56 +03:00
Daniel Holbert
8b5c173803 Bug 573895: Disable MSVC warning that's spammed when we pass empty string to the macros NS_[DECLARE|IMPL]_NEW_HTML_ELEMENT. r=jst 2010-06-26 14:58:01 -07:00
Doug Turner
a8d2b069bc Bug 571166 - merge from e10s to m-c. r=various. sr=bz. CLOSED TREE. 2010-06-30 23:27:52 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jason Duell
e7064f2be4 # User Michal Novotny <michal.novotny@gmail.com>
# Date 1277056918 -7200
Bug 537164 - e10s HTTP: caching.  r=jduell, sr=biesi
2010-06-23 23:55:19 -07:00
Ms2ger
efa1edce8f Bug 573357 - Use the HTMLElement interface for more elements. r=jonas 2010-06-30 23:11:45 +02:00
Jason Duell
1b0fefc8aa Merged again from m-c to get latest bits and avoid deleted branch issue. 2010-06-22 17:57:09 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Josh Matthews
670215298c Bug 564382 - Remove CPOWs from PContentProcess tree. r=olli 2010-06-17 14:10:14 -07:00
Oleg Romashin
a4467eb490 Bug 568632 - rename MozGetShmemContent to MozGetAsyncContext. r=joe 2010-06-08 13:27:24 -04:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Phil Ringnalda
bcd7a93200 Crash [@ MaybeSetForm] with html5.enable == false and <form><legend> 2010-06-06 16:49:00 -05:00
Ehsan Akhgari
5e0ac612eb Bug 534785 - fix build bustage
(transplanted from 2875f9a693ae9c60cc07b0caf42451760ed6c657)

--HG--
extra : transplant_source : %28u%F9%A6%93%AE%9C%60%CC%07%B0%CA%F4%24Qv%0E%D6%C6W
2010-06-05 16:17:42 -04:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Doug Turner
3ad0032930 Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Mounir Lamouri
a821ae13af Bug 456229 - Implement <input type="search">. r=smaug sr=sicking 2010-05-17 12:20:22 +02:00
Mounir Lamouri
4b22b4cebf Bug 456229 - tests for <input type="search">. r=smaug 2010-05-17 12:20:20 +02:00
Mounir Lamouri
c42409c3af Bug 565538 - Add tests for the mozIsTextField API. r=ehsan 2010-05-17 12:20:15 +02:00
Chris Jones
9327ed8dcc Merged m-c 2010-05-13 18:04:53 -05:00
Johnny Stenback
841261676e Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Peter Van der Beken
7f4e72d2de Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Chris Jones
509f3d2bfc Backed out changeset eef17c173aaa 2010-05-13 17:24:30 -05:00
Peter Van der Beken
00ea1d430a Try to fix orange from e2c5f6be2148
--HG--
extra : rebase_source : 148d9a1eef794af433373002effd47c12cce6e1c
2010-05-11 18:27:44 +02:00
Ehsan Akhgari
f58add9d96 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Neil Deakin
05e0d343e5 Bug 554635, followup fix to test as these objects are now focusable 2010-04-29 11:15:52 -04:00
Neil Deakin
b712f94f3c Bug 554635, change default tabindex on object elements to 0, so that child documents can be focused, r=jonas 2010-04-29 10:14:05 -04:00
Mounir Lamouri
7dcf697f62 Bug 566983 - Intermittent failure in test_bug546995-4.html; r=ehsan 2010-05-21 14:13:09 -04:00
Justin Wood
21a58b5a03 Bustage fix for Bug 563668, correct typo. 2010-05-19 22:49:09 -04:00
Mounir Lamouri
13711c7774 Bug 563668 - "Be able to know if a form control is an input element or a button element from nsIFormControl" [r=bzbarsky] 2010-05-19 22:30:04 -04:00
Mounir Lamouri
ec44e2fb46 Bug 562932 - [Test Part] "Implement control attribute for label element" [r=sicking] 2010-05-19 22:28:10 -04:00
Mounir Lamouri
6b57ca1497 Bug 562932 - "Implement control attribute for label element" [r=sicking sr=smaug] 2010-05-19 22:28:10 -04:00
Mounir Lamouri
8fce62a6c6 Bug 377624 - [Test Part] "Implement the accept attribute for the form and file upload controls form "image/*"" [r=sicking, feedback=ehsan] 2010-05-19 22:28:08 -04:00
Mounir Lamouri
ee179078cc Bug 546995 - Implement autofocus attribute. r=sicking, sr=smaug
--HG--
extra : rebase_source : b0f233cae75aa9182d6587b6d66d4cbebea1126c
2010-05-19 19:52:17 +02:00
Ehsan Akhgari
15c2238119 Bug 564461 - Change content editable count from a script runner; r=jst 2010-05-12 18:21:24 -04:00
Ehsan Akhgari
d051ffeaed Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node; r=roc,jst sr=roc
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239)

--HG--
rename : layout/reftests/forms/placeholder/placeholder-14.html => layout/reftests/forms/placeholder/placeholder-18.html
extra : transplant_source : %247cbD%F3%9B%BD%C7%D2%0B%06.%2C%97%8B%9D%85%C29
2010-04-21 16:17:41 -04:00
Craig Topper
00d9a2b835 Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)

--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Mounir Lamouri
0ca4165c8b Bug 565904 - "HTMLOptGroupElement and HTMLOptionElement are not form controls but are listed in nsIFormControl" [r=smaug]
(transplanted from 8406214f84c8164c7b2583af1d2e8f2be522e75e)

--HG--
extra : transplant_source : %84%06%21O%84%C8%16L%7B%25%83%AF%1D.%8F%2B%E5%22%E7%5E
2010-05-27 06:51:00 -04:00
Mounir Lamouri
d51cd6c01d Bug 565611 - ""ASSERTION: How did that happen?: 'form == aThisForm'" with <legend>" [r=bz, sr=smaug]
(transplanted from 0c87f407797d0bc7353049a52f5c705fc1d4ae67)

--HG--
extra : transplant_source : %0C%87%F4%07y%7D%0B%C750I%A5/%5Cp_%C1%D4%AEg
2010-05-19 16:33:00 -04:00
Mounir Lamouri
08963e09d2 Bug 569955 - Add a test to make sure that autofocus on input elements does not work if they don't have a frame; r=ehsan 2010-06-04 13:25:54 -04:00
Jonas Sicking
0a93bbb190 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
Jonas Sicking
c46348bf73 Bug 564591: Speed up BindToTree/UnbindFromTree by only doing accesskey related work if the accesskey attribute is set. r=smaug 2010-06-03 18:08:57 -07:00
Peter Van der Beken
a3f0b9002e Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst. 2010-04-19 17:41:38 +02:00
Vladimir Vukicevic
b99bb96c47 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Peter Van der Beken
75ccb33e1a Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst. 2010-04-19 17:41:38 +02:00
Mayank Gupta
f4d9da217b Bug 548828. Implement HTMLDocument.head. r=bzbarsky 2010-05-02 13:32:21 +05:30
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Kyle Huey
60c5aa6fd2 Backed out changeset f54e6386c113
--HG--
extra : rebase_source : 367bf92e0875df1663e79bd6b968cddd677eeb1c
2010-06-19 13:19:25 -07:00
Mounir Lamouri
21c25202c6 Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-19 11:44:43 -07:00
Henri Sivonen
1a4896bded Bug 566879 - Make innerHTML-inserted from controls not restore their state from history. r=Olli.Pettay. 2010-06-09 09:45:32 +03:00
Boris Zbarsky
f305d5893c Bug 571298. Avoid flash of unstyled content in document.write-created documents. r=jst 2010-06-18 12:23:05 -04:00
Boris Zbarsky
8f5ac05aaf Bug 479655 part 2. Add element restyle flags. r=dbaron, sr=jst 2010-06-18 12:23:04 -04:00
Boris Zbarsky
044abc53b6 Bug 479655 part 1. Add some assertions to catch it if we add too many flags. r=jst 2010-06-18 12:23:04 -04:00
Kyle Huey
5746184f5d Bug 508082: Implement a raw video decoder. r=doublec
--HG--
extra : rebase_source : 2ffc36ceb9cb8407531efa6e7b1f0548e81c170c
2010-06-17 17:36:57 -07:00
Ehsan Akhgari
59ce9793d3 Backed out changeset 2dcce82f9d66 because of mochitest failures 2010-06-16 22:14:11 -04:00
Mounir Lamouri
540508e5de Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-16 20:33:46 -04:00
Shawn Wilsher
02ac1ca693 Bug 572539 - REFTEST TEST-UNEXPECTED-FAIL randomly on href-attr-change-restyles.html
Make the test not care about color since all we care is that it is rendered as a link.
r=sicking
2010-06-16 14:57:18 -07:00
Shawn Wilsher
f1d155f2bc Bug 551838 - Adding empty href attribute doesn't add link styling
r=bz
2010-06-16 09:59:26 -07:00
Ehsan Akhgari
28ae2c2781 Bug 571428 - "ASSERTION: Can't be unbound without being bound originally"; r=roc 2010-06-11 12:24:28 -04:00
Ms2ger
f243ea03ba Bug 560059 - Correct video dimensions on failed load. r=roc 2010-06-16 09:53:44 +12:00
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05:00
Doug Turner
ed6494b616 merge with m-c. 2010-04-26 23:17:51 -07:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Boris Zbarsky
f045d1595d Bug 559284. Make various HTML5 sectioning elements display:block. r=dbaron 2010-04-26 16:27:01 -04:00
Jesse Ruderman
7b53665eda Bug 573188 - Fix string leak in nsTextEditorState::SetValue. r=roc 2010-06-21 09:16:06 -07:00
Oleg Romashin
87c511839e Merged with mozilla-central 2010-04-22 20:22:26 -04:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Jonas Sicking
1a83956b1c Bug 518110: Kill HTMLBaseFontElement interface and HTMLHeadElement.profile. Also merge nsHTMLHeadElement and nsHTMLHtmlElement into nsHTMLSharedElement. r=jst
--HG--
extra : rebase_source : 651aeed4f884405ffd980b3b74a0dbb21f931156
2010-04-19 12:06:00 -07:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Ehsan Akhgari
a7ebcd12b9 Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689 2010-04-06 21:08:58 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Vladimir Vukicevic
58b27f08d0 b=571287; let canvas participate in cycle collection; r=bz 2010-06-15 14:38:05 -07:00
Ehsan Akhgari
1d27c39d4a Bug 520189 - Fix copy and test for the HTML editor; f=bzbarsky,dbaron r=sayrer,peterv,bzbarsky sr=roc 2010-04-09 17:06:09 -04:00
Saint Wesonga
131bdcc002 Bug 571735. Remove unused variable. r=bzbarsky 2010-06-14 16:06:48 -04:00
Ms2ger@gmail.com
74ff4b73de Bug 559834 - Remove support for table@align=abscenter/absmiddle/middle. r=jst 2010-06-11 20:47:56 +02:00
Blake Kaplan
24c04cbd78 Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-03-22 15:46:37 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Ms2ger
8b88cb6ee7 Bug 109445. Allow imagemap references by id in text/html. r=jst 2010-05-13 12:56:10 +12:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Daniel Holbert
06a036b3ef Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
a904d63111 Bug 562310 Part 2: Convert nsCommaSeparatedTokenizer class into a custom-SeparatorChar version, nsCharSeparatedTokenizer. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
Olli Pettay
19ccaf698e Bug 562013 - parse innerHTML directly to the destination node, p=smaug+hsivonen, r=sicking 2010-05-04 11:36:42 +03:00
Mounir Lamouri
c4da9cad7e Bug 555567. <legend>.form tests. r=jst 2010-05-12 15:01:26 -04:00
Mounir Lamouri
0a330cc270 Bug 555567. Make <legend>.form follow HTML5 spec. r=jst 2010-05-12 15:01:25 -04:00
Mounir Lamouri
cbf74508a5 Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking 2010-05-12 09:17:07 +02:00
Ehsan Akhgari
862eb9644f Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky
--HG--
extra : rebase_source : 92d9e491351a6183f0232604cd989c14d10d5fad
2010-02-22 16:15:56 -08:00
Ehsan Akhgari
af32591ddc Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky 2010-02-22 16:15:56 -08:00
Olli Pettay
d55a9c4d4f Bug 561173 - Reduce QIing and Addref/Release while setting innerHTML, r=jst, a=1hourlimit 2010-04-24 13:41:02 +03:00
Jonas Sicking
930783a5d2 Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert 2010-04-23 09:10:07 -07:00
Brandon Sterne
3f698b7122 Bug 515460 - enforce CSP during audio/video redirects, r=jst, a=dholbert_sheriff 2010-04-23 12:50:28 -07:00
Robert O'Callahan
24feb93481 Backing out e79947cb55bc to fix test failures a=me (CLOSED TREE) 2010-04-23 17:17:10 +12:00
Robert O'Callahan
fc697b3134 Backed out changeset e79947cb55bc 2010-04-23 17:14:55 +12:00
Robert O'Callahan
cfe2ebcbc9 Backout 7432d20f5b86 to try to fix test failures 2010-04-23 16:37:39 +12:00
Robert O'Callahan
75dc672dff Backed out changeset 7432d20f5b86 2010-04-23 16:34:06 +12:00
Mounir Lamouri
ff8816e56a Bug 346485. Tests for HTML5 <output> element. r=smaug 2010-04-23 14:43:36 +12:00
Mounir Lamouri
fba2c4e7f0 Bug 346485. Implement HTML5 <output> element. r=smaug,hsivonen,mrbkap,sr=jst 2010-04-23 14:43:23 +12:00
Chris Double
bb7c2f1d03 Bug 560806 - No duration or seeking on Ogg video URL's that redirect - r=roc (CLOSED TREE) 2010-04-22 12:32:52 +12:00
Ms2ger
442cd7503b Bug 557840. Drop support for 'hspace' and 'vspace' on <canvas> elements. r=smaug,sr=sicking 2010-04-23 14:53:09 +12:00
Robert O'Callahan
47949eb981 Bug 550330. Try harder to find a document with a layer manager that we can use to create our ImageContainer. r=mats 2010-04-23 12:26:38 +12:00
Ehsan Akhgari
36c7ad5a5a Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky
--HG--
extra : rebase_source : bf84341934b14c78fadc162607721e9325673fc4
2010-02-02 10:49:55 -05:00
Ehsan Akhgari
5423b1af2f Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky 2010-02-02 10:49:55 -05:00
Ehsan Akhgari
0170b6dede Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
--HG--
extra : rebase_source : 91df07eb7a6a52c35d8f4d52212663045450b95a
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
05b0ede6fb Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky 2010-02-01 23:00:12 -05:00
Jesse Ruderman
8c5e3d85e8 Remove exponential document.write test. parser/htmlparser/tests/crashtests/197052-1.html tests what we actually want to test; this test just takes a long time. See bug 469626. 2010-04-11 16:41:09 -07:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Mounir Lamouri
e5a9c417cf Bug 551846. Tests 2010-05-24 09:36:49 +12:00
Mounir Lamouri
06ad5cda45 Bug 551846. <select> size should default to 4 when 'multiple' attribute is present. r=smaug, sr=jst 2010-05-24 09:36:49 +12:00
Timothy Nikkel
c00189dcc3 Bug 502937. Part 0. Make sure onload blocker is in place with document.open(). r=bzbarsky 2010-01-18 03:07:08 -06:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Makoto Kato
33910f9bb0 Bug 52019. Don't treat <font size='+.5'> as <font size='5'>. r=bzbarsky 2010-05-14 17:17:56 -04:00
Ehsan Akhgari
99449f62ef Bug 565775 - The editor will not be correctly initialized for <input type=tel> on user events; r=roc 2010-05-13 18:56:24 -04:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Ben Newman
b3cb7ea79d Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08:00
Joe Drew
d4c42c1218 Bug 524180 - Implement async drawWindow/Element() using shared memory. r=cjones 2010-03-24 03:47:18 -07:00
Timothy Nikkel
af492ec4ee Bug 553369. If there is no PresShell/Context in nsHTMLInputElement::Click try flushing to get one. r=roc 2010-03-18 18:08:27 -05:00
Peter Van der Beken
e5d87ec5bb Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Peter Van der Beken
68a0d4625a Fix for bug 552712 (Remove some NS_DEFINE_CLASSINFO_DATA_WITH_NAME use). r=jst.
--HG--
extra : rebase_source : 0e4b74d5c731a2bdff8da75f9c4edf6757c8b355
2010-03-17 16:09:01 +01:00
Chris Double
a08cc6948d Bug 515001 - Open media channels with BYPASS_LOCAL_CACHE_IF_BUSY. r=roc 2010-03-18 16:00:18 +13:00
Chris Pearce
eb771c80cf Bug 528566 - Invoke resource selection algorithm upon new Audio(url). r=chris.double 2010-03-18 16:00:18 +13:00
Robert O'Callahan
59f17b52c3 Bug 538323. Part 2: use ImageLayers to render video. r=kinetik 2010-03-02 12:41:49 +13:00
Ehsan Akhgari
21485ce94f Bug 458037 - Implement isContentEditable; r=bzbarsky sr=roc
--HG--
extra : rebase_source : fdcbc217e41e8c1a43bfd7c41a8cc6c6169c588f
2010-03-10 14:10:09 -05:00
Henri Sivonen
789bbf8cb8 Bug 490665 - Implement HTML5-compliant isindex form submission. r=jonas.
--HG--
extra : rebase_source : 2075bc59ce711e29718eac8bb0e1b8867e291a53
2010-03-11 14:29:51 +02:00
Henri Sivonen
2c15d29366 Bug 541078 - Turn editing off in BeginLoad(). r=bzbarsky.
--HG--
extra : rebase_source : 8bb4f1acfb1659d55f48651ff5e236c964c2d01e
2010-03-12 12:29:46 +02:00
Mike Hommey
9b07b8b0ad Bug 550961. Fix license header typos. r=gerv 2010-03-15 14:44:37 +13:00
Jonas Sicking
986107fb30 Bug 549452: Clean up nsGlobalWindow::SetNewDocument. r=mrbkap sr=jst
--HG--
extra : rebase_source : 1e13da2a339089ccf17b8cf9f41d59e188aa8165
2010-03-12 16:59:18 -08:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
timeless@mozdev.org
c3bbdc001a Bug 494683 warning: comparison between signed and unsigned and incorrect initialization order
r=jst sr=jst

--HG--
extra : rebase_source : b216615bd1813d661496432f508bb2755aa55877
2010-03-12 07:50:13 +01:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Shawn Wilsher
b0848a76f8 Forgot to update the test names in reftest.list files (bug 550661). 2010-03-09 12:55:47 -08:00
Shawn Wilsher
cb211422b2 Bug 550661 - Adding href attribute doesn't add link styling
r=bz

--HG--
rename : content/html/content/reftests/href-attr-removal-restyles-ref.html => content/html/content/reftests/href-attr-change-restyles-ref.html
rename : content/html/content/reftests/href-attr-removal-restyles.html => content/html/content/reftests/href-attr-change-restyles.html
rename : layout/reftests/svg/href-attr-removal-restyles-ref.svg => layout/reftests/svg/href-attr-change-restyles-ref.svg
rename : layout/reftests/svg/href-attr-removal-restyles.svg => layout/reftests/svg/href-attr-change-restyles.svg
2010-03-09 10:21:25 -08:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Henri Sivonen
a1c133295e Bug 515401 fallout - Reorder tags in file_bug209275_3.html. r=Olli.Pettay.
--HG--
extra : rebase_source : 923570da226364dd3ccd9bc241ce567b007a9f32
2010-04-28 14:44:34 +03:00
Henri Sivonen
711ffaef52 Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky.
--HG--
extra : rebase_source : 3f001d62e55a4ecd02c4ab8d1f6997e1547aef4e
2010-04-16 13:52:06 +03:00
Mounir Lamouri
a3c0ae8c49 Bug 346485 - "Implement output element -- Test" [r=smaug] 2010-04-22 07:03:00 -04:00
Mounir Lamouri
dbdc60fd52 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Mounir Lamouri
152ea04b07 Bug 551670 - "type attribute for button elements should be 'submit' when type is invalid or missing" [r=smaug, sr=sicking] 2010-04-15 07:03:00 -04:00
Ehsan Akhgari
4bb0764e4f Bug 570566 - Crash [@ nsTextControlFrame::SetInitialChildList] removing type from <input type=image>; r=jst 2010-06-09 14:13:56 -04:00
Henri Sivonen
bc7b4334b3 Bustage fix for bad merge of bug 569538. 2010-06-09 11:23:25 +03:00
Henri Sivonen
95a61f78e3 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Chris Double
4852d6d3f6 Bug 566245 - HTMLMediaElement.canPlayType support for WebM. r=roc 2010-06-09 11:31:27 +12:00
Jonas Sicking
1489785d0c Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Boris Zbarsky
2abd027435 Bug 564569. Speed up the cache-hit case of getElementsBy(Class)Name. r=jst 2010-06-08 15:58:26 -04:00
Ehsan Akhgari
67c7d5d5e2 Bug 332636 - Handle backspace for Unicode plane 1 characters correctly; r=roc
--HG--
extra : rebase_source : a343610b06983d3328f3ddb2e7025193ab275094
2010-06-04 13:28:19 -04:00
Peter Van der Beken
fd4084623b Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
felipc@gmail.com
33b5d6a951 Bug 547996 - Be able to tell when a click was generated by a tap on the screen, r=smaug,jimm, sr=jst 2010-04-06 15:59:24 +03:00
Masatoshi Kimura
87b17f9962 Bug 463104: elementFromPoint should accept floating point coordinates. r=bz 2010-04-03 07:34:24 -04:00
L. David Baron
c6cfc1d0a4 Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07:00
Chris Pearce
810ae51b7a Bug 531340 - New Ogg video decoder. r=doublec sr=roc 2010-04-01 20:03:07 -07:00
Ms2ger
a267b872ba Bug 554707. Throw the right exception when document.open/close/write/writeln happen on an XHTML document. r=bzbarsky 2010-04-01 22:09:05 -04:00
Ehsan Akhgari
7147e0f1c4 Bug 555851 - nsHTMLFragmentContentSink::AddTextToContent is dead code; r=jst 2010-03-31 17:44:47 -04:00
Peter Van der Beken
a815b0502f Fix for bug 556241 (HTMLContentSink needs to participate in cycle collection). r=jst. 2010-03-31 13:35:20 +02:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
mounir.lamouri@gmail.com
a95c3f4f23 Bug 536895 - Setting a negative maxLength should throw an exception, r=smaug, sr=jst
--HG--
extra : rebase_source : d54814499d4114f239678941da3368d1a4aaff5f
2010-03-05 21:42:46 +02:00
mounir.lamouri@gmail.com
b243710610 Bug 536891 - Negative maxlength should be treated the same as unspecified maxlength, r=smaug, sr=jst
--HG--
extra : rebase_source : eef5330e6de87f9b9a5189bd26f13418c404d659
2010-03-05 21:38:26 +02:00
Daniel Holbert
82c099ed97 Bug 43178 followup: remove unused variable 'tableStyle' in nsHTMLTableElement.cpp. rs=bernd 2010-03-05 10:41:57 -08:00
Shawn Wilsher
9f5d0cab2d Bug 549797 - Removing href attribute from html:a, html:link, and svg:a doesn't remove link styling
r=bz
2010-03-03 12:55:35 -08:00
Jonas Sicking
aeb9ba77c3 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Mounir Lamouri
e52f013c11 Bug 549311 - New lines management tests for placeholder are missing; r=ehsan
--HG--
extra : rebase_source : ba4be5c6a90abfef87f573968d00b4cc179aafdd
2010-03-02 14:06:17 -08:00
Zack Weinberg
2c3e543d1d Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
96887d3f38 Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Michael Ventnor
25bc9c7d85 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Mounir Lamouri
54f1561afc Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08:00
Henri Sivonen
5e9deb0a76 Bug 539887 - Comment out a test assertion in test_bug255820.html. r=bzbarsky.
--HG--
extra : rebase_source : 8e51292d4d73c2c89088dd278838b9a991f20735
2010-02-25 13:36:14 +02:00
Ms2ger
0d8a8bc9bb imported patch 499092-prefix-v2 2010-02-25 10:49:34 -08:00
Jonas Sicking
1a41a3c97c Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Jonas Sicking
281e94689e Bug 546528 part 2: Create nsEncodingFormSubmission to allow nsFormSubmission subclasses to not have an encoder. r=benjamn 2010-02-24 21:58:17 -08:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Jonas Sicking
2163564df4 Bug 544698 part 4: Move the creation of the encoder to the nsFormSubmission ctor. Move the call to linkHandler->OnLinkClickSync to the nsHTMLFormElement. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking
8af720df7e Bug 544698 part 3: Make nsFormSubmission not refcounted. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking
c0a3db9e08 Bug 544698 part 2: Reorganize nsFormSubmission.cpp to make it more readable and to avoid having to forward declare functions. No actual code changes. r=jst 2010-02-24 21:58:17 -08:00
Jonas Sicking
aecb30c8cf Bug 544698 part 1: Move value processing from submission code to elements. Decomtaminate. Kill a few dead functions. r=jst 2010-02-24 21:58:16 -08:00
Jonas Sicking
aba45b34d3 Bug 547165: Add tests for form submission and fix a few cases where we differ from IE/HTML5. Also add a generic getMyDirectory.sjs file for use in other tests as well. r=benjamn/waldo 2010-02-24 21:57:54 -08:00
Makoto Kato
a3d58316e9 Bug 405242 - Implement select.options.remove() method [HTML5 HTMLOptionsCollection.remove]. r=Olli.Pettay, sr=jst 2010-02-25 13:53:42 +09:00
Jonas Sicking
51fbd0da83 Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Benjamin Smedberg
a5710c9bb4 Add return statement to fix build bustage from bug 503989 2010-02-24 17:48:32 -05:00
Robert O'Callahan
ef6f3c2ae0 Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec
--HG--
extra : rebase_source : bbd326582e4a7d0864affcfe3a715e228c4b2647
2010-02-24 11:14:14 -08:00
Shawn Wilsher
cb0509c597 Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher
b6e4bfa8f1 Bug 542632 - Protect nsGenericHTMLElement::GetHrefURIForAnchors
Also makes DNS prefetching take mozilla::dom::Link instead of nsIContent.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
149f5aac0a Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
aa9b0c2fd7 Bug 461199 (Part 26) - Update content tests to work with the new async isVisited API 2010-02-24 08:37:03 -08:00
Shawn Wilsher
8d82ffe93c Bug 461199 (Part 14) - Implement nsIContent::IntrinsicState on mozilla::dom::Link subclasses
All mozilla::dom::Link subclasses need to implement IntrinsicState and make sure
to call LinkState.
r=sicking
sr=bz
2009-12-15 16:04:09 -08:00
Shawn Wilsher
3a408ccc92 Bug 461199 (Part 10) - Ensure that Link::ResetLinkState is always called when an element is bound or unbound from the DOM tree.
We would not be notified about base URI changes during this time, so we need to
make sure we are not registered and have no cached state.
r=bz
r=jwatt
2009-11-23 10:48:52 -08:00
Shawn Wilsher
c74c499d06 Bug 461199 (Part 9) - Move href helpers from nsGenericHTMLElement to mozilla::dom::Link.
Move the helpers so that they can easily use the cached URI when available.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
2849d7ab1f Bug 461199 (Part 8) - Remove nsAttrValue::eLazyURIValue and related code
Stop using lazy href attributes in nsAttrValue.  Link will store it as needed.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Jonas Sicking
62651da7b8 Bug 547850: Make case folding code in HTML DOM only case fold ASCII characters. r=hsivonen 2010-02-23 09:38:10 -08:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Ehsan Akhgari
50f48242c4 Backed out changeset 70b1ccb14325 2010-02-18 18:52:12 -05:00
Ehsan Akhgari
8b4d5890e9 Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
--HG--
extra : rebase_source : 117d5f34a90941543a994107351eb0e34ae7308f
2010-02-01 23:00:12 -05:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Shawn Wilsher
884a19c85a Backed out changeset 06b691e8cbcd 2010-02-18 10:08:54 -08:00
Shawn Wilsher
8000c6f51e Bug 461199 (Part 8) - Remove nsAttrValue::eLazyURIValue and related code
Stop using lazy href attributes in nsAttrValue.  Link will store it as needed.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Boris Zbarsky
134f48b881 Adding a test 2010-02-12 14:12:00 -05:00
Jesse Ruderman
146e09dd21 Remove extra dump statements from tests 2010-02-11 14:14:26 -08:00
Zack Weinberg
7fd5fe000b Bug 345681: Remove the vestigial nsICheckboxControlFrame and nsIRadioControlFrame interfaces. r=roc 2010-02-09 14:06:37 -08:00
Boris Zbarsky
6a1a36dba1 Bug 453929. Cache getElementsBy(Class)Name return values. r=jst 2010-02-09 12:09:06 -05:00
Olli Pettay
3a431b9f1b Bug 518122, improve textarea.value+= performance, r=bz 2010-02-07 21:44:32 +02:00
Daniel Holbert
020287d441 Bug 543497, Patch B: Fix "warning: suggest parentheses around comparison in operand of !=" in nsHTMLDocument.cpp. r=smaug 2010-02-06 13:33:53 -08:00
Ms2ger@gmail.com
8ac5baea31 Bug 41464 - Implement textarea.wrap. r=bz 2010-02-06 09:51:10 +01:00
Dão Gottwald
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Henri Sivonen
eab704aec8 Bug 543959 - Weaken test_bug486741.html not to test if document.open() creates a root element. r=bzbarsky. 2010-02-03 17:39:20 +02:00
Henri Sivonen
f30b1cc096 Bug 543930 - Assertion misplaced after code additions above a disconnected #ifdefed else branch. r=bzbarsky. 2010-02-03 10:53:58 +02:00
Henri Sivonen
c4b0f9199e Bug 533381 - Use the old parser for about:blank when HTML5 parser enabled. r=bzbarsky.
--HG--
extra : rebase_source : 7e1cea763fbb444ab46b4324e2960b34ecd00a9a
2010-02-02 09:39:26 +02:00
Henri Sivonen
d46d25ad26 Bug 539687 - Add </label> tags in test_bug353415-2.html to make type=hidden not be a child of label. r=bzbarsky.
--HG--
extra : rebase_source : 25803ae79266841d1bc104fe74593a1cb92a4a9b
2010-01-28 16:24:41 +02:00
Henri Sivonen
5d3057fd75 Bug 539882 - Make test_bug324378.html not expect that attributes on second <head> move to head. r=bzbarsky.
--HG--
extra : rebase_source : 9e8f9d43c6f59751cec60e657b91bcc3422a32f0
2010-01-18 15:38:43 +02:00
Olli Pettay
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Henri Sivonen
e57b659dd4 Bug 537557 - Thread-unsafe refcounting in the HTML5 parser when chardet enabled. r=bnewman. 2010-01-12 15:15:10 +02:00
Henri Sivonen
f956b447b8 Bug 539891 - test_bug478251.html fails with the HTML5 parser. r=bzbarsky. 2010-01-18 15:38:44 +02:00
Aryeh Gregor
86317086bb Bug 535043 - Support maxlength on textarea. r=smaug, sr=jst 2010-01-18 16:53:59 +01:00
Peter Van der Beken
7d8645e4ca Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Robert O'Callahan
dd13d8b675 Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug 2010-01-12 10:45:04 +13:00
Robert O'Callahan
b74462ae4f Bug 526394. Part 1: Make a couple of tests more descriptive when they fail. 2010-01-12 10:45:00 +13:00
Bernd
f4a1800dfb bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky 2010-01-09 16:33:03 +01:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Robert O'Callahan
71c9bda876 Bug 528703. NotifyOwnerDocumentActivityChanged() should call mDecoder->Play() regardless of mReadyState. r=doublec 2010-01-07 14:13:27 +13:00
L. David Baron
46b22b7ca0 DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky 2009-12-31 10:56:33 -05:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Boris Zbarsky
cb8ca909a6 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Robert Sayre
b567cced3a Merge. 2009-12-22 12:08:43 -05:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Peter Van der Beken
53d577ff22 Bug 535638. DNS prefetch cache should hold weak references. r=bz, sr=sicking 2009-12-21 12:43:05 -05:00
Robert O'Callahan
bd5fde6807 Bug 526323. nsCrossSiteListenerProxy for media loads should not treat 416 'range not satisfiable' as an error. r=doublec 2009-12-16 09:08:59 +13:00
Geoff Lankow
2c4db9a0a2 Bug 500885 - DOMActivate is fired twice for input[type=file] if user clicks on browse button, r=Olli.Pettay sr=jonas 2009-11-24 18:12:00 -08:00
Saint Wesonga
53aac44029 Bug 340017. Make document.formName work in XHTML. r=bzbarsky 2009-12-11 22:36:33 -08:00
Henri Sivonen
e8f639313e Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking.
--HG--
extra : rebase_source : a070df9af738e1716929cecf6163f82b74ab4e1d
2009-11-17 10:52:30 +02:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert O'Callahan
f5ad5f28f5 Bug 528493 preliminary number 2. Don't call a function that needs to flush while we might be under a scriptblocker. r=bzbarsky 2009-11-19 23:39:11 -05:00
Robert O'Callahan
69068c403d Bug 528493 preliminary. Don't MaybeLoadImage on bind if image loading for this node is disabled. r=bzbarsky 2009-11-19 23:39:11 -05:00
Boris Zbarsky
1ccc263d2e Bug 529859. Need to submit empty file inputs too. r=smaug 2009-11-19 15:58:46 -05:00
Boris Zbarsky
85e02cc64e Bug 529819. Don't double-add a node to form.elements['foo']. r=smaug 2009-11-19 15:58:46 -05:00
Henri Sivonen
1d34c84c65 Bug 515257 - Remove bogus assertion on optgroup child removal. r=bnewman.
--HG--
extra : rebase_source : ea5f2690286d4dedefcc657472f3f56bf68ff5b6
2009-10-21 17:03:01 +03:00
Henri Sivonen
62853870ee Bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman, sr=sicking.
--HG--
extra : rebase_source : 0f574695c4d6fad936e9d0960f07261aa192b13d
2009-10-15 14:29:11 +03:00
Bernd
c7ee49f5cc Bug 527464. Go back to ignoring nowrape in quirks mode if a nonzero width is set in the width attribute. r=bzbarsky 2009-11-17 17:50:06 -05:00
Jonas Sicking
b5ab92b578 Bug 527370: Fix bug in test. r=bustage-fix 2009-11-16 22:07:49 -08:00
Chris Jones
f0661e7597 Merge backout. CLOSED TREE 2009-11-16 23:50:52 -06:00
Chris Jones
8cce8d8541 Backout b68f602ce949 2009-11-16 23:49:22 -06:00
Jonas Sicking
5ec37643ae Bug 527370: More File API renames. Also adds tests for the FileReader.readyState property. r=jst 2009-11-16 18:01:40 -08:00
Chris Jones
75d8b06554 bug 527590: make it an error to hide a virtual method declaration by overloading it in a derived class. (use |using base::method;| if you really mean to do that). rs=bsmedberg 2009-11-16 17:57:21 -06:00
Jonas Sicking
b801bd247a Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Jonas Sicking
f84ddd9e6b Bug 521668: Fire DOMLinkAdded asynchronously to avoid unexpected recursion. r=bent sr=jst 2009-11-06 15:30:24 -08:00
Mike Kristoffersen
b359cbacab Bug 525898 - White spaces at EOL in nsHtmlMediaElement.h. r=chris.double
--HG--
extra : rebase_source : 9775a2db54c962ae1bacdb219e1af8335c1142b9
2009-11-06 08:34:00 +01:00
Mike Kristoffersen
67ee431a58 Bug 525923 - White spaces at EOL in nsHtmlMediaElement.cpp. r=chris.double
--HG--
extra : rebase_source : ead218be45e58a8005c401826179af2daf806bae
2009-11-06 08:32:52 +01:00
Jonas Sicking
7892ff1c09 Bug 293347: Disable document.write for XSLT result docs. r/sr=jst 2009-11-05 20:27:30 -08:00
Shawn Wilsher
a99c022038 Bug 461199 - Create an API for asynchronous isVisited checks that content/layout can use (Step 1 of at least 3)
This first step simply refactors all link elements to use the same base class
to make future patches simpler and more obvious.
r=sicking
sr=bz
2009-10-13 15:13:41 -07:00
Jesse Ruderman
42912e83cd Add crashtests for bug 466945, bug 464197, and bug 467323 2009-10-31 19:35:39 -07:00
Boris Zbarsky
9e062e31dd Bug 523666. Make nsGenericHTMLFormElement::mForm an nsHTMLFormElement. r=sicking 2009-10-29 21:49:11 -04:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Geoff Lankow
934f682b47 Bug 524421: Can end up with an empty filename in internal mFileNames. r=sicking sr=smaug 2009-10-27 11:14:34 -07:00
Johnny Stenback
039b7eb41d Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Robert O'Callahan
77949843dd Bug 518659, fixing crash bustage due to bad merging
--HG--
extra : rebase_source : 2d614525fa131c43d79d983ce531d8c50908d17e
2009-10-27 16:27:04 +13:00
Robert O'Callahan
e324cf9671 Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec 2009-10-02 00:10:13 +10:00
Jonas Sicking
17edc7e1dc Bug 523771: Support the 'multiple' attribute on <input type=file>. r=benjamn sr=jst 2009-10-24 21:13:30 -07:00
Benjamin Smedberg
fb0040f213 Bug 523438 - make nsFrameLoader* available to content/layout, r=bz
--HG--
extra : rebase_source : 60958c8e1cfeb150f8f48f549b2043637c910e99
2009-10-20 17:33:59 -04:00
Olli Pettay
ef48c1600f Bug 523080 - Unlink HTMLDocument members, r=peterv
--HG--
extra : rebase_source : e8b1faf6f58613826803b101ee314f64ecab3350
2009-10-21 12:41:18 +03:00
Nochum Sossonko
14e32bd632 Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
Jesse Ruderman
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Robert O'Callahan
79d0b07e8b Bug 521359. Don't enter the NETWORK_LOADED state or fire a media 'load' event. r=doublec 2009-10-10 00:48:55 +13:00
Robert O'Callahan
7b301159c7 Bug 512367. Don't reset fullZoom level when zooming in/out of an image loaded in an <iframe>. r=smaug 2009-10-15 15:20:50 +13:00
Matthew Gregan
87b090cb12 Bug 520908 - Use calculated duration from cloned decoder when initializing the clone. r=roc 2009-10-15 14:28:59 +13:00
Zelgadis
c42718629c Bug 519926. When the string is an optional argument and isn't passed, pval is null. r=jorendorff 2009-10-14 14:27:34 -04:00
Jonas Sicking
0d2f92b52e Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.) 2009-10-02 14:13:59 +03:00
Robert O'Callahan
1b13d20d87 Bug 519136. Clean up media-related logging. r=doublec
--HG--
extra : rebase_source : 2321054271a8726d17da1c58b876e2a7eb88883c
2009-09-30 07:32:44 +10:00
Boris Zbarsky
754044a90f Bug 519987. Test and assert. r=sicking 2009-10-01 16:17:26 -04:00
Neil Deakin
492e487e7d Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
Boris Zbarsky
25c2a2fded Bug 488249 followup. Make some more HTML nodeinfos use the right namespace. 2009-10-01 11:54:10 -04:00
timeless@mozdev.org
2eaa619149 Bug 555657 - GetSubmissionFromForm caches the wrong doc, r=sicking 2010-03-29 01:59:00 -07:00
Timothy Nikkel
61cbe3e62f Bug 559970. Allow input type=text and password and textareas to have their frames constructed lazily. r=bzbarsky 2010-05-01 13:42:47 -05:00
Boris Zbarsky
5e646b58c9 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
c1ce657552 Bug 562688 part 5. Change the document id and named item table APIs to use Element. r=jst 2010-04-30 09:12:05 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mounir Lamouri
bf14afc236 bug 567938 - form.submit() broken if called from <input type='submit'>'s onclick handler. r=bzbarsky 2010-06-01 14:42:37 +01:00
Robert O'Callahan
47cd1aaa95 Backout bug 566128 to fix test failures 2010-06-01 13:53:59 +12:00
Robert O'Callahan
c33a5c439b Backed out changeset 25c7d2e71e57 2010-06-01 13:53:43 +12:00
Robert O'Callahan
3c4e6d3c66 Backout bug 566128 to fix test failures 2010-06-01 13:53:19 +12:00
Robert O'Callahan
61cccc8380 Backed out changeset cf9fcc2c89b1 2010-06-01 13:53:05 +12:00
Robert O'Callahan
4ec358f9bc Backing out fix for bug 565904 to fix test failures 2010-06-01 12:42:08 +12:00
Robert O'Callahan
0aab0d9baa Backed out changeset 95894b2d2c52 2010-06-01 12:41:45 +12:00
Mounir Lamouri
736592869f Bug 566128. Tests. r=sicking 2010-06-01 11:46:21 +12:00
Mounir Lamouri
7405f05750 Bug 566128. 'action' IDL attribute should reflect content attribute. r=sicking 2010-06-01 11:45:25 +12:00
Mounir Lamouri
3b80d651d3 Bug 566046. Tests. r=sicking 2010-06-01 11:44:33 +12:00
Mounir Lamouri
d61581d3cf Bug 566046. 'target' IDL attribute should reflect content attribute. r=sicking 2010-06-01 11:43:11 +12:00
Mounir Lamouri
178197b22b Bug 565904. <option> and <optgroup> elements aren't form controls. r=smaug 2010-06-01 11:40:57 +12:00
Mounir Lamouri
620c278bb8 Bug 567098 - Remove setTimeout's in autofocus tests; r=ehsan 2010-05-28 12:28:31 -04:00
Ehsan Akhgari
b9ce9b9635 Bug 568120 - Possible intermittent oranges in tests with iframe onload handlers pointing to functions defined later; r=sicking
--HG--
extra : rebase_source : 1f4fd2b78e396303cefbe42f0e4dcf602694ee01
2010-05-25 20:33:17 -04:00
Matt Brubeck
8d97582cb7 Bug 567183 - Add DOMMetaAdded and DOMMetaRemoved events [r=jst] 2010-05-27 15:19:01 -04:00
Ms2ger@gmail.com
1a5ac4849c Bug 567723 - Move nsIFormSubmission.h to nsFormSubmission.h. r=sicking
--HG--
rename : content/html/content/public/nsIFormSubmission.h => content/html/content/public/nsFormSubmission.h
2010-05-26 14:49:38 +02:00
Ehsan Akhgari
88a979fa09 Test case for bug 564461; r=roc
--HG--
extra : rebase_source : 8f5bea38964e7175667d9a6354a260773290c83b
2010-05-22 21:04:09 -04:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Boris Zbarsky
7f82173541 Bug 514425. Be a little more careful about our ClearForm calls. r=sicking 2009-09-30 18:56:50 -04:00
David Zbarsky
bb6a0e81f4 Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Ms2ger@gmail.com
71e3872c70 Bug 516359 - document.(open|write|writeln|close) in XHTML throws the wrong error. r=smaug 2009-09-27 11:20:30 +02:00
Daniel Holbert
0fad456e89 bustage fix for Bug 371976 2009-09-25 14:20:53 -07:00
Neil Rashbrook
f38b37ad3d Bug 371976 Create synthetic plugin document content later (like image documents) r=smaug 2009-09-25 21:58:47 +01:00
Justin Lebar
b5b0c28999 Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-25 12:50:26 -04:00
Paul O’Shannessy
25d9c99012 backing out 00377b2a7c75 (bug 209275) due to mochitest timeouts 2009-09-24 15:05:54 -07:00
Justin Lebar
b3e255230a Bug 209275 - Links' hrefs should be updated when a <base>'s href changes. r=bzbarsky 2009-09-24 13:59:43 -04:00
Boris Zbarsky
51e7cd5b8d Bug 478251. Implement the Null and Undefined annotations from webidl in quickstubs. r=jst,bsmedberg,jorendorff 2009-09-24 13:59:43 -04:00
Olli Pettay
26fe92f082 Bug 514856 - Server side image maps are broken, r=bz
--HG--
extra : rebase_source : d0a5c4795c0279d612435a0c0ad9cb6d5a4783a8
2009-09-23 18:11:48 +03:00
Chris Pearce
48a7e5790f Bug 492286 - Null check in nsHTMLSourceElement::BindToTree(). r=roc 2009-09-23 13:58:00 +12:00
Matthew Gregan
f202e48bf0 Bug 481057 - Fire MEDIA_ERR_DECODE errors when a decoding error occurs. r=chris.double, sr=roc
--HG--
extra : rebase_source : a07687f16726086dd425eef8907788019beebbe1
2009-09-22 12:08:13 +12:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Henri Sivonen
adce3cb5c8 Bug 499642 - Split the HTML5 parser into stream parser, doc.write parser and tree op executor. r=bnewman, sr=mrbkap. 2009-09-18 12:21:47 +03:00
Robert O'Callahan
4679add97d Bug 513144. Basic implementation of mozLoadFrom API. r=doublec
--HG--
extra : rebase_source : 71d04afaf21d268e3eddbb40e9894479698d1bfc
2009-09-15 14:30:44 +12:00
Robert O'Callahan
534831d533 Bug 513144. Hoist nsMediaStream creation up into nsHTMLMediaElement, out of the decoders. Pass the stream as the parameter to nsMediaDecoder::Load. r=doublec
--HG--
extra : rebase_source : f418076a0d534d528dbded66b2d49d8fe908de4b
2009-09-15 14:30:43 +12:00
Robert O'Callahan
2540c06447 Bug 513144. Remove mURI from the decoders, and change nsMediaDecoder::GetCurrentURI to GetCurrentStream so nsHTMLMediaElement::GetCurrentSrc gets the URI directly from the stream. r=doublec
--HG--
extra : rebase_source : b1e9680cf33cf7dded79383dfdf7559bbd7b1a78
2009-09-15 14:28:08 +12:00
Robert O'Callahan
6de615de1b Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Boris Zbarsky
9d35b80112 Bug 515829. Don't assume that mDefaultSubmitElement is non-null just because our firstSubmitSlot contains non-null. r=jst 2009-09-18 14:52:36 -04:00
Boris Zbarsky
82c38f6a01 Bug 515703. In some cases we can end up checking whether an element is the default submit before we've updated our default submit; in that situation wehave to do it the slow way. r=jst 2009-09-18 14:52:27 -04:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Olli Pettay
f49f941495 Bug 513912, Fix image document zoom handling in FF, r=dao, sr=jst
--HG--
extra : rebase_source : b562f90b4c326a5e40aa31e5bbbd363dd2047c8a
2009-09-09 23:04:05 +03:00
Daniel Holbert
fc57a677a9 Bug 515229: Remove unused method nsHTMLSelectElement::DispatchDOMEvent. r=smaug 2009-09-08 13:41:33 -07:00
Boris Zbarsky
65ad8e401e Bug 513153. Update the default submit correctly even if multiple form controls are removed in one remove operation. r=jst 2009-09-08 16:00:20 -04:00
Olli Pettay
f13cd472f1 Bug 503729 - with browser.zoom.siteSpecific=false: viewing a standalone image resets full zoom level, r=jst 2009-09-01 16:15:33 +03:00
Olli Pettay
231aff3fb5 backout Bug 503729 2009-09-01 15:45:47 +03:00
Olli Pettay
cb8815c98a Bug 503729 - with browser.zoom.siteSpecific=false: viewing a standalone image resets full zoom level, r=jst 2009-09-01 12:21:55 +03:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Mats Palmgren
51b2d8fe4b The traversal range end points are always part of the range. b=327694 r=jst 2009-08-27 20:05:23 +02:00
Henri Sivonen
4e335c0da3 Bug 505783 - Make HTML elements honor script-set xml:base. r=jonas. 2009-08-27 10:28:03 +03:00
Neil Deakin
5814a5694d Bug 508477, add a flag to distinguish key focus navigation from other types of focus navigation, allows initial focused textboxes in a dialog to be selected by default, r=smaug 2009-08-26 09:19:41 -07:00
Peter Van der Beken
8b5c239aac Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Peter Van der Beken
06a3290ed7 Fix for bug 510673 (Add a quickstub for document.write). r/sr=jst.
--HG--
extra : rebase_source : 10b08ef2c45a0db19122851cd105a7580e499d0a
2009-08-14 19:55:43 +02:00
David Zbarsky
bef61061f8 Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Olli Pettay
2f12596208 Bug 495883 - ASSERTION: Unable to get an nsIScriptGlobalObject from the ScriptGlobalObjectOwner, r=sicking
--HG--
extra : rebase_source : 7e0670c8165de7e761ed5adec653dac676e00982
2009-08-19 12:09:26 +03:00
Olli Pettay
f1f0d74e5a Bug 503226 r=jst,sicking, sr=jst
--HG--
extra : rebase_source : c45e2f0926bc2e27e298d8a46d14f5acab053484
2009-08-15 11:51:37 +03:00
Olli Pettay
1e82a3f9fe Bug 502168, r=bz
--HG--
extra : rebase_source : a5ee5c40d26bc654b05d94205273dc51c9cfa0fc
2009-08-13 23:27:37 +03:00
Peter Van der Beken
dd5bda7f79 Fix for bug 502730 (ASSERTION: Wrong scope, this is really bad!: 'JS_GetGlobalForObject(cx, obj) == newScope').
--HG--
extra : rebase_source : dbd409d54e6ecad801953d4cf76a57f95c419f94
2009-07-25 13:27:42 +02:00
Olli Pettay
cb4754240f Bug 501257 - Implement HTML 5's HTMLElement.classList property, p=sylvain.pasche@gmail.com, r=smaug, sr=sicking
--HG--
extra : rebase_source : cbbd5a5679af57f97122082213f44491431d87e3
2009-08-12 11:55:14 +03:00
Navin Lal
7d36965d96 Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Vivien Nicolas
bf4c343a15 Bug 506641: Click image resizing for nsImageDocument should be disabled, r=bzbarsky 2009-07-28 23:02:55 -04:00
David Zbarsky
a3748ef858 Bug 484200. src attribute on <style> makes styles not apply. r=bzbarsky 2009-07-28 12:07:31 -04:00
Robert O'Callahan
c5f9f6ca32 Bug 503835. Wave codec 0 should be reported as unsupported. r=doublec
--HG--
extra : rebase_source : ab41c6d1e124ba52200bf91fcf7bc5d0c983b78e
2009-07-27 10:01:41 +12:00
Robert O'Callahan
93cecdc075 Bug 505150. 'new Audio' constructors should set autobuffer automatically. r=doublec
--HG--
extra : rebase_source : 418f3c2ad918ae729857363041273c95230dfd2c
2009-07-27 09:31:11 +12:00
David Zbarsky
065a422dab Bug 332893. <form>.elements['x'] order is not updated after reordering element using DOM. r=bzbarsky 2009-07-24 09:33:20 -04:00
Neil Deakin
cd2a6410e2 Bug 504183, crash setting focus on file input that has no frame, r=smaug 2009-07-23 10:39:10 -04:00
timeless@mozdev.org
145236e39f Bug 504474 JS_ValueToBoolean is void
r=brendan
2009-07-22 17:31:04 -05:00
Ben Newman
e199f1d0ec Bug 504442 - Remove content/html/parser and land parser/html/javasrc/*.java.
--HG--
rename : content/html/parser/javasrc/AttributeName.java => parser/html/javasrc/AttributeName.java
rename : content/html/parser/javasrc/ElementName.java => parser/html/javasrc/ElementName.java
rename : content/html/parser/javasrc/HtmlAttributes.java => parser/html/javasrc/HtmlAttributes.java
rename : content/html/parser/javasrc/MetaScanner.java => parser/html/javasrc/MetaScanner.java
rename : content/html/parser/javasrc/Portability.java => parser/html/javasrc/Portability.java
rename : content/html/parser/javasrc/StackNode.java => parser/html/javasrc/StackNode.java
rename : content/html/parser/javasrc/StateSnapshot.java => parser/html/javasrc/StateSnapshot.java
rename : content/html/parser/javasrc/Tokenizer.java => parser/html/javasrc/Tokenizer.java
rename : content/html/parser/javasrc/TreeBuilder.java => parser/html/javasrc/TreeBuilder.java
rename : content/html/parser/javasrc/UTF16Buffer.java => parser/html/javasrc/UTF16Buffer.java
2009-07-17 13:50:20 -07:00
Henri Sivonen
3479df4b6a Bug 501106 - Implement Comment end bang state. rs=sicking 2009-07-15 14:31:57 +03:00
Henri Sivonen
5cfd6d5ab3 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
Robert O'Callahan
b8821fd30c Fix for bug 503468 (canPlayType should return "", not "no"). r=cdouble.
--HG--
extra : rebase_source : d54cf6d92a20a5f7e6ce66042c8d489dc93f0c7a
2009-07-14 16:04:56 +02:00
Peter Van der Beken
ed0899f1ce Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Neil Deakin
951de11b1c Bug 503047, element.select() should fire select event, r=bz 2009-07-13 07:55:56 -04:00
Robert O'Callahan
2d964640a9 Bug 493915. Fix test failures.
--HG--
extra : rebase_source : da441cd0351126a790463093bd6ad55681e18229
2009-07-10 16:05:40 +12:00
Robert O'Callahan
c862b4f8f6 Bug 493915. Fix leak in media element when an error occurs early in the resource load. r=cpearce 2009-07-10 14:03:03 +12:00
Boris Zbarsky
2f7a0cc166 Bug 503028. Don't flush out mCells laziness unless we have to. r+sr=jst 2009-07-09 14:09:44 -07:00
Boris Zbarsky
3fdb021eae Bug 503177. Don't assert when invalidating on dirty geometry from canvas. r+sr=roc 2009-07-09 14:09:43 -07:00
Masayuki Nakano
245ec4860e Bug 502273 contentEditable is disabled if an attribute is removed from the node r+sr=peterv 2009-07-09 10:54:43 +09:00
L. David Baron
9a8d97752d Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Henri Sivonen
38fcebf359 Bug 502103 - Crash [@ NS_NewEditorKeyListener] with <isindex action="">. r+sr=mrbkap 2009-07-06 15:11:14 +03:00
Josh Aas
70edf7241e Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Henri Sivonen
cc3e223a82 Bug 501091 - Avoid overlap with platform defines in HTML5 element/attribute name object names. r=jonas, sr=mrbkap 2009-06-30 13:50:56 +03:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Jonas Sicking
62c6519f6e Move files to better location
--HG--
rename : content/html/parser/src/Makefile.in => parser/html/Makefile.in
rename : content/html/parser/src/jArray.h => parser/html/jArray.h
rename : content/html/parser/src/nsHtml5ArrayCopy.h => parser/html/nsHtml5ArrayCopy.h
rename : content/html/parser/src/nsHtml5AtomList.h => parser/html/nsHtml5AtomList.h
rename : content/html/parser/src/nsHtml5Atoms.cpp => parser/html/nsHtml5Atoms.cpp
rename : content/html/parser/src/nsHtml5Atoms.h => parser/html/nsHtml5Atoms.h
rename : content/html/parser/src/nsHtml5AttributeName.cpp => parser/html/nsHtml5AttributeName.cpp
rename : content/html/parser/src/nsHtml5AttributeName.h => parser/html/nsHtml5AttributeName.h
rename : content/html/parser/src/nsHtml5ByteReadable.h => parser/html/nsHtml5ByteReadable.h
rename : content/html/parser/src/nsHtml5DocumentMode.h => parser/html/nsHtml5DocumentMode.h
rename : content/html/parser/src/nsHtml5ElementName.cpp => parser/html/nsHtml5ElementName.cpp
rename : content/html/parser/src/nsHtml5ElementName.h => parser/html/nsHtml5ElementName.h
rename : content/html/parser/src/nsHtml5HtmlAttributes.cpp => parser/html/nsHtml5HtmlAttributes.cpp
rename : content/html/parser/src/nsHtml5HtmlAttributes.h => parser/html/nsHtml5HtmlAttributes.h
rename : content/html/parser/src/nsHtml5MetaScanner.cpp => parser/html/nsHtml5MetaScanner.cpp
rename : content/html/parser/src/nsHtml5MetaScanner.h => parser/html/nsHtml5MetaScanner.h
rename : content/html/parser/src/nsHtml5MetaScannerCppSupplement.h => parser/html/nsHtml5MetaScannerCppSupplement.h
rename : content/html/parser/src/nsHtml5MetaScannerHSupplement.h => parser/html/nsHtml5MetaScannerHSupplement.h
rename : content/html/parser/src/nsHtml5Module.cpp => parser/html/nsHtml5Module.cpp
rename : content/html/parser/public/nsHtml5Module.h => parser/html/nsHtml5Module.h
rename : content/html/parser/src/nsHtml5NamedCharacters.cpp => parser/html/nsHtml5NamedCharacters.cpp
rename : content/html/parser/src/nsHtml5NamedCharacters.h => parser/html/nsHtml5NamedCharacters.h
rename : content/html/parser/src/nsHtml5Parser.cpp => parser/html/nsHtml5Parser.cpp
rename : content/html/parser/src/nsHtml5Parser.h => parser/html/nsHtml5Parser.h
rename : content/html/parser/src/nsHtml5PendingNotification.h => parser/html/nsHtml5PendingNotification.h
rename : content/html/parser/src/nsHtml5Portability.cpp => parser/html/nsHtml5Portability.cpp
rename : content/html/parser/src/nsHtml5Portability.h => parser/html/nsHtml5Portability.h
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.cpp => parser/html/nsHtml5ReleasableAttributeName.cpp
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.h => parser/html/nsHtml5ReleasableAttributeName.h
rename : content/html/parser/src/nsHtml5ReleasableElementName.cpp => parser/html/nsHtml5ReleasableElementName.cpp
rename : content/html/parser/src/nsHtml5ReleasableElementName.h => parser/html/nsHtml5ReleasableElementName.h
rename : content/html/parser/src/nsHtml5StackNode.cpp => parser/html/nsHtml5StackNode.cpp
rename : content/html/parser/src/nsHtml5StackNode.h => parser/html/nsHtml5StackNode.h
rename : content/html/parser/src/nsHtml5StackNodeCppSupplement.h => parser/html/nsHtml5StackNodeCppSupplement.h
rename : content/html/parser/src/nsHtml5StackNodeHSupplement.h => parser/html/nsHtml5StackNodeHSupplement.h
rename : content/html/parser/src/nsHtml5StateSnapshot.cpp => parser/html/nsHtml5StateSnapshot.cpp
rename : content/html/parser/src/nsHtml5StateSnapshot.h => parser/html/nsHtml5StateSnapshot.h
rename : content/html/parser/src/nsHtml5Tokenizer.cpp => parser/html/nsHtml5Tokenizer.cpp
rename : content/html/parser/src/nsHtml5Tokenizer.h => parser/html/nsHtml5Tokenizer.h
rename : content/html/parser/src/nsHtml5TreeBuilder.cpp => parser/html/nsHtml5TreeBuilder.cpp
rename : content/html/parser/src/nsHtml5TreeBuilder.h => parser/html/nsHtml5TreeBuilder.h
rename : content/html/parser/src/nsHtml5TreeBuilderCppSupplement.h => parser/html/nsHtml5TreeBuilderCppSupplement.h
rename : content/html/parser/src/nsHtml5TreeBuilderHSupplement.h => parser/html/nsHtml5TreeBuilderHSupplement.h
rename : content/html/parser/src/nsHtml5TreeOperation.cpp => parser/html/nsHtml5TreeOperation.cpp
rename : content/html/parser/src/nsHtml5TreeOperation.h => parser/html/nsHtml5TreeOperation.h
rename : content/html/parser/src/nsHtml5UTF16Buffer.cpp => parser/html/nsHtml5UTF16Buffer.cpp
rename : content/html/parser/src/nsHtml5UTF16Buffer.h => parser/html/nsHtml5UTF16Buffer.h
rename : content/html/parser/src/nsHtml5UTF16BufferCppSupplement.h => parser/html/nsHtml5UTF16BufferCppSupplement.h
rename : content/html/parser/src/nsHtml5UTF16BufferHSupplement.h => parser/html/nsHtml5UTF16BufferHSupplement.h
2009-06-26 17:12:29 -07:00
Henri Sivonen
28fcb8397f Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Henri Sivonen
601d4b9db4 Documentation for nsHtml5Parser.h 2009-06-26 17:19:28 +03:00
Henri Sivonen
c0213aecb9 Put more stuff in static const in HTML5 parser, fix UnblockParser on HTML5 parser 2009-06-26 16:05:35 +03:00
Henri Sivonen
dc5c0fb922 Address review comments on the HTML5 parser 2009-06-26 14:13:46 +03:00
Henri Sivonen
e85fe2b80e Clean up whitespace in the HTML5 parser; add some docs 2009-06-26 11:22:12 +03:00
Chris Pearce
1a65d280a9 Bug 449156 - Implement HTMLVideoElement.poster, with correct reftests. r+=doublec,jst, sr+=roc 2009-06-26 19:25:17 +12:00
Chris Pearce
55076f0d9d Backout bug 449156 due to test-poster-9 failure. 2009-06-26 18:25:03 +12:00
Chris Pearce
7bb427a394 Bug 449156 - Implement HTMLVideoElement.poster r+=doublec,jst sr+=roc 2009-06-26 16:23:14 +12:00
Henri Sivonen
ea5bed31bc Address HTML5 parser review comments (partially); fix static jArray lengths 2009-06-25 15:28:48 +03:00
Henri Sivonen
b8652e95fb Add a readme file for the .java files 2009-06-24 15:37:31 +03:00
Henri Sivonen
d60818cc01 Use less parentheses in assertions in HTML5 parser 2009-06-24 15:32:53 +03:00
Henri Sivonen
873ddb4555 Include the .java sources for translated files in the HTML5 parser 2009-06-24 15:27:43 +03:00
Henri Sivonen
afdf16c7b5 Move the initialization of primitive static jArrays to initializeStatics in HTML5 parser 2009-06-24 14:42:50 +03:00
Henri Sivonen
bc8527ba95 Null out jArray after releasing. 2009-06-24 13:41:18 +03:00
Henri Sivonen
d6a5f0ef48 Try to avoid crashing in HTML5 parser cycle collection 2009-06-24 13:38:11 +03:00
Henri Sivonen
43c3e39538 Remove legacy comments 2009-06-24 11:08:39 +03:00
Henri Sivonen
79a4ed13ec #ifdef out a variable only used for debugging. 2009-06-24 10:58:47 +03:00
Henri Sivonen
1b856465b2 Add comments to the HTML5 parser explaining buffer chain key holders 2009-06-24 10:56:40 +03:00
Henri Sivonen
ed2dbde744 Use NS_PRECONDITION instead of NS_ASSERTION for asserting the start condition of HTML5 parser 2009-06-24 10:45:43 +03:00
Henri Sivonen
77b135ca59 Tweak assertions in HTML5 parser 2009-06-24 10:26:30 +03:00
Henri Sivonen
4cfd1317c0 Make GetChannel nicer in HTML5 parser 2009-06-24 10:22:51 +03:00
Henri Sivonen
cf598ae101 Use NS_ERROR instead of asserting true in HTML5 parser 2009-06-24 10:21:17 +03:00
Henri Sivonen
8dbfcccbd7 Fix GetCommand in HTML5 parser to return "view" 2009-06-24 10:20:13 +03:00
Henri Sivonen
9f40c21137 Clean up nsHtml5Parser destructor 2009-06-24 09:59:03 +03:00
Henri Sivonen
c2f88d2327 Make app cache not crash HTML5 parser when it calls Terminate() in mid-flight. 2009-06-24 09:55:38 +03:00
Henri Sivonen
43e0fcb133 Merge trunk into HTML5 repo 2009-06-22 10:05:55 +03:00
Henri Sivonen
fc7407d5c6 Fix bad merge between HTML5 repo and trunk 2009-06-21 16:23:03 +03:00
Henri Sivonen
0ffb6117a2 Make HTML5 parser enablement use AddBoolPrefVarCache 2009-06-21 16:14:38 +03:00
Henri Sivonen
5c2176286d Move static inline void on one line in nsHtml5ArrayCopy.h 2009-06-21 15:46:29 +03:00
Boris Zbarsky
3878fd4be6 Bug 497242. GetElementsByName should not find non-HTML elements. r+sr=sicking 2009-06-19 16:57:39 -04:00
Henri Sivonen
057b4f1b12 Zap tests for bug 448564 that the HTML5 parser obsoletes. 2009-06-18 18:01:51 +03:00
Henri Sivonen
0730ae2a8f Bug 497845 - Hook cycle collector into the HTML5 parser 2009-06-18 16:24:51 +03:00
Henri Sivonen
420d38551f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Henri Sivonen
34f853a2de Avoid double-free in HTML5 parser when attributes are moved around in the isindex parser macro 2009-06-16 12:09:54 +03:00
Henri Sivonen
d1ad385038 Fix GetChannel() in HTML5 parser to deal with null channels the properly 2009-06-16 09:58:13 +03:00
Henri Sivonen
b045a5d8bf Make test_bug461555.html not crash HTML5 parser 2009-06-15 14:11:36 +03:00
Henri Sivonen
fa3e4b55a2 Disable HTML5 parser by default 2009-06-15 10:17:52 +03:00
Henri Sivonen
1313b37fa2 Initialize HTML5 TreeBuilder fields properly patch from Mats Palmgrem. r=hsivonen 2009-06-15 10:05:00 +03:00
Ben Newman
94f19e102d Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Henri Sivonen
3aede6927e Buf 497580 - Avoid UNICODE as an identifier in the HTML5 parser due to Windows CE compiler 2009-06-12 09:28:10 +03:00
Olli Pettay
6ddf70029c Bug 388422 - Avoid checks for editability in BindToTree, r+sr=peterv
--HG--
extra : rebase_source : 06eae0083f9b620e6a7ee2fe63a22c974b29608c
2009-06-23 15:57:56 +03:00
Olli Pettay
1a534bf2c2 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Henri Sivonen
bb1733dfd5 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Henri Sivonen
044238db06 Bug 381885 - Avoid underflow in unsigned computation order. patch by Mats Palmgren. r=hsivonen 2009-06-09 11:56:18 +03:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Henri Sivonen
8887124861 Bug 483015 - Expose line numbers for <style> and <script> in the HTML5 parser 2009-06-08 16:29:54 +03:00
Henri Sivonen
d839728b28 Bug 483158 - Make the HTML5 tokenizer not write into the input buffer 2009-06-05 15:51:00 +03:00
Henri Sivonen
69949bfe89 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Robert Longson
1973deec58 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
L. David Baron
0d06184f97 Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Henri Sivonen
f09b30c3b5 Bug 488818 - Mark malformed scripts as malformed in HTML5 tree builder. 2009-05-29 15:44:40 +03:00
Henri Sivonen
54e806273c Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Henri Sivonen
137e64c272 Make HTML5 tree builder match the scripting state. 2009-05-28 17:17:42 +03:00
Henri Sivonen
94393e75e1 Make document-initiated flushes no-ops in HTML5 parser 2009-05-26 12:00:37 +03:00
Henri Sivonen
7b8db88561 Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Henri Sivonen
498d1488eb Inline read() method in HTML5 tokenizer 2009-05-25 11:59:22 +03:00
Robert O'Callahan
3d39f15314 Bug 475110. Don't try to handle Wave files loaded via links or <object> using our Wave codec, since there are Wave formats we don't support that are actually used in the wild. r=doublec,a=beltzner
--HG--
extra : rebase_source : 562c7c7c17157082483e456f33aa8b211fd07aeb
2009-05-25 12:42:19 +12:00
Zack Weinberg
6a08d287a7 Bug 494225: correct check for property-not-set in nsHTMLDocument::Get*LinkColor, r+sr=bzbarsky 2009-05-21 15:42:17 -04:00
Olli Pettay
1d0c8384b8 Bug 491063 - Mixed mode warning dialog (and other dialog windows) is sometimes not rendered, r+sr=bz 2009-05-20 11:00:04 +03:00
Henri Sivonen
15213180ab HTML5 (and other browsers) do not infer <select> on <optgroup> 2009-05-19 15:41:00 +03:00
Boris Zbarsky
bc7e96f36d Fixing bug 488649 build bustage 2009-05-19 22:40:07 -04:00
Zack Weinberg
d1ad418dbf Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00
Robert O'Callahan
f843370660 Bug 486922. Clamp out-of-bounds seek requests. r=doublec
--HG--
extra : rebase_source : deeabc531d4fa6ada6e35740aed44bcc3844f233
2009-05-19 21:55:04 +12:00
Matthew Gregan
f201fe7c68 Bug 454971. Support 'new Audio()' constructor. r+sr=roc
--HG--
extra : rebase_source : 1738d65cd16a79d69408055a8d9feb5ab5d97923
2009-05-19 17:18:41 +12:00
Robert O'Callahan
bb3c7fc0f9 Bug 492420. Delay a little before playing a live stream to try to reduce the likelihood we'll have to buffer. r=doublec
--HG--
extra : rebase_source : 022aa4d89644b3cfef62f95b4349932594de734f
2009-05-19 17:14:20 +12:00
Robert O'Callahan
0855ba8432 Bug 493509. Don't fire 'suspend' when the resource is actually fully loaded. r=doublec
--HG--
extra : rebase_source : a7ae1b2f53c7eb4b8a0e270510028d155d79f319
2009-05-19 11:06:10 +12:00
Robert O'Callahan
a3f433b1b3 Bug 493443. Set readyState to HAVE_CURRENT_DATA whenever the Ogg frame queue is empty or we're buffering/seeking, instead of trying to hardcode it based on other events like PlaybackEnded. r=doublec
--HG--
extra : rebase_source : 0b2f938e5f19cbb21258248da9da09e2a525db81
2009-05-19 10:44:17 +12:00
Robert O'Callahan
9ae2cf2709 Bug 479863. AdFire 'suspend' event and do correct networkState transitions when downloads suspend and resume. Also avoid firing 'stalled' while the download is suspended. r=doublec
--HG--
extra : rebase_source : 0615871c062638d575a66e29b630040821a9f9cf
2009-05-18 14:03:37 +12:00
Robert O'Callahan
a2a28c523b Bug 479863. Stop buffering media elements by default, implement 'autobuffer' attribute to control buffering. r=doublec
--HG--
extra : rebase_source : 5fa0b63da981fdfcf7b1555174b6d1122bf2ae97
2009-05-18 14:00:44 +12:00
Chris Pearce
58241ba80b Bug 485471. nsHTMLMediaElement's mChannel should be updated when redirects happen. r=bzbarsky,sr=roc 2009-05-18 10:20:37 +12:00
Boris Zbarsky
0f6dae2977 Bug 489050. Make sure to not notify on our content once we've disconnected from the document. r=bent, sr=sicking 2009-05-17 10:22:55 -04:00
Boris Zbarsky
6f4f48e0e7 Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst 2009-05-17 10:22:54 -04:00
Henri Sivonen
fee082ae9f Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Henri Sivonen
802b683c22 Bug 490941 - Fix visual Hebrew in HTML5 parser 2009-05-04 10:25:29 -07:00
Henri Sivonen
91398b9466 Bug 479774 - Process cache manifests in the HTML5 parser 2009-04-30 15:41:50 -07:00
Henri Sivonen
00e19536e2 Bug 489530 - Make meta refresh work in the HTML5 parser 2009-04-30 15:08:35 -07:00
Henri Sivonen
bafd95b750 Bug 490271 - Make form state pick up input state in HTML5 parser 2009-04-30 14:45:05 -07:00
Robert O'Callahan
54052b20f1 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec 2009-05-14 09:52:50 +12:00
Robert O'Callahan
bb0f8610f9 Backed out changeset eb93563530d5 2009-05-14 12:38:33 +12:00
Robert O'Callahan
9926956f04 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec
--HG--
extra : rebase_source : 2551f25e1828939dbb1619c31d3cedc2217a6623
2009-05-14 09:52:50 +12:00
Henri Sivonen
fd39702cad Make the HTML5 parser deal with files under 512 bytes that do not have an encoding declaration 2009-04-23 15:19:10 +03:00
Henri Sivonen
5c1801d482 Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content. 2009-04-22 12:17:08 +03:00
Henri Sivonen
d8642cb637 Fix unicode conversion error recovery in HTML5 parser 2009-04-21 14:35:02 +03:00
Henri Sivonen
05cfc0ab33 Bug 488854 - In HTML5 parser Insert REPLACEMENT CHARACTER gracefully when Unicode converter returns failure 2009-04-17 18:55:09 +03:00
Henri Sivonen
797e7e764b Make sure the encoding of the HTML5 parser is confident when the entire doc is document.written() 2009-04-17 15:54:59 +03:00
Henri Sivonen
eed73a0439 Bug 488267 - Flush appends before starting layout 2009-04-17 13:05:19 +03:00
Henri Sivonen
c6a0307a21 Fix bad merge of bug 468708. 2009-04-17 12:33:20 +03:00
Henri Sivonen
458a64c0ce Merge in patch for bug 468708. 2009-04-16 13:36:59 +03:00
Henri Sivonen
027ef67503 Inline obvious candidates in the HTML5 parser 2009-04-16 13:30:09 +03:00
Henri Sivonen
51bb8f55eb Bug 468708 - Make namespace URI for HTML elements be http://www.w3.org/1999/xhtml 2009-04-16 13:28:40 +03:00
Henri Sivonen
7c4afa67c2 Get rid of nsHtml5StringLiterals (b=482945) 2009-04-15 12:40:48 +03:00
Henri Sivonen
0eb04fe085 Support keygen, fix refcounting of stack nodes in the HTML5 parser 2009-04-10 20:27:09 +03:00
Henri Sivonen
de40e2dc85 Add null check to removing elements from the list of active formatting elements in the HTML5 parser 2009-04-07 17:58:37 +03:00
Henri Sivonen
6542f8acb8 Make HTML5 tree builder state snapshots not call a method on null 2009-04-07 15:29:22 +03:00
Henri Sivonen
83996972d9 Temporarily make the HTML5 parser leak instead of crashing. 2009-04-07 15:09:39 +03:00
Henri Sivonen
eba1d8fecf Fix crasher fallout from deferring HTML5 parser life cycle start. 2009-04-07 14:06:28 +03:00
Henri Sivonen
a602adb4a9 Add nsHtml5StateSnapshot.* 2009-04-02 12:06:29 +03:00
Henri Sivonen
5712cc9dc6 Avoid regressing bug 321781 in the HTML5 parser 2009-04-01 18:29:23 +03:00
Zack Weinberg
0412a0974c Bug 499543: handle total transparency in LegacyRGBToHex. r+sr=bzbarsky 2009-06-01 14:40:14 -04:00
Matthew Gregan
1c90a953a3 Bug 475110. Stop advertising browser support for loading Wave formats as documents. r=roc 2009-05-31 22:05:17 +12:00
Henri Sivonen
4a6930f177 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Henri Sivonen
07ebe81fb3 Make the HTML5 parser pass http://hixie.ch/tests/adhoc/dom/level0/write/003.html 2009-03-26 13:50:24 +02:00
Bernd
5f442c604e Bug 192902 - "Words wrap in nowrap cell when width=0 and next cell have width=100%". r+sr=bzbarsky 2009-06-11 13:09:34 -04:00