Commit Graph

1437 Commits

Author SHA1 Message Date
Karl Tomlinson
80c7229552 b=810274 ensure scrolled range is non-negative even in the presence of nscoord overflow r=roc
Instead of trying to detect all integer overflow at the source, this merely
keeps the sizes non-negative.  That may not mean they are less than
nscoord_MAX.

If we give in and accept that integer arithmetic may result in the scrolled
rect being smaller than the scroll port, then we shouldn't assert.

--HG--
extra : transplant_source : RP%15%84zx%B9%E8%2C%1E%0A%AB%82%F4%9C%A2y%AD5%27
2013-06-06 15:47:39 +12:00
Ed Morley
4178093f34 Bug 774689 - Mark 632781-verybig.html random-if on WinXP for too many intermittent failures DONTBUILD 2013-06-03 14:04:15 +01:00
Ed Morley
1cb82a079c Bug 774689 - Mark 632781-verybig.html fails-if on WinXP for too many intermittent failures 2013-06-03 12:56:00 +01:00
Robert O'Callahan
0cd25518d1 Bug 872254. Clear line/row cursors when overflow areas of lines or table rows change. r=bz
--HG--
extra : rebase_source : 81c1c4269e22ffad98433669ef152002b9d63533
2013-05-30 16:44:37 +12:00
Ehsan Akhgari
6c61de1ac0 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Chris Lord
2905deaf71 Bug 803299 - Even more fuzzing for 24bpp/Android. r=blassey CLOSED TREE
Add some extra fuzzing that I think got lost in a rebase to silence some
intermittent failures.
2013-05-29 18:18:06 +01:00
Chris Lord
7f4d4699cf Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey
--HG--
extra : rebase_source : 75c2dc44bc3a8167b1699ab24da20c67075a182a
2013-05-29 15:26:37 +01:00
Chris Lord
f908b18bd3 Bug 803299 - More tests pass on Android with 24-bit colour. r=blassey
Tests that were marked as failing now pass with increased colour depth.

--HG--
extra : rebase_source : 620739d5cdd1bb227f51a5cc985e16cd8dfa06f9
2013-05-29 15:26:34 +01:00
Trevor Saunders
4a839150dd backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord
b7ad6dc419 Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey 2013-05-28 18:50:17 +01:00
Chris Lord
f93511ae53 Bug 803299 - More tests pass on Android with 24-bit colour. r=blassey
Tests that were marked as failing now pass with increased colour depth.
2013-05-28 18:50:17 +01:00
Ryan VanderMeulen
0a40ecad93 No bug - Fix up reftest list order. DONTBUILD 2013-05-22 09:48:56 -04:00
Sebastian Wong
98b3dd614a Bug 563884 - Add styling for the link tag and add reftests. r=bz 2013-05-22 07:58:09 -04:00
L. David Baron
1f1e3bad30 Bug 871338: Handle NS_BLOCK_LOOK_FOR_DIRTY_FRAMES lazy marking in GetMinWidth and GetPrefWidth in addition to Reflow. r=bzbarsky 2013-05-13 15:37:00 -07:00
Ryan VanderMeulen
5539cd6c6d Bug 869694 - Mark another test as random on Android. 2013-05-10 09:17:12 -04:00
Timothy Nikkel
272e047392 Bug 869694. Followup, Mark two reftests as random instead of fails on android because they pass sometimes. r=philor 2013-05-09 19:06:08 -05:00
Joel Maher
c8a8573b57 Bug 869694 - Enable layout/reftests/bugs on Android. r=tn 2013-05-09 13:42:13 -04:00
Bobby Holley
40047efda6 Bug 857356 - Make reftests/crashtest run without XBL scopes. r=bz
I talked about this with bz. The issue is that we have a lot of XUL reftests
that end up getting run as remote XUL given that the reftest harness loads
them with file:// URIs. But realistically most of them probably want to test
the fully-featured XBL environment that we provide to frontend and extensions.

So the compromise here is to do XBL scopes for content, and no XBL scopes
for reftests/crashtests.
2013-05-09 09:16:02 -07:00
Daniel Holbert
f5fb0006e0 Bug 722888: Add reftest for this bug (which became fixed by DLBI). [test-only change] 2013-05-08 23:53:55 -07:00
Stephen Pohl
c997f428ce Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
954cd4dfaa Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
e474e01d79 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Mats Palmgren
871e89e62a Bug 844178 - Make RecomputePosition adjust the CB size as ViewportFrame::Reflow does. r=tn 2013-04-24 18:17:55 +02:00
Robert O'Callahan
5667f99ae6 Bug 849996. Check the correct frame for transforms in PushAbsoluteContainingBlock --- it might not be the containing block itself. r=bzbarsky 2013-04-08 16:09:35 +12:00
Michael Wu
9297eb10f3 Bug 840315 - Change default serif and sans serif fonts on gonk, r=jfkthame a=blocking-leo 2013-04-15 23:00:08 +02:00
Cameron McCormack
da07344e3e Bug 860370 - Undo functionality change from bug 848973. r=roc 2013-04-11 18:40:12 +10:00
Robert O'Callahan
a43cb9630a Bug 858803. Fix coordinate system of subdocument frame bounds. r=mattwoodrow
--HG--
extra : rebase_source : 3fd0436f141542dcf50f318a47670329c9c7a814
2013-04-10 00:30:51 +12:00
Nathan Froyd
d07142b841 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
Robert O'Callahan
6651accbe4 Bug 841192. Part 1: Make <frame> elements behave more like <iframe>s, in particular supporting padding and borders (but not border-radius). r=mats
--HG--
extra : rebase_source : b49a430b7a54bc0579f4f109afa001634a2b8930
2013-04-03 00:03:03 +13:00
Daniel Holbert
b4e66452e3 Bug 848539 part 5: Back out 6bb37077d615, bug 763689 part 2 (style-system handling for min-width:auto). r=dbaron 2013-03-27 23:33:19 -07:00
Bobby Holley
bcb7ce6f0a Bug 854019 - Continue checking the XBL bit if remote XUL disables XBL scopes. r=bz 2013-03-24 09:27:10 -07:00
Mats Palmgren
a98c0cde58 Backout rev 85397e0a6dba - wrong patch. r=me 2013-03-23 21:45:53 +01:00
Mats Palmgren
56ef5c292e Bug 851847 - Optimize nsBlockFrame::StealFrame when removing a normal flow child. r=bzbarsky 2013-03-23 21:10:34 +01:00
Ryan VanderMeulen
db24aa6bf1 Bug 853273 - Annotate 456219-1a/1b.html as well. 2013-03-21 13:23:27 -04:00
Ryan VanderMeulen
6b131c343f Bug 853273 - Add missing space. 2013-03-20 22:24:33 -04:00
Ryan VanderMeulen
99f2533a4a Bug 853273 - Mark test as fuzzy on Windows 7. 2013-03-20 21:26:01 -04:00
Jim Mathies
b883ad12f8 Bug 850457 - Fix for reftest 759036-1.html Win8 failure. r=mbrubeck 2013-03-18 14:14:41 -05:00
Daniel Holbert
1a54a69881 Bug 849407: Disable flex item style fixup for anonymous content in nsFrameManager::ReResolveStyleContext(). r=bz 2013-03-13 13:54:05 -07:00
Jim Mathies
51c903f1de Bug 849771 - adjust annotations in layout/reftests/bugs for Win8. r=roc 2013-03-11 14:08:54 -05:00
Timothy Nikkel
2ff296369e Bug 848421. Reftest. 2013-03-06 23:13:14 -06:00
Timothy Nikkel
50e11d2f0a Bug 847850. Test. 2013-03-06 23:13:13 -06:00
Scott Johnson
f76958a4ca Bug 724978: Make nsColumnSetFrame handle absolutely positioned children without crashing. [p=ehsan, r=fantasai] 2013-02-28 19:56:48 -08:00
Matt Woodrow
84c04d1e4c Bug 846144 - Don't optimize backgrounds to an ImageLayer if they have border-radius clipping. r=roc 2013-02-28 21:49:30 +13:00
Andrew Halberstadt
8040c8e55e Bug 839735 - Disable bugs/478811-*.html, 637852-1.html, 331809-1.html for intermittent scrollbar not being drawn on b2g, r=jgriffin, DONTBUILD a=NPOTB 2013-02-27 13:31:13 -05:00
Timothy Nikkel
abf897ca84 Bug 689623. Part 1. The display list we build for image visibility means we hit the same assertions as we hit when building the painting display list. So adjust some reftest assert counts upwards. r=mats 2013-02-24 18:59:20 -06:00
Kyle Huey
a2581f4219 Bug 816498: Fix some things about background attribute handling that are still broken. r=bz
As filed the bug is about table backgrounds failing to print.  The root cause of this is that we load images from the original document, because print/print-preview documents (which are static clones of the original) cannot do loads.  This results in an entry in the css::ImageValue's request table under the original document, but entry under the printing document.  Then we do layout, try to get the request, and fail, and nothing is displayed.  The solution to this is to force us to clone the request for the printing document if we're loading off the original document.  I manually verified that this does not regress Bug 560235.

While writing a test for this, we discovered another problem.  The reftest print code does not actually use the printing codepath.  Instead it takes an existing document, tears down its presshell, and creates a new presshell for printing.  Fixing the above bug did not make the reftest print test pass because ImageLoader does not deal properly with presshell destruction/recreation.  It assumes that when the presshell is destroyed all of the css::ImageValues can be cleared of their entries for that document.  This fails for ImageValues for mapped attributes because they are held alive by the content tree.  When a new presshell for this document is then created there is no entry for the document and thus no image request to paint.  The fix for this is to only clear the frame to request and request to frame mapping hashtables and not to clear the document's entry on the ImageValue when the presshell is destroyed.  The destruction of the ImageLoader (which is held from a strong reference on the document) is when those entries are removed.  The final change is to change css::ImageValue's hashtable from holding a strong reference to the keys (which are documents) to holding raw pointer references.  This is safe because we clear the relevant entry when the corresponding ImageLoader dies, and is needed to prevent a reference cycle that was being broken by presshell destruction.

--HG--
rename : layout/reftests/backgrounds/table-background-ref.html => layout/reftests/backgrounds/table-background-print-ref.html
rename : layout/reftests/backgrounds/table-background.html => layout/reftests/backgrounds/table-background-print.html
2013-02-23 06:59:43 -08:00
Simon Montagu
d72bc3351d Tests for bug 801681, r=tests 2013-02-14 08:20:26 +02:00
Ed Morley
c448dbaf2c Bug 655877 - Remove WinXP fails-if for the now passing 580863-1.html; r=me
CLOSED TREE
2013-02-11 11:33:32 +00:00
Bobby Holley
c1612afa13 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Matt Woodrow
ce93190e34 Bug 836844 - Pass the right clip area for canvas frames. r=roc 2013-02-04 07:11:49 -05:00