Commit Graph

1441 Commits

Author SHA1 Message Date
Robert O'Callahan
0202dcc4d5 Bug 875060. Make display:-moz-stack/-moz-inline-stack elements which are overflow:hidden clip all their descendants, including those for which it is not the containing block. r=mats 2013-06-17 17:16:27 +12:00
Matt Woodrow
b466daf5b0 Bug 876626 - Always redraw the entire reftest canvas for async animations tests. r=roc 2013-06-18 19:59:46 +12:00
Nicholas Cameron
287b02fbf4 Bug 849399. Change reftest 598726-1 to only transition on transform; r=dbaron 2013-06-18 14:18:55 +12:00
Karl Tomlinson
a4bef8e7d3 partially re-expand assertion count range for "non-root reflow roots must not have scrollable overflow" assertion that doesn't always trigger b=810274
range reduced in 9419b209de19
2013-06-06 16:58:30 +12:00
Karl Tomlinson
4ff9f7630b 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
a56260120f 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
7c1c2a7c56 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
a551f00d51 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
994b787c21 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
2c3afd1543 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
e2d85efce5 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
d64c14562e 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
11be8dcfb7 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
76c290cd25 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
2b67d3b55b 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
707ce92bc8 No bug - Fix up reftest list order. DONTBUILD 2013-05-22 09:48:56 -04:00
Sebastian Wong
7053ccd2a5 Bug 563884 - Add styling for the link tag and add reftests. r=bz 2013-05-22 07:58:09 -04:00
L. David Baron
8eed96b5d6 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
f29781ff66 Bug 869694 - Mark another test as random on Android. 2013-05-10 09:17:12 -04:00
Timothy Nikkel
457b71eb78 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
abcfe41b3e Bug 869694 - Enable layout/reftests/bugs on Android. r=tn 2013-05-09 13:42:13 -04:00
Bobby Holley
7a055e0974 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
211c5db345 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
15b6f78be0 Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
a213f7964d Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
c51a7b61fd Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Mats Palmgren
56fbd10567 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
0d7b3992fc 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
4914177dc1 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
e7b3448f80 Bug 860370 - Undo functionality change from bug 848973. r=roc 2013-04-11 18:40:12 +10:00
Robert O'Callahan
a7bc9f4f3c 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
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
Robert O'Callahan
6709e4eafc 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
ad0dde7ba7 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
9fa1540293 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
3db9895bc1 Backout rev 85397e0a6dba - wrong patch. r=me 2013-03-23 21:45:53 +01:00
Mats Palmgren
1f8322a617 Bug 851847 - Optimize nsBlockFrame::StealFrame when removing a normal flow child. r=bzbarsky 2013-03-23 21:10:34 +01:00
Ryan VanderMeulen
ad2c69e858 Bug 853273 - Annotate 456219-1a/1b.html as well. 2013-03-21 13:23:27 -04:00
Ryan VanderMeulen
421a2f6a03 Bug 853273 - Add missing space. 2013-03-20 22:24:33 -04:00
Ryan VanderMeulen
8a53315a2f Bug 853273 - Mark test as fuzzy on Windows 7. 2013-03-20 21:26:01 -04:00
Jim Mathies
0fb9f4975b Bug 850457 - Fix for reftest 759036-1.html Win8 failure. r=mbrubeck 2013-03-18 14:14:41 -05:00
Daniel Holbert
019596e0ab 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
264888e224 Bug 849771 - adjust annotations in layout/reftests/bugs for Win8. r=roc 2013-03-11 14:08:54 -05:00
Timothy Nikkel
1ffc261aeb Bug 848421. Reftest. 2013-03-06 23:13:14 -06:00
Timothy Nikkel
7de6e3b759 Bug 847850. Test. 2013-03-06 23:13:13 -06:00
Scott Johnson
73cf89a288 Bug 724978: Make nsColumnSetFrame handle absolutely positioned children without crashing. [p=ehsan, r=fantasai] 2013-02-28 19:56:48 -08:00
Matt Woodrow
1de129a04c 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
ff9c9f4a53 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
d527e34e8c 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
c28e572034 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