Commit Graph

1609 Commits

Author SHA1 Message Date
Chris Leary
272d457a20 Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Boris Zbarsky
853fd4d981 Bug 331959 and bug 127903. Make situations in which an anchor or submit control is nested inside another anchor and the inner thing is clicked trigger the inner thing, not both. r=smaug,gavin a=blocker 2010-12-27 14:42:10 -06:00
timeless@mozdev.org
5c6ecd40a3 Bug 620255 add comment nsHTMLInputElement::PostHandleEvent for isMovingBack falling through, r+a=dbaron 2010-12-19 19:44:00 -08:00
Mounir Lamouri
301df17125 Bug 618948 - Add support for element.oninput and element.oninvalid. r=smaug a=sicking 2010-12-22 19:43:50 -05:00
Mounir Lamouri
448285f959 Bug 620078 - Crash [@ nsAutoFocusEvent::Run] with autofocus attribute in frame with no window. r=smaug a=blocking-betaN 2010-12-21 19:58:24 -05:00
Mihai Sucan
6af7fd5fc9 Bug 603706 - Need a way to track the originating window for all nsIConsoleMessages; r=joe,bzbarsky, a=blocking2.0 2010-12-20 12:21:59 -04:00
Mihai Sucan
215e61a4b2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 3; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:59 -04:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Ehsan Akhgari
393e54e609 Bug 527935 - Fire the input event for text controls with the correct trusted-ness status; r=roc a=blocking-final+ 2010-12-07 01:30:05 -05:00
Mounir Lamouri
bb1eaf03a1 Bug 598092 - Autocomplete should not remember form values if the submit is stopped due to HTML5 validation. r+a=sicking
--HG--
extra : rebase_source : a73d81bb3bd0f67b23b54db39f74611a88ef90b6
2010-12-16 12:13:02 -08:00
Ms2ger
2104b9efeb Bug 604807 - Make nsISelectElement unscriptable to prevent crashes; r=bz a=blocking-beta9
--HG--
extra : rebase_source : 39c142478f0dea004e32b023b7253b244fe0f14a
2010-12-17 18:10:51 -08:00
Mounir Lamouri
a7f188e73e Bug 610415 - Make :-moz-ui-invalid and :-moz-ui-valid not applying when the form element has novalidate attribute set. r+a=sicking
--HG--
extra : rebase_source : 16d889910f0cd14071da4ecedfa92fa2db0be750
2010-12-17 15:26:24 -08:00
Mounir Lamouri
efd278ae85 Bug 615764 - Remove nsRadioUpdateValueMissingVisitor. r+a=sicking
--HG--
extra : rebase_source : 1655bae21cbaf865be38b63ebd0f8ac59b5002dd
2010-12-16 11:53:40 -08:00
Mounir Lamouri
54f6748d69 Bug 610687 - Make all the radio button group suffering from being missing instead of only radio's with the required attribute. r+a=sicking
--HG--
extra : rebase_source : 804f50ebb47feeac9328a47e86fa387fc07ab32d
2010-12-16 11:51:59 -08:00
Mounir Lamouri
c14568541d Bug 601030 (2/2) - Don't let a frame steal focus with autofocus when the document has been loaded. r=smaug a=sicking
--HG--
rename : content/html/content/test/test_bug546995-1.html => content/html/content/test/test_bug546995.html
extra : rebase_source : 5f84b2ef8ce5bf4cad9c736dc63393e7286ae51f
2010-12-17 18:01:12 -08:00
Mounir Lamouri
786c3cbc56 Bug 601030 (1/2) - Don't let a frame to steal focus from another frame with autofocus. r=smaug a=sicking
--HG--
extra : rebase_source : 18b3f4ac812c8562862bd9b466f34370248c0109
2010-12-17 09:47:58 -08:00
Mounir Lamouri
1a18d39d68 Bug 615833 - Change event should not be cancelable. r=smaug a=sicking
--HG--
extra : rebase_source : a067989d8ce1297a9ed9869f931b64f33f2fed9f
2010-12-17 09:45:46 -08:00
Mounir Lamouri
df9f4b15c7 Bug 613979 - oninput should fire after the validity state update. r=smaug a=blocking-betaN
--HG--
extra : rebase_source : 69bde11286f9c93248b1a32a7d6795d3a22554f9
2010-12-14 09:56:52 -08:00
Robert Sayre
be7b7e126a Properly check attribute URLs -- Bug 562547, r=jst, a=blocking2.0
Do not inherit principal from embedding doc (often chrome) when checking URIs,
but use NullPrincipal for untrusted content.
2010-12-15 18:14:11 +01:00
Luke Wagner
2fc61cf52e Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Daniel Holbert
59aec5e3a8 Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc
--HG--
extra : rebase_source : b4048d8fbde522f05a01df693887e0e26a5afb97
2010-12-05 13:17:29 +00:00
Ehsan Akhgari
1bd8b7c9e7 Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+ 2010-11-24 13:31:52 -05:00
Ehsan Akhgari
ef612c0f0a Bug 615450 - Prevent the reinitialization of the HTML editor while an editor operation is in progress on a document; r,a=roc
This should prevent crashes, update view count and edit action nesting count mismatches, and more!

--HG--
extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
2010-11-30 23:21:32 -05:00
Mounir Lamouri
9c611e62d4 Bug 613722 - Do not make <embed hidden> display none. r=jst a=blocking-betaN 2010-12-03 15:22:11 +01:00
Mounir Lamouri
1e9c4a160e Bug 615697 - <input type='file'> change event should bubble. r=smaug a=blocking-betaN 2010-12-03 15:20:07 +01:00
Kyle Huey
395e7205c3 Bug 614403: Make nsPluginDocument QI to its CC participant. r=peterv a=b:final 2010-12-02 11:19:37 -05:00
Kyle Huey
ec6e9646f6 Bug 614401: Make nsImageDocument QI to its CC participant. r=peterv a=b:final 2010-12-02 11:18:51 -05:00
Kyle Huey
e76dc620f2 Bug 614279: Make nsHTMLDataListElement QI to its own CC participant. r=peterv a=blocking-final 2010-12-02 14:13:59 +01:00
Ehsan Akhgari
f10d7e89cf Bug 614988 - "ASSERTION: We should never try to use the editor if we're not initialized unless we're being initialized" should not apply to textarea's; r=bzbarsky a=roc 2010-11-26 15:48:45 -05:00
Ben Bucksch
5cbe4f70b1 Bug 614760 - Don't send 'Accept-Encoding: gzip,deflate' for video. r=doublec a=roc 2010-11-29 10:21:27 +13:00
Ms2ger
d0039badbb Bug 604086 - Fix signed-unsigned comparison in nsHTMLCanvasElement::ExtractData; r=khuey a=bsmedberg 2010-11-25 10:10:29 +01:00
Ehsan Akhgari
6ca27c613a Bug 611189 - Parchment IF Reader Misbehaves; r=bzbarsky a=blocking-final+
This patch makes sure that we don't try to read the value from the editor if we haven't started to initialize the editor yet.
This ensures that the UpdateValueDisplay calls before we start to initialize the editor will always end up reading the value from the content node, and do not rely on the data returned by the editor, which might be stale.

--HG--
extra : rebase_source : e31be0ce21585f0f18eca3aa2d8e43d3646348e2
2010-11-22 03:12:56 -05:00
Chris Pearce
0e486c9c7c Bug 611994 - Fire timeupdate based on time change, not timer. r=roc a=roc 2010-11-25 07:34:57 +13:00
Kyle Huey
dc8d5d1492 Bug 613027: Make nsHTMLFieldSetElement participate in cycle collection properly. r=peterv a=blocking-final 2010-11-24 01:09:48 +01:00
Mounir Lamouri
b857423fb5 Bug 613249 - <output> should have :-moz-ui-invalid and :-moz-ui-valid applying. r=bz a=jst
--HG--
rename : layout/reftests/css-invalid/output/output-invalid.html => layout/reftests/css-ui-invalid/output/output-invalid.html
rename : layout/reftests/css-invalid/output/output-ref.html => layout/reftests/css-ui-invalid/output/output-ref.html
rename : layout/reftests/css-invalid/output/output-valid.html => layout/reftests/css-ui-invalid/output/output-valid.html
rename : layout/reftests/css-invalid/output/reftest.list => layout/reftests/css-ui-invalid/output/reftest.list
rename : layout/reftests/css-invalid/output/style.css => layout/reftests/css-ui-invalid/output/style.css
rename : layout/reftests/css-valid/output/output-invalid.html => layout/reftests/css-ui-valid/output/output-invalid.html
rename : layout/reftests/css-valid/output/output-ref.html => layout/reftests/css-ui-valid/output/output-ref.html
rename : layout/reftests/css-valid/output/output-valid.html => layout/reftests/css-ui-valid/output/output-valid.html
rename : layout/reftests/css-valid/output/reftest.list => layout/reftests/css-ui-valid/output/reftest.list
rename : layout/reftests/css-valid/output/style.css => layout/reftests/css-ui-valid/output/style.css
2010-11-24 11:13:05 +01:00
Mounir Lamouri
e2a3b64fa9 Bug 612730 (3/3) - :-moz-ui-invalid should not apply if the element was valid on focus and :-moz-ui-valid should not apply if no style was applying on focus. r=bz a=jst 2010-11-24 11:09:31 +01:00
Mounir Lamouri
230a660ca7 Bug 612730 (2/3) - :-moz-ui-invalid and :-moz-ui-valid apply for <select> if the user tried to submit the form in an invalid state. r=bz a=jst 2010-11-24 11:09:17 +01:00
Mounir Lamouri
6e28fff4f8 Bug 612730 (1/3) - :-moz-ui-invalid and :-moz-ui-valid apply if the selected option has been changed. r=bz a=jst 2010-11-24 11:09:01 +01:00
Mounir Lamouri
4cb3a45367 Bug 605125 (5/5) - :-moz-ui-valid should not apply while typing if the element had no style when it was focused. r=bz a=jst
--HG--
rename : content/html/content/test/test_bug605125.html => content/html/content/test/test_bug605125-1.html
rename : content/html/content/test/test_bug605124-2.html => content/html/content/test/test_bug605125-2.html
2010-11-24 00:56:24 +01:00
Mounir Lamouri
4b6eaeefda Bug 605125 (4/5) - :-moz-ui-valid applies if the user tried to submit the form in an invalid state. r=bz a=jst
--HG--
rename : content/html/content/test/test_bug605124-1.html => content/html/content/test/test_bug605125.html
2010-11-24 00:55:53 +01:00
Mounir Lamouri
e315f96b44 Bug 605125 (3/5) - :-moz-ui-valid shouldn't apply if the element hasn't been modified. r=bz a=jst 2010-11-24 00:55:22 +01:00
Mounir Lamouri
89220a1e7a Bug 605125 (2/5) - Make :-moz-ui-valid follow rules for :valid. r=bz a=jst
--HG--
rename : layout/reftests/css-valid/button/button-button.html => layout/reftests/css-ui-valid/button/button-button.html
rename : layout/reftests/css-valid/button/button-disabled-fieldset-1.html => layout/reftests/css-ui-valid/button/button-disabled-fieldset-1.html
rename : layout/reftests/css-valid/button/button-disabled-fieldset-2.html => layout/reftests/css-ui-valid/button/button-disabled-fieldset-2.html
rename : layout/reftests/css-valid/button/button-disabled.html => layout/reftests/css-ui-valid/button/button-disabled.html
rename : layout/reftests/css-valid/button/button-dyn-disabled.html => layout/reftests/css-ui-valid/button/button-dyn-disabled.html
rename : layout/reftests/css-valid/button/button-dyn-not-disabled.html => layout/reftests/css-ui-valid/button/button-dyn-not-disabled.html
rename : layout/reftests/css-valid/button/button-fieldset-legend-ref.html => layout/reftests/css-ui-valid/button/button-fieldset-legend-ref.html
rename : layout/reftests/css-valid/button/button-fieldset-legend.html => layout/reftests/css-ui-valid/button/button-fieldset-legend.html
rename : layout/reftests/css-valid/button/button-fieldset-ref.html => layout/reftests/css-ui-valid/button/button-fieldset-ref.html
rename : layout/reftests/css-valid/button/button-invalid.html => layout/reftests/css-ui-valid/button/button-invalid.html
rename : layout/reftests/css-valid/button/button-ref.html => layout/reftests/css-ui-valid/button/button-ref.html
rename : layout/reftests/css-valid/button/button-reset.html => layout/reftests/css-ui-valid/button/button-reset.html
rename : layout/reftests/css-valid/button/button-type-barred.html => layout/reftests/css-ui-valid/button/button-type-barred.html
rename : layout/reftests/css-valid/button/button-type-invalid.html => layout/reftests/css-ui-valid/button/button-type-invalid.html
rename : layout/reftests/css-valid/button/button-valid.html => layout/reftests/css-ui-valid/button/button-valid.html
rename : layout/reftests/css-valid/button/reftest.list => layout/reftests/css-ui-valid/button/reftest.list
rename : layout/reftests/css-valid/button/style.css => layout/reftests/css-ui-valid/button/style.css
rename : layout/reftests/css-valid/input/input-button-ref.html => layout/reftests/css-ui-valid/input/input-button-ref.html
rename : layout/reftests/css-valid/input/input-button.html => layout/reftests/css-ui-valid/input/input-button.html
rename : layout/reftests/css-valid/input/input-customerror.html => layout/reftests/css-ui-valid/input/input-customerror.html
rename : layout/reftests/css-valid/input/input-disabled-fieldset-1.html => layout/reftests/css-ui-valid/input/input-disabled-fieldset-1.html
rename : layout/reftests/css-valid/input/input-disabled-fieldset-2.html => layout/reftests/css-ui-valid/input/input-disabled-fieldset-2.html
rename : layout/reftests/css-valid/input/input-disabled.html => layout/reftests/css-ui-valid/input/input-disabled.html
rename : layout/reftests/css-valid/input/input-dyn-disabled.html => layout/reftests/css-ui-valid/input/input-dyn-disabled.html
rename : layout/reftests/css-valid/input/input-dyn-not-disabled.html => layout/reftests/css-ui-valid/input/input-dyn-not-disabled.html
rename : layout/reftests/css-valid/input/input-dyn-not-readonly.html => layout/reftests/css-ui-valid/input/input-dyn-not-readonly.html
rename : layout/reftests/css-valid/input/input-dyn-readonly.html => layout/reftests/css-ui-valid/input/input-dyn-readonly.html
rename : layout/reftests/css-valid/input/input-email-invalid.html => layout/reftests/css-ui-valid/input/input-email-invalid.html
rename : layout/reftests/css-valid/input/input-email-ref.html => layout/reftests/css-ui-valid/input/input-email-ref.html
rename : layout/reftests/css-valid/input/input-email-valid.html => layout/reftests/css-ui-valid/input/input-email-valid.html
rename : layout/reftests/css-valid/input/input-fieldset-legend-ref.html => layout/reftests/css-ui-valid/input/input-fieldset-legend-ref.html
rename : layout/reftests/css-valid/input/input-fieldset-legend.html => layout/reftests/css-ui-valid/input/input-fieldset-legend.html
rename : layout/reftests/css-valid/input/input-fieldset-ref.html => layout/reftests/css-ui-valid/input/input-fieldset-ref.html
rename : layout/reftests/css-valid/input/input-maxlength-invalid.html => layout/reftests/css-ui-valid/input/input-maxlength-invalid.html
rename : layout/reftests/css-valid/input/input-maxlength-valid.html => layout/reftests/css-ui-valid/input/input-maxlength-valid.html
rename : layout/reftests/css-valid/input/input-pattern-invalid.html => layout/reftests/css-ui-valid/input/input-pattern-invalid.html
rename : layout/reftests/css-valid/input/input-pattern-valid.html => layout/reftests/css-ui-valid/input/input-pattern-valid.html
rename : layout/reftests/css-valid/input/input-readonly.html => layout/reftests/css-ui-valid/input/input-readonly.html
rename : layout/reftests/css-valid/input/input-ref.html => layout/reftests/css-ui-valid/input/input-ref.html
rename : layout/reftests/css-valid/input/input-required-invalid.html => layout/reftests/css-ui-valid/input/input-required-invalid.html
rename : layout/reftests/css-valid/input/input-required-valid.html => layout/reftests/css-ui-valid/input/input-required-valid.html
rename : layout/reftests/css-valid/input/input-reset.html => layout/reftests/css-ui-valid/input/input-reset.html
rename : layout/reftests/css-valid/input/input-type-barred.html => layout/reftests/css-ui-valid/input/input-type-barred.html
rename : layout/reftests/css-valid/input/input-type-invalid.html => layout/reftests/css-ui-valid/input/input-type-invalid.html
rename : layout/reftests/css-valid/input/input-url-invalid.html => layout/reftests/css-ui-valid/input/input-url-invalid.html
rename : layout/reftests/css-valid/input/input-url-ref.html => layout/reftests/css-ui-valid/input/input-url-ref.html
rename : layout/reftests/css-valid/input/input-url-valid.html => layout/reftests/css-ui-valid/input/input-url-valid.html
rename : layout/reftests/css-valid/input/input-valid.html => layout/reftests/css-ui-valid/input/input-valid.html
rename : layout/reftests/css-valid/input/input-withtext-ref.html => layout/reftests/css-ui-valid/input/input-withtext-ref.html
rename : layout/reftests/css-valid/input/reftest.list => layout/reftests/css-ui-valid/input/reftest.list
rename : layout/reftests/css-valid/input/style.css => layout/reftests/css-ui-valid/input/style.css
rename : layout/reftests/css-valid/reftest.list => layout/reftests/css-ui-valid/reftest.list
rename : layout/reftests/css-valid/select/reftest.list => layout/reftests/css-ui-valid/select/reftest.list
rename : layout/reftests/css-valid/select/select-disabled-fieldset-1.html => layout/reftests/css-ui-valid/select/select-disabled-fieldset-1.html
rename : layout/reftests/css-valid/select/select-disabled-fieldset-2.html => layout/reftests/css-ui-valid/select/select-disabled-fieldset-2.html
rename : layout/reftests/css-valid/select/select-disabled-ref.html => layout/reftests/css-ui-valid/select/select-disabled-ref.html
rename : layout/reftests/css-valid/select/select-disabled.html => layout/reftests/css-ui-valid/select/select-disabled.html
rename : layout/reftests/css-valid/select/select-dyn-disabled.html => layout/reftests/css-ui-valid/select/select-dyn-disabled.html
rename : layout/reftests/css-valid/select/select-dyn-not-disabled.html => layout/reftests/css-ui-valid/select/select-dyn-not-disabled.html
rename : layout/reftests/css-valid/select/select-fieldset-legend-ref.html => layout/reftests/css-ui-valid/select/select-fieldset-legend-ref.html
rename : layout/reftests/css-valid/select/select-fieldset-legend.html => layout/reftests/css-ui-valid/select/select-fieldset-legend.html
rename : layout/reftests/css-valid/select/select-fieldset-ref.html => layout/reftests/css-ui-valid/select/select-fieldset-ref.html
rename : layout/reftests/css-valid/select/select-invalid.html => layout/reftests/css-ui-valid/select/select-invalid.html
rename : layout/reftests/css-valid/select/select-ref.html => layout/reftests/css-ui-valid/select/select-ref.html
rename : layout/reftests/css-valid/select/select-required-invalid.html => layout/reftests/css-ui-valid/select/select-required-invalid.html
rename : layout/reftests/css-valid/select/select-required-multiple-invalid.html => layout/reftests/css-ui-valid/select/select-required-multiple-invalid.html
rename : layout/reftests/css-valid/select/select-required-multiple-ref.html => layout/reftests/css-ui-valid/select/select-required-multiple-ref.html
rename : layout/reftests/css-valid/select/select-required-multiple-valid.html => layout/reftests/css-ui-valid/select/select-required-multiple-valid.html
rename : layout/reftests/css-valid/select/select-required-ref.html => layout/reftests/css-ui-valid/select/select-required-ref.html
rename : layout/reftests/css-valid/select/select-required-valid.html => layout/reftests/css-ui-valid/select/select-required-valid.html
rename : layout/reftests/css-valid/select/select-valid.html => layout/reftests/css-ui-valid/select/select-valid.html
rename : layout/reftests/css-valid/select/style.css => layout/reftests/css-ui-valid/select/style.css
rename : layout/reftests/css-valid/textarea/reftest.list => layout/reftests/css-ui-valid/textarea/reftest.list
rename : layout/reftests/css-valid/textarea/style.css => layout/reftests/css-ui-valid/textarea/style.css
rename : layout/reftests/css-valid/textarea/textarea-customerror.html => layout/reftests/css-ui-valid/textarea/textarea-customerror.html
rename : layout/reftests/css-valid/textarea/textarea-disabled-fieldset-1.html => layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-1.html
rename : layout/reftests/css-valid/textarea/textarea-disabled-fieldset-2.html => layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-2.html
rename : layout/reftests/css-valid/textarea/textarea-disabled.html => layout/reftests/css-ui-valid/textarea/textarea-disabled.html
rename : layout/reftests/css-valid/textarea/textarea-dyn-disabled.html => layout/reftests/css-ui-valid/textarea/textarea-dyn-disabled.html
rename : layout/reftests/css-valid/textarea/textarea-dyn-not-disabled.html => layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled.html
rename : layout/reftests/css-valid/textarea/textarea-dyn-not-readonly.html => layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly.html
rename : layout/reftests/css-valid/textarea/textarea-dyn-readonly.html => layout/reftests/css-ui-valid/textarea/textarea-dyn-readonly.html
rename : layout/reftests/css-valid/textarea/textarea-fieldset-legend-ref.html => layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend-ref.html
rename : layout/reftests/css-valid/textarea/textarea-fieldset-legend.html => layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend.html
rename : layout/reftests/css-valid/textarea/textarea-fieldset-ref.html => layout/reftests/css-ui-valid/textarea/textarea-fieldset-ref.html
rename : layout/reftests/css-valid/textarea/textarea-maxlength-invalid.html => layout/reftests/css-ui-valid/textarea/textarea-maxlength-invalid.html
rename : layout/reftests/css-valid/textarea/textarea-maxlength-valid.html => layout/reftests/css-ui-valid/textarea/textarea-maxlength-valid.html
rename : layout/reftests/css-valid/textarea/textarea-readonly.html => layout/reftests/css-ui-valid/textarea/textarea-readonly.html
rename : layout/reftests/css-valid/textarea/textarea-ref.html => layout/reftests/css-ui-valid/textarea/textarea-ref.html
rename : layout/reftests/css-valid/textarea/textarea-required-invalid.html => layout/reftests/css-ui-valid/textarea/textarea-required-invalid.html
rename : layout/reftests/css-valid/textarea/textarea-required-valid.html => layout/reftests/css-ui-valid/textarea/textarea-required-valid.html
rename : layout/reftests/css-valid/textarea/textarea-valid.html => layout/reftests/css-ui-valid/textarea/textarea-valid.html
rename : layout/reftests/css-valid/textarea/textarea-withtext-ref.html => layout/reftests/css-ui-valid/textarea/textarea-withtext-ref.html
2010-11-24 01:14:44 +01:00
Mounir Lamouri
57ed09fd54 Bug 610427 - Remove aNotify in nsHTMLInputElement::SetCheckedChangedInternal. r=bz a=bsmedberg 2010-11-24 00:53:39 +01:00
Mounir Lamouri
985ccc9cc2 Bug 610436 - Add an inline GetValueChanged() in nsHTMLInputElement. r=bz a=bsmedberg 2010-11-24 00:53:06 +01:00
Mounir Lamouri
657ad4eaa4 Bug 605124 (5/5) - :-moz-ui-invalid should not apply while typing if it was not applied on focus. r=bz a=bsmedberg
--HG--
rename : content/html/content/test/test_bug605124.html => content/html/content/test/test_bug605124-1.html
2010-11-24 00:50:53 +01:00
Mounir Lamouri
932d6a2d2a Bug 605124 (4/5) - :-moz-ui-invalid applies if the user tried to submit the form in an invalid state. r=bz a=bsmedberg 2010-11-24 00:50:19 +01:00
Mounir Lamouri
c63d9ebdb1 Bug 605124 (3/5) - :-moz-ui-invalid shouldn't apply if the element hasn't been modified. r=bz a=bsmedberg 2010-11-24 00:49:50 +01:00
Mounir Lamouri
71986f8536 Bug 605124 (2/5) - Make :-moz-ui-invalid follow rules for :invalid. r=bz a=bsmedberg
--HG--
rename : layout/reftests/css-invalid/button/button-button.html => layout/reftests/css-ui-invalid/button/button-button.html
rename : layout/reftests/css-invalid/button/button-disabled-fieldset-1.html => layout/reftests/css-ui-invalid/button/button-disabled-fieldset-1.html
rename : layout/reftests/css-invalid/button/button-disabled-fieldset-2.html => layout/reftests/css-ui-invalid/button/button-disabled-fieldset-2.html
rename : layout/reftests/css-invalid/button/button-disabled.html => layout/reftests/css-ui-invalid/button/button-disabled.html
rename : layout/reftests/css-invalid/button/button-dyn-disabled.html => layout/reftests/css-ui-invalid/button/button-dyn-disabled.html
rename : layout/reftests/css-invalid/button/button-dyn-not-disabled.html => layout/reftests/css-ui-invalid/button/button-dyn-not-disabled.html
rename : layout/reftests/css-invalid/button/button-fieldset-legend-ref.html => layout/reftests/css-ui-invalid/button/button-fieldset-legend-ref.html
rename : layout/reftests/css-invalid/button/button-fieldset-legend.html => layout/reftests/css-ui-invalid/button/button-fieldset-legend.html
rename : layout/reftests/css-invalid/button/button-fieldset-ref.html => layout/reftests/css-ui-invalid/button/button-fieldset-ref.html
rename : layout/reftests/css-invalid/button/button-invalid.html => layout/reftests/css-ui-invalid/button/button-invalid.html
rename : layout/reftests/css-invalid/button/button-ref.html => layout/reftests/css-ui-invalid/button/button-ref.html
rename : layout/reftests/css-invalid/button/button-reset.html => layout/reftests/css-ui-invalid/button/button-reset.html
rename : layout/reftests/css-invalid/button/button-type-barred.html => layout/reftests/css-ui-invalid/button/button-type-barred.html
rename : layout/reftests/css-invalid/button/button-type-invalid.html => layout/reftests/css-ui-invalid/button/button-type-invalid.html
rename : layout/reftests/css-invalid/button/button-valid.html => layout/reftests/css-ui-invalid/button/button-valid.html
rename : layout/reftests/css-invalid/button/reftest.list => layout/reftests/css-ui-invalid/button/reftest.list
rename : layout/reftests/css-invalid/button/style.css => layout/reftests/css-ui-invalid/button/style.css
rename : layout/reftests/css-invalid/default-style/button-ref.html => layout/reftests/css-ui-invalid/default-style/button-ref.html
rename : layout/reftests/css-invalid/default-style/button.html => layout/reftests/css-ui-invalid/default-style/button.html
rename : layout/reftests/css-invalid/default-style/fieldset-ref.html => layout/reftests/css-ui-invalid/default-style/fieldset-ref.html
rename : layout/reftests/css-invalid/default-style/fieldset.html => layout/reftests/css-ui-invalid/default-style/fieldset.html
rename : layout/reftests/css-invalid/default-style/input-ref.html => layout/reftests/css-ui-invalid/default-style/input-ref.html
rename : layout/reftests/css-invalid/default-style/input.html => layout/reftests/css-ui-invalid/default-style/input.html
rename : layout/reftests/css-invalid/default-style/reftest.list => layout/reftests/css-ui-invalid/default-style/reftest.list
rename : layout/reftests/css-invalid/default-style/select-ref.html => layout/reftests/css-ui-invalid/default-style/select-ref.html
rename : layout/reftests/css-invalid/default-style/select.html => layout/reftests/css-ui-invalid/default-style/select.html
rename : layout/reftests/css-invalid/default-style/style.css => layout/reftests/css-ui-invalid/default-style/style.css
rename : layout/reftests/css-invalid/default-style/textarea-ref.html => layout/reftests/css-ui-invalid/default-style/textarea-ref.html
rename : layout/reftests/css-invalid/default-style/textarea.html => layout/reftests/css-ui-invalid/default-style/textarea.html
rename : layout/reftests/css-invalid/input/input-button-ref.html => layout/reftests/css-ui-invalid/input/input-button-ref.html
rename : layout/reftests/css-invalid/input/input-button.html => layout/reftests/css-ui-invalid/input/input-button.html
rename : layout/reftests/css-invalid/input/input-customerror.html => layout/reftests/css-ui-invalid/input/input-customerror.html
rename : layout/reftests/css-invalid/input/input-disabled-fieldset-1.html => layout/reftests/css-ui-invalid/input/input-disabled-fieldset-1.html
rename : layout/reftests/css-invalid/input/input-disabled-fieldset-2.html => layout/reftests/css-ui-invalid/input/input-disabled-fieldset-2.html
rename : layout/reftests/css-invalid/input/input-disabled.html => layout/reftests/css-ui-invalid/input/input-disabled.html
rename : layout/reftests/css-invalid/input/input-dyn-disabled.html => layout/reftests/css-ui-invalid/input/input-dyn-disabled.html
rename : layout/reftests/css-invalid/input/input-dyn-not-disabled.html => layout/reftests/css-ui-invalid/input/input-dyn-not-disabled.html
rename : layout/reftests/css-invalid/input/input-dyn-not-readonly.html => layout/reftests/css-ui-invalid/input/input-dyn-not-readonly.html
rename : layout/reftests/css-invalid/input/input-dyn-readonly.html => layout/reftests/css-ui-invalid/input/input-dyn-readonly.html
rename : layout/reftests/css-invalid/input/input-email-invalid.html => layout/reftests/css-ui-invalid/input/input-email-invalid.html
rename : layout/reftests/css-invalid/input/input-email-ref.html => layout/reftests/css-ui-invalid/input/input-email-ref.html
rename : layout/reftests/css-invalid/input/input-email-valid.html => layout/reftests/css-ui-invalid/input/input-email-valid.html
rename : layout/reftests/css-invalid/input/input-fieldset-legend-ref.html => layout/reftests/css-ui-invalid/input/input-fieldset-legend-ref.html
rename : layout/reftests/css-invalid/input/input-fieldset-legend.html => layout/reftests/css-ui-invalid/input/input-fieldset-legend.html
rename : layout/reftests/css-invalid/input/input-fieldset-ref.html => layout/reftests/css-ui-invalid/input/input-fieldset-ref.html
rename : layout/reftests/css-invalid/input/input-maxlength-invalid.html => layout/reftests/css-ui-invalid/input/input-maxlength-invalid.html
rename : layout/reftests/css-invalid/input/input-maxlength-valid.html => layout/reftests/css-ui-invalid/input/input-maxlength-valid.html
rename : layout/reftests/css-invalid/input/input-pattern-invalid.html => layout/reftests/css-ui-invalid/input/input-pattern-invalid.html
rename : layout/reftests/css-invalid/input/input-pattern-valid.html => layout/reftests/css-ui-invalid/input/input-pattern-valid.html
rename : layout/reftests/css-invalid/input/input-readonly.html => layout/reftests/css-ui-invalid/input/input-readonly.html
rename : layout/reftests/css-invalid/input/input-ref.html => layout/reftests/css-ui-invalid/input/input-ref.html
rename : layout/reftests/css-invalid/input/input-required-invalid.html => layout/reftests/css-ui-invalid/input/input-required-invalid.html
rename : layout/reftests/css-invalid/input/input-required-valid.html => layout/reftests/css-ui-invalid/input/input-required-valid.html
rename : layout/reftests/css-invalid/input/input-reset.html => layout/reftests/css-ui-invalid/input/input-reset.html
rename : layout/reftests/css-invalid/input/input-type-barred.html => layout/reftests/css-ui-invalid/input/input-type-barred.html
rename : layout/reftests/css-invalid/input/input-type-invalid.html => layout/reftests/css-ui-invalid/input/input-type-invalid.html
rename : layout/reftests/css-invalid/input/input-url-invalid.html => layout/reftests/css-ui-invalid/input/input-url-invalid.html
rename : layout/reftests/css-invalid/input/input-url-ref.html => layout/reftests/css-ui-invalid/input/input-url-ref.html
rename : layout/reftests/css-invalid/input/input-url-valid.html => layout/reftests/css-ui-invalid/input/input-url-valid.html
rename : layout/reftests/css-invalid/input/input-valid.html => layout/reftests/css-ui-invalid/input/input-valid.html
rename : layout/reftests/css-invalid/input/input-withtext-ref.html => layout/reftests/css-ui-invalid/input/input-withtext-ref.html
rename : layout/reftests/css-invalid/input/reftest.list => layout/reftests/css-ui-invalid/input/reftest.list
rename : layout/reftests/css-invalid/input/style.css => layout/reftests/css-ui-invalid/input/style.css
rename : layout/reftests/css-invalid/reftest.list => layout/reftests/css-ui-invalid/reftest.list
rename : layout/reftests/css-invalid/select/reftest.list => layout/reftests/css-ui-invalid/select/reftest.list
rename : layout/reftests/css-invalid/select/select-disabled-fieldset-1.html => layout/reftests/css-ui-invalid/select/select-disabled-fieldset-1.html
rename : layout/reftests/css-invalid/select/select-disabled-fieldset-2.html => layout/reftests/css-ui-invalid/select/select-disabled-fieldset-2.html
rename : layout/reftests/css-invalid/select/select-disabled-ref.html => layout/reftests/css-ui-invalid/select/select-disabled-ref.html
rename : layout/reftests/css-invalid/select/select-disabled.html => layout/reftests/css-ui-invalid/select/select-disabled.html
rename : layout/reftests/css-invalid/select/select-dyn-disabled.html => layout/reftests/css-ui-invalid/select/select-dyn-disabled.html
rename : layout/reftests/css-invalid/select/select-dyn-not-disabled.html => layout/reftests/css-ui-invalid/select/select-dyn-not-disabled.html
rename : layout/reftests/css-invalid/select/select-fieldset-legend-ref.html => layout/reftests/css-ui-invalid/select/select-fieldset-legend-ref.html
rename : layout/reftests/css-invalid/select/select-fieldset-legend.html => layout/reftests/css-ui-invalid/select/select-fieldset-legend.html
rename : layout/reftests/css-invalid/select/select-fieldset-ref.html => layout/reftests/css-ui-invalid/select/select-fieldset-ref.html
rename : layout/reftests/css-invalid/select/select-invalid.html => layout/reftests/css-ui-invalid/select/select-invalid.html
rename : layout/reftests/css-invalid/select/select-ref.html => layout/reftests/css-ui-invalid/select/select-ref.html
rename : layout/reftests/css-invalid/select/select-required-invalid.html => layout/reftests/css-ui-invalid/select/select-required-invalid.html
rename : layout/reftests/css-invalid/select/select-required-multiple-invalid.html => layout/reftests/css-ui-invalid/select/select-required-multiple-invalid.html
rename : layout/reftests/css-invalid/select/select-required-multiple-ref.html => layout/reftests/css-ui-invalid/select/select-required-multiple-ref.html
rename : layout/reftests/css-invalid/select/select-required-multiple-valid.html => layout/reftests/css-ui-invalid/select/select-required-multiple-valid.html
rename : layout/reftests/css-invalid/select/select-required-ref.html => layout/reftests/css-ui-invalid/select/select-required-ref.html
rename : layout/reftests/css-invalid/select/select-required-valid.html => layout/reftests/css-ui-invalid/select/select-required-valid.html
rename : layout/reftests/css-invalid/select/select-valid.html => layout/reftests/css-ui-invalid/select/select-valid.html
rename : layout/reftests/css-invalid/select/style.css => layout/reftests/css-ui-invalid/select/style.css
rename : layout/reftests/css-invalid/textarea/reftest.list => layout/reftests/css-ui-invalid/textarea/reftest.list
rename : layout/reftests/css-invalid/textarea/style.css => layout/reftests/css-ui-invalid/textarea/style.css
rename : layout/reftests/css-invalid/textarea/textarea-customerror.html => layout/reftests/css-ui-invalid/textarea/textarea-customerror.html
rename : layout/reftests/css-invalid/textarea/textarea-disabled-fieldset-1.html => layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-1.html
rename : layout/reftests/css-invalid/textarea/textarea-disabled-fieldset-2.html => layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-2.html
rename : layout/reftests/css-invalid/textarea/textarea-disabled.html => layout/reftests/css-ui-invalid/textarea/textarea-disabled.html
rename : layout/reftests/css-invalid/textarea/textarea-dyn-disabled.html => layout/reftests/css-ui-invalid/textarea/textarea-dyn-disabled.html
rename : layout/reftests/css-invalid/textarea/textarea-dyn-not-disabled.html => layout/reftests/css-ui-invalid/textarea/textarea-dyn-not-disabled.html
rename : layout/reftests/css-invalid/textarea/textarea-dyn-not-readonly.html => layout/reftests/css-ui-invalid/textarea/textarea-dyn-not-readonly.html
rename : layout/reftests/css-invalid/textarea/textarea-dyn-readonly.html => layout/reftests/css-ui-invalid/textarea/textarea-dyn-readonly.html
rename : layout/reftests/css-invalid/textarea/textarea-fieldset-legend-ref.html => layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend-ref.html
rename : layout/reftests/css-invalid/textarea/textarea-fieldset-legend.html => layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html
rename : layout/reftests/css-invalid/textarea/textarea-fieldset-ref.html => layout/reftests/css-ui-invalid/textarea/textarea-fieldset-ref.html
rename : layout/reftests/css-invalid/textarea/textarea-maxlength-invalid.html => layout/reftests/css-ui-invalid/textarea/textarea-maxlength-invalid.html
rename : layout/reftests/css-invalid/textarea/textarea-maxlength-valid.html => layout/reftests/css-ui-invalid/textarea/textarea-maxlength-valid.html
rename : layout/reftests/css-invalid/textarea/textarea-readonly.html => layout/reftests/css-ui-invalid/textarea/textarea-readonly.html
rename : layout/reftests/css-invalid/textarea/textarea-ref.html => layout/reftests/css-ui-invalid/textarea/textarea-ref.html
rename : layout/reftests/css-invalid/textarea/textarea-required-invalid.html => layout/reftests/css-ui-invalid/textarea/textarea-required-invalid.html
rename : layout/reftests/css-invalid/textarea/textarea-required-valid.html => layout/reftests/css-ui-invalid/textarea/textarea-required-valid.html
rename : layout/reftests/css-invalid/textarea/textarea-valid.html => layout/reftests/css-ui-invalid/textarea/textarea-valid.html
rename : layout/reftests/css-invalid/textarea/textarea-withtext-ref.html => layout/reftests/css-ui-invalid/textarea/textarea-withtext-ref.html
2010-11-24 00:48:51 +01:00
Mounir Lamouri
c2be7ee174 Bug 609162 - Do not invalidate textarea at every value change when a placeholder is set. r=bz a=bsmedberg 2010-11-24 00:46:49 +01:00
Mounir Lamouri
5eebfd604d Bug 609417 - We shouldn't always call SetValueChanged when clearing the file list. r=smaug a=bsmedberg 2010-11-24 00:45:53 +01:00