Commit Graph

26 Commits

Author SHA1 Message Date
Nathan Froyd
cf11809b1b Bug 899547 - add needs-focus to editor reftests; r=ehsan 2013-07-29 20:20:09 -04:00
Ehsan Akhgari
eb8c9a5f94 Bug 674927 - Part 4: Add a reftest which was removed by mistake 2013-06-19 17:00:14 -04:00
Aryeh Gregor
892fe681ec Bug 674927 - Part 3: Make the spellcheck attribute work correctly for contenteditable; r=ehsan 2013-06-19 16:54:53 -04:00
Ehsan Akhgari
708afdab1d Follow-up to bug 674927 part 1: Mark the failing reftests as passing on Android since spell checking is completely disabled there 2013-06-17 23:09:52 -04:00
Aryeh Gregor
b7fb1d6cac Bug 674927 part 1 - Add reftests for spellcheck in contenteditable; r=ehsan 2013-06-17 21:23:53 -04:00
Nathan Froyd
3abb91231d Bug 883423 - mark even more reftests as needs-focus; r=dholbert 2013-06-14 19:01:45 -04:00
Drew Willcoxon
d26b623171 Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan 2013-06-05 17:07:55 -07:00
Masayuki Nakano
2a2b46188e Bug 824080 HTML editor shouldn't set selection state as inactive at losing focus but the document has focus r=ehsan 2013-05-18 09:07:46 +09:00
Nathan Froyd
e1b613b8ca Bug 858203 - mark more reftests as needs-focus; r=dholbert
1. Start headless X server.  Start basic window manager on it.
2. Run reftests with said X server.  Take note of failing tests.
3. Disable all reftests that need focus:

   find $topsrcdir -name '*.list' | xargs sed -i -e '/needs-focus/s/^/#/'

4. Make reftest.js:Focus never focus the window and always return true.
5. Start reftests with said X server again.  Once the tests begin
   running, start a xterm on the same X server.  The window manager will
   focus this xterm and will not return focus to the browser.
6. Compare now-failing tests with baseline.  Mark all such tests as
   needs-focus.

Comments on specific tests:

editor/reftests/
- spellcheck-input-ref.html and spellcheck-textarea-ref.html focus
  input elements and don't work right without the window having focus.
- spellcheck-hyphen-invalid-ref.html and
  spellcheck-hyphen-multiple-invalid-ref.html use @autofocus on
  textarea.
- 674212-spellcheck.html, 338427-2.html, and
  462758-grabbers-resizers.html all wait for onfocus for div elements.

layout/reftests/bugs/
- 652301-1b.html focuses a bogus element with an onfocus handler.

layout/reftests/selection/
- pseudo-element-of-native-anonymous-ref.html .select()s an <input>.
2013-04-04 15:02:30 -04:00
Jim Mathies
ec9fa4a920 Bug 847893 - adjust xul editor test annotations to include Win8. r=ehsan 2013-03-08 05:22:36 -06:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Mounir Lamouri
48da08cd0c Bug 556145 - Use opacity instead of GrayText for ::-moz-placeholder UA's style. r=bz,davidb 2012-11-09 10:30:54 +00:00
Matt Woodrow
e79b288e75 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
6bcc0bc124 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Brubeck
f182e2619f Bug 779551 - Mark spellcheck-superscript-2.html as failing on native Android, so reftest-3 can be unhidden; rs=edmorley 2012-08-05 13:20:23 +01:00
Aryeh Gregor
5f2eb8fa49 Bug 777529 - Don't spellcheck Unicode numbers; r=ehsan 2012-07-31 11:50:04 +03:00
Ehsan Akhgari
729030ee5b Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Matt Woodrow
4b10a2b53c Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Ed Morley
7d13aab294 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
aee92f1d56 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Joel Maher
57605fec0f Bug 754001 - random-if r3 failures so we can unhide the tests. r=jrmuizel 2012-05-14 10:19:28 -04:00
Ehsan Akhgari
d57d737946 Bug 754292 - Make spellcheck-textarea-ref.html blur its contents so that we would test the right thing; r=roc 2012-05-11 11:39:38 -04:00
Ehsan Akhgari
f03f262346 Bug 753233 - Make the spell checker aware of data: URIs; r=roc 2012-05-09 16:15:52 -04:00
Ehsan Akhgari
2be6b796b2 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
Aryeh Gregor
fc8e03548b Bug 746915 part 2 - Move layout/reftests/editor/ to editor/reftests/; r=dbaron
--HG--
rename : layout/reftests/editor/338427-1-ref.html => editor/reftests/338427-1-ref.html
rename : layout/reftests/editor/338427-1.html => editor/reftests/338427-1.html
rename : layout/reftests/editor/338427-2-ref.html => editor/reftests/338427-2-ref.html
rename : layout/reftests/editor/338427-2.html => editor/reftests/338427-2.html
rename : layout/reftests/editor/338427-3-ref.html => editor/reftests/338427-3-ref.html
rename : layout/reftests/editor/338427-3.html => editor/reftests/338427-3.html
rename : layout/reftests/editor/388980-1-ref.html => editor/reftests/388980-1-ref.html
rename : layout/reftests/editor/388980-1.html => editor/reftests/388980-1.html
rename : layout/reftests/editor/462758-grabbers-resizers-ref.html => editor/reftests/462758-grabbers-resizers-ref.html
rename : layout/reftests/editor/462758-grabbers-resizers.html => editor/reftests/462758-grabbers-resizers.html
rename : layout/reftests/editor/642800-iframe.html => editor/reftests/642800-iframe.html
rename : layout/reftests/editor/642800-ref.html => editor/reftests/642800-ref.html
rename : layout/reftests/editor/642800.html => editor/reftests/642800.html
rename : layout/reftests/editor/672709-ref.html => editor/reftests/672709-ref.html
rename : layout/reftests/editor/672709.html => editor/reftests/672709.html
rename : layout/reftests/editor/674212-spellcheck-ref.html => editor/reftests/674212-spellcheck-ref.html
rename : layout/reftests/editor/674212-spellcheck.html => editor/reftests/674212-spellcheck.html
rename : layout/reftests/editor/694880-1.html => editor/reftests/694880-1.html
rename : layout/reftests/editor/694880-2.html => editor/reftests/694880-2.html
rename : layout/reftests/editor/694880-3.html => editor/reftests/694880-3.html
rename : layout/reftests/editor/694880-ref.html => editor/reftests/694880-ref.html
rename : layout/reftests/editor/caret_after_reframe-ref.html => editor/reftests/caret_after_reframe-ref.html
rename : layout/reftests/editor/caret_after_reframe.html => editor/reftests/caret_after_reframe.html
rename : layout/reftests/editor/caret_on_focus-ref.html => editor/reftests/caret_on_focus-ref.html
rename : layout/reftests/editor/caret_on_focus.html => editor/reftests/caret_on_focus.html
rename : layout/reftests/editor/caret_on_positioned-ref.html => editor/reftests/caret_on_positioned-ref.html
rename : layout/reftests/editor/caret_on_positioned.html => editor/reftests/caret_on_positioned.html
rename : layout/reftests/editor/caret_on_presshell_reinit-2.html => editor/reftests/caret_on_presshell_reinit-2.html
rename : layout/reftests/editor/caret_on_presshell_reinit-ref.html => editor/reftests/caret_on_presshell_reinit-ref.html
rename : layout/reftests/editor/caret_on_presshell_reinit.html => editor/reftests/caret_on_presshell_reinit.html
rename : layout/reftests/editor/caret_on_textarea_lastline-ref.html => editor/reftests/caret_on_textarea_lastline-ref.html
rename : layout/reftests/editor/caret_on_textarea_lastline.html => editor/reftests/caret_on_textarea_lastline.html
rename : layout/reftests/editor/dynamic-1.html => editor/reftests/dynamic-1.html
rename : layout/reftests/editor/dynamic-overflow-change-ref.html => editor/reftests/dynamic-overflow-change-ref.html
rename : layout/reftests/editor/dynamic-overflow-change.html => editor/reftests/dynamic-overflow-change.html
rename : layout/reftests/editor/dynamic-ref.html => editor/reftests/dynamic-ref.html
rename : layout/reftests/editor/dynamic-type-1.html => editor/reftests/dynamic-type-1.html
rename : layout/reftests/editor/dynamic-type-2.html => editor/reftests/dynamic-type-2.html
rename : layout/reftests/editor/dynamic-type-3.html => editor/reftests/dynamic-type-3.html
rename : layout/reftests/editor/dynamic-type-4.html => editor/reftests/dynamic-type-4.html
rename : layout/reftests/editor/emptypasswd-1.html => editor/reftests/emptypasswd-1.html
rename : layout/reftests/editor/emptypasswd-2.html => editor/reftests/emptypasswd-2.html
rename : layout/reftests/editor/emptypasswd-ref.html => editor/reftests/emptypasswd-ref.html
rename : layout/reftests/editor/input-text-notheme-onfocus-reframe-ref.html => editor/reftests/input-text-notheme-onfocus-reframe-ref.html
rename : layout/reftests/editor/input-text-notheme-onfocus-reframe.html => editor/reftests/input-text-notheme-onfocus-reframe.html
rename : layout/reftests/editor/input-text-onfocus-reframe-ref.html => editor/reftests/input-text-onfocus-reframe-ref.html
rename : layout/reftests/editor/input-text-onfocus-reframe.html => editor/reftests/input-text-onfocus-reframe.html
rename : layout/reftests/editor/newline-1.html => editor/reftests/newline-1.html
rename : layout/reftests/editor/newline-2.html => editor/reftests/newline-2.html
rename : layout/reftests/editor/newline-3.html => editor/reftests/newline-3.html
rename : layout/reftests/editor/newline-4.html => editor/reftests/newline-4.html
rename : layout/reftests/editor/newline-ref.html => editor/reftests/newline-ref.html
rename : layout/reftests/editor/nobogusnode-1.html => editor/reftests/nobogusnode-1.html
rename : layout/reftests/editor/nobogusnode-2.html => editor/reftests/nobogusnode-2.html
rename : layout/reftests/editor/nobogusnode-ref.html => editor/reftests/nobogusnode-ref.html
rename : layout/reftests/editor/passwd-1.html => editor/reftests/passwd-1.html
rename : layout/reftests/editor/passwd-2.html => editor/reftests/passwd-2.html
rename : layout/reftests/editor/passwd-3.html => editor/reftests/passwd-3.html
rename : layout/reftests/editor/passwd-4.html => editor/reftests/passwd-4.html
rename : layout/reftests/editor/passwd-ref.html => editor/reftests/passwd-ref.html
rename : layout/reftests/editor/reftest.list => editor/reftests/reftest.list
rename : layout/reftests/editor/selection_visibility_after_reframe-2.html => editor/reftests/selection_visibility_after_reframe-2.html
rename : layout/reftests/editor/selection_visibility_after_reframe-3.html => editor/reftests/selection_visibility_after_reframe-3.html
rename : layout/reftests/editor/selection_visibility_after_reframe-ref.html => editor/reftests/selection_visibility_after_reframe-ref.html
rename : layout/reftests/editor/selection_visibility_after_reframe.html => editor/reftests/selection_visibility_after_reframe.html
rename : layout/reftests/editor/spellcheck-comma-valid-ref.html => editor/reftests/spellcheck-comma-valid-ref.html
rename : layout/reftests/editor/spellcheck-comma-valid.html => editor/reftests/spellcheck-comma-valid.html
rename : layout/reftests/editor/spellcheck-dotafterquote-valid-ref.html => editor/reftests/spellcheck-dotafterquote-valid-ref.html
rename : layout/reftests/editor/spellcheck-dotafterquote-valid.html => editor/reftests/spellcheck-dotafterquote-valid.html
rename : layout/reftests/editor/spellcheck-hyphen-invalid-ref.html => editor/reftests/spellcheck-hyphen-invalid-ref.html
rename : layout/reftests/editor/spellcheck-hyphen-invalid.html => editor/reftests/spellcheck-hyphen-invalid.html
rename : layout/reftests/editor/spellcheck-hyphen-multiple-invalid-ref.html => editor/reftests/spellcheck-hyphen-multiple-invalid-ref.html
rename : layout/reftests/editor/spellcheck-hyphen-multiple-invalid.html => editor/reftests/spellcheck-hyphen-multiple-invalid.html
rename : layout/reftests/editor/spellcheck-hyphen-multiple-valid-ref.html => editor/reftests/spellcheck-hyphen-multiple-valid-ref.html
rename : layout/reftests/editor/spellcheck-hyphen-multiple-valid.html => editor/reftests/spellcheck-hyphen-multiple-valid.html
rename : layout/reftests/editor/spellcheck-hyphen-valid-ref.html => editor/reftests/spellcheck-hyphen-valid-ref.html
rename : layout/reftests/editor/spellcheck-hyphen-valid.html => editor/reftests/spellcheck-hyphen-valid.html
rename : layout/reftests/editor/spellcheck-input-attr-after.html => editor/reftests/spellcheck-input-attr-after.html
rename : layout/reftests/editor/spellcheck-input-attr-before.html => editor/reftests/spellcheck-input-attr-before.html
rename : layout/reftests/editor/spellcheck-input-attr-dynamic-inherit.html => editor/reftests/spellcheck-input-attr-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-input-attr-dynamic-override-inherit.html => editor/reftests/spellcheck-input-attr-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-input-attr-dynamic-override.html => editor/reftests/spellcheck-input-attr-dynamic-override.html
rename : layout/reftests/editor/spellcheck-input-attr-dynamic.html => editor/reftests/spellcheck-input-attr-dynamic.html
rename : layout/reftests/editor/spellcheck-input-attr-inherit.html => editor/reftests/spellcheck-input-attr-inherit.html
rename : layout/reftests/editor/spellcheck-input-disabled.html => editor/reftests/spellcheck-input-disabled.html
rename : layout/reftests/editor/spellcheck-input-nofocus-ref.html => editor/reftests/spellcheck-input-nofocus-ref.html
rename : layout/reftests/editor/spellcheck-input-property-dynamic-inherit.html => editor/reftests/spellcheck-input-property-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-input-property-dynamic-override-inherit.html => editor/reftests/spellcheck-input-property-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-input-property-dynamic-override.html => editor/reftests/spellcheck-input-property-dynamic-override.html
rename : layout/reftests/editor/spellcheck-input-property-dynamic.html => editor/reftests/spellcheck-input-property-dynamic.html
rename : layout/reftests/editor/spellcheck-input-ref.html => editor/reftests/spellcheck-input-ref.html
rename : layout/reftests/editor/spellcheck-period-valid-ref.html => editor/reftests/spellcheck-period-valid-ref.html
rename : layout/reftests/editor/spellcheck-period-valid.html => editor/reftests/spellcheck-period-valid.html
rename : layout/reftests/editor/spellcheck-slash-valid-ref.html => editor/reftests/spellcheck-slash-valid-ref.html
rename : layout/reftests/editor/spellcheck-slash-valid.html => editor/reftests/spellcheck-slash-valid.html
rename : layout/reftests/editor/spellcheck-space-valid-ref.html => editor/reftests/spellcheck-space-valid-ref.html
rename : layout/reftests/editor/spellcheck-space-valid.html => editor/reftests/spellcheck-space-valid.html
rename : layout/reftests/editor/spellcheck-textarea-attr-dynamic-inherit.html => editor/reftests/spellcheck-textarea-attr-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-attr-dynamic-override-inherit.html => editor/reftests/spellcheck-textarea-attr-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-attr-dynamic-override.html => editor/reftests/spellcheck-textarea-attr-dynamic-override.html
rename : layout/reftests/editor/spellcheck-textarea-attr-dynamic.html => editor/reftests/spellcheck-textarea-attr-dynamic.html
rename : layout/reftests/editor/spellcheck-textarea-attr-inherit.html => editor/reftests/spellcheck-textarea-attr-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-attr.html => editor/reftests/spellcheck-textarea-attr.html
rename : layout/reftests/editor/spellcheck-textarea-disabled.html => editor/reftests/spellcheck-textarea-disabled.html
rename : layout/reftests/editor/spellcheck-textarea-focused-notreadonly.html => editor/reftests/spellcheck-textarea-focused-notreadonly.html
rename : layout/reftests/editor/spellcheck-textarea-focused-reframe.html => editor/reftests/spellcheck-textarea-focused-reframe.html
rename : layout/reftests/editor/spellcheck-textarea-focused.html => editor/reftests/spellcheck-textarea-focused.html
rename : layout/reftests/editor/spellcheck-textarea-nofocus-ref.html => editor/reftests/spellcheck-textarea-nofocus-ref.html
rename : layout/reftests/editor/spellcheck-textarea-nofocus.html => editor/reftests/spellcheck-textarea-nofocus.html
rename : layout/reftests/editor/spellcheck-textarea-property-dynamic-inherit.html => editor/reftests/spellcheck-textarea-property-dynamic-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-property-dynamic-override-inherit.html => editor/reftests/spellcheck-textarea-property-dynamic-override-inherit.html
rename : layout/reftests/editor/spellcheck-textarea-property-dynamic-override.html => editor/reftests/spellcheck-textarea-property-dynamic-override.html
rename : layout/reftests/editor/spellcheck-textarea-property-dynamic.html => editor/reftests/spellcheck-textarea-property-dynamic.html
rename : layout/reftests/editor/spellcheck-textarea-ref.html => editor/reftests/spellcheck-textarea-ref.html
rename : layout/reftests/editor/unneeded_scroll-ref.html => editor/reftests/unneeded_scroll-ref.html
rename : layout/reftests/editor/unneeded_scroll.html => editor/reftests/unneeded_scroll.html
rename : layout/reftests/editor/xul/autocomplete-1.xul => editor/reftests/xul/autocomplete-1.xul
rename : layout/reftests/editor/xul/autocomplete-ref.xul => editor/reftests/xul/autocomplete-ref.xul
rename : layout/reftests/editor/xul/empty-1.xul => editor/reftests/xul/empty-1.xul
rename : layout/reftests/editor/xul/empty-2.xul => editor/reftests/xul/empty-2.xul
rename : layout/reftests/editor/xul/empty-ref.xul => editor/reftests/xul/empty-ref.xul
rename : layout/reftests/editor/xul/emptyautocomplete-1.xul => editor/reftests/xul/emptyautocomplete-1.xul
rename : layout/reftests/editor/xul/emptyautocomplete-ref.xul => editor/reftests/xul/emptyautocomplete-ref.xul
rename : layout/reftests/editor/xul/emptymultiline-1.xul => editor/reftests/xul/emptymultiline-1.xul
rename : layout/reftests/editor/xul/emptymultiline-2.xul => editor/reftests/xul/emptymultiline-2.xul
rename : layout/reftests/editor/xul/emptymultiline-ref.xul => editor/reftests/xul/emptymultiline-ref.xul
rename : layout/reftests/editor/xul/emptytextbox-1.xul => editor/reftests/xul/emptytextbox-1.xul
rename : layout/reftests/editor/xul/emptytextbox-2.xul => editor/reftests/xul/emptytextbox-2.xul
rename : layout/reftests/editor/xul/emptytextbox-3.xul => editor/reftests/xul/emptytextbox-3.xul
rename : layout/reftests/editor/xul/emptytextbox-4.xul => editor/reftests/xul/emptytextbox-4.xul
rename : layout/reftests/editor/xul/emptytextbox-5.xul => editor/reftests/xul/emptytextbox-5.xul
rename : layout/reftests/editor/xul/emptytextbox-ref.xul => editor/reftests/xul/emptytextbox-ref.xul
rename : layout/reftests/editor/xul/input.css => editor/reftests/xul/input.css
rename : layout/reftests/editor/xul/number-1.xul => editor/reftests/xul/number-1.xul
rename : layout/reftests/editor/xul/number-2.xul => editor/reftests/xul/number-2.xul
rename : layout/reftests/editor/xul/number-3.xul => editor/reftests/xul/number-3.xul
rename : layout/reftests/editor/xul/number-4.xul => editor/reftests/xul/number-4.xul
rename : layout/reftests/editor/xul/number-5.xul => editor/reftests/xul/number-5.xul
rename : layout/reftests/editor/xul/number-ref.xul => editor/reftests/xul/number-ref.xul
rename : layout/reftests/editor/xul/numberwithvalue-1.xul => editor/reftests/xul/numberwithvalue-1.xul
rename : layout/reftests/editor/xul/numberwithvalue-ref.xul => editor/reftests/xul/numberwithvalue-ref.xul
rename : layout/reftests/editor/xul/passwd-1.xul => editor/reftests/xul/passwd-1.xul
rename : layout/reftests/editor/xul/passwd-2.xul => editor/reftests/xul/passwd-2.xul
rename : layout/reftests/editor/xul/passwd-3.xul => editor/reftests/xul/passwd-3.xul
rename : layout/reftests/editor/xul/passwd-ref.xul => editor/reftests/xul/passwd-ref.xul
rename : layout/reftests/editor/xul/plain-1.xul => editor/reftests/xul/plain-1.xul
rename : layout/reftests/editor/xul/plain-ref.xul => editor/reftests/xul/plain-ref.xul
rename : layout/reftests/editor/xul/platform.js => editor/reftests/xul/platform.js
rename : layout/reftests/editor/xul/reftest.list => editor/reftests/xul/reftest.list
rename : layout/reftests/editor/xul/textbox-1.xul => editor/reftests/xul/textbox-1.xul
rename : layout/reftests/editor/xul/textbox-disabled.xul => editor/reftests/xul/textbox-disabled.xul
rename : layout/reftests/editor/xul/textbox-readonly.xul => editor/reftests/xul/textbox-readonly.xul
rename : layout/reftests/editor/xul/textbox-ref.xul => editor/reftests/xul/textbox-ref.xul
2012-05-03 10:09:44 +03:00