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

57 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 5c6c077a96 Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan
--HG--
rename : layout/base/tests/bug646382-1.html => editor/reftests/spellcheck-non-latin-arabic-ref.html
2015-05-08 22:45:16 -04:00
David Anderson 979949ce62 Mark unaccelerated antialiasing reftest failures with APZ as fuzzy. (bug 1157716, r=mstange)
With APZ, we always layerize the first scrollable element of the page,
if the page itself is not scrollable. These additional layers can cause
fuzzy reftest failures in two ways: differences in blending, and by
disabling sub-pixel test anti-aliasing. The latter is only a problem
with unaccelerated drawing, because we don't support component alpha
layers with BasicLayers. (We also don't support them with
BasicCompositor, but "Reftest unaccelerated" only tests BasicLayers).
2015-04-24 10:13:32 -04:00
Kartikaya Gupta 53dd599648 Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
David Anderson 9ae1c872f4 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Phil Ringnalda d68dd54c30 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson 4f6a850738 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
Alexandre Lissy e8b4f395c0 Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal 2015-03-10 02:43:00 +01:00
Alexandre Lissy c318ae4e07 Bug 1140429 - Force disable caret prefs for needs-focus reftests. r=ehsan 2015-03-08 05:11:00 -04:00
Morris Tseng 2574d25df0 Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc 2014-11-10 02:04:00 -05:00
Ryan VanderMeulen 9dc33bae19 Backed out 5 changesets (bug 1092888) because something in the push made Gij(2) permafail.
Backed out changeset 0ad25135a27f (bug 1092888)
Backed out changeset 7cd8260bfc16 (bug 1092888)
Backed out changeset 86385291d8c8 (bug 1092888)
Backed out changeset be16d194d5df (bug 1092888)
Backed out changeset daee46827258 (bug 1092888)
2014-12-09 12:08:59 -05:00
Morris Tseng 42e6680254 Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc 2014-11-10 02:04:00 +01:00
Ehsan Akhgari 19a23b3d8b Bug 911201 - Do not create a bogus br node for editable areas containing non-editable block elements; r=roc
We no longer rely on the bogus br node for positioning the caret.
If an editable region has a non-editable block element, we can
probably rely on the block element to reserve the vertical
height, so in those cases we should be able to get away without
a bogus br node.
2014-11-27 21:06:44 -05:00
Morris Tseng c1af02f12b Backed out 5 changesets (bug 1092888) for breaking QA smoketest on b2g.
Backout changeset 8c513f282a9e (bug 1092888)
Backout changeset db37104f6fbd (bug 1092888)
Backout changeset b1a0a7ea1a32 (bug 1092888)
Backout changeset c53a6181a4b2 (bug 1092888)
Backout changeset 54e551c1f2cd (bug 1092888)
2014-11-26 10:11:38 +08:00
Morris Tseng ae2b401f4f Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc 2014-11-10 02:04:00 +01:00
Ting-Yu Lin a280daa9fd Bug 1029943 - Part 2 - Fix test fails on 824080-3/5/7.html, bug558663.html. r=ehsan 2014-10-31 09:14:00 +01:00
Ting-Yu Lin 8df0e30d32 Bug 1059165 - Part 5 - Fix existing test failures. r=ehsan
These tests all involving focusing on an empty element. Touch caret will
not show under the new touch caret UI spec. Therefore, I fix them by
disabling touch caret when running those tests.
2014-10-28 06:04:00 +01:00
Ehsan Akhgari 39ea04ec7a Bug 1088158 - Update the visibility state of placeholders for textareas correctly when they get their anonymous content; r=roc 2014-10-28 09:44:26 -04:00
Fabrice Desré 70514dcc33 backout bug 1029943 for performance regressions (see bug 1066515) 2014-09-18 10:31:20 -07:00
Ting-Yu Lin 56ad372904 Bug 1029943 - Fix test fails on 824080-3/5/7.html, bug558663.html. r=ehsan
--HG--
rename : layout/base/tests/test_bug558663.html => layout/base/tests/bug558663.html
2014-08-27 01:24:00 -04:00
Andrew Halberstadt 2aa6a20e6b Bug 981477 - Adjust wrongfully annotated b2g oop reftests from fails to random, r=edmorley 2014-06-13 10:05:52 -04:00
Carsten "Tomcat" Book 5f4bdd154a merge b2g-inbound to mozilla-central 2014-05-26 15:26:11 +02:00
Vincent Chen c53b5f77a8 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-23 15:56:15 -04:00
Alex Henrie d02aeda7e5 Bug 997921 - Restore pre-FF29 XUL textbox padding. r=roc 2014-05-23 22:03:54 -06:00
Ehsan Akhgari 298702866a Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way.  This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.

But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation.  Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug.  And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Wes Kocher f08090e9a9 Backed out changeset 669fdba2ceef (bug 997805) for reftest bustage on a CLOSED TREE 2014-04-25 15:12:22 -07:00
Ehsan Akhgari c8f5bacca6 Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way.  This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.

But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation.  Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug.  And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
L. David Baron ba666ea10e Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc 2014-03-23 18:44:50 -07:00
Mats Palmgren 5c9776f6ef Bug 969773 - Restore Selection/Controller state when disconnecting the editor. r=ehsan 2014-02-10 02:14:38 +00:00
Alex Henrie b1b70981eb Bug 157846 - Remove padding from textbox.plain. r=roc 2014-01-16 16:45:20 -07:00
Alex Henrie 9886906ee1 Bug 157846. Main patch: Propagate text <input> padding down to its scrolled child and add 1px left/right padding to stylesheets as needed. Fix tests. r=roc
Original patch by Charly Molter. Help from Robert O'Callahan and Jim Mathies.

--HG--
extra : rebase_source : eacfe5696e9831f149157bbd7fe697c0f8020604
2014-01-13 08:13:10 -05:00
Robert O'Callahan 748b9049f1 Bug 157846. Part 0: Make tests more robust to padding changes and clipping of overflowing glyph edges. r=mats
--HG--
extra : rebase_source : f7d8ecb0df3fbbea593e46e515db47ee705392c7
2014-01-15 22:42:05 +13:00
Nathan Froyd 124a444ad6 Bug 899547 - add needs-focus to editor reftests; r=ehsan 2013-07-29 20:20:09 -04:00
Ehsan Akhgari a903893848 Bug 674927 - Part 4: Add a reftest which was removed by mistake 2013-06-19 17:00:14 -04:00
Aryeh Gregor f3ede57267 Bug 674927 - Part 3: Make the spellcheck attribute work correctly for contenteditable; r=ehsan 2013-06-19 16:54:53 -04:00
Ehsan Akhgari 1f65138696 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 a8c66f4e83 Bug 674927 part 1 - Add reftests for spellcheck in contenteditable; r=ehsan 2013-06-17 21:23:53 -04:00
Nathan Froyd 6a83f0d559 Bug 883423 - mark even more reftests as needs-focus; r=dholbert 2013-06-14 19:01:45 -04:00
Drew Willcoxon 4f282a963f Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan 2013-06-05 17:07:55 -07:00
Masayuki Nakano a54b2183fe 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 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
Jim Mathies 94cbf34fc7 Bug 847893 - adjust xul editor test annotations to include Win8. r=ehsan 2013-03-08 05:22:36 -06:00
Andrew Halberstadt 221179f50b Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Mounir Lamouri 8644ce2020 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 7507512379 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley aba3a8f5ef Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow 6f5a5e2a30 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Matt Brubeck 846d3da1b5 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 6378f5248d Bug 777529 - Don't spellcheck Unicode numbers; r=ehsan 2012-07-31 11:50:04 +03:00
Ehsan Akhgari d49b18b800 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Matt Woodrow dbef6fe311 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00