Commit Graph

11030 Commits

Author SHA1 Message Date
Mats Palmgren
2a1e806d9f Bug 653649 - New way of getting child lists from frames. (part 5/5) r=roc
Add a kPrincipalList alias in nsCSSFrameConstructor.cpp to avoid
the nsIFrame:: prefix in numerous places.
2011-08-24 22:54:30 +02:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
f06792a6ef Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren
90d0315f85 Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes.  Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Mats Palmgren
9f9e29b33d Bug 653649 - New way of getting child lists from frames. (part 1/5) r=roc sr=dbaron
Add types to represent identifiers for frame child lists, sets of those
identifiers, and iterators over the child lists of a frame.
Define a enumeration type FrameChildListID representing all of the types
of child lists that frames have (each with a unique bit), a class
FrameChildListIDs for representing any set of FrameChildListID, and a
class FrameChildListIterator for iterating over all of the child lists
of a frame.
2011-08-24 22:54:29 +02:00
Boris Zbarsky
eb5b744132 Bug 659350 part 4. Change some tests that depend on the old behavior where inline event handlers hang directly off the JSObject to not depend on it. r=smaug 2011-08-24 15:49:25 -04:00
Josh Matthews
610775bbe2 Bug 679791 - Make nsIFrame::IsFocusable use heuristics that don't depend on the graphical display of scrollbars. r=roc 2011-08-17 13:55:57 -04:00
Benjamin Stover
b8dce1ee99 Bug 680126 Use ColorLayers for presshell painting and correct painting area r=roc 2011-08-23 15:59:43 -07:00
Boris Zbarsky
af6a97a713 Bug 680786. nsImageFrame::OnStartContainer should not assume that its intrinsic size has changed. r=roc 2011-08-23 17:03:02 -04:00
L. David Baron
049969c5e2 Add missing </title> that was causing these tests to be commented out. (Bug 681403) 2011-08-23 15:42:11 -04:00
arno renevier
c6489843bc bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Neil Deakin
3013e94888 Bug 533460 - Allow custom panels/windows to be used as drag/drop feedback images. r=karlt,josh,roc 2011-04-25 18:37:20 -07:00
Jonathan Kew
addae4eaec bug 680037 - check calls for failure before using the results in nsFontFaceLoader::LoadTimerCallback. r=jdaggett 2011-08-23 13:33:51 +01:00
Jonathan Kew
4bc55811dc bug 637179 - use PRUint32 for character/cluster indexes to avoid build warnings. r=jwatt 2011-08-23 13:31:56 +01:00
Marco Bonardo
20cfe9e21b Backout changeset 1720b28e3115 (Bug 678420) since it caused an exponential increase of Win M4 failures. 2011-08-23 11:05:14 +02:00
Michael Ventnor
8af7fc4898 Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron 2011-08-23 14:18:22 +10:00
Ehsan Akhgari
91849b5966 Backout changeset e57b659ee5dd (bug 678842) because the test is wrong, and it should never pass 2011-08-22 22:27:47 -04:00
Brian Birtles
b1f72bbd99 Bug 562815 part 6 - Check if property is cached in rule tree; r=dbaron
--HG--
extra : rebase_source : 9a7d2388bd00e2c8177cebc9d2a1339626cdd3ab
2011-08-23 08:34:12 +09:00
Brian Birtles
cc60dabff6 Bug 562815 part 5 - Split StyleWithDeclarationAdded; r=dbaron
--HG--
extra : rebase_source : 25e3f4591866e1438eca99f83c6ca3597508344f
2011-08-23 08:34:07 +09:00
arno renevier
7811279441 bug 678842: remember spell check setting per site; r=ehsan 2011-08-22 19:25:29 -04:00
Mounir Lamouri
7867b8d495 Bug 680747 - Set a min and pref width to nsProgressFrame. r=dbaron 2011-08-23 00:30:33 +02:00
Jonathan Griffin
3b4736a2c7 Bug 678420 - target div during back nav, r=ehsan, a=testonly 2011-08-22 11:17:37 -07:00
Mounir Lamouri
385690f551 Bug 680518 - Progress element should invalidate itself when the bar size changes. r=roc 2011-08-22 15:00:24 +02:00
Nicholas Nethercote
5759d6b971 Bug 680827 - Undo nsPresArena workaround from bug 678422. r=roc. 2011-08-21 23:34:11 -07:00
Ed Morley
ffbfafd053 Merge mozilla-central and mozilla-inbound 2011-08-21 19:14:08 +01:00
L. David Baron
3bee9b4196 Remove quirks mode check that should have been removed when standards-mode and quirks-mode text-decorations were merged in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 2) r=roc
This code is a little bit sketchy, but given that text-decoration
drawing is the same across modes we shouldn't have a quirks mode check
here (though there's a decent argument to be made that we shouldn't be
checking text decorations at all).
2011-08-20 21:35:56 -04:00
L. David Baron
16759869c5 Remove overflow handling that should have been removed along with the standards-mode text-shadow of text-decoration handling in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 1) r=roc
Since this affects only the *visual* overflow and not the *scrollable*
overflow, this patch should result in no behavior changes, since the
necessary visual overflow is added in
nsTextFrame::UnionAdditionalOverflow (since the text frame now draws the
shadows of text decorations, just like it draws text decorations
themselves).
2011-08-20 21:35:56 -04:00
L. David Baron
f9670976cb Make tests for bug 403524 use local images rather than http: ones. 2011-08-20 21:35:56 -04:00
Mats Palmgren
e932421b76 Bug 677582 - Tests for CSS3 text-overflow: <left> <right>. r=roc 2011-08-20 22:41:39 +02:00
Mats Palmgren
81f15bf0c6 Bug 677582 - Implement CSS3 text-overflow: <left> <right> in layout. r=roc 2011-08-20 22:41:39 +02:00
Mats Palmgren
5862475346 Bug 677582 - Implement CSS3 text-overflow: <left> <right> in the style system. r=dbaron 2011-08-20 22:41:39 +02:00
Robert Longson
04b2e2e4e4 Bug 680035 - Filter elements do not react to color-interpolation-filters attribute changes. r=roc
--HG--
rename : layout/reftests/svg/dynamic-filter-contents-01.svg => layout/reftests/svg/dynamic-filter-contents-01a.svg
2011-08-20 14:02:41 +01:00
Bernd
fc4e7dd856 bug 211636 replace shared table attribute mapping by a more rule conforming mapping r=dbaron 2011-08-20 12:18:50 +02:00
Jonathan Griffin
06ec0209df Bug 680164 - Comment out failing subtests of test_reftests_with_caret.html which are being masked by bug 678420. r=ehsan, a=testonly
--HG--
extra : rebase_source : 9df9ea32d3213acd2b7ddc461df20da79167c40a
2011-08-19 15:56:25 -07:00
Marco Bonardo
9f05b4a35e Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-19 11:39:42 +02:00
Matt Brubeck
25e22c7f78 Back out 6409a44ecb17 (bug 677173) because of test failures. 2011-08-18 19:04:06 -07:00
Matt Woodrow
13f1139305 Bug 677173 - Remove 3D transform IDL properties until it is enabled by default. r=dbaron 2011-08-19 12:43:12 +12:00
Kyle Huey
ff65f150f8 Merge b-s to m-c. 2011-08-18 16:03:20 -04:00
Matt Brubeck
505315087e Merge last green changeset from mozilla-central to mozilla-inbound 2011-08-19 16:26:25 -07:00
L. David Baron
016d13809b Annotate reftest for bug 442228 as failing on Android. 2011-08-19 16:19:13 -07:00
L. David Baron
50d5aa5dfe Actually run the reftests in layout/xul/base/reftest/ . 2011-08-19 15:02:49 -07:00
L. David Baron
5d84586794 Add reftest for bug 677091.
This tests a situation similar to the one in the preference dialog in
bug 677091, though in this case the bug is exhibited by the label
overflowing its container (an hbox with a background) rather than
wrapping.
2011-08-19 15:02:49 -07:00
Kyle Huey
73d0fb8be1 Bug 555482: Allow resetting resizers by double-clicking on the resizer. r=Enn 2011-08-18 10:25:36 -04:00
Kyle Huey
85ee29aad8 Merge mozilla-inbound to m-c to catch the 8 train. 2011-08-16 06:55:39 -04:00
Scott Johnson
933fb53b10 Bug 673984 - Fix crash in nsImageLoader::DoRedraw by clearing image loaders even on ignore of frame destruction callbacks. [r=dbaron,dholbert] 2011-08-15 11:44:15 -07:00
Robert Longson
f7e6cfcfc3 Bug 678250 - Filter bounds rounded before scaling so small filters may be too large. r=roc 2011-08-15 19:41:57 +01:00
Phil Ringnalda
fa03efb938 Bug 590415 - Mark 368020-1.html as random on WinXP, since we've clearly made it so 2011-08-14 14:47:36 -07:00
Daniel Holbert
4b973d587a Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame 2011-08-14 10:39:56 -07:00
L. David Baron
22f0790155 Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness).  Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
L. David Baron
e9801c3364 Remove nsPresContext::GetMetricsFor, which was always a bad idea since it uses the generally-incorrect language-from-charset. (Bug 678671, patch 4) r=roc
This fixes the one remaining caller (the debugging code to visually
display reflow counts!) to just pass a null language, since it's just
debugging code.
2011-08-14 10:08:04 -07:00