Граф коммитов

30808 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Stover 8679696257 Bug 634759 Followup: Mark unexpected passes as expected r=me 2011-08-29 13:42:35 -07:00
Rob Campbell 3794850963 merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Josh Aas 3b6b37ef98 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 783d490b8c Merge tips of mozilla-inbound and mozilla-central 2011-08-28 21:20:46 +01:00
Peter Van der Beken 9b95098efe Fix for bug 682539 (Add nsTreeColumn::mNext to CC). r=smaug. 2011-08-28 16:07:26 +02:00
Kyle Huey 7b5d330147 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Marco Bonardo 3c6c1791d8 Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
Matt Woodrow 2abdaaea99 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 11c1aac810 Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf 2011-08-27 12:06:03 +12:00
Matt Woodrow 5a40560039 Bug 505115 - Part 14b - Layout support for -moz-transform-style. r=roc 2011-08-27 12:01:46 +12:00
Matt Woodrow b98fe1bd08 Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron 2011-08-27 12:01:06 +12:00
Matt Brubeck 7995ca5fd4 Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-26 09:17:54 -07:00
Ed Morley a2163dc998 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Ms2ger 0b1536d069 Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Rob Campbell 5d657e08b3 merge m-c to fx-team 2011-08-26 11:38:59 -03:00
Nicholas Nethercote 52f911308e Bug 681161 - Shrink nsCSSCompressedDataBlock on 64-bit platforms. r=dbaron. 2011-08-25 23:05:55 -07:00
Boris Zbarsky c4f581155c 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 b53128285b Merge last green changeset on m-i to m-c 2011-08-26 02:17:14 +01:00
Matheus Kerschbaum ca0293b46f Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Matt Brubeck 1fa104a507 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 59b2b657f4 Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug 2011-08-26 20:50:23 +01:00
Joel Maher c880f1da26 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 e6804707c7 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 022bb0058f 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) 40a50219ea Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
Mats Palmgren 2a3ab3078e 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 f1c56f2e22 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 2c56109b0d 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 605a290f3b 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 36202edfbd 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 d189b7ba20 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 e19a54b15e 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 47eca82a8c Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Kyle Huey c1cd337d77 Back out f19404f45022 (Bug 680431) for perma-orange. 2011-08-29 09:02:42 -04:00
Neil Deakin a68212b96b Bug 680431, test_bug511075.html is calling finish() twice, f-smaug 2011-08-29 07:51:35 -04:00
Robert Longson 3accba8dab 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 0920e023d7 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 34dc80301a Bug 678420 - target div during back nav, r=ehsan, a=testonly 2011-08-22 11:17:37 -07:00
Robert Longson cc82e57c1b Bug 682411 - Filters on shapes that have zero width or height assert. r=roc 2011-08-27 15:58:10 +01:00
Josh Matthews 70bf98d8bc 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 6eb3d9db4c Bug 680126 Use ColorLayers for presshell painting and correct painting area r=roc 2011-08-23 15:59:43 -07:00
Boris Zbarsky 4ca385f433 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 866728dd65 Add missing </title> that was causing these tests to be commented out. (Bug 681403) 2011-08-23 15:42:11 -04:00
arno renevier e6a982f07d bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Mounir Lamouri d42641e046 Backout bug 633627 due to reftest perma-orange. 2011-08-31 20:05:31 +02:00
Benjamin Stover 287d94109a Bug 633627 Create shadow bitmap in device space r=joe 2011-08-31 09:03:58 -07:00
Mounir Lamouri a8065cb251 Merging mozilla-central to mozilla-inbound. 2011-08-31 17:59:12 +02:00
Daniel Holbert 1cd9f699e8 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 adf688ddf8 Bug 686637 - Stop extracting hyphenation files from the APK [r=dougt] 2011-09-15 13:43:59 -04:00
Neil Deakin decfc79ff9 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 f8811589bb 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 0d6a349206 bug 637179 - use PRUint32 for character/cluster indexes to avoid build warnings. r=jwatt 2011-08-23 13:31:56 +01:00
Marco Bonardo 592b229e2e 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 0523fe3efe Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron 2011-08-23 14:18:22 +10:00
Ehsan Akhgari cbcdcb0a61 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 3e8804de84 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 74603ec212 Bug 562815 part 5 - Split StyleWithDeclarationAdded; r=dbaron
--HG--
extra : rebase_source : 25e3f4591866e1438eca99f83c6ca3597508344f
2011-08-23 08:34:07 +09:00
arno renevier aba85fca1f bug 678842: remember spell check setting per site; r=ehsan 2011-08-22 19:25:29 -04:00
Mounir Lamouri e46c92e212 Bug 680747 - Set a min and pref width to nsProgressFrame. r=dbaron 2011-08-23 00:30:33 +02:00
Jonathan Griffin aa92067e4e Bug 678420 - target div during back nav, r=ehsan, a=testonly 2011-08-22 11:17:37 -07:00
Mounir Lamouri a875412aee Bug 680518 - Progress element should invalidate itself when the bar size changes. r=roc 2011-08-22 15:00:24 +02:00
Nicholas Nethercote 3ee584edfc Bug 680827 - Undo nsPresArena workaround from bug 678422. r=roc. 2011-08-21 23:34:11 -07:00
Ed Morley 486f037b40 Merge mozilla-central and mozilla-inbound 2011-08-21 19:14:08 +01:00
L. David Baron c70deecad0 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 056a511714 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 c60e7d417d Make tests for bug 403524 use local images rather than http: ones. 2011-08-20 21:35:56 -04:00
Mats Palmgren 539c39d8b4 Bug 677582 - Tests for CSS3 text-overflow: <left> <right>. r=roc 2011-08-20 22:41:39 +02:00
Mats Palmgren d0304072ba Bug 677582 - Implement CSS3 text-overflow: <left> <right> in layout. r=roc 2011-08-20 22:41:39 +02:00
Mats Palmgren beabba5960 Bug 677582 - Implement CSS3 text-overflow: <left> <right> in the style system. r=dbaron 2011-08-20 22:41:39 +02:00
Robert Longson 789bcf6dff 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 baa9781f4a 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 5e179461b3 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 83f600a726 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-19 11:39:42 +02:00
Matt Brubeck 0336b4553c Back out 6409a44ecb17 (bug 677173) because of test failures. 2011-08-18 19:04:06 -07:00
Matt Woodrow ae0c15b0c7 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 e5dc49dea7 Merge b-s to m-c. 2011-08-18 16:03:20 -04:00
Matt Brubeck eb3dcefecf Merge last green changeset from mozilla-central to mozilla-inbound 2011-08-19 16:26:25 -07:00
L. David Baron 0d83f6cb50 Annotate reftest for bug 442228 as failing on Android. 2011-08-19 16:19:13 -07:00
L. David Baron 95d7152dc7 Actually run the reftests in layout/xul/base/reftest/ . 2011-08-19 15:02:49 -07:00
L. David Baron 7a9efed392 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 fa3c2e7eb4 Bug 555482: Allow resetting resizers by double-clicking on the resizer. r=Enn 2011-08-18 10:25:36 -04:00
Kyle Huey b01524d215 Merge mozilla-inbound to m-c to catch the 8 train. 2011-08-16 06:55:39 -04:00
Scott Johnson 83996d7c43 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 06c1893a2d 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 55d1fc18bf 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 af38a5be63 Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame 2011-08-14 10:39:56 -07:00
L. David Baron b3f49b92ba 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 fa63f6d2c9 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 b47daece8e 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 84b8b6bf64 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 d2b6891283 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 d68cbdf102 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 9e21b178aa Bug 677878 - Round untransformed rects outwards. r=roc 2011-08-16 15:44:22 +12:00
Daniel Holbert 66538a572b 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 00f450ae6c Bug 191864 - Range and Selection broken with splitText() and normalize(). 2011-08-16 02:55:22 +02:00
L. David Baron ef98f8f848 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 f96aaa3b4e Bug 674212 - Skip reftest on Android because of timeouts (test-only) 2011-08-17 16:35:35 -07:00
Fabien Cazenave 730fe59635 Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
Bernd 7aa1042321 bug 675490 - push nonplaced tfoots and mark them as nonrepeating r=bz 2011-08-13 18:37:43 +02:00
Bernd d20e85e464 bug 678447 - prevent splitting of tables inside columnsets during printing r=roc 2011-08-13 18:37:43 +02:00
Jonathan Hage c9d5ac8edc Bug 668204 - Merge nsMathMLmunderFrame and nsMathMLmoverFrame into nsMathMLmunderoverFrame. r=karlt 2011-08-13 17:22:12 +02:00
Ms2ger f1ce0d69e4 Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Malini Das 132054c82e 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 c20b68638f 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 91a27b5ddc 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 ea71db787e 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 60cd440a07 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 981b18c20b Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Boris Zbarsky e4fa979c53 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 4947a42a40 Bug 678422 - Avoid wasting half of nsPresArena's allocated memory due to clownshoes. r=roc. 2011-08-11 18:53:29 -07:00
Ms2ger 3fea5b3901 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger 4ca9cbc0f3 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri 43d40b8987 Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Rafael Ávila de Espíndola 278aa50e0d 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 01293879f0 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 0dbd15635f Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Mounir Lamouri 635e1ee55e Bug 677506 - Enable the DOM Memory Reporter. r=jst 2011-08-11 00:54:50 +02:00
Oleg Romashin 6c7260ce7e Bug 621228 - Make plugins listening presShell SetActive calls. r=jst 2011-08-18 22:08:38 +02:00
Matheus Kerschbaum 033d960531 Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz 2011-08-18 12:07:43 +02:00
Markus Stange e13a330778 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 ed5cf85a6d Bug 668698 - Fixed position layers has been broken in 637852 r=stechz 2011-07-28 14:18:00 -04:00
L. David Baron 6f2de80bf9 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 cc47ff48ae 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 d4514a1ec4 Backing out bug 675669, due to its controversial landing. 2011-08-15 20:15:17 -04:00
arno renevier 56a37f401e Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
L. David Baron c6499ed3ce 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 523ebb7851 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 0fa1d0b721 Bug 675669 - Ignore paint suppression for hit testing. r=ehsan 2011-08-08 19:05:50 -04:00
Jeff Walden 96c6f4671c 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 2bffd8531c Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa 2011-07-06 13:29:27 -04:00
Chris Jones 9edb022892 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 adc6292af8 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 f439589647 Bug 648484, part 0: Fix test-ipcbrowser. 2011-08-09 12:38:26 -07:00
Mats Palmgren f70d28ee47 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 a3ea06bbc7 Bug 601436 - mtable 'align' attribute: negative rownumbers are wrongly interpreted. r=roc 2011-08-07 01:29:00 -04:00
David Zbarsky feef9bcb83 Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug 2011-08-07 16:17:00 -04:00
David Zbarsky 110e54925e Bug 672536 - Merge nsISelection3 into nsISelection r=smaug 2011-08-07 16:18:00 -04:00
Justin Wood bc9a7d1530 Merge from m-c 2011-08-09 06:31:01 -04:00
Jonathan Kew 65ca3acc2e bug 665360 - hold reference to font family from loader. r=jdaggett 2011-08-09 08:51:46 +01:00
Jan Varga a298beaa2e 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 07b3728d4c Bug 677101 - Move nsAutoLayoutPhase to its own header; r=tn 2011-08-08 17:14:34 +02:00
Ms2ger b5d390cce8 Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz 2011-08-08 17:14:33 +02:00
Kyle Huey 15fbe145d9 Merge m-i to m-c. 2011-08-08 08:18:51 -04:00
Alexander Surkov 65832d0636 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 3514baef42 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 03b8e81191 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 a63dc3cb29 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 da0a470d47 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 c9ae4d40a0 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 734148d14d 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 ec80057178 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 60ea673f0b 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 3dd20eedbe 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 e06780eb02 Bug 585069, support ratio scaling for xul images, r=dbaron 2011-08-05 15:24:24 -04:00
Neil Deakin 0c777f178e Bug 524545, popups with large margins appearing offscreen, r=roc 2011-08-05 15:24:24 -04:00
Ehsan Akhgari f6cef88297 Bug 676643 - Adjust the reftest annotation for selection reftests after bug 674820; r=blassey 2011-08-04 15:53:34 -04:00
Kyle Huey a85e3221a8 Bug 676314: Count RuleHash's mArena in about:memory. r=bz 2011-08-08 08:36:38 -04:00
Kyle Huey 1d840861fa Bug 676048: Followup to add more comments. 2011-08-08 08:34:57 -04:00
Justin Lebar 4ac70e6801 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 c483d7d865 Backout changeset 0c4897315acc (Bug 446569) since it may have caused the m4 permaorange. 2011-08-17 16:45:02 +02:00
Michael Ventnor 228fdc714d Bug 446569 - Implement prefixed CSS3 columns rule r=dbaron 2011-08-17 22:47:43 +10:00
Martijn Wargers 8e24d4abed 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 91118b2f26 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 601ed53b80 Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron 2011-08-04 14:08:37 +12:00
Honza Bambas e67e248d19 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 62ea8608a8 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 14079ef330 Bug 676057. Get rid of the malloc-happy AttributeSelectorEntry class. r=dbaron 2011-08-03 14:32:32 -04:00
Vitor Menezes 1baff11dba 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 4dbadf264d 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 cf98ee0a14 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 f82cd17bcb 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 946ce0dcc2 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 59b9ac988d 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 38be52299b 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 831d354974 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 e915e08a19 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 56961b8e10 Bug 673770 - Also search overflow lines for aPrevSibling. r=test-only 2011-08-03 17:55:00 +02:00
Mats Palmgren e790b4f010 Bug 673770 - Also search overflow lines for aPrevSibling. r=roc 2011-08-03 17:55:00 +02:00
Marco Bonardo b245bb61dd Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Masayuki Nakano bfc72b90bf 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 524fbbafbc Bug 505115 - Part 12b - Layout changes to use -moz-perspective-origin. r=roc 2011-08-03 15:04:24 +12:00
Matt Woodrow b84eabcf4a Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron 2011-08-03 15:04:24 +12:00
Matt Woodrow 8d4ab549b6 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 236f72943c 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 7a41f6a8a2 Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow b4bfd8dd6a 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 d9e573335e 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 a58142bb2a Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc 2011-08-03 15:04:20 +12:00
Matt Woodrow c2d638a2ab Bug 505115 - Part 6 - Implement the 3d -moz-transform functions. r=dbaron 2011-08-03 15:04:19 +12:00
Matt Brubeck 1fbbc4fcf5 Bug 669851 - Update reftest annotations for tests that no longer have Android-specific failures 2011-08-02 19:57:42 -07:00
Kyle Huey 6d99373717 Bug 676048: Report RuleCascadeData and substructures to about:memory. r=bz 2011-08-02 16:21:52 -04:00
Kyle Huey 2b024fafc7 Merge b-s to m-c. 2011-08-02 11:34:34 -04:00
Kyle Huey 8b23d8f061 Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz 2011-08-01 14:25:20 -04:00
Kyle Huey 6951a28a22 Bug 675624: Enumerate style sets in about:memory. r=bz 2011-08-01 14:24:38 -04:00
Michael Wu f6e7ea13ac Bug 675485 - Fix PRBool misuses found in a debug build, r=bz,taras 2011-08-01 18:20:52 -07:00
Michael Wu 884dbf88ee 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 79d88fac19 Bug 675556 - Switch from PRPackedBool to PRUint8 in nsILineBreaker, r=roc 2011-08-01 18:20:52 -07:00
Michael Wu ad1a7b1c03 Bug 675482 - Misuse of PRBool found by use of ++ or -- operators, r=jst,roc 2011-08-01 18:20:52 -07:00
Henri Sivonen 21d32e82f3 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 6739221259 Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00