Commit Graph

8899 Commits

Author SHA1 Message Date
Ehsan Akhgari
a979f4075d Bug 609821 - Don't attempt to update the position of caret when we may have pending reflow operations; r=roc a=bsmedberg 2010-11-08 19:16:53 -05:00
Kyle Huey
99fecd3066 Backing out Bug 590181 since the GCC 4.5 upgrade failed on this CLOSED TREE 2010-11-11 12:36:01 -05:00
Justin Lebar
c50ec5e108 Bug 590181 - Part 1: Fix linux tests broken by GCC at -O3. r=dbaron 2010-09-29 14:32:17 -07:00
Mike Hommey
fdfea85673 Bug 557771 - Add support for alpha, hppa, ia64, mips, mipsel and s390 to TestPoisonArea. r=zackw,a=bsmedberg 2010-11-11 09:19:11 +01:00
Frédéric Wang
d9d102c3f7 Use u23AF instead of uE10B for stix extenders (bug 594244) r=karlt a=bsmedberg
--HG--
extra : rebase_source : fa67187d67b23489ceff8185cb61f1c12e17ad5e
2010-11-11 11:34:59 +13:00
Karl Tomlinson
0fdc24da53 b=597147 part 17: switch from pango_itemize to gfxScriptItemizer r=jfkthame
--HG--
extra : rebase_source : f0b1026020b765d1ffedd1f98d04373b8d8fbc9a
2010-11-11 11:25:59 +13:00
Daniel Holbert
6cf342c5f0 Bug 585129: Propagate SetIsActive calls to external resource documents. r=bz a=blocking-betaN 2010-11-10 13:18:12 -08:00
Daniel Holbert
ac71d9769e Bug 610954: Use first continuation frame in new code in nsSVGIntegrationUtils::GetInvalidAreaForChangedSource, to match old code. r=longsonr a=bsmedberg 2010-11-10 13:18:11 -08:00
Robert Longson
330faa5ecf Bug 610466 - feDiffuseLighting with filterRes larger than filter region causes filter not to work r+a=roc 2010-11-10 08:53:53 +00:00
Olli Pettay
ec2f3dfd35 Bug 610690 - Crash when printing many documents successively [@ nsCOMPtr_base::assign_from_qi | nsDocShell::SetTreeOwner ], r=mats, a=benjamin 2010-11-10 23:15:21 +02:00
L. David Baron
2bee206d34 Don't use ComputeDistance in nsTransitionManager when shortening reversals of partially running transitions, and shorten only transitions that are actually back to the current start point. (Bug 582379, bug 526784) r=bzbarsky a2.0=blocking 2010-11-10 07:49:53 -08:00
L. David Baron
e0c6877082 Fix division-by-zero crash that dholbert saw, although I haven't been able to, and make the code a bit more robust. (Bug 582379) r=bzbarsky a2.0=blocking 2010-11-10 07:49:53 -08:00
L. David Baron
cc52f8c0a0 Fix another case of bad border-radius corners (and document a third that's not fixed). (Bug 500141) r=roc a2.0=blocking 2010-11-10 07:49:53 -08:00
L. David Baron
ed2ce3bf01 Make 'bolder' and 'lighter' values of 'font-weight' be computed in the style system, per recent edits to CSS 2.1. (Bug 93725) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
f9401853c1 Fix an underlying issue with weightmapping reftests that shows up in weightmapping-458.html on Windows once bug 93725 is fixed: avoid differences because we're inconsistent about whether we're setting the correct font on a block or an inline. (Bug 93725) r=jdaggett a2.0=tests 2010-11-10 07:49:52 -08:00
L. David Baron
850dc81ab2 Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
bcb4f74440 Additional review fix for bug 583109 comment 49 (karlt). 2010-11-10 08:19:53 -05:00
Benjamin Smedberg
1417fd7f05 Fix review comments from bug 583109 (changeset 6ff3fcbb7845), comment 46. 2010-11-09 09:36:33 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
9df15ba4d0 Fix nsObjectFrame.cpp back to unix-style line endings. DOS endings crept in during the last merge for reasons I don't understand. 2010-11-08 09:48:02 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Mike Hommey
974d30cc03 Bug 577653 - Allow to build against system libvpx. r=khuey a=roc 2010-11-05 18:24:28 +01:00
Benjamin Smedberg
b5c8de3824 Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt 2010-11-05 10:40:55 -04:00
Jan Arne Petersen
63f71f3156 Bug 583109 - Add visibility notification for plugins by setting the NPWindow.clipRect to [0, 0, 0, 0] when the plugin is not visible, either in a background tab, or visibility: hidden. r=karlt Patch rebased against trunk by Benjamin Smedberg. 2010-11-05 10:38:33 -04:00
Ms2ger
6492dfc93a Bug 538965 - part b: compress whitespace in MathML mfenced's open and close attributes; r=karlt a=bsmedberg 2010-11-05 11:57:51 +01:00
Ms2ger
f94a249008 Bug 538965 - part a: make nsMathMLmfencedFrame::CreateFencesAndSeparators return void; r=karlt a=bsmedberg 2010-11-05 11:57:39 +01:00
Joel Maher
d98970d175 Bug 590248 test_resizer.xul not valid for fennec testing, disable test for fennec r=mfinkle a=NPOTB 2010-11-04 17:01:13 -07:00
Joel Maher
f0ab23ffda Bug 609040 Remote reftests need to be smarter with how they handle webserver and jsreftest r=ctalbert a=NPOTB 2010-11-04 17:01:13 -07:00
Ms2ger
d1816016c2 Bug 604078 - Two comparisons between signed and unsigned integers in nsTextFrame::PeekOffsetCharacter; r=ehsan a=bsmedberg 2010-11-04 16:43:01 -04:00
Ehsan Akhgari
5febe4410c Bug 424627 - Ctrl+clicking on a text control border followed by an editing operattion (e.g. paste) removes the table cell from a non-editable document; r=roc a=blocking-final+ 2010-11-01 19:04:12 -04:00
Ehsan Akhgari
8c00ec8852 Bug 542116 - Part 2: Temporary assertion annotation for another reftest which is affected by bug 596901; r=roc a=blocking-final+ 2010-10-31 16:10:23 -04:00
Ehsan Akhgari
69b7a0c378 Bug 542116 - Caret inside empty input text/password or contenteditable element ignores font-size (reftests); r=roc a=blocking-final+ 2010-10-29 12:30:52 -04:00
Ehsan Akhgari
26b56e6566 Bug 542317 - Caret missing when an iframe is put into design mode when it already has focus; r=roc a=blocking-final+ 2010-10-29 12:30:52 -04:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Ehsan Akhgari
47a0f5ad14 Bug 389321 - Part 4: Add a reftest for caret height in block elements, and another for carets in empty and non-empty block elements; r=roc a=blocking-betaN+ 2010-10-27 17:56:50 -04:00
Benjamin Smedberg
280184d562 Bug 596451 part G - Fix a condition where FixupWindow is called too early and doesn't know that we are a windowless plugin yet. Call FixupWindow from nsPluginInstanceOwner::CreateWidget, r=roc 2010-10-27 09:10:50 -04:00
Ehsan Akhgari
747639bc18 Bug 389321 - Part 3.1: Disable a problematic reftest until bug 607548 gets resolved; r=roc a=blocking-betaN+ 2010-10-27 00:49:38 -04:00
Chris Jones
2366aa408c Bug 607512: Destroy document-viewer widgetry to avoid keeping native widgets and layers alive longer than necessary. r=roc a=blocking-fennec 2010-10-27 11:57:21 -05:00
Mats Palmgren
a49bc9b30b Null-check the root pres context before using it. b=599341 r=roc a=dbaron 2010-10-27 16:19:01 +02:00
L. David Baron
9369433aef Fix border-radius joins with differing styles adjacent to a zero-width border. (Bug 500141) r=roc a2.0=blocking-final 2010-10-26 11:30:42 -07:00
Mounir Lamouri
7873baa96e Bug 595606 - "ASSERTION: no common ancestor at all" when removing a subtree with more than one id pointed by @form. r=jst a=blocking
--HG--
rename : content/base/crashtests/595606.html => content/base/crashtests/595606-1.html
2010-10-13 12:52:45 +02:00
Daniel Holbert
a807c9c11a annotate reftest.list for linux opt reftest failure, in test added earlier for Bug 477171. a=orange 2010-11-09 23:14:14 -08:00
Daniel Holbert
fa0ca3bdbe Bug 587336: Keep nsSVGIntegrationUtils::GetInvalidAreaForChangedSource from inadvertantly adding an observer relationship and potentially triggering an infinite loop a few stack-levels up. r=roc a=blocking-final+ 2010-11-09 21:50:29 -08:00
Daniel Holbert
79778bb3d0 Bug 601999: Skip reflow request on target frame if it's already reflowing, when invalidating an SVG filter. r=roc a=blocking-betaN+ 2010-11-09 21:50:29 -08:00
Daniel Holbert
bcd2429adb Bug 610419: Don't pause SMIL in initially-"hidden" documents that are actually SVG-as-an-image documents (which don't get OnPageShow/OnPageHide calls and hence appear to be hidden). r=roc a=blocking-beta8+ 2010-11-09 21:50:29 -08:00
Cameron McCormack
acb4564013 Bug 477171 - Make unknown elements in the SVG namespace not render any children r=roc a=blocking 2010-11-10 16:58:41 +13:00
Brian Birtles
896e0f43f0 Bug 603917 - SVG SMIL: Allow some forms of animation even if base value is not animatable; r=dholbert; a=blocking-2.0 2010-11-10 08:21:04 +09:00
Mats Palmgren
59244db4d6 "ASSERTION: We should have padding here" with abs pos, overflow:scroll. r=roc a=blocking2.0:final 2010-11-09 22:14:05 +01:00
Mounir Lamouri
de2840de11 Bug 603141 (2/2) - <select multiple> should show 4 rows by default. r=bz a=blocking-b8 2010-11-09 15:24:01 +01:00
Ginn Chen
cb951b68f9 Bug 590436 nsCSSParser.cpp failed to compile with Sun Studio compiler r=roc a=benjamin 2010-11-09 18:16:18 +08:00
Chris Jones
5629202ce0 Followup to bug 550611: Use a different placement-dtor form so as to appease gcc 4.5. rs=tn a=bustage 2010-11-09 00:17:06 -06:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Jonathan Watt
cccb5b3f6b Make reftest-analyzer.xhtml work with build logs. r=dbaron, a=npob. 2010-11-08 23:08:56 +00:00
Bas Schouten
bba6216a0e Bug 598202: Avoid drawing borders which are fully transparent. r=vlad a=vlad 2010-11-08 22:52:02 +01:00
Jonathan Watt
d2df5a1874 Test for bug 601699. a=dveditz for fix. 2010-11-08 20:00:08 +00:00
Jonathan Watt
18d9313895 Bug 522306. Add support for SMIL animation of the <path> element's 'd' attribute. r=roc, r=longsonr, r=dholbert, a=roc. 2010-11-08 15:07:00 +00:00
Chris Jones
a628adeb94 Bug 603680: Paper over lack of IPDL |discard| (and possible weirdly short-lived <browser>s). r=bsmedberg a=blocking-fennec 2010-10-26 12:51:08 -05:00
Brian Birtles
a7ca4fe4a3 Bug 594653 - SVG SMIL: Don't use InstanceTimeComparator on times without serial numbers; r=dholbert; a=roc 2010-10-13 09:17:55 +09:00
Brian Birtles
8f871b564a Fix failing test from bug 579828; a=testfix 2010-10-26 09:46:45 +09:00
Ehsan Akhgari
bc3929193c Bug 605138 follow-up: fix Thunderbird bustage. r=me a=bustage 2010-10-25 14:24:40 -04:00
Ehsan Akhgari
b3ebab6edb Bug 605138 - Part 2: Refactor nsTypedSelection::ScrollIntoView to use flags instead of parameters; r=roc a=blocking-final+ 2010-10-22 18:41:55 -04:00
Ehsan Akhgari
c5d807f1c7 Bug 605138 - Scripts from topix.net apparently causing page to scroll down when opening; r=roc a=blocking-final+ 2010-10-21 16:56:20 -04:00
Ehsan Akhgari
43a9abec75 Bug 595337 - Crash [@ nsTextEditorState::InitializeKeyboardEventListeners] on print preview close with iframe, position:fixed and input; r=roc a=blocking-final+ 2010-09-24 15:09:25 -04:00
Ehsan Akhgari
b5cea518bc Bug 599080 - Frames leak when failing to insert them in the frame tree; r=roc a=blocking-final+ 2010-10-06 16:30:47 -04:00
Ehsan Akhgari
29bec3cf7d Bug 599080 - Part 1: Rename mSetPrimaryFrame to mCreatingExtraFrames and invert its boolean semantics; r=roc a=blocking-final+ 2010-10-18 16:13:21 -04:00
Robert O'Callahan
d6707f1b58 Bug 593839. Part 1: Use nsDisplayListBuilder::IsPaintingToWindow instead of gfxContext::DESTINED_FOR_SCREEN. r=tnikkel 2010-10-25 16:38:09 +02:00
Neil Deakin
902842e19b Bug 578667, text not highlighting when selectiondrag is outside frame, r=mats,a=blocking 2010-10-25 10:06:30 -04:00
L. David Baron
88c9a20f8d Add test for nsStyleAnimation::ComputeDistance. (Bug 598099) r=bzbarsky a2.0=blocking-betaN 2010-10-23 16:31:55 -07:00
L. David Baron
8cb1c8371d Change distance computation for transforms so that distance ratios match interpolation. (Bug 598099) r=bzbarsky a2.0=blocking-betaN 2010-10-23 16:31:55 -07:00
L. David Baron
2a41b9c1dc Make AnimValuesStyleRule::MapRuleInfoInto check that property hasn't been filled in yet, so that it cascades correctly and interacts correctly with nsStyleSet::ResolveStyleByAddingRules. (Bug 598099) r=bzbarsky a2.0=blocking-betaN 2010-10-23 16:31:55 -07:00
L. David Baron
606f3325dc Revert code changes from changeset 1640dcbf1d4c (bug 541406), and add embed:-moz-focusring too, now that bug 542595 is fixed. r=roc 2010-10-23 16:31:55 -07:00
Boris Zbarsky
ebd7c067e3 Bug 484992 and bug 604420. Don't start a new network request when instantiating the plug-in for <object>s. r=josh, a=blocker 2010-10-22 21:16:29 -04:00
Colby Russell
5c9da2bfe5 Bug 606107: Remove comment about long-fixed bugs in svg.css. r=roc a=comments-only 2010-10-22 15:55:05 -07:00
Daniel Holbert
a313214d9f Bug 606360: Don't double-count full-page-zoom factor when drawing SVG <image> element. r=longsonr a=blocking-final+ 2010-10-22 15:55:04 -07:00
Ehsan Akhgari
90e76bbb1f Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+ 2010-08-31 14:54:44 -04:00
Daniel Holbert
1f3347d8c8 Bug 589558 followup: annotate that 3 known-reftest-failures from pixel-rounding issue actually pass on OS X. a=orange 2010-10-12 13:33:50 -07:00
Daniel Holbert
7ea1c96ba4 Bug 589558, tests for SVG-as-image in canvas. a=tests-only
--HG--
rename : layout/reftests/svg/as-image/lime100x100.svg => layout/reftests/svg/as-image/lime50x50.svg
2010-10-12 12:00:31 -07:00
Daniel Holbert
7857adfcb5 Bug 589558, patch 2: Make html5 canvas write-only after an SVG image has been drawn to it. r=roc a=blocking-betaN+ 2010-10-12 12:00:31 -07:00
Ms2ger
78c77cf6be Bug 599558 - Remove support for the :optional pseudo-class on button; f=volkmar r+a=sicking 2010-10-07 23:09:31 +02:00
Mats Palmgren
11ce93ed15 Backout bug 571995. a=backout 2010-10-12 18:40:44 +02:00
Mounir Lamouri
183a7a2af4 Bug 600151 - Remove -moz-submit-invalid default style. r+a=dbaron 2010-10-12 14:57:40 +02:00
L. David Baron
7fe205cc61 Add an additional value to nsOverflowType so that compilers (in particular, gcc 4.5.*) know that one past the end is a value they'll need to deal with. (Bug 602826) r=roc a2.0=blocking 2010-10-11 19:20:57 -07:00
Daniel Holbert
b5aa5d79c6 Bug 598798 patch 5: Make nsSVGImageFrame::PaintSVG use nsLayoutUtils::DrawSingleImage. r=roc r=jwatt a=blocking-betaN 2010-10-11 13:08:19 -07:00
Daniel Holbert
246bdc65d2 Bug 598798 patch 4: Remove hard-coded GraphicsFilter from nsLayoutUtils::DrawSingleUnscaledImage, and make its dirty-rect argument optional. r=roc a=blocking-betaN 2010-10-11 13:08:07 -07:00
Daniel Holbert
071d06788c Bug 598798 patch 3: Add typedef for gfxPattern::GraphicsFilter to nsLayoutUtils. r=roc a=blocking-betaN 2010-10-11 13:07:59 -07:00
L. David Baron
0b7f765281 Make hit testing for border-radius follow the curvature of the border. (Bug 595652) r=roc a2.0=blocking2.0:betaN 2010-10-11 11:03:12 -07:00
Jesse Ruderman
8e8208ee67 Bug 570289 - add crashtest 2010-10-11 09:55:23 -07:00
Jesse Ruderman
fd58e9ed9c Bug 589002 - add crashtest 2010-10-11 09:55:23 -07:00
Jesse Ruderman
27a9f1c13e Bug 589723 - Remove framing in layout/base/crashtests/311661-* to ensure onload fires
--HG--
rename : layout/base/crashtests/311661-1-inner.xul => layout/base/crashtests/311661-1.xul
rename : layout/base/crashtests/311661-2-inner.xul => layout/base/crashtests/311661-2.xul
2010-10-11 09:55:22 -07:00
Jesse Ruderman
8f4714325e Bug 590426 - fix timeout/onload race in a crashtest 2010-10-11 09:55:22 -07:00
Jesse Ruderman
bdb448e788 Remove extra dump statement from test 2010-10-11 09:55:22 -07:00
Robert O'Callahan
c3e99b598c Mark assertion. a=me 2010-10-11 16:31:30 +13:00
Robert O'Callahan
b6a55af831 Fixing test errors, a=me 2010-10-11 15:35:47 +13:00
Robert O'Callahan
f8ce382549 Bug 596491. Part 4: Rename ForcePluginGeometryUpdate to SynchronousPluginGeometryUpdate, and make it do nothing if no plugin geometry update is required. r=mats,a=blocking 2010-10-11 13:58:21 +13:00
Robert Longson
c92d390c9d Bug 601406 - GetBBox crashes when called on an SVG a element r=jwatt a=blocking-final 2010-10-08 17:49:39 +01:00
Matt Woodrow
47554e7736 Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking 2010-10-11 13:58:20 +13:00
Robert O'Callahan
951d95a03a Bug 582146. 8388608.0 is invalid in cairo, so clamp to 8388607.0 instead. r=jrmuizel 2010-10-11 13:58:19 +13:00
Mats Palmgren
88625a23ac Just switch to the new textrun for empty text frames. b=571995 r=roc a=blocking2.0:final 2010-10-11 00:07:01 +02:00
Mats Palmgren
d000a22403 Update the caret after creating a new frame, if the node has focus. b=536421 r=ehsan a=blocking2.0:final 2010-10-11 00:07:01 +02:00