gecko-dev/layout/reftests/selection
Nathan Froyd c85d676666 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
..
addrange-1.html Bug 602331 - selection addRange cannot select nodes that are being dynamically appended to the DOM. r=roc a=blocking2.0:final 2011-01-14 01:22:26 +01:00
addrange-2.html Bug 602331 - selection addRange cannot select nodes that are being dynamically appended to the DOM. r=roc a=blocking2.0:final 2011-01-14 01:22:26 +01:00
addrange-ref.html Bug 602331 - selection addRange cannot select nodes that are being dynamically appended to the DOM. r=roc a=blocking2.0:final 2011-01-14 01:22:26 +01:00
dom-mutations-ref.html Bug 619273 - regression tests for DOM mutations inside selection. 2011-12-20 10:15:41 +01:00
dom-mutations.html Bug 619273 - regression tests for DOM mutations inside selection. 2011-12-20 10:15:41 +01:00
dynamic-text-1-ref.html
dynamic-text-1a.html
dynamic-text-1b.html
extend-1-ref.html
extend-1-sanity.html
extend-1a.html
extend-1b.html
extend-1c.html
extend-1d.html
extend-1e.html
extend-1f.html
extend-1g.html
extend-1h.html
extend-1i.html
extend-2-ref.html
extend-2a.html
extend-2b.html
extend-3-ref.html
extend-3-sanity.html
extend-3a.html
extend-3b.html
extend-3c.html
extend-3d.html
extend-3e.html
extend-3f.html
extend-3g.html
extend-3h.html
extend-3i.html
extend-4-ref.html
extend-4a.html
extend-4b.html
modify-range-ref.html Bug 698237 - Invalidate affected frames when a range in a selection is modified. r=smaug 2011-12-24 14:26:03 +01:00
modify-range.html Bug 698237 - Invalidate affected frames when a range in a selection is modified. r=smaug 2011-12-24 14:26:03 +01:00
non-themed-widget-ref.html Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron 2010-04-08 21:44:57 +09:00
non-themed-widget.html Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron 2010-04-08 21:44:57 +09:00
pseudo-element-of-native-anonymous-ref.html
pseudo-element-of-native-anonymous.html
reftest.list Bug 858203 - mark more reftests as needs-focus; r=dholbert 2013-04-04 15:02:30 -04:00
splitText-normalize-ref.html Bug 191864 - Range and Selection broken with splitText() and normalize(). 2011-08-16 02:55:22 +02:00
splitText-normalize.html Bug 191864 - Range and Selection broken with splitText() and normalize(). 2011-08-16 02:55:22 +02:00
splitText-normalize.js Bug 698237 - Remove a wallpaper for bug 698237 in a reftest. r=me 2011-12-24 14:26:03 +01:00
themed-widget-ref.html Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron 2010-04-08 21:44:57 +09:00
themed-widget.html Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron 2010-04-08 21:44:57 +09:00