Commit Graph

44 Commits

Author SHA1 Message Date
Ehsan Akhgari
a67d9bdc60 Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky
This patch fixes two things:
 * The intrinsic state on elements inserted in a contenteditable section when the
   document is in designMode (the nsGenericElement::UpdateEditableState change).
 * The intrinsic state on elements existing in the document when the document first
   enters designMode (the nsHTMLDocument::EditingStateChanged change).

The reftest included tests both cases.
2011-07-20 15:58:25 -04:00
Ehsan Akhgari
e422c276a8 Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
Ehsan Akhgari
99c5414e91 Mark spellcheck-hyphen-valid.html as passing on Android 2011-04-18 22:51:28 -04:00
Ehsan Akhgari
4d493e350a Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug
--HG--
extra : rebase_source : 298f0832ac6f0b12497e9c883bbebea8e168284c
2011-04-14 17:16:40 -04:00
Ehsan Akhgari
91c2118d0c Bug 637671 - Don't display the selection for a non-focused text element when restoring the selection state after a reframe; r=bzbarsky 2011-04-11 22:03:50 -04:00
Mats Palmgren
e910197c98 Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
Ehsan Akhgari
841f13f519 Bug 639695 - Reconnect the HTML editor to the new presentation of a contenteditable document when it changes; r=roc
This fixes things such as the caret not showing up after the presshell for a
document containing a contenteditable element is recreated.
2011-03-11 18:45:20 -05:00
Ehsan Akhgari
54176ab085 Bug 407127 - Part 5: Fix the editor to not rely on cached presshells and selection controllers, because they may not always be valid; r=roc 2011-03-11 00:40:31 -05:00
Joel Maher
976abd515f Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only 2011-03-18 11:54:13 -04:00
Ehsan Akhgari
a61c5e796e Bug 634153 - Back out the changes in bug 355178 because of known regressions and possible risk of not-yet-known regressions; r=sicking a=johnath
--HG--
extra : rebase_source : 4d77b7503991a3399cd6eecbcffb994b16fed43c
2011-02-15 17:04:44 -05:00
Ehsan Akhgari
f32d4cdb18 Bug 633210 - Single hyphens are marked as spelling mistakes; r=smaug a=beltzner
--HG--
extra : rebase_source : 76821671b08b0727c6131b10e45c9a24b1984509
2011-02-10 12:07:31 -05:00
Josh Aas
daa6dd469a Bug 556873: Fix bugs in our secure input implementation for Mac OS X. More reliably enable and disable secure input mode. r=masayuki a=jst 2011-02-09 14:00:58 -05:00
Ehsan Akhgari
6b6be66115 Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
Ehsan Akhgari
ab94ee5391 Bug 629878 - Part 3: Test case; r=roc a=blocking-final+ 2011-01-31 20:06:20 -05:00
Chris Jones
97685d6934 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Jeff Walden
f15d2639f5 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
985dbafd23 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
e7b350156f More orange-fixing. r=yellowish-red 2011-01-22 22:52:02 -08:00
Ehsan Akhgari
de0b63694e Bug 623423 - Fix the editor XUL reftests for Windows XP compatibility; r=roc a=NPOTB 2011-01-09 20:14:58 -05:00
Ehsan Akhgari
120ca76410 Bug 614161 - Add more comprehensive spellcheck reftests to make sure that it works correctly for input and textarea controls; r=roc a=test-only
--HG--
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-attr-after.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-attr-before.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-attr-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-attr-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-attr-dynamic-override.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-attr-dynamic.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-attr-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-disabled.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-property-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-property-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-property-dynamic-override.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-input-property-dynamic.html
rename : layout/reftests/editor/spellcheck-ref.html => layout/reftests/editor/spellcheck-input-ref.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-attr-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-attr-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-attr-dynamic-override.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-attr-dynamic.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-attr-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-attr.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-disabled.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-property-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-property-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-property-dynamic-override.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-property-dynamic.html
rename : layout/reftests/editor/spellcheck-1.html => layout/reftests/editor/spellcheck-textarea-ref.html
2010-11-23 00:09:51 -05:00
Ehsan Akhgari
57625c6083 Bug 611182 - Backspace key does not work without typing something first (test cases); r=bzbarsky a=blocking-beta8+ 2010-11-11 14:09:09 -05:00
Ehsan Akhgari
6e3ec66fd0 Bug 542116 - Part 2: Temporary assertion annotation for another reftest which is affected by bug 596901; r=roc a=blocking-final+ 2010-10-31 16:10:23 -04:00
Ehsan Akhgari
7e43b5d1ec Bug 389321 - Part 1: Don't choke on textnodes which don't have a primary frame; r=roc a=blocking-betaN+ 2010-08-17 15:25:53 -04:00
Ehsan Akhgari
f474b789e2 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
Ehsan Akhgari
ffa4ad5358 Backed out changeset a1ee6ca61426 (bug 602130) because of test failure 2010-10-14 16:53:43 -04:00
Ehsan Akhgari
8704706327 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
Mats Palmgren
9ce097ba76 Update the caret after creating a new frame, if the node has focus. b=536421 r=ehsan a=blocking2.0:final 2010-10-11 00:07:01 +02:00
Ehsan Akhgari
5a50bd2718 Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
--HG--
extra : rebase_source : bcaf760ad9d2e939a5d99f21cd8727ef71faea92
2010-07-11 16:26:26 -04:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
8537cb241d Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:

LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
    's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
     s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
     s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
     s/-moz-border-radius/border-radius/gi;
     s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
Ehsan Akhgari
d84bc18024 Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211 2010-09-02 19:54:23 -04:00
Ehsan Akhgari
f26d133589 Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
--HG--
extra : rebase_source : 45cbd49946c1577786a5bd141384d92f9daf27c4
2010-07-11 16:26:26 -04:00
Wes
3b79dcf8cf Bug 591626 - :-moz-placeholder is now implemented, uncomment corresponding theme code. r=dao
--HG--
extra : rebase_source : 1e21926933b6ebbd247452e0e5e2a2df866896e5
2010-08-31 21:28:41 +02:00
Ehsan Akhgari
48b4d58926 Bug 569397 - Eagerly initialize the input controls with spellcheck="true"; r=roc ui-r=faaborg approval2.0=benjamin 2010-06-02 22:39:29 -04:00
Mounir Lamouri
d55a633ca1 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
Neil Deakin
fb50a52ce3 Bug 553576, change -moz-resize to resize, r=dbaron 2010-07-05 10:41:04 -04:00
Ehsan Akhgari
2e0fc75e03 Bug 574109 - failures in layout/reftests/editor/xul/ on windows 7 64-bit; r=roc 2010-06-25 15:11:42 -04:00
Ginn Chen
4e372ae7c4 Bug 572999 Make reftest recognize Solaris r=roc 2010-06-23 17:33:21 +08:00
Ehsan Akhgari
6139ffb2b9 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
Ehsan Akhgari
343518041d Bug 562962 - unit test fail: reftest/tests/layout/reftests/editor/xul/empty-1.xul; r=roc
--HG--
extra : rebase_source : 3eed1d5c49f3efeef22e8662406c6adb46dc2dac
2010-05-27 19:52:26 -04:00
Masayuki Nakano
71ab14e537 Bug 553975 Caret is painted under textframe in input/textarea element r=roc 2010-03-27 13:33:17 +09:00
Neil Deakin
17876e41fa Bug 442228, support resizers in scrollable areas and enable them by default for textareas, r=roc,sr=dbaron 2010-03-19 07:49:34 -04:00
Dão Gottwald
9f5ba67cdf Bug 547224 - Remove the custom emptyText implementation, implement textbox.placeholder using the input field's native placeholder facility. r=enn
--HG--
extra : rebase_source : 50e3996d42073daa4c9f68f8c263b8b8106f3d84
2010-03-04 08:13:27 +01:00
Ehsan Akhgari
0ae4d1de98 Bug 544543 - Add some tests for xul textboxes to make sure their basic behavior and appearance does not regress; r=roc 2010-02-05 16:07:24 -05:00
Ehsan Akhgari
aecf8aaf5d Bug 542914 - Add some tests for text input fields to make sure their basic behavior and appearance does not regress; r=roc
--HG--
extra : rebase_source : 9d642f48af7ff927ad5e73d0e22d763fbcc9d5a7
2010-01-29 13:22:15 -05:00