Commit Graph

1278 Commits

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