Граф коммитов

65 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 260a8ec56f Bug 737889 - Make sure that clearing the readonly attribute does not disable spell checking; r=roc 2012-03-23 11:35:40 -04:00
Ehsan Akhgari d06f09d7d9 Bug 734530 - Spell check textareas if they're reframed when focused; r=roc
--HG--
rename : layout/reftests/editor/spellcheck-textarea-focused.html => layout/reftests/editor/spellcheck-textarea-focused-reframe.html
2012-03-19 12:21:56 -04:00
Ehsan Akhgari 87bb510d42 Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Ehsan Akhgari fd3b4f0806 Bug 694880 - The editable state is not updated correctly when designMode is turned off; r=bz,peterv 2011-10-20 12:27:48 -04:00
Ehsan Akhgari 1a68c54a3e Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).

--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
Ehsan Akhgari a30aa7aa72 Bug 364914 - Part 2: Disable some of the spellcheck reftests on Android because spellchecking is disabled there
Landing on a CLOSED TREE
2011-10-17 12:23:58 -04:00
Quentin Headen e588d96fd3 Bug 364914 - Do not spell check the contents of a textarea until it's focused for the first time; r=ehsan 2011-10-16 22:06:24 -04:00
Ehsan Akhgari 142e5305ba Bug 691913 - Add some needs-focus annotations; r=roc
--HG--
extra : rebase_source : 71805cf58030824288021883884fa87e20b71fd2
2011-10-05 19:55:32 -04:00
Ehsan Akhgari 3fa291144c Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions 2011-09-22 18:09:44 -04:00
Ehsan Akhgari 83fa1c286b Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Ehsan Akhgari f84e36b3da Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari bf015d6509 Backout changeset 2705abe8d3f2 (bug 686247) again because of the accessibility test failures 2011-09-13 17:42:43 -04:00
Ehsan Akhgari 4ab625e2fe Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari 668abccef8 Backed out changeset c9013399fa39 (bug 686247) because of mochitest-a11y failures on Linux 2011-09-13 13:29:30 -04:00
Ehsan Akhgari 562725a775 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 11:45:54 -04:00
Ehsan Akhgari 7191fd2ea0 Mark the test for bug 462758 as failing on Android 2011-09-07 15:46:22 -04:00
Fabien Cazenave 08aa68ddb6 Bug 462758 - elements with contenteditable=true and position:absolute can be moved around the page; r=ehsan 2011-09-07 13:34:58 -04:00
Matt Brubeck ec718e2d20 Bug 674212 - Skip reftest on Android because of timeouts (test-only) 2011-08-17 16:35:35 -07:00
Fabien Cazenave eea2ee0d9c Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
arno renevier a66c586dbf Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
Ehsan Akhgari 0729979366 Bug 674820 - input/textarea.selectionStart/selectionEnd/selectionDirection should not require the presence of a frame; r=bzbarsky
--HG--
rename : layout/reftests/editor/selection_visibility_after_reframe.html => layout/reftests/editor/selection_visibility_after_reframe-3.html
2011-07-29 17:31:57 -04:00
Ehsan Akhgari 7ac5d01fc0 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 66eaa057c5 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 faee995380 Mark spellcheck-hyphen-valid.html as passing on Android 2011-04-18 22:51:28 -04:00
Ehsan Akhgari 7b6af5362f 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 e1dbd204dd 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 bd4696717c Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
Ehsan Akhgari 549b8f7bf9 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 b3f80390d7 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 3663f83f6b 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 7f029f539d 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 7546986898 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 c01e8b0737 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 83e8da300b 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 9c20cf773f Bug 629878 - Part 3: Test case; r=roc a=blocking-final+ 2011-01-31 20:06:20 -05:00
Chris Jones ab99d7c286 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 ccaa2e2118 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden cf91ab6636 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 3f7b9d3a0c More orange-fixing. r=yellowish-red 2011-01-22 22:52:02 -08:00
Ehsan Akhgari ed9352b403 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 a10d63ac0f 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 9ad23b0ff2 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 38c09dd678 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 dc74dcda83 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 eb25748ae4 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 4d0db9ea47 Backed out changeset a1ee6ca61426 (bug 602130) because of test failure 2010-10-14 16:53:43 -04:00
Ehsan Akhgari 05eb0e2c9e 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 65467d03bb 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 21df6ece8c 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) 00f202c9fa 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