Commit Graph

307 Commits

Author SHA1 Message Date
Timothy Nikkel
c581600f0c Bug 396367. Make the tests reset the textzoom after changing it.
--HG--
extra : rebase_source : 5afddd159099314576ad6623d11649266a7b4e77
2009-12-26 21:36:12 -06:00
Timothy Nikkel
bd15675d9d Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : c6aa412247ab70f5bf3a4688f262edcccd2d6fdd
2009-12-22 18:09:10 -06:00
Timothy Nikkel
1172cc4cd0 Backed out changeset 63d4a49fbec1 (bug 396367) 2010-01-01 20:34:05 -06:00
Timothy Nikkel
6a84e052f2 Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : 67d99a197a4974684f57f23873033b85c276ef86
2009-12-22 18:09:10 -06:00
Boris Zbarsky
cba4b340ad Trying to fix orange due to landing of bug 528306 by fixing assumption in test. 2009-12-31 17:12:43 -05:00
L. David Baron
61bd9cfc56 Revert bulk of changeset 67ddbe030ab6 (originally for bug 457809) now that bug 253354 is fixed. 2009-12-31 12:49:22 -05:00
Nochum Sossonko
616050ef52 Backed out changeset 58a672dcb695 due to test failures 2009-12-29 17:33:09 -05:00
Jacek Caban
a736eeeb19 Bug 530448 - Make TestPoisonArea.cpp compile on new mingw, r=zwol 2009-12-29 14:24:43 -05:00
Robert O'Callahan
19da2f1872 Bug 530686. Only create an nsDisplayTableBorderBackground when it's going to have something to paint, since having one can disable some scrolling optimizations. r=dbaron 2009-12-12 10:50:30 -08:00
Robert O'Callahan
97c78b1258 Bug 531461. Avoid creating an nsDisplayTableBorderBackground if every part of the table is hidden. r=dbaron 2009-12-12 10:50:25 -08:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert O'Callahan
1eb1c0bb6b Bug 530472. Make sure to check across document boundaries to see whether the clipFrame is an ancestor of the moving frame. r=dbaron 2009-11-30 18:14:04 -05:00
Zack Weinberg
cf67dd36c8 Bug 530598: If we can't get the preferred address for a poison page, take whatever the OS will give us, rather than giving up 2009-11-30 08:51:07 -08:00
Ginn Chen
546bba6b66 Bug 529764 nsPresArena.cpp failed to compile on Solaris r=zweinberg 2009-11-20 14:11:42 +08:00
Robert O'Callahan
54824bc7d1 Bug 528604. Don't add areas-to-repaint when scrolling for non-moving clip rects that aren't clipping any moving content. r=dbaron 2009-11-18 13:38:17 +13:00
Zack Weinberg
3c349b25a6 Bug 522088 and bug 507924: Ensure that the value used for frame poisoning is a pointer to an inaccessible page of virtual memory. 2009-11-17 11:17:20 -08:00
Robert O'Callahan
7e04a64cff Bug 513082. Take advantage of our knowledge that nsDisplayClip, when used in a blitting scrolling frame, must snap to device pixels, to get more accurate blit regions. r=dbaron 2009-11-04 07:39:42 +13:00
Robert O'Callahan
5f8b8b6cc8 Bug 523911. Content that's not moving, that's positioned over uniform content that is moving, does not need to be repainted. r=dbaron 2009-11-04 07:39:42 +13:00
Zack Weinberg
4439b4953d Bug 526075: Clamp tiny sines to zero when computing transformation matrices. 2009-11-02 21:00:46 -08:00
Robert O'Callahan ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
3ad4c03640 Bug 513395: Implement revised CSS gradient notation (2/2): rendering
--HG--
rename : layout/reftests/css-gradients/radial-ref.html => layout/reftests/css-gradients/radial-1-ref.html
rename : layout/reftests/css-gradients/radial.html => layout/reftests/css-gradients/radial-1a.html
rename : layout/reftests/css-gradients/twostops-ref.html => layout/reftests/css-gradients/twostops-1-ref.html
rename : layout/reftests/css-gradients/twostops.html => layout/reftests/css-gradients/twostops-1a.html
2009-11-02 11:36:43 -08:00
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dbd6355ce6 Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes 2009-11-02 11:36:43 -08:00
Robert O'Callahan
56aad34bd4 Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron 2009-10-07 17:28:41 +13:00
Robert O'Callahan
2e6f2bd071 Bug 513082. Round out 'region of moving visible content' to device pixels to reduce incidence of stray subpixel rectangles causing unnecessary painting. r=dbaron
--HG--
extra : rebase_source : a976be084de5b610089cebe1da9a9c5a2e580cb2
2009-09-07 12:35:14 +12:00
Robert O'Callahan
3574bf3fd3 Bug 510856. Additional scrolling tests.
--HG--
extra : rebase_source : 053c6aae0cc3b458647b296ffb6ce885af2ef7a4
2009-09-07 12:35:13 +12:00
Robert O'Callahan
3f31ace6a0 Bug 510856. ComputeRepaintRegionForCopy should not look outside the update rect for moving and non-moving visible content. r=dbaron
--HG--
extra : rebase_source : 4b2bb7ca8ca883c4d2ba6e14f5a43c82c831fc32
2009-09-07 12:35:13 +12:00
Robert O'Callahan
e4bc55769e Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
Timothy Nikkel
73a27c9267 Bug 518777. When drawing the canvas background color for drawWindow, adjust CanvasArea because it is relative to the frame itself. r=roc
--HG--
rename : layout/base/tests/test_bug514127.html => layout/base/tests/test_bug518777.html
extra : rebase_source : 252a78c5444513eac82b6ebc6ae202aef91bc5ce
2009-09-28 20:40:24 -05:00
Robert O'Callahan
8383498b71 Bug 510856. Create tests for which areas of the page are repainted or blitted by scrolling. r=dbaron
--HG--
extra : rebase_source : ab2ce1c1a77c42b0ea319cfe4aa0da89395cd632
2009-09-07 12:35:13 +12:00
Timothy Nikkel
5f8ff6cfdc Bug 514127. Draw the canvas background color on the whole canvas area instead of just the viewport when RenderDocument is called with ignore scrolling flag. r=roc 2009-09-19 12:20:42 +02:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Robert O'Callahan
942fad5d31 Bug 504311. Test.
--HG--
extra : rebase_source : 3df96915b133a9926310757ed0415beaefd635a3
2009-08-03 13:59:18 +12:00
Jonathan Kew
227f047f17 add margin to avoid overflow due to antialiasing, fixing test breakage for bug 476927 and 475968 2009-07-10 14:02:59 +12:00
Robert O'Callahan
56699ae2e0 Bug 501100. Convert print preview tests to chrome tests. r=martijn
--HG--
rename : layout/base/tests/test_bug396024.html => layout/base/tests/chrome/bug396024_helper.xul
rename : layout/base/tests/test_bug482976.html => layout/base/tests/chrome/bug482976_helper.xul
rename : layout/base/tests/test_printpreview.html => layout/base/tests/chrome/printpreview_helper.xul
2009-07-04 21:50:43 +12:00
Simon Montagu
827d9111b2 Make fluid continuations between adjacent text frames with the same directionality. Bug 499538, r+sr=roc 2009-07-01 00:16:26 -07:00
Masayuki Nakano
adfdc27a90 Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc 2009-07-01 01:52:16 +09:00
Olli Pettay
902d73cc87 Bug 483218 - mochitest-plain: test_bug450930.xhtml intermittently fails, r=roc 2009-06-23 11:14:09 +03:00
Boris Zbarsky
fb5e52f5be Disable this test for now, due to random orange. See bug 492575 2009-06-15 16:06:21 -07:00
Boris Zbarsky
12e038e30d Another attempt to fix bug 492575. 2009-06-02 11:59:27 -04:00
Boris Zbarsky
60fc72e742 Bug 495648. Work around yet more listbox suckage: it'll randomly create frames for content it hasn't included in its row count! r=enn, sr=roc pending 2009-06-01 12:46:31 -04:00
Boris Zbarsky
31ccc9cace Bug 492575. Trying to eliminate random orange from this test 2009-05-12 22:37:05 -04:00
Boris Zbarsky
e6259a26ac Bug 78070. When the root element is removed, remove all frames except the viewport; when it's reinserted, recreate them as needed. r=roc,dbaron sr=roc 2009-05-11 22:04:58 -04:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Ehsan Akhgari
25ee93c2f6 Fix the test bustage from changeset edbe350e1d81 2009-04-30 10:42:12 +04:30
Ehsan Akhgari
6f5fdce31e Bug 488553 - Random Failure of test_bug467672-4.html; r+sr=roc 2009-04-29 18:32:31 +04:30
Olli Pettay
81884a8ad9 Bug 489224 - Printing doesn't print text field values, r+sr=roc 2009-04-22 12:35:45 +03:00
Masayuki Nakano
f90ecec9a1 Bug 486708 Should lift up selection underline as far as possible if it overflows from the descent space r+sr=roc 2009-04-06 14:53:00 +09:00
Masayuki Nakano
88c1e2ba58 Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc 2009-04-03 16:26:28 +09:00
Boris Zbarsky
94fc769f37 Bug 457809 preliminary. Fix this test so it doesn't fail when we preload the sheet. r+sr=dbaron 2009-03-30 11:25:35 -04:00
Olli Pettay
998de12efb add some print preview tests (bug 425265, bug 424377) 2009-03-19 13:18:42 +02:00
Simon Montagu
5febd84d4b reftests for bug 299065 and some of its dependencies and mochitests for bidi editing issues found when debugging bug 332655 2009-03-19 02:15:06 -07:00
Olli Pettay
52a6331cea Bug 482976 - Crash [@ nsTextFrame::Reflow] on print preview with quote, r+sr=roc 2009-03-18 12:45:00 +02:00
Clint Talbert
76a51aabb2 Bug 474016 r=dholbert, Fix random test failure on linux tinderbox for css transform tests 2009-02-27 11:16:57 -08:00
Clint Talbert
45dd794359 backout changes for bug 474016 2009-02-26 16:43:11 -08:00
Clint Talbert
a0ade2d4cf Bug 474016 r=dholbert, adding logging to css transform test to see why it fails 2009-02-26 16:09:12 -08:00
Boris Zbarsky
8eab85d08a Speed up canvas comparisons in bidi mochitests. No bug 2009-02-19 22:04:19 -05:00
Ehsan Akhgari
0f72b4f985 Bug 478414 - [SeaMonkey, MacOSX] "test_bug441782.html | Test timed out" now (split the bidi.numeral test into several small tests); r+sr=roc (NPOTB) 2009-02-16 10:54:18 +03:30
Ehsan Akhgari
689d4e0925 Disable tests for bug 441782 / bug 467672 on Windows, rather than on non-Windows. (Bug 467672) r+sr=roc 2009-02-07 08:43:11 -08:00
Ehsan Akhgari
d2b5ccb3ce Bug 467672 - need additional bidi.numerals setting for Persian (eastern Arabic-Indic) numerals; r=roc,jfkthame sr=roc 2009-01-30 11:43:17 +03:30
Clint Talbert
3786718122 Backing out 24179:ab9665e638d6 due to test failure on linux 2009-01-24 17:34:38 -08:00
Clint Talbert
d5e47b295f Bug 474016: Fixing rounding errors on css transform mochitests r=dholbert 2009-01-24 16:20:14 -08:00
Zack Weinberg
bec44c658d Test case for bug 469170, which was fixed by bug 473398.
--HG--
extra : rebase_source : 793f48c1001ec27e1a2b20c8cf609947caef8cde
2009-01-22 17:19:54 +13:00
Peter Van der Beken
78527f8037 Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz. 2009-01-14 13:24:10 +01:00
Clint Talbert
079c222900 Bug 457324 Partial Backout - Remove the CSS Transform mochitests from running due to leaks on Windows r=dholbert 2009-01-16 14:44:22 -06:00
Clint Talbert
960f11519e imported patch bug435293-csstransform-tests 2009-01-16 12:52:24 -06:00
Peter Van der Beken
50a423af1a Merge backout. 2009-01-14 15:13:37 +01:00
Peter Van der Beken
84d3eabc50 Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange. 2009-01-14 15:12:37 +01:00
Robert Kaiser
469b9879fd bug 472813 - Remove SeaMonkey workaround for test_bug465448.xul, r=roc 2009-01-14 14:48:22 +01:00
Peter Van der Beken
4189af9d67 Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz. 2009-01-14 13:24:10 +01:00
Robert O'Callahan
7b82035873 Bug 465448. Perform sanity check to avoid resizing a window smaller than the content area we're trying to achieve. r+sr=bzbarsky
--HG--
extra : rebase_source : 57e7e4e95ec2c100b8ceaa66864f6dfb5ba1cc86
2009-01-05 13:39:40 +13:00
L. David Baron
87389f6007 Remove TestSpaceManager. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
Serge Gautherie
3345c79902 Bug 469331 - [SeaMonkey] test_bug458898.html fails; (Cv1) Report the (failing) values; r=dbaron 2009-01-03 08:27:27 +01:00
Robert Kaiser
5f8c1f03e4 bug 469331 - [SeaMonkey] test_bug458898.html fails, make the width test function always ok on Windows, r=dbaron 2008-12-23 16:03:25 +01:00
Robert Kaiser
7cf9888fa2 bug 469331 - [SeaMonkey] test_bug458898.html fails, mark the test todo on SeaMonkey for now, r=dbaron 2008-12-21 13:42:15 +01:00
Ehsan Akhgari
ca2a90bdee Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
Robert O'Callahan
088a6b0690 Bug 458898. Make sizeToContent work for HTML documents by ensuring CanvasFrame converts an UNCONSTRAINEDSIZE computed height into its actual desired height. r+sr=dbaron 2008-12-09 13:33:46 +13:00
Masatoshi Kimura
a682e0d618 Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Robert O'Callahan
5364eb1faf Backed out changeset 357d1c01bde3 2008-12-04 00:42:02 +13:00
Robert O'Callahan
c06c17a0c2 Bug 458898. Fix intrinsic sizing of windows by ensuring CanvasFrame converts an NS_UNCONSTRAINEDSIZE desired height to its actual desired height. r+sr=dbaron 2008-12-03 09:50:16 +13:00
L. David Baron
8db4b989da Add test for continuous firing of resize events. (Bug 114649) 2008-09-29 15:57:41 -07:00
Robert O'Callahan
f79290bb0e Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Boris Zbarsky
19cbde2211 Bug 449781. Toggling display on a subframe shouldn't give the subframe's document the same device context as the parent document. r=roc, sr=jst 2008-08-18 15:22:19 -04:00
L. David Baron
c5235e21f2 Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky 2008-07-26 09:14:49 -07:00
Daniel Holbert
783f0d51f8 (No code changes) Change a bunch of non-executable files in layout/ to have non-executable mode.
Filetypes changed: .cpp .gif .h .html .list .png .svg .x-ccmap .xbl .xhtml .xul
2008-07-11 11:54:06 -07:00
gavin@gavinsharp.com
29184ef30a Bug 430785: Caret not visible with right-clicking on a text input, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon 2008-04-30 09:54:16 -07:00
gavin@gavinsharp.com
e50c8e8688 Bug 423523: Caret can leave div w/ contenteditable = true with repeated arrow keys, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=peterv, a=beltzner 2008-04-23 15:33:14 -07:00
reed@reedloden.com
daf0485896 Bug 420499 - "Caret browsing mode wrongly engaged" (Mochitest) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2008-04-08 11:52:48 -07:00
martijn.martijn@gmail.com
e8ea49f32b Modified test for bug 396024, this should not cause problems anymore now that bug 407080 is fixed 2008-03-14 08:12:20 -07:00
dholbert@cs.stanford.edu
3287a6868e Bug 407080: Disallow print-preview while page is loading. (Re-landing with broken mochitest disabled) r+sr=roc, a=blocking1.9+ 2008-03-13 14:12:55 -07:00
bzbarsky@mit.edu
d0210c6146 Adding test 2008-02-19 10:15:45 -08:00
dbaron@dbaron.org
632c70328b Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+ 2008-02-08 11:52:46 -08:00
mats.palmgren@bredband.net
7f395b6ddc Fix typo in assertion. b=386575 r+sr=roc a=mtschrep 2008-01-04 15:14:50 -08:00
martijn.martijn@gmail.com
ca4e3d4020 Modified test for bug 396024 again, now Mac is ignored, since this test could never work there 2007-12-12 15:13:31 -08:00
martijn.martijn@gmail.com
7d792f896a Disable test for bug 396024 again :(, because of error on the mac 2007-12-12 15:00:11 -08:00
martijn.martijn@gmail.com
c9253ce7cd Modified test for bug 396024 again, now Mac is ignored, since this test could never work there 2007-12-12 14:34:25 -08:00
martijn.martijn@gmail.com
bb908336e8 Disable test for bug 396024 again :(, because of error on the mac 2007-12-12 13:16:17 -08:00
martijn.martijn@gmail.com
0517e832a1 Reenable test for bug 396024, it should now fail gracefully when no printer is installed on the test machine 2007-12-12 12:44:46 -08:00
martijn.martijn@gmail.com
688a287705 Ugh, missed a glaring error, backing out test for now for bug 396024 2007-12-05 14:10:12 -08:00
martijn.martijn@gmail.com
5c7bb0b07b Modified test for bug 396024, this should not cause test failures when no printer is installed 2007-12-05 14:07:12 -08:00
smontagu@smontagu.org
fdfed24896 Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc 2007-12-05 00:15:15 -08:00
martijn.martijn@gmail.com
7b4fbbfb78 Disable test for bug 396024 to see if it fixes orange 2007-11-28 21:50:09 -08:00
martijn.martijn@gmail.com
b44a3bba34 Bug 396024 - Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that set print preview, then reloads the page, part 2, r=sharparrow1, sr=roc, blocking1.9+ 2007-11-28 14:17:12 -08:00
smontagu@smontagu.org
4f7d9dbf15 Define langgroups for all charset decoders 2007-11-11 11:52:33 -08:00
smontagu@smontagu.org
674ddc0e02 Testcase for bug 399951 2007-11-11 11:35:23 -08:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
dbaron@dbaron.org
01898b3296 Add tests for bugs 66619 and 388019. 2007-07-15 22:55:51 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00