Commit Graph

77542 Commits

Author SHA1 Message Date
Ehsan Akhgari
db5b1a6582 Bug 659828 - Part 3: Adjust the break-after-caption reftests to work correctly again now that the table top margin gets collapsed with its parent top margin; r=roc 2011-09-27 18:01:46 -04:00
Ehsan Akhgari
9bfcb2d100 Bug 659828 - Part 2: Avoid calling nsIFrame::GetType needlessly in nsHTMLReflowState; r=roc 2011-06-10 19:02:14 -04:00
Ehsan Akhgari
bdc5c5427c Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
Outer table frames act as CSS2.1 table wrapper boxes.  We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width.  This breaks horizontal positioning of
absolutely positioned kids of a table frame.

The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame.  This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.

In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that.  Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too.  nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.

Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides.  This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame.  The
427129-table-caption reftest has been modified to match this new behavior.

Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari
05594ddcf6 Bug 656130 - Part 2: More crashtests; r=roc 2011-06-28 17:10:29 -04:00
Ehsan Akhgari
82c43f09d4 Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky 2011-05-11 19:53:34 -04:00
Ehsan Akhgari
c15d8c0733 Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky 2011-05-12 00:04:30 -04:00
Ehsan Akhgari
ef73506d4d Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc 2011-05-09 20:36:10 -04:00
Ehsan Akhgari
d883faee5e Bug 10209 - Part 4: Mark the reftest for bug 637597 as random, because the bug was never fixed originally; r=roc 2011-09-29 13:30:56 -04:00
Ehsan Akhgari
4ce993a366 Bug 10209 - Part 3: Adjust the assertion count on the test case for bug 348729; r=roc 2011-09-26 18:42:07 -04:00
Ehsan Akhgari
b273fc68d8 Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Ehsan Akhgari
47d44b9dc3 Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc 2011-04-27 19:41:43 -04:00
Ehsan Akhgari
733944c1e0 Bug 690060 - Make runreftests.py append "crashtest.list" to the test path when only a crashtest directory is specified; r=ted
--HG--
extra : rebase_source : ea0d2b03cfcf7547d6c8acbc360e47595eb90a66
2011-09-29 10:58:13 -04:00
Rafael Ávila de Espíndola
12cd3efcc7 Bug 690235 - Fix Mac builds with clang caused by bug 666414 not catching the stupidness of gcc4.2 (see bug 689397); r=ehsan
--HG--
extra : rebase_source : ac24c47e2885476593985c88a503e4f075602582
2011-09-29 10:56:57 -04:00
Mark Finkle
7936c492ce Bug 687265 - Front-end support for flash on Android Fennec [r=mbrubeck r=blassey]
--HG--
extra : rebase_source : 39d5bb6c6d4d3165dcb10bded80a2aa9da7cb98e
2011-09-29 10:44:03 -04:00
Robert Longson
69bd857cce Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Felix Fung
fde9bb7c52 Bug 674012 - Remove checks for HAVE_GCC3_ABI. r=glandium
--HG--
extra : rebase_source : 934fd93abd8678d0215ee8296995cb5b296288bf
2011-09-28 11:32:39 -07:00
Brian R. Bondy
ca4fd9638e Bug 366347 - Default collate option sometimes off for printers that support it. r=bsmedberg
--HG--
extra : rebase_source : 13ab1afb123a4282fd419e5f7f1dd74ee6b9f4b8
2011-09-29 09:21:32 -04:00
Teemu Mannermaa
36a83c702a Bug 689157 - Fix CC variables used in "cl -showIncludes" detection logic. r=khuey
--HG--
extra : rebase_source : 65e060c81a59c41912857e730059f2104c6f6068
2011-09-29 15:20:51 +02:00
Brian R. Bondy
0ffa1961e1 Bug 688882 - Investigate stack buffer overflow in nsLocalFile::EnsureShortPath. r=bsmedberg
--HG--
extra : rebase_source : c872ba5d7b05bd611ee5926e6b3f9e7432db913e
2011-09-29 09:06:27 -04:00
Makoto Kato
dca8c29990 Bug 689288 - xpcshell\tests\js\src\xpconnect\tests\unit\test_attributes.js and test_params.js are perma-orange on Win64. r=bsmedberg
--HG--
extra : rebase_source : dec80ee84264081839bbf92870b66b696d9e3e76
2011-09-29 18:43:50 +09:00
Jonathan Kew
b85f9c8b4c bug 688779 followup - re-enable reftests for hyphenation (en-US only) on android.
--HG--
extra : rebase_source : 3430e302d5bd75155f7d0c3742ea6cbb785f26ef
2011-09-29 10:40:28 +01:00
Jonathan Kew
92bdda92ff bug 688779 - restore en-US hyphenation to the Android product. r=dougt
--HG--
extra : rebase_source : 1d6129ccfa2bc8f9d4e2777be28d3365eeb481e0
2011-09-29 10:37:56 +01:00
Kyle Huey
9c2d4dcffd Merge backout. 2011-09-29 15:19:28 -04:00
Kyle Huey
ecd0d5c30c Back out the code changes from Bug 687332 until we figure out a compat story. 2011-09-29 15:18:58 -04:00
Kyle Huey
3a94d21f88 Bug 687332: Fix OpenWebApps. r=fabrice 2011-09-29 12:06:36 -04:00
Kyle Huey
29337fc0ec Bug 687332: Fix test pilot. r=me 2011-09-29 12:06:36 -04:00
Kyle Huey
4a12a2b870 Bug 687332: Fix up LocaleRepository.jsm. r=mbrubeck 2011-09-29 12:06:36 -04:00
Kyle Huey
051b464a36 Bug 687332: Fix up CrashSubmit.jsm. r=ted 2011-09-29 12:06:36 -04:00
Kyle Huey
d822544c8a Bug 687332: Fix up update tests. 2011-09-29 12:06:36 -04:00
Kyle Huey
2b08b16ff6 Bug 687332: Fix up telemetry. 2011-09-29 12:06:36 -04:00
Kyle Huey
ad4e94ee90 Bug 687332: Fix toolkit/. r=rs 2011-09-29 12:06:36 -04:00
Kyle Huey
3982be1396 Bug 687332: Fix up geolocation. r=dougt 2011-09-29 12:06:36 -04:00
Kyle Huey
f17eb89d4d Bug 687332: Fix an opt-only linking error by including the header that has the body of the inline function in question. 2011-09-29 12:06:36 -04:00
Kyle Huey
0b7e698fb5 Bug 688417: Test for Bug 505915 expects setting xhr.onreadystatechange to unwrap the object passed in. r=mrbkap 2011-09-29 12:06:36 -04:00
Kyle Huey
84a3c222e7 Bug 688776: test_doublewrappedcompartments.xul relies on XHR event listener being a wrapped JSObject. r=mrbkap 2011-09-29 12:06:36 -04:00
Kyle Huey
f0fc80e42f Bug 687332: Move inline event listeners on EventSource to the event listener manager. r=smaug 2011-09-29 12:06:35 -04:00
Kyle Huey
0b5c883353 Bug 688416: Test for Bug 502959 relies on XHR event listener being an nsIDOMEventListener. r=mrbkap 2011-09-29 12:06:35 -04:00
Kyle Huey
f6fd1c97ee Bug 687332: Move inline event listeners on XHR to the event listener manager. r=smaug 2011-09-29 12:06:35 -04:00
Kyle Huey
036ba0bf27 Bug 575917: Grab some more permissions in crashinject.exe. r=ted 2011-09-29 12:06:35 -04:00
Kyle Huey
1eecbf1d0e Bug 687332: Move inline event listeners on FileReader to the event listener manager. r=smaug 2011-09-29 12:06:35 -04:00
Kyle Huey
e60509c0df Bug 686941: Make nsIDocument::mCachedRootElement a weak pointer. r=smaug 2011-09-29 12:06:35 -04:00
Kyle Huey
4152a72565 Bug 657994: Factor out common bits of FileReader. r=smaug 2011-09-29 12:06:35 -04:00
Kyle Huey
f4fb046f58 Bug 685666: Eliminate test/mozmill/Makefile.in's dependency on racy gmake-only target-specific-variable propagation behavior. r=ted f=jhammel 2011-09-29 12:06:20 -04:00
Benoit Jacob
93ca6f5084 Bug 684882 - on Macs with Intel GPUs, limit cube map size to 512 - r=jrmuizel 2011-09-29 10:13:49 -04:00
Benoit Jacob
b79d3d9d20 Bug 684882 - back out db67bdba5ca8 2011-09-29 10:13:49 -04:00
Benoit Jacob
50ebdccf9f Bug 684882 - back out b4fd4fd0dc3f 2011-09-29 10:13:49 -04:00
Michael Wu
48a76e1463 Bug 690297 - Fix handling of boolean prefs in gfx code after s/PRBool/bool/, r=jfkthame 2011-09-29 03:59:43 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Michael Wu
e33d8f86f3 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2011-09-28 22:46:19 -07:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00