Commit Graph

10054 Commits

Author SHA1 Message Date
L. David Baron
be4c804463 Disable parsing of 'marker', 'run-in', and 'compact' in a less hacky way. (Bug 636029) r=bzbarsky
This simply removes all the code for the values.  This removes a
special-case that would otherwise need to become more complicated in a
later patch in this series.
2011-03-05 09:58:33 -08:00
L. David Baron
97c0bdb8a8 Add parse types for CSS properties so we don't parse them in one huge switch. (Bug 636029) r=bzbarsky
With this patch, every CSS property is required to have one of the parse
type values (CSS_PROPERTY_PARSE_{FUNCTION,VALUE,INACCESSIBLE}) in its
flag bits.  This avoids needing a switch in
CSSParserImpl::ParseProperty(nsCSSProperty).

Note that this reserves more space in CSS_PROPERTY_PARSE_PROPERTY_MASK
than appears to be necessary; that space will be used in a later patch
in this series.
2011-03-05 09:58:33 -08:00
L. David Baron
185c0cd717 Make sure all properties in nsCSSPropList.h have useful values for the method_ field. (Bug 636039) r=bzbarsky
Note that these are unprefixed to be consistent with the similar
existing methods for other logical box properties.  Prefixing doesn't
matter for the dom property field of CSS_PROP_LIST_EXCLUDE_INTERNAL
properties, since dom property field of such properties is not exposed
to the Web.
2011-03-05 09:58:33 -08:00
Craig Topper
07e8b64cd1 Bug 585867 part 5. Remove outparam and AddRef from all property getters. r=bzbarsky 2011-03-04 12:28:57 -05:00
Craig Topper
aab3b367c9 Bug 585867 part 4. Make SetValueToStyleImage return void. r=bzbarsky 2011-03-04 12:28:57 -05:00
Craig Topper
04c3f87d46 Bug 585867 part 3. Make AppendCSSValue infallible. r=bzbarsky 2011-03-04 12:28:57 -05:00
Craig Topper
7dd8d4bedc Bug 585867 part 2. Make SetToRGBAColor return void. r=bzbarsky 2011-03-04 12:28:57 -05:00
Craig Topper
8a8824e583 Bug 585867 part 1. Remove OOM checks on the return value of GetROCSSPrimitiveValue and GetROCSSValueList. r=bzbarsky 2011-03-04 12:28:56 -05:00
L. David Baron
3c13d96f28 Condition should be d2d rather than winWidget. (Bug 635222) 2011-03-04 07:46:28 -08:00
Boris Zbarsky
1e753295f6 Bug 616137. Skip to the nearest ']' when parsing an attr selector fails. r=dbaron 2011-03-04 10:27:02 -05:00
Boris Zbarsky
151fe5976e Bug 621841. Clear restyle flags in frameset kids when we process them. r=dbaron 2011-03-04 10:27:02 -05:00
Boris Zbarsky
1782b07550 Bug 632907. Use Element more in the frame constructor. r=roc 2011-03-04 10:27:02 -05:00
Boris Zbarsky
f784386f4b Bug 614733. Do exponential backoff on throttled refresh drivers. r=dbaron 2011-03-04 10:27:02 -05:00
L. David Baron
69367d9bce Mark new test as failing on Windows due to rounding difference. (Bug 635222) 2011-03-03 21:42:31 -08:00
L. David Baron
a3f318836d Mark new test as failing on Mac due to rounding difference. (Bug 635222) 2011-03-03 18:58:37 -08:00
L. David Baron
4fcef65cfe -moz-box-ordinal-group should not accept 0, since the code that uses the property ignores values of 0. (Bug 636034) r=bzbarsky 2011-03-03 13:18:42 -08:00
L. David Baron
18e788b1a1 Correctly handle non-repeating radial gradients in which all stops are at the same position. (Bug 635222) r=roc 2011-03-03 13:18:42 -08:00
L. David Baron
34bc1403fe Fix nsXULScrollFrame parameter names that are named incorrectly and fix inconsistencies between .h and .cpp. (Bug 636307) r=ehsan 2011-03-03 13:18:42 -08:00
L. David Baron
31bb14549e Remove tracking of whether the font family comes from HTML, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
L. David Baron
4a7745e74d Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
L. David Baron
937df71675 Fix skipping of @-rules that are inside blocks to conform to new rule in CSS 2.1, which says that we must look for end-of-outer-block in addition to a semicolon or a block. (Bug 604175) r=bzbarsky
This fixes http://test.csswg.org/suites/css2.1/20110111/html4/at-rule-013.htm

Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
df01b98efe Make GatherMedia() stop at block or semicolon in invalid cases. (Bug 604172) r=bzbarsky
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
f597990bf0 Add missing UngetToken() for invalid contents of @charset rule. (Bug 604172) r=bzbarsky
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
a03ec13a60 Fix implementation of rules for auto margins on absolutely positioned elements; honor auto margins when only one margin is auto, even when the auto margin gets a negative value. (Bug 419100) r=roc
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
Boris Zbarsky
250488127b Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking 2011-03-23 10:45:21 -04:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Boris Zbarsky
9c5494abae Fix these tests to not break at smaller window widths or larger fonts. a=test-only 2011-03-18 22:15:14 -04:00
Steven Michaud
310a1f87bf Breakage fix for patch for bug 637367 (4da037fe27b0). a=breakage-fix 2011-03-18 15:27:20 -05:00
Steven Michaud
65c49866d2 Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner 2011-03-18 14:35:14 -05:00
Benjamin Stover
0b3ec6cfce Bug 642205 Followup: workaround for Android compiler bug r=tnikkel a=blocking-fennec CLOSED TREE 2011-03-17 15:48:47 -07:00
Joel Maher
c6cc559d6f Bug 636753 - annotate reftest manifests to note tests that fail on Android (2 of 2). r=dbaron a=test-only 2011-03-18 11:54:15 -04:00
Joel Maher
a2a84ed8a8 Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only 2011-03-18 11:54:13 -04:00
Benjamin Stover
4d0881f7a6 Bug 642205 Followup: Remove bogus assertion r=roc a=followup-for-blocking-fennec 2011-03-16 14:17:25 -07:00
Benjamin Stover
51e2e999ba Bug 642205 Do not build layers for asynchronous scrolling if element shouldn't be scrollable r=tn a=blocking-fennec 2011-03-16 13:18:35 -07:00
Kyle Huey
3037a2e752 Merge m-c to bs. 2011-03-13 09:57:04 -04:00
Mitchell Field
8a39ea72b9 Merge mozilla-central to build-system. 2011-03-13 04:21:37 +11:00
Phil Ringnalda
dcfcb67938 Bug 640889 - Disable test in debug Windows < Vista while work proceeds on making it pass with the XP resizer in the way, r=tn, a=test 2011-03-11 21:59:30 -08:00
Steven Michaud
472417e274 Bug 637367 - Add null checks to nsPluginInstanceOwner::DoCocoaEventDrawRect(). r=bsmedberg a=sayrer 2011-03-11 17:50:50 -06:00
Chris Jones
089d977534 Tests for bug 593243. a=b 2011-03-11 17:12:11 -06:00
Chris Jones
e4ac9c5928 Bug 593243: Clip invalidations to the displayport when one is set. r=tn 2011-03-11 17:12:11 -06:00
Joel Maher
3028732566 Bug 636641 - remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB 2011-03-11 09:15:34 -05:00
Joel Maher
368d8a0909 Bug 637660 - add sandbox.Android, and skip a few crashtests so we can run green on Android. r=dbaron, a=tests 2011-03-11 09:15:33 -05:00
Chris Jones
c1f6326631 Bug 637822: Translate invalidated content by the offset at which it was made valid. r=roc a=b 2011-03-11 01:58:29 -06:00
Mitchell Field
a7b458884e Merge mozilla-central to build-system. 2011-03-11 11:05:04 +11:00
Olli Pettay
6696bada46 Bug 637621, allow selection collapse more often, r+a=jst
--HG--
extra : rebase_source : 216a2405f929ca00cc4982ebb39230b4f3018dc1
2011-03-02 16:55:12 +02:00
Alexander Surkov
34f2d0cb46 Bug 612872 - HAL/Supernova needs tweaks to our window emulation, r=davidb, sr=roc, a=davidb 2011-03-02 22:41:42 +08:00
Matt Woodrow
d23e549f03 Bug 637901 - Don't trash our cached ImageContainer unless the retained layer manager has changed. r=tnikkel a=blocking2.0 2011-03-02 21:53:27 +13:00
Ehsan Akhgari
ad28772950 Partially back out changeset 90b3dedc677d because changesets 502114bb31e8 and c1d77dbe4193 seem to have fixed those failures on trunk. rs=roc a=orange
--HG--
extra : rebase_source : 7c32134b2f3bf6ef147538a3191e3453d24859e9
2011-03-01 17:46:43 -08:00
Matt Woodrow
15bcf64fe6 Bug 637367 - Add null checks to DrawPlugin. r+a=roc 2011-03-02 11:36:09 +13:00
Timothy Nikkel
d3882f51c9 Bug 632423. Fix typo in reftest.list file. a=duh 2011-03-01 16:01:42 -06:00
Steven Michaud
e5b24adc59 Bug 627649 - [Mac] Some events incorrectly passed to a plugin that occur over the plugin. r=roc,josh a=blocking2.0final+ 2011-03-01 15:15:23 -06:00
Robert O'Callahan
52981696d3 Bug 632423. Enable subpixel AA when we draw into the opaque subrect of a surface. r=tnikkel a=beltzner 2011-03-01 14:32:23 -06:00
Chris Jones
dcae2bd7ad Bug 637278: Fix indentation. r=roc a=b 2011-03-01 12:27:35 -06:00
Chris Jones
b24d5d1e6d Bug 637278: INVALIDATE_NO_UPDATE_LAYER_TREE should subsume INVALIDATE_NO_THEBES_LAYERS. r=tn sr=roc 2011-03-01 12:27:35 -06:00
Olli Pettay
56d4d954cb Bug 630919, add collect and invalidate phases for tree ranges, r=enn+neil, a=jst
--HG--
extra : rebase_source : 0a714e7f3829f9641340e47a83f386ab7a0d0905
2011-03-01 14:23:26 +02:00
<Robert O'Callahan> roc@ocallahan.org
5166267748 Bug 636114 - Crash [@ PluginBackgroundSink::~PluginBackgroundSink() ]; r=jones.chris.g approval2.0=johnath 2011-03-01 08:54:37 -04:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Brad Lassey
715c879877 bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec 2011-03-10 23:33:43 -05:00
Benjamin Stover
6fc39e3260 Bug 618975 Follow-up: Fix for non-IPC builds and remove warning r=blassey a=fix-comm-builds 2011-03-15 18:58:28 -07:00
Benjamin Stover
a646bb5913 Bug 618975 Followup: bitrot and remove mDisplayport from nsDisplayScrollLayer r=cjones r=tn a=blocking-fennec 2011-03-09 13:35:27 -08:00
Benjamin Stover
e9b77710b0 Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec 2011-03-15 16:20:19 -07:00
Ehsan Akhgari
03d0f42f3c Bug 642823 - Part 2: Correct the original test for selection.modify which tested explicitly for Windows-specific behavior; r=roc 2011-03-20 15:53:23 -04:00
Ehsan Akhgari
11ad8ed434 Bug 642823 - Make the behavior of nsISelection::Modify consistent for word selection across platforms by not eating spaces on any platform; r=roc 2011-03-20 15:49:06 -04:00
Ehsan Akhgari
b528286d7e Bug 639695 - Reconnect the HTML editor to the new presentation of a contenteditable document when it changes; r=roc
This fixes things such as the caret not showing up after the presshell for a
document containing a contenteditable element is recreated.
2011-03-11 18:45:20 -05:00
Ehsan Akhgari
c504ea4d07 Bug 407127 - Part 5: Fix the editor to not rely on cached presshells and selection controllers, because they may not always be valid; r=roc 2011-03-11 00:40:31 -05:00
Henri Sivonen
5bc865c4b0 Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst. 2011-02-25 18:23:02 +02:00
Vivien Nicolas
edaa05f5dd Add start/end attributes support to StackFrame [r=enndeakin,a=blocking-fennec] 2011-02-28 19:06:29 +01:00
Jesse Ruderman
3b3b006244 Bug 386690 - add crashtest. a=NPOTB 2011-02-27 21:12:29 -08:00
Karl Tomlinson
c027046942 test for bug 634556 a=test
--HG--
extra : transplant_source : %F919%0D%5C%FC%06%87%21.%7C9%A2%A5%14%CCe%EC%9A%C0
2011-02-28 08:32:08 +13:00
Joel Maher
d8a540587e Bug 636641 remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB 2011-02-26 13:19:56 -05:00
Matt Woodrow
5a9d39c5e9 Bug 629857 - When invalidating transformed items, round the original area out to the nearest pixel. r=roc a=roc 2011-02-25 11:55:23 +13:00
Joel Maher
2f3d0b881d Bug 636450 - add a --host-os option for remote testing scripts. r=ctalbert, a=NPOTB 2011-02-24 14:45:42 -05:00
Boris Zbarsky
0685bcc521 Bug 635286. Fix dynamic handling of :not() inside :-moz-any(). r=dbaron, a=dbaron 2011-02-24 13:42:15 -05:00
Mats Palmgren
6d3f80df72 Bug 635405 - Zooming a windowless plugin frame can cause it to "bleed" outside its bounds. r+a=roc 2011-02-24 13:06:14 +01:00
Joel Maher
4e9688be42 Bug 632895 - Reftests on device cannot require 800x1000 window size. r=ctalbert, a=NPOTB 2011-02-23 14:38:59 -05:00
Joel Maher
d3c43fac0f Bug 629266 - org.mozilla.fennec is left running after dm.updateApp(). r=ctalbert, a=NPOTB 2011-02-23 14:38:56 -05:00
Chris Jones
2cbfd55a70 Bug 624636, part 2: Allow reftests to disable layers-sync-before-snapshot, in order to test "natural" widget repainting. r=roc a=a 2011-02-23 11:45:09 -06:00
Chris Jones
953b064187 Bug 624636, part 1: Allow reftests to override viewport+displayport. r=roc 2011-02-23 11:45:09 -06:00
Chris Jones
07f1b97335 Bug 635014: Don't draw a checkerboard behind undefined <browser remote> content in sync mode. r=tn a=a 2011-02-23 11:45:09 -06:00
Robert O'Callahan
20b9397753 Bug 630835. Make BuildLayer responsible for setting a visible region on the layer, and let FrameLayerBuilder only reduce it. r=tnikkel,a=blocking
This avoids problems with FrameLayerBuilder making the visible region bigger than we expected, invalidating CONTENT_OPAQUE flags set on the layer.
In particular, we had been using TransformBounds to compute the new visible region, and for non-axis-aligned transforms this gives us a visible
region which contains areas not actually painted by the layer contents.
2011-02-23 18:38:09 +13:00
Robert O'Callahan
8c2e30a98c Bug 634844. Part 2: Don't create a new Image in BuildLayer if we already have one. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Robert O'Callahan
afda29e271 Bug 634844. nsPluginInstanceOwner::IsUpToDate should not create an Image for the plugin. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Robert O'Callahan
134548e4e6 Bug 631388. Part 2: Don't let nsDisplayPlugin bounds depend on the ImageContainer's current image bounds, since that can change during display list processing. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Matt Woodrow
9e4273202b Bug 586683 - Disable test on mac r,a=orange 2011-02-09 13:06:31 +13:00
Mounir Lamouri
a69b1f71d9 Bug 633566 - Prevent the timer to be eaten alive by the GC. r=bz a=tests 2011-03-10 16:26:30 +01:00
Benjamin Stover
69c0a8afb5 Bug 634397 Setting displayport redraws entire displayport r=tn a=blocking-fennec 2011-03-09 10:39:43 -08:00
Doug Turner
eff01baa10 Backing out 99f6b3acc464 (bug 618975). Bug This caused a reftest crash. a=bustage 2011-03-08 22:02:50 -08:00
Benjamin Stover
6fd6388bc0 Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec 2011-03-08 21:28:18 -08:00
Matt Woodrow
61f60361f7 Bug 586683 - Followup test fix to address the orange on OS X; rs=roc 2011-02-08 18:06:05 -05:00
Boris Zbarsky
0e2f2b9189 Bug 631352. Changes to @lang need to restyle all descendants. r=dbaron, a=blocker 2011-02-08 16:30:57 -05:00
Matt Woodrow
1c93b50748 Bug 586683 - Part 5 - Add reftest for resolution handling. r=roc a=blocking2.0 2011-02-09 09:41:39 +13:00
Timothy Nikkel
3a7d2f48c0 Bug 622818. Don't clip fixed backgrounds to the viewport if we are inside a transform. r=roc a=blocking 2011-02-08 13:29:28 -06:00
Ehsan Akhgari
dbba341a45 Bug 573960 - Make the bordercolor attribute on table elements work again; r=bernd a=blocking-betaN+ 2011-01-31 16:23:01 -05:00
Hiroyuki Ikezoe
1914cb662b Bug 635156 - typos in test svg files.
r=longsonr a=tests-only
2011-02-22 13:04:45 +01:00
Matt Woodrow
86d440938c Bug 622585 - Add clipped transform reftest. r=roc a=shaver 2011-02-22 20:30:38 +13:00
Robert O'Callahan
f1081fb688 Bug 634232. Call WillEndTransaction/DidEndTransaction notifications for FrameLayerBuilder's temporary layer managers. r=tnikkel a=hardblocker 2011-02-20 19:28:00 -08:00
Timothy Nikkel
43c33da1e3 Bug 594596. Check the return value when creating a menu popup widget. r=roc a=roc 2011-02-21 13:00:48 -06:00
Olli Pettay
0ee7b9841d Bug 635434, dispatch to gKeyDownTarget using the right presshell, r=enn, f=masayuki, a=hardblocker 2011-02-21 18:39:21 +02:00
Jonathan Kew
6ac3bd15ff bug 622507 - snap popup menu's view position to device pixels. r+a=roc 2011-02-21 08:52:42 +00:00
Simon Montagu
f3795dcd86 Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc 2011-02-21 10:02:23 +02:00
Timothy Nikkel
97d427c363 Bug 633762. Only bail early if we have an async scroll pending so the ScrollTo call can update mDestination. r=roc a=roc 2011-02-20 14:03:32 -06:00
Matt Woodrow
260ec13425 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker. 2011-02-20 11:19:11 +13:00
Mike Shaver
4b8d36a579 backout of 6bad6cd2dded due to failure of test it added (a=backout-orange) 2011-02-19 11:08:39 -08:00
Matt Woodrow
24de18c7d0 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker.
See also bug 635383 for improving this logic in the longer term.
2011-02-18 18:11:00 -08:00
Chris Jones
dd464c0e85 Bug 635191: If the object frame has gone away, there's no way to determine IsUpToDate(), so just dispatch the paint-finished event. r=roc a=b 2011-02-18 18:32:12 -06:00
Daniel Holbert
f281072fde Bug 596765, followup 2: Bail out of nsObjectLoadingContent::LoadObject for SVG-as-an-image documents (and re-enable reftest). r+a=roc 2011-02-18 23:55:39 -08:00
Peter Van der Beken
2552abd64a Fix for bug 633738 (quora.com bloats out of control (part 3)) - mark some known assertions caused by bug 439258. r=bz, a=jst. 2011-02-17 12:19:13 +01:00
Jonathan Kew
227dcbc692 Backed out changeset 26c7b580d5a2 (bug 622507) due to orange. a=backout 2011-02-18 09:46:27 +00:00
Jonathan Kew
9e3a051ec8 bug 622507 - snap popup position to device pixels, to avoid Bookmark menu size getting stuck. r+a=roc 2011-02-18 09:12:08 +00:00
Jonathan Kew
40c6145282 bug 631035 - tests for changing tab width. r=roc a=test 2011-02-18 09:08:23 +00:00
Jonathan Kew
84c34c9615 bug 631035 part 2 - optimize storage of tab widths. r+a=roc 2011-02-18 09:07:12 +00:00
Daniel Holbert
30c60be9d0 Bug 596765 followup: Disable plugin in svg-as-image test, since it's apparently unreliable (orange on linux64) and might not be testing correctly. a=orange 2011-02-17 23:25:11 -08:00
Daniel Holbert
ff37234560 Bug 596765 followup: Disable plugin instantiation in SVG-as-an-image. r+a=roc 2011-02-17 21:52:03 -08:00
Daniel Holbert
ad7aa54cec Bug 596765, patch 4: reftests for this bug. r+a=roc 2011-02-17 17:13:52 -08:00
Daniel Holbert
e110c6b795 Bug 596765, patch 3: Skip chunk of nsLayoutUtils::PaintFrame that's intended for root frames but gets triggered for foreignObjects in SVG-as-an-image. r+a=roc 2011-02-17 16:33:31 -08:00
Daniel Holbert
030fb02047 Bug 596765, patch 2: In nsSVGForeignObjectFrame::MaybeReflowFromOuterSVGFrame, don't mark kid as dirty if we know we're not going to reflow it. r+a=roc 2011-02-17 16:33:31 -08:00
Daniel Holbert
644a076704 Bug 596765, patch 1: Don't skip initial reflow for zero-sized svg foreignObject frames. r+a=roc 2011-02-17 16:33:30 -08:00
Matt Woodrow
4b549c1faf Backed out changeset 0d91127645a1 - Pushed wrong patch 2011-02-18 12:18:53 +13:00
Matt Woodrow
6fbaf9974d Bug 634366 - Remove broken CreateForNativePixmapSurface usage from CairoImageOGL. r=joe a=blocking2.0 2011-02-18 11:49:50 +13:00
Jim Mathies
d03eff2194 Bug 628949 - Update visible region / glass regions after we paint. r=roc a=2.0. 2011-02-17 15:42:39 -06:00
Olli Pettay
dede0b4d96 Bug 634291, use faster inline method for global object check, r=bz, a=beltzner 2011-02-17 11:50:23 +02:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Andreas Gal
867ed02473 Fix GC/CC scheduling (bug 630932, patch by gal/smaug, r=mrbkap). a=blocker 2011-02-16 15:47:12 -08:00
Matt Woodrow
9cb4fc37b6 Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc 2011-02-17 16:56:06 +13:00
Mark Banner
9489346a91 Bustage fix for the bustage fix for bug 626602. Namespace statement is required, so just ifdef it for IPC builds. r+a=bustage fix 2011-02-16 19:43:36 -06:00
Chris Jones
38233803ac Some tests for bug 626602. a=b landing on a CLOSED TREE 2011-02-16 16:43:31 -06:00
Chris Jones
2feec67e7c Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-16 16:43:31 -06:00
Robert O'Callahan
7344c3c89b Bug 626602. Part 4: Make the display items behind a plugin that needs readback be as visible as we can. r=tnikkel 2011-02-16 16:43:30 -06:00
Robert O'Callahan
354fb935c8 Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-16 16:43:30 -06:00
Neil Rashbrook
a72ae3b0a1 Bug 616812 Remove extraneous CRs r+a=dbaron 2011-02-16 21:39:52 +00:00
Ehsan Akhgari
dbd378e898 Bug 633044 - Special case empty text frames to position the caret at the correct position; r=roc a=blocking-final+ 2011-02-15 01:11:18 -05:00
timeless@mozdev.org
987ebea9dd Bug 620416 - hopefully useless null check of aCol in nsTreeBodyFrame::GetCellAt
r=enn a=dbaron
2011-02-16 14:14:20 +01:00
timeless@mozdev.org
1278fea739 Bug 620259 - add fall through comments to nsTableCellMap::SetNotTopStart and rename to nsTableCellMap::ResetTopStart
r=bernd a=dbaron
2011-02-16 14:14:18 +01:00
timeless@mozdev.org
c8cc4b3ae6 Bug 587484 - warning: suggest parentheses around assignment used as truth value in while (... = GetNextContinuation())
r+a=dbaron
2011-02-16 14:14:14 +01:00
timeless@mozdev.org
b6f0d48e50 Bug 620413 useless check of stopFrame in nsSVGGradientFrame::GetStopInformation
r=longsonr a=dbaron
2011-02-15 23:53:02 -08:00
timeless@mozdev.org
a602a2c382 Bug 617749 useless null check in nsSVGGlyphFrame::IsAbsolutelyPositioned
r=jwatt a=dbaron
2011-02-15 23:52:55 -08:00
Matt Woodrow
488e30f398 Bustage fix (forgot to qref). r=jst, a=bustage 2011-02-15 21:48:01 -08:00
Matt Woodrow
662d11c11f Bug 591687. Disable emtpy transactions with mac plugin layers. r=roc, a=blocker. 2011-02-15 21:25:34 -08:00
timeless@mozdev.org
7a3c914e20 Bug 620312 crash [@ nsTableFrame::InsertCol] because lastColGroup guard did not cover lastColGroup->GetColCount() r=bernd a=dbaron 2011-02-15 19:35:52 -05:00
Justin Dolske
9b24f36cf1 Bug 613800 - A Race Condition when closing inactive tab with alerts in OnBeforeUnload; r=jst a=blocking-final 2011-02-15 19:35:28 -05:00
Ehsan Akhgari
fac91c123b Disable the test for bug 632781 for all Windows platforms because apparently layersGPUAccelerated is not what we expect it to be on Windows XP; r=joe a=bustage 2011-02-15 17:51:19 -05:00
Rich Walsh
bc424b4fe8 Bug 530012 - [OS/2] build break in nsPresArena.cpp; r=wuno a=dbaron
--HG--
extra : rebase_source : a64adf531e9132c583419def72c712fc345774d7
2011-02-15 17:10:16 -05:00
Ehsan Akhgari
bf21e11e23 Bug 634153 - Back out the changes in bug 355178 because of known regressions and possible risk of not-yet-known regressions; r=sicking a=johnath
--HG--
extra : rebase_source : 4d77b7503991a3399cd6eecbcffb994b16fed43c
2011-02-15 17:04:44 -05:00
Chris Jones
be71251a17 Bug 631575: Clear the old window when setting a new document, and re-enable tests disabled in bug 631359. r=roc a=a 2011-02-15 15:45:02 -06:00
Chris Jones
4c62c14fe1 Bug 631585: Don't try to create plugin widgets in content processes, it's never going to work. r=tn a=a 2011-02-15 15:45:02 -06:00
Daniel Holbert
99a50a3910 Bug 596478: delay nsImageFrame's IsPercentageAware check until after we've lazily initialized mIntrinsicSize. r=roc a=dbaron 2011-02-15 13:34:52 -08:00
Boris Zbarsky
2b4d3f034f Bug 629908. Don't blindly try to reconstruct the root element; we might not have one. r=dbaron, a=dbaron 2011-02-15 15:51:33 -05:00
Ehsan Akhgari
0592088281 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
Ehsan Akhgari
42ecdcdea2 Back out changeset f3d13890fbe3 because of Windows reftest orange; a=orange
--HG--
extra : rebase_source : c7e2bdd935612251477b264ba64c65531916d0a3
2011-02-15 13:30:33 -05:00
Ehsan Akhgari
e4734bc273 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
bzbarsky@mit.edu
c4b8ded51b Bug 633413, don't bfcache so often, part 1, r=smaug
--HG--
extra : rebase_source : d30d8346c5f2526518386c895146ca6107b924fd
2011-02-12 01:12:20 -05:00
Mark Finkle
3714a4d2b3 Bug 629475 - Regression: displayport takes longer to refresh [r=cjones a=blocking-fennec] 2011-02-14 17:49:34 -05:00
Fernando Herrera
64e4589d37 Bug 630194 - Make sure accessibility is notified for all lazily generated frames, r=surkov, sr=bz, a=final+ 2011-02-14 17:39:59 +08:00
Simon Montagu
26ecc69649 Test for bug 632379, r=ehsan, a=test 2011-02-13 23:56:24 -08:00
Benoit Girard
156483e4f4 Disable OSX Plugin Layer due to regression b=633826 r+a=josh,bustage
--HG--
extra : rebase_source : 3fb0ff372479b9b6fbcb7246747bf5d769c66361
2011-02-13 21:54:33 -05:00
Simon Montagu
8e5a76d4bc Set the position of the childRect in nsXULScrollFrame::LayoutScrollArea before calling Layout. Bug 632379, r=dbaron, a=blocker 2011-02-13 08:38:29 +02:00
Matt Woodrow
5cacf25656 Bug 591687: Create MacIOSurfaceImages for Core Animation plugins. r=roc r=josh a=blocking2.0betaN+ 2011-02-12 11:09:03 -05:00
Matt Woodrow
aaef3ddcc5 Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 11:07:10 -05:00
Matt Woodrow
d6a75cf690 Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 10:55:40 -05:00
Jonathan Kew
36ed20e7c6 bug 633322 - ensure GetDetailedGlyphs() is not called when glyph count is zero. r=roc a=blocking 2011-02-11 22:05:09 +00:00
Benjamin Smedberg
8934cfcee3 Bug 626768 - Add a runtime-abort for recursive layout module initialization, because it is somewhat likely that bugs of this sort could cause the later runtime abort where the cycle collector cannot get the JS runtime service r=bent a=blocker 2011-02-11 16:01:02 -05:00
Olli Pettay
1a941e311f Backout Bug 630932, a=backout, we need Bug 614347 2011-02-11 18:33:50 +02:00
gal@uci.edu
7a64b61491 Bug 630932, change CC/GC scheduling, r=smaug, a=blocker 2011-02-11 17:12:47 +02:00
Jonas Sicking
16a77cbfa9 Bug 583889: Prevent scrolling from leaking information. r=dbaron a=blocker 2011-02-10 23:46:59 -08:00
Vivien Nicolas
ba32fd6a8e Fix spurious NS_WARNING by adding missing return. (Bug 632802) r=dbaron a2.0=dbaron 2011-02-10 15:21:07 -08:00
Robert O'Callahan
b9be837d8c Bug 622542. Remove unused FrameLayerBuilder::InvalidateAllThebesLayerContents API. r=tnikkel a2.0=blocking 2011-02-10 15:21:07 -08:00
Mats Palmgren
e39778e78a Bug 629823 - Assert that the root view size is in sync with the pres context visible size. r=tnikkel a=roc 2011-02-10 23:38:37 +01:00
Mats Palmgren
d82610cf02 Bug 631337 - Cannot resize the window using the corner resizer when body is position:relative. r=roc a=blocking2.0:final 2011-02-10 23:38:37 +01:00
Ehsan Akhgari
981256b0b6 Tests for bug 632215; r=roc a=blocking-final+
--HG--
extra : rebase_source : 0efdc19b409e8dcde458fd8f019b06e8396e1269
2011-02-10 16:23:09 -05:00
Ehsan Akhgari
afb9868f71 Bug 632215 - Make the caret ignore -moz-user-modify if we ask it to immediately, instead of waiting for the next caret paint timer; r=roc a=blocking-final+
--HG--
extra : rebase_source : 3595e03c255a6f348b97bc4e340d271733ccacbb
2011-02-10 16:12:53 -05:00
Ehsan Akhgari
d1ae4c4539 Bug 633210 - Single hyphens are marked as spelling mistakes; r=smaug a=beltzner
--HG--
extra : rebase_source : 76821671b08b0727c6131b10e45c9a24b1984509
2011-02-10 12:07:31 -05:00
Timothy Nikkel
06871ed079 Bug 631848. Make sure to invalidate when removing the root view of a document when it is moving into the bfcache. r=roc a=blocking 2011-02-07 12:51:54 -06:00
Simon Montagu
27a58b9636 Mark failing reftest as random-if(cocoaWidget), a=bustage 2011-02-07 13:02:01 +02:00
Simon Montagu
e5ed17c7d6 Bug 508816 - layout patch 2011-02-07 09:59:20 +02:00
Simon Montagu
8847abc54d Tests for bug 508816, from dbaron and Enn 2011-02-07 09:59:20 +02:00
Ehsan Akhgari
21e824997d Bug 508816 - Part E3: XUL and HTML reftests 2011-02-07 09:59:20 +02:00
Boris Zbarsky
3693ed3012 Bug 631682. Make sure to start background image loads for the root element when we compute its style and decide to construct a frame. r+a=dbaron 2011-02-04 22:43:13 -05:00
Ehsan Akhgari
e9c8c28aa7 Test case for bug 447749; r=smontagu a=tests 2011-02-04 19:35:57 -05:00
Zack Weinberg
59157fdf7c Bug 631615: suppress CSS parser diagnostics in ParseSelectorString. r=dbaron a2.0=dbaron 2011-02-04 14:17:00 -08:00
Ehsan Akhgari
be77af5b37 Bug 613109 - Make it possible to run a mochitest-* test suite with an extension installed; r=ted 2010-11-18 17:15:54 -05:00
L. David Baron
56e6f8182f Merge layout work from projects/birch, part 1. a=bsmedberg 2011-03-23 12:36:08 -07:00
Josh Aas
fc34f968eb Bug 641621: Fix bug in which we misinterpret an NPError return value as an nsresult. r=bsmedberg 2011-03-23 11:46:09 -07:00
Ms2ger
4add4dff80 Bug 562701, part c: Use Element in nsStyleAnimation::ComputeValue; r=dbaron 2011-03-28 12:51:59 -04:00
L. David Baron
d78a10bc18 Backout changeset f406ffe65c08 (Bug 620931 part 1) for causing bug 644790. 2011-03-24 21:07:53 -07:00
Robert O'Callahan
4bccc6ddf8 Bug 639689. Part 2: Some trivial cleanup and microoptimizations. r=joe 2011-03-24 16:13:58 +13:00
Robert O'Callahan
0788ccd0dd Bug 638241. Use a cache to avoid redoing SurfaceForElement and DoDrawImageSecurityCheck. r=bzbarsky 2011-03-24 16:13:56 +13:00
L. David Baron
af9a4f98db Merge layout work from projects/birch, part 4. a=rs 2011-03-24 14:36:14 -07:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Benjamin Stover
e08f07788f Bug 643164 Fire MozScrollAreaChanged before "load", not after r=roc 2011-03-24 10:41:23 -07:00
Jonathan Kew
717290f076 bug 418975 - tests for soft hyphen in table cells. r=roc 2011-03-24 15:24:17 +00:00
Jonathan Kew
4848054350 bug 418975 - support soft hyphen when calculating min width for table and fieldset. r=roc 2011-03-24 15:22:37 +00:00
Ehsan Akhgari
5553692d78 Merge mozilla-central into cedar 2011-03-24 10:54:50 -04:00
Mike Hommey
765d4f1b6c Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-03-24 15:27:37 +01:00
Boris Zbarsky
a91fb24e3a Bug 602341 part 7. Fix serialization of tree selectors. r=dbaron 2011-03-23 17:25:42 -04:00
L. David Baron
65ba1c0595 Merge layout work from projects/birch, part 3. a=smaug 2011-03-24 08:38:19 -07:00
Jonathan Kew
3a0a080efc bug 635639 - part 2: reftests for zero-width diacritics; r=jdaggett 2011-03-24 15:07:30 +00:00
Boris Zbarsky
4635536259 Bug 606087. Don't reframe if overflow styles change on inlines. r=dbaron. Test changes by Alexander Surkov, r=marco.zehe 2011-03-23 09:56:58 -04:00
Boris Zbarsky
1a3816d126 Bug 602341 part 6. Make pseudoclass atoms private to nsCSSPseudoClasses. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
5eab7e1239 Bug 602341 part 5. Get rid of some pseudoclass atoms in the CSS parser. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
0cd46556b4 Bug 602341 part 4. Drop the nsIAtom arguments to AddPSeudoClass. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
b883f48aec Bug 602341 part 3. Get rid of the mAtom member of nsPseudoClassList. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
c0e236bebd Bug 602341 part 2. Switch tree pseudoelements to using an nsAtomList (mClassList, to be exact), not an nsPseudoClassList (mPseudoClassList), for their list of atoms. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
401c62aad2 Bug 602341 part 1. Switch the pseudoclass Has*Arg functions from atoms to pseudoclass types. r=dbaron 2011-03-23 09:52:24 -04:00
Ehsan Akhgari
da7c6acb37 Bug 610391 - Create the widget for drop-down comboboxes lazily, and tear it down when the drop-down is closed; r=roc 2011-03-21 14:28:10 -04:00
L. David Baron
095768af68 Fix Windows optimized bustage from bug 636039 patch 15: use placement new in a loop instead of using placement new[]. 2011-03-18 14:02:44 -07:00
L. David Baron
c6b9eb02e0 Remove changes that should have been removed from bug 636039 patch 14 when I revised by 636039 patch 13. 2011-03-18 14:02:44 -07:00
L. David Baron
0028daf833 Fix bustage from bug 636039, patch 13, by not trying to access stub entries in kOffsetTable for the CSS_PROP_STUB_NOT_CSS entries. (Bug 636039) 2011-03-17 21:58:26 -07:00
L. David Baron
446b33c572 Fix Windows bustage by using the alloca-inclusion incantation from jstracer.cpp. (Bug 636039) 2011-03-17 20:43:06 -07:00
L. David Baron
a16e79db9e Make nsCachedStyleData store arrays of nsStyleStruct*, and use style struct IDs for faster access to those arrays. (Bug 639231, patch 3) r=bzbarsky 2011-03-17 20:14:32 -07:00
L. David Baron
f7e180061f Fix indentation. (Bug 639231, patch 2) r=bzbarsky 2011-03-17 20:14:32 -07:00
L. David Baron
17fb4b6565 Keep reset and inherited style struct IDs separate. (Bug 639231, patch 1) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
f1fb6dbc73 Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky
I tested manually that after:
 (a) removing the |ruleData.mValueOffsets[aSID] = 0;| in
     nsRuleNode::WalkRuleTree
 (b) removing the NS_ABORT_IF_FALSE(aRuleData->mValueOffsets[aSID] == 0,
     ...) from nsRuleNode::CheckSpecifiedProperties and
     UnsetPropertiesWithoutFlags
that we crash dereferencing the poison address in a SetCoord call inside
nsRuleNode::ComputeTextResetData
2011-03-17 20:14:31 -07:00
L. David Baron
7dfaf2124a Make test_property_database.html give all the errors rather than throwing an exception for the first missing longhand property. (Bug 636039, patch 18) r=bzbarsky
The main fix is in the first of the three for loops modified, but the
new structure of that one seems like an improvement worth applying to
the other two.
2011-03-17 20:14:31 -07:00
L. David Baron
bfca304c0a Remove now unused nsRuleData* structs. (Bug 636039, patch 17) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
d5df3b1e50 Remove Moz prefixes from names of subproperty tables. (Bug 636039, patch 16) r=bzbarsky
This fixes the FIXME introduced in patch 4.
2011-03-17 20:14:31 -07:00
L. David Baron
8f037974d7 Instead of stack-allocating nsRuleData* structs in separate methods for each style struct, allocate an array of nsCSSValue using alloca. (Bug 636039, patch 15) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
aa39d3bc8d Add index and count data for the properties that need to be computed for each style struct. (Bug 636039, patch 14) r=bzbarsky
This adds a second occurrence of the ugliest pattern of nsCSSPropList.h
inclusion.
2011-03-17 20:14:31 -07:00
L. David Baron
8214ac4261 Make the three CSS_PROP_INCLUDE_NOT_CSS properties much more like normal CSS properties, and (importantly) give them property IDs in the longhand range. Replace CSS_PROP_INCLUDE_NOT_CSS with CSS_PROP_STUB_NOT_CSS for callers that need stubs. (Bug 636039, patch 13) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
863712f142 Remove now-unneeded parameters to COMPUTE_START_{INHERITED,RESET}. (Bug 636039, patch 12) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
2add6d4298 Convert nsRuleNode::Compute*Data to property getters instead of accessing struct members. (Bug 636039, patch 11) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
59b4de6d7d Correct checks that were for the wrong pseudo-property (script-level vs. script-size-multiplier). (Bug 636039, patch 10) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
bdbc263fe7 Remove unused *AtOffset methods. (Bug 636039, patch 9) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
019db3ab80 Convert custom style rules to property getters instead of accessing struct members. (Bug 636039, patch 8) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
a285ab1c0a Add nsRuleData::ValueForBackgroundColor, etc., methods for each CSS property. (Bug 636039, patch 5) r=bzbarsky 2011-03-17 20:14:30 -07:00
L. David Baron
6256bf49b3 Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky 2011-03-17 20:14:30 -07:00
L. David Baron
1bcb281e20 Don't bloat nsCSSTable for members that only need to exist in nsRuleDataTable. (Bug 636039, patch 3) r=bzbarsky 2011-03-17 20:14:30 -07:00
L. David Baron
dbf25be692 Correct comment describing nsRuleData::ValueFor. (Bug 636039, patch 2) r=bzbarsky
nsRuleData::ValueFor does not return null; it checks conditions that
would cause it to do so with NS_ABORT_IF_FALSE.  Callers are required to
check mSIDs.
2011-03-17 20:14:30 -07:00
Boris Zbarsky
0618ee48ae Bug 641856. column-rule needs to work even when overflow is not visible. r=roc 2011-03-17 13:41:52 -04:00
Craig Topper
c232171343 Bug 577002 Part 3: Make various ImportRule functions non-virtual and cleanup some return types. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
51c51ac5d7 Bug 577002 Part 2: Remove nsICSSImportRule. r=bzbarsky
--HG--
rename : layout/style/nsICSSImportRule.h => layout/style/ImportRule.h
2011-03-17 13:41:52 -04:00
Craig Topper
ed7596665a Bug 577002 Part 1: Rename CSSImportRuleImpl to mozilla::css::ImportRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
c4eb4e1d09 Bug 576877 Part 3: De-virtualize methods in NameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
16a0c17c96 Bug 576877 Part 2: Remove nsICSSNameSpaceRule. r=bzbarsky
--HG--
rename : layout/style/nsICSSNameSpaceRule.h => layout/style/NameSpaceRule.h
2011-03-17 13:41:52 -04:00
Craig Topper
e09f420a06 Bug 576877 Part 1: Rename CSSNameSpaceRuleImpl to mozilla::css::NameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Olli Pettay
7f2d69813a Allow removing iframe when it is being printed, r=roc 2011-03-24 13:42:54 +02:00
Olli Pettay
b557b5e9d9 Mark the printing document as printing, not the original doc, r=roc 2011-03-24 13:41:16 +02:00
Jonathan Kew
c4c9f2d9e9 bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner 2011-01-05 21:48:48 +00:00
Robert O'Callahan
9fa8b97779 Bug 625672. Part 2: Build temporary layer manager to render inactive layers after we've recomputed visibility. r=tnikkel,a=blocker 2011-02-10 21:58:11 +13:00
Robert O'Callahan
1b7daf04ad Bug 625672. Part 1: Fix scrolling tests to actually test stuff correctly. r=dbaron 2011-02-10 21:58:11 +13:00
Robert O'Callahan
10b03b2af2 Bug 618722. Test. 2011-02-10 21:58:11 +13:00
Robert O'Callahan
28603731b2 Bug 618722. background-attachment:fixed display items rendered via temporary layer managers can't have their scrolling taken care of via the layer system, so make sure we invalidate them when we scroll in their document. r=tnikkel,a=blocker 2011-02-10 21:58:11 +13:00
Jonathan Kew
1002db5143 bug 631035 part 1 - optimize storage of DetailedGlyph records. r=roc a=blocking2.0 2011-02-10 06:50:47 +00:00
Daniel Holbert
f4407944ad Bug 632754: Annotate svg-as-an-image reftests that fail on d2d as 'fails-if', not 'random-if'. r=roc a=tests 2011-02-09 22:23:19 -08:00
Timothy Nikkel
9336a81739 Bug 629587. Don't try to scroll based on scrollbar attributes if they represent the current scroll position. r=roc a=blocking 2011-02-09 22:35:01 -06:00
Josh Aas
e2dffb6660 Bug 556873: Fix bugs in our secure input implementation for Mac OS X. More reliably enable and disable secure input mode. r=masayuki a=jst 2011-02-09 14:00:58 -05:00
Ehsan Akhgari
63db96751b Bug 355178 - Part 3: Work around the reftest failure by turning spell checker off; r=roc a=test-only 2011-01-28 14:46:37 -05:00
Ehsan Akhgari
9ddb3f7785 Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
Alon Zakai
5eea332ea1 Bug 610670 - Reuse a single puppet widget. r=bz,cjones a=blocking-fennec 2011-02-09 12:13:18 -08:00
Daniel Holbert
e6da31ef61 Bug 614649, patch 3: Add new comprehensive reftests for SVG-as-an-image w/ no viewBox. r=jwatt a=tests
--HG--
rename : layout/reftests/svg/as-image/img-height-meet-1-ref.html => layout/reftests/svg/as-image/img-novb-height-all-1-ref.html
rename : layout/reftests/svg/as-image/img-height-meet-1.html => layout/reftests/svg/as-image/img-novb-height-meet-1.html
rename : layout/reftests/svg/as-image/img-height-slice-1.html => layout/reftests/svg/as-image/img-novb-height-slice-1.html
rename : layout/reftests/svg/as-image/img-width-meet-1-ref.html => layout/reftests/svg/as-image/img-novb-width-all-1-ref.html
rename : layout/reftests/svg/as-image/img-width-meet-1.html => layout/reftests/svg/as-image/img-novb-width-meet-1.html
rename : layout/reftests/svg/as-image/img-width-slice-1.html => layout/reftests/svg/as-image/img-novb-width-slice-1.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1-ref.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-all-1-ref.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-meet-1-em.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-meet-1-px.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-em.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-px.html
2011-02-09 12:13:18 -08:00
Daniel Holbert
0f580ba819 Bug 614649, patch 2: Tweak/repurpose some existing svg-as-an-image reftests, in light of their (intentionally) different rendering as a result of this bug's patch. r=roc a=tests
--HG--
rename : layout/reftests/svg/as-image/squaredCircle-viewBox-100x100.svg => layout/reftests/svg/as-image/squaredCircle-100x100.svg
rename : layout/reftests/svg/as-image/squaredCircle-viewBox-100x100.svg => layout/reftests/svg/as-image/squaredCircle-100x50.svg
2011-02-09 12:13:18 -08:00
Daniel Holbert
0c4aab88d6 Bug 614649, patch 1: In SVG-as-an-image with no viewBox, use height & width attrs on <svg> to dynamically synthesize a viewBox. r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Ehsan Akhgari
9439003876 Bug 629878 - Followup to fix build bustage; a=bustage 2011-02-09 14:34:56 -05:00
Ehsan Akhgari
89c0d70d0d Test case for bug 558011; r=smontagu a=test-only 2011-02-08 21:50:51 -05:00
Ehsan Akhgari
a08aa31b93 Bug 629878 - Part 3: Test case; r=roc a=blocking-final+ 2011-01-31 20:06:20 -05:00
Ehsan Akhgari
deae53f1e4 Bug 629878 - Part 2: Do not scroll the selection into view when restoring the selection offsets for a text control after a reframe; r=roc a=blocking-final+
Previously, we used to scroll the text control's selection into view after a
reframe.  This had two problems: it was not precise (in case the selection was
modified by the mouse, for example), and it lead to problems such as bug 629878
if the control's frame was reconstructed because of the control being moved
inside the DOM.

This patch disables that behavior by wrapping the selection scroll function
into nsITextControlFrame::ScrollSelectionIntoView, so that APIs such as
setSelectionRange on the text control's content node can still call it
explicitly (since they actually need this behavior), but other callers of
nsITextControlFrame::SetSelectionRange (such as the nsTextEditorState
object's selection offset restoring mechanism) don't get this behavior as
an undesired side-effect.
2011-02-04 19:29:29 -05:00
Ehsan Akhgari
cbe552f50f Bug 629878 - Part 1: Save the scroll state for text controls the standard way; r=roc a=blocking-final+ 2011-02-04 18:28:38 -05:00
Ehsan Akhgari
86b83bcfc9 Bug 540360 - Split the borderhandling-rules-border.html reftest into multiple individual tests to prevent it from failing intermittently; r=bernd a=test-only 2011-02-03 16:39:31 -05:00
Marco Bonardo
aaac8f2d4c Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Mark Banner
c0c160d3c4 Bustage fix for the bustage fix for bug 626602. Namespace statement is required, so just ifdef it for IPC builds. r+a=bustage fix 2011-02-09 09:40:26 +00:00
Serge Gautherie
19f67354d4 Bug 632408 - [SeaMonkey, Windows] mochitest-chrome: permanent "test_leaf_layers_partition_browser_window.xul | Leaf layers should form a non-overlapping partition of the browser window" failure, since landing; (Av1) Improve test code somewhat.
r=roc (a=test-only).
2011-02-09 10:35:25 +01:00
Mark Banner
fbfe3e1251 Non-IPC bustage fix from bug 626602 - unnecessary using namespace mozilla::plugins statement. r+a=bustage fix 2011-02-09 09:16:59 +00:00
Chris Jones
4e02e6218a Test for bug 623636. a=test-only 2011-02-09 02:32:34 -06:00
Matt Woodrow
503e41f4c8 Bug 632636: Initialize cond when we have needs-focus. r=cjones a=bustage 2011-02-08 18:09:00 -06:00
Chris Jones
e569db4f34 Bug 631388: Stop trying to center plugin images in their frames. r=roc a=a 2011-02-08 18:44:14 -06:00
Chris Jones
66c0a6b21b Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-08 18:44:14 -06:00
Robert O'Callahan
fdb91c06bd Bug 626602. Part 4: Make the display items behind a plugin that needs readback be as visible as we can. r=tnikkel 2011-02-08 18:44:13 -06:00
Robert O'Callahan
7647e8c80b Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-08 18:44:13 -06:00
Justin Wood
bd3654e3bd Bug 589506 - Scrub the codebase of MOZ_VIEW_SOURCE and MOZ_JSLOADER. r+=ted 2010-08-24 23:27:34 -04:00
Mitchell Field
1592ff67f7 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11:00
Mitchell Field
b6976ca587 Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Mitchell Field
dd61bc4257 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Craig Topper
4d9b01e971 Bug 645956 - Part 4: Move CSSCharsetRule to header file and put in css namespace, r=bzbarsky 2010-08-07 22:34:19 -07:00
Craig Topper
f399980acf Bug 645956 - Part 3: Remove NS_NewCSSNamespaceRule, r=bzbarsky 2011-03-22 22:23:04 -07:00
Craig Topper
2ad1f0e447 Bug 645956 - Part 2: Remove NS_NewCSSImportRule, r=bzbarsky 2011-03-22 22:22:59 -07:00
Craig Topper
742b017a7c Bug 645956 - Part 1: Remove NS_NewCSSStyleRule, r=bzbarsky 2011-03-22 19:56:47 -07:00
Craig Topper
a32fd499a0 Bug 577976 - Part 5: Remove AddRef from GetStyleSheet, r=bzbarsky 2010-08-07 22:33:15 -07:00
Craig Topper
a5784bd2e2 Bug 577976 - Part 4: Move AddRef/Release back to nsCSSRule, r=bzbarsky 2011-03-17 22:18:08 -07:00
Craig Topper
f9a52c2641 Bug 577976 - Part 3: Rename nsCSSRule and put in css namespace, r=bzbarsky
--HG--
rename : layout/style/nsCSSRule.h => layout/style/Rule.h
2011-03-06 19:59:03 -08:00
Craig Topper
83a021fe91 Bug 577976 - Part 2: Remove forwarding methods to nsCSSRule from Rule classes, r=bzbarsky 2010-08-07 22:30:57 -07:00
Craig Topper
cd32b7900c Bug 577976 - Part 1: Make nsCSSRule inherit from nsICSSRule and remove inheritance of nsICSSRule from other classes, r=bzbarsky 2011-03-28 20:21:20 -07:00
Craig Topper
4f5347e078 Bug 577974 - Part 4: DeCOM and de-virtualize methods in GroupRule, r=bzbarsky 2010-08-07 22:29:28 -07:00
Craig Topper
e742b48926 Bug 577974 - Part 3: Rename nsCSSDocumentRule and nsCSSMediaRule, r=bzbarsky 2011-03-17 22:18:08 -07:00
Craig Topper
c601a2e51b Bug 577974 - Part 2: Remove nsICSSGroupRule, r=bzbarsky
--HG--
rename : layout/style/nsICSSGroupRule.h => layout/style/GroupRule.h
2010-08-07 22:28:33 -07:00
Craig Topper
9dbe5a9481 Bug 577974 - Part 1: Rename CSSGroupRuleListImpl. r=bzbarsky 2010-08-07 22:23:17 -07:00
Daniel Holbert
eeeddcd75e Bug 645750: Remove unused variables 'variantMask' and 'table' from nsCSSParser. r=dbaron 2011-03-29 09:53:09 -07:00
Ehsan Akhgari
44c6ad0a4f Merge backout of bug 622072 2011-03-29 14:32:11 -04:00
Ehsan Akhgari
931bd6ee19 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Jeff Muizelaar
bbf0b70e51 Update pixman to ad3cbfb073fc325e1b3152898ca71b8255675957
Alan Coopersmith (1):
      Sun's copyrights belong to Oracle now

Alexandros Frantzis (2):
      Add simple support for the r8g8b8a8 and r8g8b8x8 formats.
      Add support for the r8g8b8a8 and r8g8b8x8 formats to the tests.

Andrea Canciani (14):
      Improve precision of linear gradients
      Make classification consistent with rasterization
      Remove unused enum value
      Fix an overflow in the new radial gradient code
      Remove unused stop_range field
      Fix opacity check
      Improve conical gradients opacity check
      Improve handling of tangent circles
      Add a test for radial gradients
      Fix compilation on Win32
      test: Fix tests for compilation on Windows
      test: Add Makefile for Win32
      Do not include unused headers
      test: Silence MSVC warnings

Cyril Brulebois (2):
      Fix argument quoting for AC_INIT.
      Fix linking issues when HAVE_FEENABLEEXCEPT is set.

Jon TURNEY (2):
      Plug another leak in alphamap test
      Remove stray #include <fenv.h>

Rolland Dudemaine (4):
      test: Fix for mismatched 'fence_malloc' prototype/implementation
      Correct the initialization of 'max_vx'
      test: Use the right enum types instead of int to fix warnings
      Fix "variable was set but never used" warnings

Scott McCreary (1):
      Added check to find pthread on Haiku.

Siarhei Siamashka (62):
      Fixed broken configure check for __thread support
      Do CPU features detection from 'constructor' function when compiled with gcc
      ARM: fix 'vld1.8'->'vld1.32' typo in add_8888_8888 NEON fast path
      ARM: NEON: source image pixel fetcher can be overrided now
      ARM: nearest scaling support for NEON scanline compositing functions
      ARM: macro template in C code to simplify using scaled fast paths
      ARM: performance tuning of NEON nearest scaled pixel fetcher
      ARM: NEON optimization for scaled over_8888_8888 with nearest filter
      ARM: NEON optimization for scaled over_8888_0565 with nearest filter
      ARM: NEON optimization for scaled src_8888_0565 with nearest filter
      ARM: NEON optimization for scaled src_0565_8888 with nearest filter
      ARM: optimization for scaled src_0565_0565 with nearest filter
      C fast path for a1 fill operation
      ARM: added 'neon_composite_over_n_8_8' fast path
      ARM: introduced 'fetch_mask_pixblock' macro to simplify code
      ARM: better NEON instructions scheduling for over_n_8_0565
      ARM: added 'neon_composite_over_8888_n_0565' fast path
      ARM: reuse common NEON code for over_{n_8|8888_n|8888_8}_0565
      ARM: added 'neon_composite_over_0565_n_0565' fast path
      ARM: added 'neon_composite_add_8888_8_8888' fast path
      ARM: better NEON instructions scheduling for add_8888_8888_8888
      ARM: added 'neon_composite_add_n_8_8888' fast path
      ARM: added 'neon_composite_add_8888_n_8888' fast path
      ARM: added flags parameter to some asm fast path wrapper macros
      ARM: added 'neon_composite_in_n_8' fast path
      ARM: added 'neon_src_rpixbuf_8888' fast path
      Fix for potential unaligned memory accesses
      COPYING: added Nokia to the list of copyright holders
      Revert "Fix "syntax error: empty declaration" warnings."
      Fix for "syntax error: empty declaration" Solaris Studio warnings
      Workaround for a preprocessor issue in old Sun Studio
      Bugfix for a corner case in 'pixman_transform_is_inverse'
      Make 'fast_composite_scaled_nearest_*' less suspicious
      A new configure option --enable-static-testprogs
      ARM: do /proc/self/auxv based cpu features detection only in linux
      The code in 'bitmap_addrect' already assumes non-null 'reg->data'
      test: affine-test updated to stress 90/180/270 degrees rotation more
      New flags for 90/180/270 rotation
      C fast paths for a simple 90/270 degrees rotation
      Use const modifiers for source buffers in nearest scaling fast paths
      test: Extend scaling-test to support a8/solid mask and ADD operation
      Support for a8 and solid mask in nearest scaling main loop template
      Better support for NONE repeat in nearest scaling main loop template
      ARM: new macro template for using scaled fast paths with a8 mask
      ARM: NEON optimization for nearest scaled over_8888_8_0565
      ARM: NEON optimization for nearest scaled over_0565_8_0565
      SSE2 optimization for nearest scaled over_8888_n_8888
      Ensure that tests run as the last step of a build for 'make check'
      Main loop template for fast single pass bilinear scaling
      test: check correctness of 'bilinear_pad_repeat_get_scanline_bounds'
      SSE2 optimization for bilinear scaled 'src_8888_8888'
      ARM: NEON optimization for bilinear scaled 'src_8888_8888'
      ARM: use prefetch in nearest scaled 'src_0565_0565'
      ARM: common macro for nearest scaling fast paths
      ARM: assembly optimized nearest scaled 'src_8888_8888'
      ARM: new bilinear fast path template macro in 'pixman-arm-common.h'
      ARM: NEON: common macro template for bilinear scanline scalers
      ARM: use common macro template for bilinear scaled 'src_8888_8888'
      ARM: NEON optimization for bilinear scaled 'src_8888_0565'
      ARM: NEON optimization for bilinear scaled 'src_0565_x888'
      ARM: NEON optimization for bilinear scaled 'src_0565_0565'
      ARM: a bit faster NEON bilinear scaling for r5g6b5 source images

Søren Sandmann Pedersen (79):
      Remove the class field from source_image_t
      Pre-release version bump to 0.19.6
      Post-release version bump to 0.19.7
      Pre-release version bump to 0.20.0
      Post-release version bump to 0.20.1
      Version bump 0.21.1.
      COPYING: Stop saying that a modification is currently under discussion.
      Remove workaround for a bug in the 1.6 X server.
      [mmx] Mark some of the output variables as early-clobber.
      Delete the source_image_t struct.
      Generate {a,x}8r8g8b8, a8, 565 fetchers for nearest/affine images
      Pre-release version bump
      Post-release version bump to 0.21.3
      test: Make composite test use some existing macros instead of defining its own
      Add enable_fp_exceptions() function in utils.[ch]
      Extend gradient-crash-test
      test: Move palette initialization to utils.[ch]
      test/utils.c: Initialize palette->rgba to 0.
      Make the argument to fence_malloc() an int64_t
      Add a stress-test program.
      Add a test compositing with the various PDF operators.
      Fix divide-by-zero in set_lum().
      sse2: Skip src pixels that are zero in sse2_composite_over_8888_n_8888()
      Add iterators in the general implementation
      Move initialization of iterators for bits images to pixman-bits-image.c
      Eliminate the _pixman_image_store_scanline_32/64 functions
      Move iterator initialization to the respective image files
      Virtualize iterator initialization
      Use an iterator in pixman_image_get_solid()
      Move get_scanline_32/64 to the bits part of the image struct
      Allow NULL property_changed function
      Consolidate the various get_scanline_32() into get_scanline_narrow()
      Linear: Optimize for horizontal gradients
      Get rid of the classify methods
      Add direct-write optimization back
      Skip fetching pixels when possible
      Turn on testing for destination transformation
      Fix destination fetching
      Fix dangling-pointer bug in bits_image_fetch_bilinear_no_repeat_8888().
      Pre-release version bump to 0.21.4
      Post-release version bump to 0.21.5
      Print a warning when a development snapshot is being configured.
      Move fallback decisions from implementations into pixman-cpu.c.
      Add a test for over_x888_8_0565 in lowlevel_blt_bench().
      Add SSE2 fetcher for x8r8g8b8
      Add SSE2 fetcher for a8
      Improve performance of sse2_combine_over_u()
      Add SSE2 fetcher for 0565
      Add pixman-conical-gradient.c to Makefile.win32.
      Move all the GTK+ based test programs to a new subdir, "demos"
      Add @TESTPROGS_EXTRA_LDFLAGS@ to AM_LDFLAGS
      test/Makefile.am: Move all the TEST_LDADD into a new global LDADD.
      Add pixman_composite_trapezoids().
      Add a test program for pixman_composite_trapezoids().
      Add support for triangles to pixman.
      Add a test program, tri-test
      Optimize adding opaque trapezoids onto a8 destination.
      Add new public function pixman_add_triangles()
      Avoid marking images dirty when properties are reset
      In pixman_image_set_transform() allow NULL for transform
      Coding style:  core_combine_in_u_pixelsse2 -> core_combine_in_u_pixel_sse2
      sse2: Convert all uses of MMX registers to use SSE2 registers instead.
      sse2: Delete unused MMX functions and constants and all _mm_empty()s
      sse2: Don't compile pixman-sse2.c with -mmmx anymore
      sse2: Remove all the core_combine_* functions
      sse2: Delete obsolete or redundant comments
      sse2: Remove pixman-x64-mmx-emulation.h
      sse2: Minor coding style cleanups.
      Delete pixman-x64-mmx-emulation.h from pixman/Makefile.am
      Minor fix to the RELEASING file
      Pre-release version bump to 0.21.6
      Post-release version bump to 0.21.7
      test: In image_endian_swap() use pixman_image_get_format() to get the bpp.
      test: Do endian swapping of the source and destination images.
      In delegate_{src,dest}_iter_init() call delegate directly.
      Fill out parts of iters in _pixman_implementation_{src,dest}_iter_init()
      Simplify the prototype for iterator initializers.
      test: Randomize some tests if PIXMAN_RANDOMIZE_TESTS is set
      test: Fix infinite loop in composite
2011-03-28 13:52:09 -04:00
Boris Zbarsky
8a877093bc Bug 598832 part 16. Use a single TreeMatchContext for all the style resolution that the frame constructor does as part of a single frame construction batch. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
2bad4d16d0 Bug 598832 part 15. Make RuleProcessorData not inherit from TreeMatchContext anymore, so we can decouple the lifetimes. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
bab493667a Bug 598832 part 14. Make RuleProcessorData a stack-only class. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
1d0038c7b8 Bug 598832 part 13. Stop using RuleProcessorData in the DOM-exposed selector-matching methods. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
5299172bbc Bug 598832 part 12. Stop using RuleProcessorData in SelectorMatchesTree. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
ad215aa928 Bug 598832 part 11. Stop caching the parent content pointer and the element pointer; just use the passed-in aElement. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
a2477a6565 Bug 598832 part 10. Stop caching information about the element's attributes; just get it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
b2528f25ed Bug 598832 part 9. Stop caching the element's local name; just get it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
66521f6f8c Bug 598832 part 8. Move NodeMatchContext higher up the callstack, so that we don't have to call IsLink as much. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
c2d78db208 Bug 598832 part 7. Stop caching the content state of elements; just reget it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
06fc5fd9e4 Bug 598832 part 6. Stop caching the language of elements; just reget it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
ed28ec7565 Bug 598832 part 5. Move caching of nth-index stuff to the TreeMatchContext. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
14b6974cbf Bug 598832 part 4. Move tracking of whether we're in quirks mode to the TreeMatchContext. r=dbaron 2011-03-29 13:29:20 -04:00
Boris Zbarsky
0c71da47ea Bug 598832 part 3. Stop keeping track of whether the node or document is HTML in the RuleProcessorData. r=dbaron 2011-03-29 13:29:20 -04:00
Boris Zbarsky
56f2955c75 Bug 598832 part 2. Move tracking of the scope root to the TreeMatchContext. r=dbaron 2011-03-29 13:29:20 -04:00
Boris Zbarsky
1450ef8e9f Bug 598832 part 1. Move TreeMatchContext out to where things other than the rule processor can get at it. r=dbaron 2011-03-29 13:29:20 -04:00
Robert Longson
8b57446931 Bug 614367 - Fix assert removing nonexistent transform r=dholbert 2011-02-27 10:54:47 +00:00
Robert Longson
7c5a1f227d Bug 635511 - Improve performance getting parent SVG elements r=jwatt 2011-02-26 10:21:11 +00:00
Kevin Gadd
d5728c8712 Attempt to make the test for bug 629838 less sensitive to OS-triggered paints and CPU load; r=cjones a=test 2011-02-03 22:12:06 -08:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
kevingadd
f60280ba8c Attempt to make the test for bug 629838 less sensitive to OS-triggered paints and CPU load; r=cjones a=test
--HG--
extra : rebase_source : e525d5eb2a40533209d21f84a466f395243a756a
2011-02-03 22:12:06 -08:00
Alon Zakai
eb6d3ef5f2 Bug 610727 - Mark canvas layers inactive when relevant. r=roc a=blocking-fennec 2011-02-04 10:11:24 -08:00
Ehsan Akhgari
e74b5aed6c Bug 631412 - Bug 629401 breaks non-libxul builds due to unresolved reference to nsContentUtils::DispatchTrustedEvent(nsIDocument*, nsISupports*, nsAString_internal const&, int, int, int*); r=khuey a=NPOTB 2011-02-04 12:00:21 -05:00
Ehsan Akhgari
ff5cb3429d Bug 631406 - PeekOffsetNoAmount doesn't accept null as its second argument; r,a=roc 2011-02-03 19:52:46 -05:00
Markus Stange
20d43637e6 Bug 607464 - Don't use smooth scrolling for pixel scrolling. r=roc, a=roc 2011-02-04 09:00:06 +01:00
Daniel Holbert
2adbb7e694 Bug 629143: Re-enable svg-as-an-image tests that didn't work with OpenGL-accelerated layers now that we've disabled OpenGL on the versions of OS X that have the bug. a=tests-only DONTBUILD 2011-02-03 16:29:27 -08:00
Chris Jones
ed935313dc Followup to bug 615386: This test wants focus too. rs=ehsan a=a 2011-02-03 16:43:13 -06:00
Joe Drew
15ab30549b Bug 629016 - Re-enable tests that didn't work with OpenGL-accelerated layers now that we've disabled OpenGL on the versions of OS X that have the bug. r=jrmuizel a=b 2011-02-03 16:12:33 -05:00
Chris Jones
8991442744 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Rich Walsh
9adfe5d061 Bug 377392 - 'Copy Link Location' strips random characters from URLs copied to the clipboard; r=wuno,bzbarsky a=dbaron 2011-02-03 12:11:12 -05:00
Neil Deakin
fd67e69ef1 Bug 624127, clear mousedown selection state in frame where mouse was pressed down,r=smaug,a=jst 2011-02-03 12:08:30 -05:00
Ehsan Akhgari
2b53877e27 Bug 630564 - Ctrl+Shift+X in the location bar in RTL mode should change the text alignment in addition to directionality; r=roc a=blocking-final+ 2011-02-03 01:31:14 -05:00
Robert O'Callahan
114f358978 Bug 625288. Part 3: Test that a browser window containing a single empty tab builds a layer tree whose leaf layers form a non-overlapping partition of the window. r=tnikkel,a=test 2011-02-03 21:47:11 +13:00
Robert O'Callahan
9ba5ca14eb Bug 622542. Ensure that the layer tree is updated after NS_DOCUMENT_STATE_WINDOW_INACTIVE has changed. r=tnikkel,a=blocking 2011-02-03 21:45:32 +13:00
Robert O'Callahan
01fd6c923d Bug 626962. Part 0: Don't do empty transactions when painting to a widget's non-retaining layer manager. r=tnikkel,a=blocker 2011-02-03 21:45:23 +13:00
Daniel Holbert
046dbe6c85 (no bug) Fix end-of-line whitespace in SVG-as-an-image code & tests. r+a=whitespace-only DONTBUILD 2011-02-02 22:36:09 -08:00
Daniel Holbert
1ff5c43455 Bug 629885: mark non-HTTP-version of test 'svg-stylesheet-external-1.html' as random. a=tests,orange DONTBUILD 2011-02-02 14:20:47 -08:00
Patrick Walton
5c3bd5f865 Bug 630891 - Don't repaint nsSubDocumentFrames when they move. r=roc a=roc 2011-02-02 13:53:53 -08:00
Kevin Gadd
c4d09902c6 bug 629838 - After incrementing mozPaintCount during an empty transaction, also dispatch MozAfterPaint; r=roc a=blocking-final+
--HG--
extra : rebase_source : 91e6eb9b0d12b5c82363d4c4ce6914fef9bcf007
2011-01-31 18:41:58 -08:00
L. David Baron
cb50a6fc08 Ensure that 'load' and 'script' tests do layout and painting before we go on to the next test. (Bug 624279) r=roc a2.0=blocking
(It's tempting to remove both the direct call to RecordResult() (and
instead always go through WaitForTestEnd) and the setupPrintMode() call
not inside WaitForTestEnd, but that's probably more than I should tackle
right now.)
2011-02-02 08:40:17 -08:00
L. David Baron
074ea795ea Make the parts of reftest-analyzer scroll independently. (Bug 612505) 2011-02-02 08:40:17 -08:00
Serge Gautherie
2eb420d816 Bug 471959 - [SeaMonkey] test_bug458898.html reports incorrect innerWidth/innerHeight; (Av1) Revert workaround from bug 469331, now that the underlying m-c bug is fixed.
r=dbaron a=(test only).
2011-02-02 06:31:48 +01:00
Jonathan Watt
7c9f9c67d5 Bug 610990 - Regression: SVGPathSegList should allow manipulation of invalid paths. r=roc,sicking, a=blocking. 2011-02-02 08:41:50 +13:00
Neil Deakin
d791f40aa9 Bug 619089, retarget key events if the focus changes during a keydown event from content to chrome, r=olli,a=blocking 2011-02-01 09:46:48 -05:00
Alexander Surkov
d1a035e99c Bug 629950 - [@ nsIPresShell::RemoveRefreshObserverInternal(nsARefreshObserver*, mozFlushType)], r=bz, a=bz 2011-02-01 14:44:20 +08:00
Johnny Stenback
7ed31a41cb Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker 2011-01-31 20:50:01 -08:00
Kevin Gadd
90c20af040 bug 625248 - During each paint, build a list (stored as a FrameProperty of the root nsIFrame) of all the PresShells that are visible during this paint, so that we can increment their paint count correctly during an empty transaction; r=roc a=blocking-final+
--HG--
extra : rebase_source : 2524d2e258a6a6cc13a7d8df2c874752e415c1ba
2011-01-27 13:53:10 -08:00
Chris Leary
ca37dc9e3b Merge new mozilla-central head. (a=blockers) 2011-01-31 19:46:52 -08:00
Chris Leary
86d81ea3d6 Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-31 19:43:36 -08:00
Timothy Nikkel
a990ffa9fa Bug 626343. Revert accidental addition of unrelated debugging code in 73f7643d522d. a=oops DONTBUILD 2011-01-31 21:23:37 -06:00
Timothy Nikkel
ce990249cb Bug 626343. Check return value when creating a plugin widget. r=roc a=blocking 2011-01-31 17:31:34 -06:00
Serge Gautherie
2a012a8142 Bug 628589 - [SeaMonkey] mochitest-plain-3: permanent "TEST-UNEXPECTED-FAIL | /tests/gfx/test_acceleration.html | Acceleration enabled on x86-64 OS X". (Windows 2003 too); (Dv1) test_selection_underline.html: Move waitForExplicitFinish() out of onLoad(), Make existing todo() more explicit.
r=masayuki a=(test only).
2011-01-31 07:13:08 +01:00
Daniel Holbert
cfa767d16b Bug 627776: Rewrite reftests for bug 621253 to fix randomorange. r=roc a=tests
--HG--
rename : layout/reftests/bugs/621253-1.xhtml => layout/reftests/bugs/621253-helper-externalFilter.xhtml
rename : layout/reftests/bugs/621253-1-ref.xhtml => layout/reftests/bugs/621253-helper-internalFilter.xhtml
2011-01-30 20:58:18 -08:00
Jonas Sicking
6c6a7cea3e Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal). 2011-01-29 18:47:17 -08:00
Jim Mathies
aef5c2725d Bug 622328 - Fixup widget's UpdateTransparentRegion now that layout's transparent region includes all content. r=roc, a=blocking. 2011-01-27 16:58:58 -06:00
Timothy Nikkel
0123cc0fff Bug 622328 - Always make sure the area of the root content document is considered opaque. r=roc, a=blocking. 2011-01-27 16:58:50 -06:00
Ehsan Akhgari
6023b5b0cb Bug 629416 - Disable the correct test on Windows 7; a=sdwilsh-the-perma-sheriff 2011-01-27 16:38:48 -05:00
Ehsan Akhgari
522b8c4fe5 Disable failing reftests on Windows 7, pending further investigation in bug 629416 2011-01-27 13:18:17 -05:00
Daniel Holbert
5388c782d1 Bug 628747: Disallow SVG-as-an-image from loading external resources. r=bz a=roc 2011-01-26 22:20:27 -08:00
Ehsan Akhgari
a520cbecdc Disable the permaorange OSX64 failures under investigation in bug 629016 only on 10.6 2011-01-26 17:31:58 -05:00
Daniel Holbert
d96c1bed41 Bug 629143 - disable some near-permaorange-on-osx64 reftests (img-height-meet-2.html, img-height-slice-2.html, img-width-meet-2.html, img-width-slice-2.html), pending investigation. r+a=stop-the-orange on a CLOSED TREE 2011-01-26 13:30:21 -08:00
Robert O'Callahan
f3db7913db Bug 616085 - Renable 508908-1.html crashtest without it hitting the network, a=test 2011-01-20 22:05:48 -08:00
Mats Palmgren
345787dcab Bug 617076 - Large white space under Add-on Manager when switching tabs and panes. r=tnikkel a=blocking2.0:betaN 2011-01-29 01:10:46 +01:00
Mats Palmgren ext:(%2C%20Boris%20Zbarsky%20%3Cbzbarsky%40mit.edu%3E)
b3f06834af Bug 597627 - Adding and removing lines in big textareas is really slow. r=roc a=blocking2.0:final 2011-01-28 22:08:41 +01:00
Ehsan Akhgari
25abf1251e Bug 629145 - Part 3: Make sure that the iframes are large enough to cover all of the tests; r,a=roc
In particular, without this, the iframes are too small to catch failures for the reftest
of bug 612271, for example, since the selectionStart and selectionEnd text at the bottom of
the page falls outside of the visible area when the page is loaded inside the iframe.

--HG--
extra : rebase_source : ccac88034602cfcf1c852625e1bf08c184444622
2011-01-27 00:26:33 -05:00
Ehsan Akhgari
2c692900a2 Bug 629145 - Part 2: Fix incorrect assumptions about autofocus; r,a=roc
autofocus element will be focused after the load event is fired.  This patch changes
the tests to focus the desired elements at the load event explicitly.

--HG--
extra : rebase_source : e7d11185532576d3edd47cb0df4e01b21b232ade
2011-01-27 00:26:33 -05:00
Ehsan Akhgari
c4423f0dec Bug 629145 - Make test_reftests_with_caret.html not fail silently the first time that it is run; r,a=roc
getIntPref throws if the pref is not found.  ui.caretBlinkTime is not set by default, which causes
this test to just throw and fail silently the first time that it runs, which effectively means that
we didn't have coverage over this for a considerable amount of time.

--HG--
extra : rebase_source : ae74ad45ed5a518c034a6f39ac2c09919846e3f3
2011-01-26 16:18:15 -05:00
Daniel Holbert
d761994b1c Bug 628747: (patch v2) Disallow SVG-as-an-image from loading external resources, unless we're sure they won't hit the network. r=bz r=roc a=roc 2011-01-28 07:59:15 -08:00
Daniel Holbert
3c728a9e52 Bug 628747: Back out 0435ed183c2d (first version of this bug's patch). a=backout 2011-01-28 07:52:16 -08:00
Boris Zbarsky
5ee42273b4 Bug 629035 test followup. Add the test too. a=orange-n-such 2011-01-28 10:03:50 -05:00
Boris Zbarsky
7f56e3f186 Bug 629035 test. a=test 2011-01-28 09:32:17 -05:00
Boris Zbarsky
aa0e947d18 Bug 629035. Don't try to reconstruct frames if we don't have any. r=dbaron, a=blocker 2011-01-28 09:29:21 -05:00
Mounir Lamouri
346cf9312a Bug 595310 - Drag and drop of text into an input field does not remove placeholder. r=ehsan,roc a=jst 2011-01-28 02:19:04 +01:00
Alexander Surkov
7f72cfd7af Bug 625652 - make sure accessible tree is correct when rendered text is changed, r=davidb, sr=roc, a=roc 2011-01-28 16:42:22 +08:00
Alexander Surkov
60014572d1 Bug 628922 fix Solaris build - layout should use cached nsIAccessibilityService, r=roc, a=roc 2011-01-28 16:42:14 +08:00
Jonathan Watt
e9766e8961 Bug 619955. 'pointer-events' broken on SVG text. r=longsonr, a=roc.
--HG--
extra : rebase_source : 69ebfac4019f926014c957c9984cc6d6795016b3
2011-01-28 19:35:35 +13:00
Alexander Surkov
f1d1126c15 Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc 2011-01-28 12:38:14 +08:00
Ehsan Akhgari
963d008f0a Bug 579767 - Frame borders are sometimes not redrawn correctly after dragging them or resizing the window; r,a=roc 2011-01-26 00:41:52 -05:00
Timothy Nikkel
45e07ae313 Bug 628745. Replace rounded rect clips with their non-rounded cousins whenever possible. r=roc a=roc 2011-01-26 12:36:11 -06:00
Joe Drew
5777f7bb63 Bug 629016 - Disable reftests that are permaorange until we fix the bug that causes the permaorange. a=bustage 2011-01-26 13:33:32 -05:00
Chris Jones
d5e0476347 Fix test-ipcbrowser bug, as part of bug 593310 why not. a=b 2011-01-26 00:26:37 -06:00
Chris Jones
1618d4ba77 Bug 593310: Add initial support for drawing a moving, default background where shadow-layer content is undefined (as efficiently as possible). r=stechz,roc 2011-01-26 00:26:37 -06:00
Jonathan Watt
64baa40654 Bug 619959, part 2. Fix handling of various values of pointer-events when stroke-opacity="0". r=longsonr,heycam. a=roc.
--HG--
extra : rebase_source : d2adfa6fb8abfc08e2c1693521668587d1aaa00d
2011-01-26 17:50:29 +13:00
Chris Double
4e29108ec5 Bug 623998 - Reduce frameset size limit - r=roc a=blocking2.0:final 2011-01-25 14:38:07 +13:00
Daniel Holbert
33d6d257c5 Bug 625290: intermittent failure in layout/reftests/bugs/621918-2.svg. Apply filters.svg#empty hack to hopefully fix this randomorange. r+a=tests-only 2011-01-25 07:49:30 -08:00
Robert O'Callahan
99fc5fc092 Fixing reftest, a=test 2011-01-26 00:23:01 +13:00
Robert O'Callahan
88f0fd8a69 Bug 627393. Set correct alpha value for D3D10 ColorLayers. r=bas,a=blocking 2011-01-25 21:45:49 +13:00
Robert O'Callahan
715a68eba1 Bug 619117. When invalidating due to a transform change, use the cached post-transform visual overflow rect to avoid depending on the new transform style. r=dbaron,a=blocking 2011-01-25 21:41:56 +13:00
Daniel Holbert
8bc6eeee9d Bug 628477: Remove declaration for now-defunct helper method PaintBackgroundLayer in nsCSSRendering.cpp. r=roc a=roc 2011-01-24 22:41:12 -08:00
Chris Leary
a490c5bc24 Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-24 19:47:52 -08:00
L. David Baron
8ea27a6080 By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-24 16:23:08 -08:00
L. David Baron
f2437a7bed Clean up setting of preferences for reftest. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-24 16:23:07 -08:00
Jeff Walden
15fda24aa9 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
5ef527b523 Another round of orange fixes, sigh. r=orange yet again 2011-01-23 00:12:05 -08:00
Jeff Walden
a04ed905d9 More orange-fixing. r=yellowish-red 2011-01-22 22:52:02 -08:00
Ehsan Akhgari
77149e237e Bug 581536 - Part 3: Disconnect the transaction manager from the pres context as soon as it's disconnected from the pres shell; r=dbaron a=blocking-betaN+
This patch ensures that if for some reason, the pres context for a pres shell
goes away, we do not hold on to the old transaction manager.  Doing so would
lead into the transition properties not being deleted from the elements, which
will later on confuse the new transaction manager if we ever create one.

--HG--
extra : rebase_source : 11cbd972b81be1fa772eb865b2793d55711eec88
2010-12-17 20:45:18 -08:00
Ehsan Akhgari
75e267cec2 Bug 581536 - Part 2: Reconstruct the document element frames when the dir attribute is set on the document; r=bzbarsky a=blocking-betaN+
--HG--
rename : layout/reftests/forms/textarea-rtl.html => layout/reftests/forms/textarea-in-dynamic-rtl-doc.html
extra : rebase_source : 444e9dfa75be1e880679c405afd90cfc4031131c
2010-12-15 12:26:54 -08:00
Ehsan Akhgari
f336cece56 Bug 581536 - Resizer direction doesn't handle dynamic changes correctly; r=bsbarsky a=blocking-betaN+
--HG--
rename : layout/reftests/forms/textarea-rtl.html => layout/reftests/forms/textarea-rtl-dynamic-attr.html
rename : layout/reftests/forms/textarea-rtl.html => layout/reftests/forms/textarea-rtl-dynamic-style.html
extra : rebase_source : c12e9bcce6d2af527d15fe2f78a80f056888846c
2010-12-10 19:25:25 -05:00
Boris Zbarsky
ee1de88e0f Bug 581536 part 0. Change SetDocumentInternal to share the normal prescontext/presshell initialization codepath. r=dbaron
--HG--
extra : rebase_source : b0a4f5d729e044497def75e9e1ec6baea0a95810
2011-01-21 14:09:11 -05:00
Jonathan Kew
6c238d87c8 bug 574907 - reftests for snapping DirectWrite font size to integer when bitmap is present. a=test-only 2011-01-21 10:40:34 +00:00
Jonathan Kew
97b96b98fb bug 624310 - get glyph widths via directwrite rather than font tables when using simulated bold. r=bas a=joe 2011-01-21 10:35:21 +00:00
Ryan VanderMeulen
897def2555 Bug 586130 - Warning C4099 fixes (layout). r=dholbert a=bsmedberg 2011-01-20 19:49:09 -08:00
Mihai Sucan
f276342e3d Bug 621271 remove non-ASCII character from comment of nsIPressShell.h and nsPresShell.cpp r=masayuki, a=comment-only 2011-01-21 11:57:18 +09:00
Ehsan Akhgari
28684245d5 Disable the failing reftest on OS X 10.5 in the hopes that this is the only thing broken as a result of bug 583499. Bug 627560 was filed to track the failure 2011-01-20 19:50:05 -05:00
Mounir Lamouri
f76255784b Bug 606491 (2/2) - Update tests. r=smaug a=jst 2011-01-20 12:06:34 +01:00
Anas Husseini
a5271eb914 Bug 606491 (1/2) - Submit controls should be barred from constraint validation. f=volkmar r=smaug a=jst 2011-01-20 12:05:57 +01:00
Mounir Lamouri
00aa4789bb Bug 622558 - When .setCustomValidity() is used, :-moz-ui-invalid should always apply. r+a=sicking 2011-01-20 12:05:29 +01:00