Commit Graph

11574 Commits

Author SHA1 Message Date
L. David Baron
d2104b0877 Create nsPresShell.h with the parts of nsPresShell.cpp that should be in a header. (Bug 685786) r=roc
Note:  This adds STACK_ARENA_ to the beginning of the names of a few macros.

--HG--
rename : layout/base/nsPresShell.cpp => layout/base/nsPresShell.h
2011-09-09 12:50:21 -07:00
L. David Baron
fe83f8c9e2 Add comment pointing out reason for distinguishing anonymous blocks for positioned inlines. No bug. 2011-09-09 12:50:20 -07:00
Masayuki Nakano
d9869bfccf Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Masayuki Nakano
e481b14784 Bug 669028 part.12 layout/xul should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Masayuki Nakano
f15fd02ef4 Bug 669028 part.11 layout/style should use mozilla;LookAndFeel rather than nsILookAndFeel r=dbaron 2011-09-09 11:27:12 +09:00
Daniel Holbert
67b38c4820 Bug 683040 followup: Extra reftests for animateMotion & indefinite to-animation. r=birtles
--HG--
rename : layout/reftests/svg/smil/anim-indefinite-to-1.svg => layout/reftests/svg/smil/motion/animateMotion-indefinite-to-1.svg
rename : layout/reftests/svg/smil/anim-indefinite-to-2.svg => layout/reftests/svg/smil/motion/animateMotion-indefinite-to-2.svg
2011-09-06 16:50:57 -07:00
Daniel Holbert
8976b9c599 Bug 683040: Override new method IsToAnimation instead of old method TreatSingleValueAsStatic, to handle "to animation" for animateMotion. r=birtles 2011-09-06 16:50:49 -07:00
Timothy Nikkel
a14c147d1b Back out a38f82d29d97 (bug 652914) for causing reftest failures. 2011-09-06 15:19:31 -05:00
Timothy Nikkel
3dbf2aacf9 Bug 652914. If we are not printing background colors then don't even print the default background color. r=roc 2011-09-06 13:46:15 -05:00
Robert Longson
ef3c437b57 Bug 684790 - Add crisp-edges to anim-css-strokewidth-1 tests to prevent intermittent Android failures. r=test-only 2011-09-06 19:06:47 +01:00
Ms2ger
0038e2e573 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Mats Palmgren
b94c2b063e Bug 684574 - InternalInvalidateThebesLayersInSubtree should recurse on the subdocument root frame. r=roc 2011-09-06 14:56:45 +02:00
Ehsan Akhgari
65284bfed6 Bug 682041 followup - Add the missing return statement; r=need-to-learn-C++ 2011-09-08 20:08:40 -04:00
Ehsan Akhgari
f09ee1df97 Bug 682041 - Don't destroy the select drop-down widget right away, instead wait to hit the event loop once, in case we're being called by the widget code itself somewhere down the stack; r=roc 2011-09-08 11:35:33 -04:00
Ed Morley
764a03df42 Merge mozilla-central to mozilla-inbound 2011-09-01 08:49:23 +01:00
Ed Morley
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Daniel Holbert
5d075a7a42 Bug 683702: In nsFrame teardown, clear the reference to me on my prev IB sibling (as well as on my next IB sibling). r=roc 2011-09-01 00:10:22 -07:00
Matt Woodrow
2d0f18b12d Bug 677173 - Remove 3D transforms IDL properties because they are disabled. r=dbaron 2011-09-01 11:35:10 +12:00
Kyle Huey
ee99643abd Merge again ... 2011-08-31 11:00:13 -04:00
Mounir Lamouri
891f797e17 Bug 667183 - Create a static nsGlobalWindow::Init method to do one-shot initializations currently in nsGlobalWindow ctor. r=jst 2011-08-31 16:54:39 +02:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Kyle Huey
72315e08d4 Bug 683149: Break out layout memory reporters on a per-shell basis. r=bz 2011-08-31 06:38:03 -04:00
Matt Woodrow
c7faf71265 Bug 505115 - Part 17 - Add style tests for the new transform functions, and transitions. r=dbaron 2011-08-31 14:03:47 +12:00
Matt Woodrow
d8e5527702 Bug 505115 - Part 13 - Add basic reftests for 3d transforms. r=roc 2011-08-31 14:03:43 +12:00
Matt Brubeck
1ac33bf7e2 Back out 0432fe833c93 (bug 667183) because of build bustage 2011-08-30 17:11:34 -07:00
Mounir Lamouri
39eaa3695d Bug 667183 - Create a static nsGlobalWindow::Init method to do one-shot initializations currently in nsGlobalWindow ctor. r=jst 2011-08-31 01:36:07 +02:00
Michael Wu
990540dee3 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Frédéric Wang
96fa6fa0da Bug 669836 - Make reftest-analyzer.xhtml validate as XHTML5. r=dbaron 2011-07-15 11:08:00 -07:00
Ed Morley
2e49ad6665 Merge mozilla-central to mozilla-inbound 2011-08-30 14:28:34 +01:00
Ed Morley
974a0ec8a8 Merge last green (and non Ts-regressing) changeset from m-i to m-c 2011-08-30 12:09:51 +01:00
Josh Aas
74ef464fac Merge backout of changeset 33031c875984, bug 90268. r=josh 2011-08-30 02:11:57 -04:00
Josh Aas
32d0be0cd8 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Phil Ringnalda
a947adb0a9 Bug 634759 followup followup, remove the bug numbers that explain removed annotations DONTBUILD 2011-08-29 19:32:13 -07:00
Joshua Cranmer
f2c3c84e57 Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras 2011-08-29 17:02:22 -07:00
Benjamin Stover
5180a1c2e4 Bug 634759 Followup: Mark unexpected passes as expected r=me 2011-08-29 13:42:35 -07:00
Rob Campbell
b9acef0ccf merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Josh Aas
4ab4397277 Bug 90268: Make content own plugin instances instead of frames. Allows display:none instances and re-parenting instances without stopping them. r=roc 2011-08-29 03:09:22 -04:00
Ed Morley
b105110b75 Merge tips of mozilla-inbound and mozilla-central 2011-08-28 21:20:46 +01:00
Peter Van der Beken
8f948c6212 Fix for bug 682539 (Add nsTreeColumn::mNext to CC). r=smaug. 2011-08-28 16:07:26 +02:00
Kyle Huey
2eb5f2b441 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Marco Bonardo
40c1e206de Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
Matt Woodrow
fd0bfbd9fd Bug 681858 - Improve performance of gfx3DMatrix multiplication by reverting to 2d operations where possible. r=derf 2011-08-27 12:07:05 +12:00
Matt Woodrow
f9d4b0bc4e Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf 2011-08-27 12:06:03 +12:00
Matt Woodrow
ec5a391004 Bug 505115 - Part 14b - Layout support for -moz-transform-style. r=roc 2011-08-27 12:01:46 +12:00
Matt Woodrow
312e8b4031 Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron 2011-08-27 12:01:06 +12:00
Matt Brubeck
94680ab6db Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-26 09:17:54 -07:00
Ed Morley
a31b5adc78 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Ms2ger
b12351fbda Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Rob Campbell
f6795ab075 merge m-c to fx-team 2011-08-26 11:38:59 -03:00
Nicholas Nethercote
39080ab9ef Bug 681161 - Shrink nsCSSCompressedDataBlock on 64-bit platforms. r=dbaron. 2011-08-25 23:05:55 -07:00
Boris Zbarsky
7d2d7a386f Bug 682051. Optimize textframe to handle horizontal resizes of large runs of text better. r=roc
This change does two things:

1) Makes sure that we don't clear textruns when removing continuations due to
an earlier consideration expanding to contain all their text.

2) Remove continuations in chunks to work around the fact that blocks are
really bad at handling single frame removals.
2011-08-25 23:29:24 -04:00
Ed Morley
931f3fdad4 Merge last green changeset on m-i to m-c 2011-08-26 02:17:14 +01:00
Matheus Kerschbaum
7524e143b7 Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Matt Brubeck
fc19fcb962 Back out 14463b9d2d14 and 97d43d93ab55 (Bug 621363 and Bug 676274) because of mochitest-browser-chrome leaks 2011-08-26 15:28:28 -07:00
Marco Castelluccio
1d98c5c4d4 Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug 2011-08-26 20:50:23 +01:00
Joel Maher
14f70709fc Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm,cjones 2011-08-26 15:47:34 -04:00
Joel Maher
43d4ca55ac Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-08-26 15:47:18 -04:00
Mounir Lamouri
7a32b32d47 Bug 675201 - Some debug outputs for intermittent orange investigation. rs=ehsan 2011-08-26 18:57:11 +02:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
944c74ce98 Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
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
Phil Ringnalda
04f58c3af1 Bug 680164 - Disable on Windows the test_reftests_with_caret.html tests that were silently failing, r=ehsan 2011-08-24 08:04:16 -07:00
Mihai Sucan
726b8bb058 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Kyle Huey
85d92f9eda Back out f19404f45022 (Bug 680431) for perma-orange. 2011-08-29 09:02:42 -04:00
Neil Deakin
ae28ef47b9 Bug 680431, test_bug511075.html is calling finish() twice, f-smaug 2011-08-29 07:51:35 -04:00
Robert Longson
759a6077a9 Bug 682685 - Dynamic changes to use elements only work to/from invalid states. r=dholbert 2011-08-29 09:20:29 +01:00
Karl Tomlinson
9778281ea1 reftest for bug 678561
--HG--
extra : transplant_source : %C8%89vp%FA%40%8D/r%3F%91%D1%3Ax%01%C6%7DM%1Ep
2011-08-26 08:49:44 +12:00
Jonathan Griffin
be21706dbd Bug 678420 - target div during back nav, r=ehsan, a=testonly 2011-08-22 11:17:37 -07:00
Robert Longson
2b64f153e3 Bug 682411 - Filters on shapes that have zero width or height assert. r=roc 2011-08-27 15:58:10 +01: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
Mounir Lamouri
ab99a708b4 Backout bug 633627 due to reftest perma-orange. 2011-08-31 20:05:31 +02:00
Benjamin Stover
e5a4bbb275 Bug 633627 Create shadow bitmap in device space r=joe 2011-08-31 09:03:58 -07:00
Mounir Lamouri
4debd61099 Merging mozilla-central to mozilla-inbound. 2011-08-31 17:59:12 +02:00
Daniel Holbert
838de0acbd Bug 665392: Make <animateMotion>'s transform apply on top of the "transform" attribute, instead of the other way around. r=roc 2011-09-15 15:42:55 -07:00
Mark Finkle
2270f57e03 Bug 686637 - Stop extracting hyphenation files from the APK [r=dougt] 2011-09-15 13:43:59 -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
L. David Baron
219025b071 Make nsRuleNode's use of font metrics for ch and ex units pass the correct language. (Bug 678671, patch 3) r=roc
This makes these users (which are exceptions within layout, although
low-level enough that it won't matter for font inflation work) call
through to GetMetricsFor explicitly with the correct language, rather
than using the broken nsPresContext::GetMetricsFor and its
charset-detected language.

This improves the correctness of our behavior for 'ch' and 'ex' CSS
units when the font selection (or defaults) are language-dependent.  It
should also reduce the number of unique sets of font metrics requested
(which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
L. David Baron
0cd491390d Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron
2c717f398d Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Jonathan Hage
0292adecf2 Bug 669713 - Increment the scriptlevel of the over child in <munderover accent=true> when rendered as a supscript; r=karlt 2011-08-14 11:17:22 +02:00
Matt Woodrow
6ed2caca3d Bug 677878 - Round untransformed rects outwards. r=roc 2011-08-16 15:44:22 +12:00
Daniel Holbert
fac97ef7b6 Bug 473236, 2011 edition: remove executable bit from files that don't need it, in /layout. [test-only, file-permissions-only] DONTBUILD 2011-08-15 17:55:02 -07:00
Mats Palmgren
857fdf3c17 Bug 191864 - Range and Selection broken with splitText() and normalize(). 2011-08-16 02:55:22 +02:00
L. David Baron
4deb9f1caa Fix nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to produce correct results when one of the tentative height/width (i.e., the intrinsic height/width) is 0. (Bug 677091) r=roc
When either the intrinsic width or the intrinsic height is 0, the
element does not have an intrinsic ratio, and thus the table that
ComputeAutoSizeWithIntrinsicDimensions is implementing technically
doesn't apply.  However, it can quite straightforwardly produce the
correct results despite that, if we correctly apply the
min/max-width/height properties.
2011-08-17 17:54:59 -07:00
Matt Brubeck
b9d2d21ec3 Bug 674212 - Skip reftest on Android because of timeouts (test-only) 2011-08-17 16:35:35 -07:00
Fabien Cazenave
17c25f96ca Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
Bernd
d39ebba03b bug 675490 - push nonplaced tfoots and mark them as nonrepeating r=bz 2011-08-13 18:37:43 +02:00
Bernd
539f4434ae bug 678447 - prevent splitting of tables inside columnsets during printing r=roc 2011-08-13 18:37:43 +02:00
Jonathan Hage
822cfb4c1d Bug 668204 - Merge nsMathMLmunderFrame and nsMathMLmoverFrame into nsMathMLmunderoverFrame. r=karlt 2011-08-13 17:22:12 +02:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Malini Das
960a7c7495 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Malini Das
0efd71b59a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- harness. r=jmaher, a=test-only 2011-08-12 12:21:35 -04:00
Matt Brubeck
f2cba5adcb Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Boris Zbarsky
9c3c3f2062 Bug 670467. Correctly reresolve style on non-first continuations and non-first parts of {ib} splits even when we're restyling both an ancestor of the element and the element itself. r=dbaron 2011-08-11 23:52:21 -04:00
Nicholas Nethercote
8b205c5633 Bug 678422 - Avoid wasting half of nsPresArena's allocated memory due to clownshoes. r=roc. 2011-08-11 18:53:29 -07:00
Ms2ger
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri
8b3a5c07fb Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Rafael Ávila de Espíndola
9ca4b64c4b Bug 678222 - Fix build with clang and c++0x; r=roc
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Robert O'Callahan
2c93649c0e Bug 386444. Pass the correct current scroll position as the default value to GetCoordAttribute. r=dbaron
--HG--
extra : rebase_source : f0f11de318a050a1121669daaa5056089a5258b7
2011-08-12 10:44:29 +12:00
Kyle Huey
77bcd4d8bb Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Mounir Lamouri
feedccf03c Bug 677506 - Enable the DOM Memory Reporter. r=jst 2011-08-11 00:54:50 +02:00
Oleg Romashin
9ed09830e6 Bug 621228 - Make plugins listening presShell SetActive calls. r=jst 2011-08-18 22:08:38 +02:00
Matheus Kerschbaum
e7cc82ef30 Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz 2011-08-18 12:07:43 +02:00
Markus Stange
076571f0ef Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron 2011-08-18 10:40:27 +02:00
Oleg Romashin
1ceb95b1fb Bug 668698 - Fixed position layers has been broken in 637852 r=stechz 2011-07-28 14:18:00 -04:00
L. David Baron
b646a65f01 Add reftest for bug 676538 (text-decoration offsets on block, child inline, and grandchild inline). 2011-08-10 12:44:17 -07:00
Vitor Menezes
634b38b6b7 Bug 676538: Fix regression that caused text-decorations on inline *child* of block to draw at the offset for the block rather than the inline. r=dbaron
The FrameProperty representing baseline is set when a block defines
text-decorations and has vertically-aligned children, but we were
retrieving it whether the block or the vertically-aligned frame itself
defined the decorations.  As a result, we "undo" the frame offset to get
the baseline from the child in that case.
2011-08-10 12:44:17 -07:00
Josh Matthews
e46409280a Backing out bug 675669, due to its controversial landing. 2011-08-15 20:15:17 -04:00
arno renevier
2485241198 Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
L. David Baron
345ff7596e Media queries spec defines <resolution> values as allowing <number>, not just <integer>. (Bug 677642) r=bzbarsky 2011-08-11 14:25:13 -07:00
Ehsan Akhgari
e48161b8ff Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Josh Matthews
bc4f34b907 Bug 675669 - Ignore paint suppression for hit testing. r=ehsan 2011-08-08 19:05:50 -04:00
Jeff Walden
82a3baf8a6 Add CSS test suite metadata to the vector background-size tests. r=metadata and please DONTBUILD
--HG--
extra : rebase_source : 7cecdb07c565901cb3759f4b2ae09a139bdae262
2011-08-09 13:54:32 -07:00
Chris Jones
02362cc047 Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa 2011-07-06 13:29:27 -04:00
Chris Jones
6c5f00de9a Bug 648484, part D: Allow PuppetWidgets to create D3D10 layer managers (for the time being). r=roc 2011-08-09 12:38:27 -07:00
Chris Jones
a3317162ef Bug 648484, parts 3, 3.1, and 3.2: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc 2011-08-09 12:38:26 -07:00
Chris Jones
a3429c0d75 Bug 648484, part 0: Fix test-ipcbrowser. 2011-08-09 12:38:26 -07:00
Mats Palmgren
66c48bce55 Bug 663375 - When text color is darkened, darken text-decoration color too. r=dbaron 2011-08-09 17:14:36 +02:00
Frédéric Wang
85e373a27c Bug 601436 - mtable 'align' attribute: negative rownumbers are wrongly interpreted. r=roc 2011-08-07 01:29:00 -04:00
David Zbarsky
b849d09dcc Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug 2011-08-07 16:17:00 -04:00
David Zbarsky
8509478d01 Bug 672536 - Merge nsISelection3 into nsISelection r=smaug 2011-08-07 16:18:00 -04:00
Justin Wood
f20a7276c2 Merge from m-c 2011-08-09 06:31:01 -04:00
Jonathan Kew
83fd93ec43 bug 665360 - hold reference to font family from loader. r=jdaggett 2011-08-09 08:51:46 +01:00
Jan Varga
5020b003ce Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Ms2ger
7c8d83cd86 Bug 677101 - Move nsAutoLayoutPhase to its own header; r=tn 2011-08-08 17:14:34 +02:00
Ms2ger
e2080fcb25 Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz 2011-08-08 17:14:33 +02:00
Kyle Huey
b076ca1dd7 Merge m-i to m-c. 2011-08-08 08:18:51 -04:00
Alexander Surkov
89610eda17 Bug 665335 - Don't trigger PresShellActivated when presshell is not activated, r=tbsaunde, roc 2011-08-08 15:57:45 +09:00
Frédéric Wang
71dfe7521a b=557481 Change comments about TeX/Mathematica fonts to STIX/Asana fonts r=karlt
--HG--
extra : transplant_source : %92%3D%40%EE%90%16%21%EE%0F%E2%2C%B9m4%40%F9%AC%D2%3D%B8
2011-08-05 13:06:36 +12:00
Frédéric Wang
72793dfd70 b=669932 munderover: do not add space above/below when the over/under script is empty r=karlt
--HG--
extra : transplant_source : f%2B%7D%0A%8E%3F%3A%F5%B3I%E0%86%5E%99%E1%5D%D9%AEJ%C4
2011-08-05 13:04:43 +12:00
Frédéric Wang
5aba953fa9 b=669932 Add a reftest to verify the equivalence between munderover with empty scripts and the corresponding mover/munder/mrow constructs. r=karlt
--HG--
extra : transplant_source : %98%AE%F4%DA%17%0DP%22%B6%B7%18%EA%82%18%18%B9%9D%12%AC%AD
2011-08-05 13:02:57 +12:00
Frédéric Wang
d3d9a1c981 b=669932 take into account the base child vertical metrics for the computation of the munderover ascent/descent. r=karlt
--HG--
extra : transplant_source : %B7%0DP%06xl%02t%24%AF%2B%EAiM%29%CC%A5%0C%9F%DE
2011-08-05 12:59:12 +12:00
Frédéric Wang
04012253b4 b=669932 munderover: consider underscript vertical metrics during the underscript attachment phase instead of the overscript attachment phase. r=karlt
--HG--
extra : transplant_source : %B6%29%E1%1B%D4%0D%84fV%B9%1F%16%15%3Cu%A4%22%A0%94%F1
2011-08-05 12:57:27 +12:00
Karl Tomlinson
e9936c5c73 work around bug 670053 to enable test_bug665540.html
--HG--
extra : transplant_source : i%28%14%00%1F%A9h%11%3F%DD%26%CF%C2e%11%DF%D8BM%26
2011-08-05 12:47:10 +12:00
Boris Zbarsky
d5c5425937 Bug 645998. Improve the recursion detection in the CSS loader to detect mutual recursion scenarios. r=sicking 2011-08-07 22:23:51 -04:00
Boris Zbarsky
d1fc2911e3 Bug 676174. Remove the unncessary RuleHash_CSMatchEntry and resulting complications from AtomSelector_CSOps. r=dbaron 2011-08-07 22:23:36 -04:00
Jeff Muizelaar
92bd6665b1 Bug 674003. Add reftest for transparent radial gradients. r=joe
This draws a unchanging part of the gradient on to another canvas.

--HG--
extra : rebase_source : 57de827713cac43cf117da1d4dc95a29d0007987
2011-08-05 17:10:09 -04:00
Neil Deakin
cac8593a48 Bug 585069, support ratio scaling for xul images, r=dbaron 2011-08-05 15:24:24 -04:00
Neil Deakin
5cdace403e Bug 524545, popups with large margins appearing offscreen, r=roc 2011-08-05 15:24:24 -04:00
Ehsan Akhgari
71034c52a2 Bug 676643 - Adjust the reftest annotation for selection reftests after bug 674820; r=blassey 2011-08-04 15:53:34 -04:00
Kyle Huey
672b1171d1 Bug 676314: Count RuleHash's mArena in about:memory. r=bz 2011-08-08 08:36:38 -04:00
Kyle Huey
5121836049 Bug 676048: Followup to add more comments. 2011-08-08 08:34:57 -04:00
Justin Lebar
aa17ad67fe Bug 646641 - Part 2: Update SHistory so it understands that SHEntries may share content viewers. r=smaug
--HG--
extra : rebase_source : 431dafff170f2e6c8aa3429d5ec0f444efc53a10
2011-05-13 15:42:36 -04:00
Marco Bonardo
4817019a06 Backout changeset 0c4897315acc (Bug 446569) since it may have caused the m4 permaorange. 2011-08-17 16:45:02 +02:00
Michael Ventnor
a3c3f7a72f Bug 446569 - Implement prefixed CSS3 columns rule r=dbaron 2011-08-17 22:47:43 +10:00
Martijn Wargers
f52fae3f77 Bug 675711 - test_computed_style.html fails partly on Fennec because of lack of scrollbars. r=dbaron, a=test-only 2011-08-04 14:10:27 -04:00
Ehsan Akhgari
473351faa5 Bug 674820 - input/textarea.selectionStart/selectionEnd/selectionDirection should not require the presence of a frame; r=bzbarsky
--HG--
rename : layout/reftests/editor/selection_visibility_after_reframe.html => layout/reftests/editor/selection_visibility_after_reframe-3.html
2011-07-29 17:31:57 -04:00
Matt Woodrow
c296cab4d8 Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron 2011-08-04 14:08:37 +12:00
Honza Bambas
de967ceeda Bug 675616 - Change usage of localhost:8888 to mochi.test:8888 in test_css_cross_domain.html, r=zwol 2011-08-03 23:36:49 +02:00
L. David Baron
7a118daf14 Followup to changeset c9dff8b867f0d74ef23396bcb896696cf9436b08 (bug 403524): test passes on Android now as well (bug 585684 / bug 586748). 2011-08-03 12:48:04 -07:00
Boris Zbarsky
84f2ccaf56 Bug 676057. Get rid of the malloc-happy AttributeSelectorEntry class. r=dbaron 2011-08-03 14:32:32 -04:00
Vitor Menezes
1eb945fbb6 Bug 223764: Inlines inside inlines that draw text-decorations shouldn't alter the baseline. (r=dbaron)
We add a baseline field to nsInlineFrame and modify
nsLineLayout::BeginSpan to take a pointer to a baseline to update. This
also means that nsFirstLetterFrame no longer needs to update its own
baseline, and instead should just pass its own field along.
2011-08-03 11:30:58 -07:00
Vitor Menezes
fec17839e4 Bug 403524: Make textarea not inherit text decorations and correct the failing reftest (r=dbaron)
Originally, this reftest only failed on Windows (see bug 585684).
However, upon making standards mode compliant with CSS2.1, the bug
described in 585684 spread to all platforms, indicating it was actually
a layout bug and not d2d per se.  This patch makes the anonymous div
inside textareas and text inputs inline-blocks so that they ignore
decorations defined on ancestors.
2011-08-03 11:30:58 -07:00
Vitor Menezes
ffab172cd7 Bug 403524: Merging codepaths introduced some reftest failures; we need to fix them (r=dbaron)
It would appear that shadows were expected to render above underlines,
violating the CSS3 spec for text-shadow
(http://dev.w3.org/csswg/css3-text/#text-shadow).  The text-overflow
reftest relied on our previous standards-mode decoration implementation,
which drew strikethroughs after drawing the contents of the box,
regardless of whether there was any text; the reference thus no longer
needs to artificially introduce the decoration.
2011-08-03 11:30:58 -07:00
Vitor Menezes
cf291058cb Bug 403524: Remove the standards-mode text-decoration code and use the quirks-mode code in all modes. r=dbaron 2011-08-03 11:30:58 -07:00
Vitor Menezes
34ffdd3a27 Bug 403524: Draw correct colors for text-decorations on default-color shadows in quirks mode. r=dbaron
Make the quirks mode text-decoration + text-shadow code draw the
decorations for shadows that do not have a specified color using
the same color used for the un-shadowed decorations, which matches
standards mode behavior.  (The color of unspecified-color shadows
is explicitly undefined in the specification.)

This code will (in a later patch on this bug) be used for both
quirks and standards modes.
2011-08-03 11:30:58 -07:00
Vitor Menezes
1be3da1279 Bug 403524: Make quirks-mode text draw order comply with CSS 2.1
Quirks-mode code draws text, and then all decorations. We need to instead draw
underlines, then overlines, -then- text, then line-throughs, as per CSS 2.1.

This involves refactoring nsTextFrame::PaintTextDecorations and
nsTextFrame::DrawText by merging them together, and also updating some
of their callers.
2011-08-03 11:30:58 -07:00
Vitor Menezes
c3e1ce33e1 Fix apparent rounding issues with new text decoration code. (Bug 403524) r=dbaron
Rendering text decorations far away from the frame's baseline seems to
sometimes introduce rounding issues. This patch addresses that by
avoiding snapped-baseline weirdness and using a different argument to
nsTextFrame::PaintTextDecorations in some computations that didn't
really need to use the snapped baseline anyway.
2011-08-03 11:30:58 -07:00
Vitor Menezes
776c5bc61f Only override font properties when in quirks mode. (Bug 403524) r=dbaron
Font tags cause NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL in quirks
mode only, so that standards mode (in which font tags don't cause the
override) can use the same codepath in the near future.
2011-08-03 11:30:58 -07:00
Vitor Menezes
e28c55c2e9 Fix text-decoration positioning in quirks mode and set overflow areas to match. (Bug 403524) r=dbaron
Change the quirks mode text-decoration code (soon to be used for all
modes) to follow CSS 2.1's rules for positioning of decoration lines.
Decorations are now drawn at a constant vertical position established by
the element creating the decoration, and more than one of the same type
(underline, overline, line-through) of decoration are supported on the
same piece of text.

This means that text-decorations can now significantly overflow a text
frame, since the vertical-alignment of the element with text-decoration
may be substantially different from the vertical alignment of the text.
Set overflow areas for text frames with text decorations in
nsLineLayout::RelativePositionFrames since it must happen *after*
vertical alignment is done, and when relative positioning data are
consistent (nsIFrame::GetRelativeOffset matches the offset that has been
applied).
2011-08-03 11:30:58 -07:00
Jesse Ruderman
bb10e298e1 Bug 673770 - Also search overflow lines for aPrevSibling. r=test-only 2011-08-03 17:55:00 +02:00
Mats Palmgren
bde932c043 Bug 673770 - Also search overflow lines for aPrevSibling. r=roc 2011-08-03 17:55:00 +02:00
Marco Bonardo
b92ca56a08 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Masayuki Nakano
1380b10143 Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319) 2011-08-03 12:39:02 +09:00
Matt Woodrow
05f861d628 Bug 505115 - Part 12b - Layout changes to use -moz-perspective-origin. r=roc 2011-08-03 15:04:24 +12:00
Matt Woodrow
f015e13bb5 Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron 2011-08-03 15:04:24 +12:00
Matt Woodrow
62d1425e0b Bug 505115 - Part 11b - Layout changes to use a z component for -moz-transform-origin. r=roc 2011-08-03 15:04:23 +12:00
Matt Woodrow
ab8f7fa56f Bug 505115 - Part 11a - Add nsCSSValueTriplet and optionally read a z component to -moz-transform-origin. r=dbaron 2011-08-03 15:04:23 +12:00
Matt Woodrow
fe4345bd93 Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
7b27325b26 Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
fd49690163 Bug 505115 - Part 8c - Use ray tracing to untransform 2d points on a 3d plane. r=roc 2011-08-03 15:04:21 +12:00
Matt Woodrow
cd05bbfd33 Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc 2011-08-03 15:04:20 +12:00
Matt Woodrow
ada52f1e13 Bug 505115 - Part 6 - Implement the 3d -moz-transform functions. r=dbaron 2011-08-03 15:04:19 +12:00
Matt Brubeck
96deef1828 Bug 669851 - Update reftest annotations for tests that no longer have Android-specific failures 2011-08-02 19:57:42 -07:00
Kyle Huey
4206f2424c Bug 676048: Report RuleCascadeData and substructures to about:memory. r=bz 2011-08-02 16:21:52 -04:00
Kyle Huey
46020de267 Merge b-s to m-c. 2011-08-02 11:34:34 -04:00
Kyle Huey
03cf2fd98c Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz 2011-08-01 14:25:20 -04:00
Kyle Huey
f2a2e3cbf4 Bug 675624: Enumerate style sets in about:memory. r=bz 2011-08-01 14:24:38 -04:00
Michael Wu
cb03114f5c Bug 675485 - Fix PRBool misuses found in a debug build, r=bz,taras 2011-08-01 18:20:52 -07:00
Michael Wu
2bee25de63 Bug 675561 - Calls to GetMetric should pass a pointer to PRInt32, not PRBool, r=roc 2011-08-01 18:20:52 -07:00
Michael Wu
9658b9e0d9 Bug 675556 - Switch from PRPackedBool to PRUint8 in nsILineBreaker, r=roc 2011-08-01 18:20:52 -07:00
Michael Wu
7053ddfa95 Bug 675482 - Misuse of PRBool found by use of ++ or -- operators, r=jst,roc 2011-08-01 18:20:52 -07:00
Henri Sivonen
0176915bb7 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
David Zbarsky
d15acdd08b Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00
Robert Longson
6e1cace098 Bug 672519 - dominant-baseline applied multiple times for tspan. r=dholbert 2011-07-31 19:36:40 +01:00
Paul ADENOT
31687f7735 Bug 577872 - Create WebM versions of Ogg reftests. r=kinetik 2011-07-30 09:18:56 +02:00
Nigel Babu
08eba5f725 Bug 672444 - Remove unused variable 'oldValue' in nsMathMLmpaddedFrame::UpdateValue; r=karlt 2011-07-29 14:38:45 +02:00
Henri Sivonen
147c3287ec Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky. 2011-07-29 14:48:04 +03:00
Marco Bonardo
57d585b73d Bug 674578 - Support resizer[dir="bottomstart"].
r=enn
2011-07-29 11:38:41 +02:00
Marco Bonardo
222b052f63 Bug 674862 - nsResizerFrame may deanchor panels.
r=enn
2011-07-29 11:38:39 +02:00
L. David Baron
be7a42e48c Make hypothetical box calculation consider types that are inline-outside rather than just inline. (Bug 505706) r=bzbarsky
Change the "hypothetical box" calculations that we do for 'auto'-offset
absolutely positioned elements take its inline codepath (using
horizontal position of placeholder, and placing even with the top of the
placeholder's line) rather than its block codepath (using the horizontal
edge of the containing block, and placing below the placeholder's line)
when display types are display-outside:inline types other than
display:inline.
2011-07-28 18:11:51 -07:00
Ms2ger
3409dd8159 Bug 675713 - Annotate crashtest 2011-08-01 21:56:05 +02:00
Boris Zbarsky
5b8493a932 Bug 675246. Make sure generated content that's being replicated doesn't end up with no primary frame. r=roc 2011-08-01 13:43:23 -04:00
arno renevier
7619580585 Bug 674965: simplify .error selectors in viewsource.css r=mrbkap 2011-07-28 14:01:40 -07:00
Ehsan Akhgari
2f51d73796 Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky 2011-07-28 13:51:22 -04:00
Chris Pearce
ac87b851b1 Bug 622059 - Remove randomly video poster-14.html reftest. There's no way to reliably test this! r=kinetik 2011-07-28 09:16:42 +12:00
Blake Kaplan
d8a379a6ee Bug 673094 - Because " and > are weak LTR characters, we need to be more forceful in our attempts to have view-source be LTR. r=ehsan 2011-07-22 12:09:41 -07:00
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Chris Lord
0d59203155 Bug 669851 - Use bilinear image scaling on all ARM devices, even without NEON [r=mbrubeck,jmuizelaar] 2011-07-07 03:08:00 -07:00
Justin Lebar
f12a40a987 Backing out cfea4859f458, 883e581e0849 due to permaorange on moth opt. 2011-08-02 13:23:11 -04:00
Ehsan Akhgari
9ca64e3186 Merge mozilla-central and mozilla-inbound 2011-07-26 14:04:11 -04:00
Ehsan Akhgari
0742b4d4cd Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-26 14:03:34 -04:00
Mats Palmgren
0cfc6eb31b Test text-overflow:ellipsis on table-cell. b=nobug r=test-only 2011-07-26 19:22:47 +02:00
Mats Palmgren
858a1bbfc2 Bug 672810 - ctrl+shift+arrow should extend selection in multiselectable listbox (HTML select). r=bzbarsky 2011-07-26 19:22:47 +02:00
Bernd
5edcc44099 Bug 642088 - Subtract the caption height and vertical margins from the available height before reflowing the inner table frame. r=bzbarsky 2011-07-26 19:22:46 +02:00
Ehsan Akhgari
d7a278f38a Bug 667512 - Do not return a bogus visual frame if we don't have any visual frames in reality; r=smontagu 2011-07-26 09:05:15 -04:00
Michael Wu
706be3a5e8 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Ben Turner
e499e838b2 Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
* * *
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. Add workaround for bug 666963.

--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-17 15:09:13 -04:00
Marco Castelluccio
6e58070f5f Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel 2011-07-25 17:19:37 -05:00
Ehsan Akhgari
cadef9ec48 Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Masayuki Nakano
fd858e2321 Bug 673315 part.1 selection change reason must be MOUSEUP_REASON when dragging for selection finishes normally r=smaug 2011-07-24 23:26:40 +09:00
Robert Longson
f03ce0f8a3 Bug 671892 - Simplify a common filter number conversion pattern. r=dholbert 2011-07-23 09:44:52 +01:00
Matt Woodrow
ce92b3c781 Bug 673572 - Temporarily disable failing test for bug 568683 on mac. r=roc 2011-07-23 10:29:04 +12:00
Matt Woodrow
6366c7e2e7 Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc 2011-07-23 10:28:51 +12:00
Matt Woodrow
f00688318f Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron 2011-07-23 10:28:07 +12:00
Jeff Muizelaar
cecb38843c Bug 672646. Mark the radial gradient test as failing on OS X.
This is filed as bug 673333.
2011-07-21 23:15:24 -04:00
Jeff Muizelaar
49346550bd Bug 672646. D2D: Fix trasparent radial gradients. r=roc
The output merger stage was expecting premultiplied alpha
and we were giving non-premultiplied. Fix by premultiplying
in the shader.

Also adds a reftest for this situation.
2011-07-21 18:40:41 -04:00
Joel Maher
c3a05191bb Bug 666649 - remove enablePrivilege from various places in the harness and chrome tests. r=ted, a=test-only 2011-07-21 16:21:25 -04:00
Joel Maher
17c6b0a950 Bug 666643 - convert snapshotWindow to SpecialPowers. r=ted, a=test-only 2011-07-21 16:21:24 -04:00
Jonathan Kew
37d2e50300 bug 672320 - part 8.2 - reftest for Serbo-Croatian hyphenation. r=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew
900941b4a2 bug 672320 - part 7.2 - reftest for Mongolian hyphenation. r=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew
4cb2ecfab6 bug 672320 - part 6.2 - reftests for German hyphenation. r=smontagu 2011-07-21 20:58:56 +01:00
Marco Bonardo
225034df61 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
arno renevier
5388ac92cf Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Ehsan Akhgari
aa9c0820e7 Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky
This patch fixes two things:
 * The intrinsic state on elements inserted in a contenteditable section when the
   document is in designMode (the nsGenericElement::UpdateEditableState change).
 * The intrinsic state on elements existing in the document when the document first
   enters designMode (the nsHTMLDocument::EditingStateChanged change).

The reftest included tests both cases.
2011-07-20 15:58:25 -04:00
Ehsan Akhgari
08f9ee5a5c Merge backout 2011-07-20 15:49:38 -04:00
Ehsan Akhgari
17ab950e8e Backout volkmar's push for breaking Windows builds 2011-07-20 15:49:16 -04:00
Mounir Lamouri
2e1dfaef9e Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Mounir Lamouri
731f1f7323 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
411d52c1fe Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Geoff Brown
d6da59f671 Bug 672538 - remotereftest.py and runtestsremote.py reference dm_auto before initialized; r=jmaher 2011-07-20 13:02:48 -04:00
Marco Bonardo
2b1797e61b Merge mozilla-central and mozilla-inbound 2011-07-20 15:36:37 +02:00
Marco Bonardo
cc45fb85d1 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-20 15:04:30 +02:00
Jonathan Kew
b64ffe9c8b bug 672320 pt 5 - more hyphenation locale reftests. r=smontagu 2011-07-20 11:15:48 +01:00
Jonathan Kew
0f2ab0d050 bug 672320 pt 3 - reftest for Swedish hyphenation patterns. r=smontagu 2011-07-20 11:15:30 +01:00
Dão Gottwald
dd50273c6a Fix for undefined Ci/Cr/Cu in layout/forms/test/test_bug536567.html 2011-07-20 12:02:00 +02:00
Dão Gottwald
640abb2979 Fix for undefined Cc/Ci/Cr/Cu in test_bug500885.html, test_bug592802.html, test_bug61098.html and test_bug36619.html 2011-07-20 11:51:43 +02:00
Marco Castelluccio
71a9782576 Bug 672172 - Remove nsIDOMWindowUtils_MOZILLA_2_0_BRANCH remnant from test-ipcbrowser-content.js. r=jdm 2011-07-20 10:39:27 +02:00
Jonas Sicking
d4380b0d71 Bug 664061: Remove isindex code from layout. r=dbaron 2011-07-19 17:22:01 -07:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
42346e6d0b Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
3a70fea833 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Mounir Lamouri
5937d63965 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6 Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri
2179f30023 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
79c9d3ee6f Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Martijn Wargers
86a2124fce Bug 578977 - Don't mess with next-in-flows when the reflow status is INLINE_IS_BREAK_BEFORE. r=roc 2011-07-19 14:20:33 +02:00
Mats Palmgren
12d8455b4c Bug 578977 - Don't mess with next-in-flows when the reflow status is INLINE_IS_BREAK_BEFORE. r=roc 2011-07-19 14:20:33 +02:00
Jesse Ruderman
d93810c1a5 Bug 671796 - "ASSERTION: unexpected block frame" with text-overflow, overflow, mathml. r=roc 2011-07-19 14:20:33 +02:00
Mats Palmgren
28fe3cfc4b Bug 671796 - "ASSERTION: unexpected block frame" with text-overflow, overflow, mathml. r=roc 2011-07-19 14:20:32 +02:00