Commit Graph

13715 Commits

Author SHA1 Message Date
Jonathan Kew
f746b72182 bug 764805 - reftest for style descriptors on src:local font face. r=jdaggett 2012-06-28 10:59:39 +01:00
Ehsan Akhgari
e9c88c4e63 Bug 766843 - Exempt inner table frames from optimized dynamic position change handling, as the required handling is performed for outer table frames; r=bzbarsky 2012-06-27 16:24:01 -04:00
Chris Lord
d9f08078fd Bug 758620 - Add fuzzing to fixed-pos reftests. r=roc
Now that fixed position elements are always separate onto their own layers,
they are victims of rounding errors/differences during composition.
This change adds fuzz for the affected platforms/tests.
2012-06-27 16:44:06 +01:00
Chris Lord
9fd49ed93f Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Chris Lord
1163c9e9c6 Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-27 16:43:46 +01:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Aryeh Gregor
b6bb10c6a3 Bug 766845 part 2 - Make CloneRange() return already_AddRefed<nsRange>; r=smaug 2012-06-25 14:44:11 +03:00
L. David Baron
58798efed4 Backout changeset 1e2b9cdc486b (Bug 248239) due to failure of tests/MochiKit-1.4.2/tests/test_MochiKit-Style.html . 2012-06-26 18:16:09 -07:00
Tal Aloni
bded505e94 Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). (Bug 248239) r=dbaron 2012-06-26 16:24:23 -07:00
Frédéric Wang
9d87a055c5 Reftest for bug 662756. r=karlt 2012-06-26 15:43:02 -07:00
Frédéric Wang
2494a996ed Bug 662756 - The default value for attributes lspace/rspace of <mo> should be thickmathspace. r=karlt 2012-06-26 15:42:56 -07:00
Daniel Holbert
d0c73eda8f Bug 666041 patch 3: Create boilerplate nsFlexContainerFrame class. r=bz 2012-06-26 15:12:13 -07:00
Daniel Holbert
a445dcdc59 Bug 666041 patch 2.5: Add nsCSSFrameConstructor code for detecting when a flex container needs to have its frames rebuilt. r=bz 2012-06-26 15:11:53 -07:00
Daniel Holbert
348d6c9a3d Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz 2012-06-26 15:11:38 -07:00
Ed Morley
ef4179d2d4 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord
1448e862c1 Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Chris Lord
0b81e47018 Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-26 14:42:57 +01:00
Ed Morley
4eeae4769b Merge mozilla-central to mozilla-inbound 2012-06-26 12:12:52 +01:00
Jonathan Watt
678c10801d Bug 767823 - Make nsAutoFilterInstance take frame rects and stop using GetCoveredRegion. r=longsonr. 2012-06-26 11:49:23 +01:00
Ed Morley
fb876e555d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-26 09:52:55 +01:00
Nicholas Cameron
03e8305815 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
34289b5948 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
dde00bf60b Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
4a220c27be Bug 757347; changes to mask layer user data. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
9a71fb3f8c Bug 757347; Add a cache for image containers. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
549b63d97d Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nicholas Cameron
aae4ecb5d0 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
f7821afd6f Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
6f0ff4bb34 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
005c5ef480 Bug 757347; changes to mask layer user data. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
8c7a60de72 Bug 757347; Add a cache for image containers. r=roc 2012-06-26 09:44:41 +12:00
Jonathan Watt
bae43f45b9 Bug 767996 - Prevent DoApplyRenderingChangeToTree calling nsSVGUtils::InvalidateBounds() and passing in an nsSVGOuterSVGFrame. r=me. 2012-06-25 18:55:30 +01:00
Jonathan Watt
e97188122e Bug 767996 - Add null check to nsSVGUtils::InvalidateBounds. r=me. 2012-06-25 16:17:42 +01:00
L. David Baron
04e591eb8b Track TEXT_IN_TEXTRUN_USER_DATA separately for inflated and non-inflated text runs. (Bug 718290) r=roc 2012-06-24 16:25:39 -07:00
Jonathan Watt
7f03c68e75 Bug 767734, part 1 - Require all callers of nsSVGPathGeometryFrame::GeneratePath to pass in the CTM that should be used. r=longsonr. 2012-06-24 21:12:40 +01:00
Jonathan Watt
58c8195ece Bug 738192 follow-up. Re-enable layout/reftests/svg/dynamic-text-04.svg after fixing MarkDirtyBitsOnDescendants. r=me. 2012-06-24 18:02:23 +01:00
Jonathan Watt
fa29fde55f Bug 738192 follow-up. Disable layout/reftests/svg/dynamic-text-04.svg temporarily while I fix it. r=me. 2012-06-24 16:18:29 +01:00
Jonathan Watt
6f1b9a5c08 Bug 738192 follow-up. Make layout/reftests/svg/dynamic-text-04.svg use MozReftestInvalitade instead of setTimeout to avoid random orange. r=me. 2012-06-24 15:17:19 +01:00
Jonathan Watt
08b95bd3a4 Bug 738192 - Get rid of the old horrendous "invalidate everything" hack in nsSVGUtils::FindFilterInvalidation(). r=longsonr. 2012-06-24 13:59:26 +01:00
Aryeh Gregor
868bf136db Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan 2012-06-24 09:54:43 +03:00
Jonathan Watt
4b09954b65 Bug 767647 followup. Fix unused variable bustage. r=me. 2012-06-23 17:49:37 +01:00
Jonathan Watt
809b4bbd33 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Jonathan Watt
ee8773b97c Bug 767697 - Stop invalidating rendering observers of ancestors of SVG frames that only render by reference. r=longsonr. 2012-06-23 15:19:00 +01:00
Jonathan Watt
a3f0864740 Bug 767701 - Add missing nsSVGEffects::InvalidateDirectRenderingObservers() call to the clipPath code. r=longsonr. 2012-06-23 15:18:49 +01:00
Charly Molter ext:(%20and%20Alexandre%20Dumont%20%3CAlexandre%20Dumont%20%3E)
f924084c27 Bug 716875 - Make nsTextControlFrame inherits from nsContainerFrame instead of nsStackFrame. r=roc,bz 2012-06-23 13:11:00 +02:00
Jonathan Watt
c78acee61a Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 04:01:36 +01:00
Phil Ringnalda
0c8a775404 Back out 12f76b9a2d78 (bug 541270) for failing to compile 2012-06-22 19:12:35 -07:00
Jonathan Watt
11640a0af3 Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 02:47:10 +01:00
Mats Palmgren
0cdf1d13a9 Bug 575294 - s/mFocused/sFocused/. part=5/5 r=smaug 2012-06-23 03:13:56 +02:00
Mats Palmgren
e77c8dbeb1 Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
668b20a445 Bug 575294. part=3/5 r=roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
03bbad1b02 Bug 575294. part=2/5 r=smaug,roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
b02aab305a Bug 726264. r=smaug 2012-06-23 03:13:56 +02:00
Boris Zbarsky
34edba5d0f Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron 2012-06-22 16:18:50 -04:00
Dão Gottwald
0dcc90924c Bug 767462 - Allow controlling outside-click event consumption with an attribute. r=enndeakin
--HG--
extra : rebase_source : 0afac7d049f96568390e283cb90f2f1a79ad7c5a
2012-06-22 22:07:26 +02:00
Robert O'Callahan
23719f664e Bug 763838. Update mDestination to match chosen subpixel destination. r=tnikkel 2012-06-22 11:24:06 -05:00
Bas Schouten
59e189f351 Bug 764117 - Part 1: Prefer performance over avoiding seaming in border drawing. r=roc 2012-06-22 16:27:38 +02:00
Bas Schouten
4abe051113 Bug 764117 - Part 0: Mark reftest fuzzy on OS X. r=roc 2012-06-22 16:27:38 +02:00
Robert O'Callahan
052a9b7ec1 Bug 766007. Create scrollframes for frameset documents. r=tnikkel 2012-06-22 22:51:05 +12:00
Jonathan Watt
4b544c20f8 Bug 766896 - Have InvalidateAllContinuations use GetNextContinuationOrSpecialSibling so that we invalidate the correct areas. r=roc. 2012-06-22 11:44:18 +01:00
Jonathan Watt
8eeeb26ed2 Bug 766227 - Follow-up to fix comment after discussion with roc. r=me. 2012-06-22 11:42:05 +01:00
Mounir Lamouri
744531ad99 Back out bug 766007, bug 703241 and bug 752796 due to perma-orange (419f0d1b848b to 8661c74deeb5). 2012-06-22 11:13:32 +02:00
Robert O'Callahan
9cedb951bc Bug 703241. Part 2: Stop the 'scroll top of line into view' behavior when ancestors in the line are transformed or positioned. Allow that behavior for any kind of line-participant ancestor. r=mats 2012-06-22 17:06:54 +12:00
Robert O'Callahan
d9153fe2d6 Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal 2012-06-22 17:06:49 +12:00
Robert O'Callahan
9c75a25b45 Bug 766007. Create scrollframes for frameset documents. r=tnikkel 2012-06-22 17:06:40 +12:00
Daniel Holbert
93cab320e1 Bug 766783: Remove unneeded member variable nsBulletFrame::mComputedSize. r=mats 2012-06-21 12:58:28 -07:00
Jignesh Kakadiya
b2ead13822 Bug 765590 - CSSNameSpaceRule.type should be 10, not 0. r=dbaron 2012-06-21 12:58:19 -07:00
L. David Baron
9ed0a5d8ba Treat animation-iteration-count:0 specially. (Bug 765218) r=bzbarsky 2012-06-21 11:44:34 -07:00
L. David Baron
e1952224d8 Implement new values of animation-direction. (Bug 655920) r=bzbarsky 2012-06-21 11:44:34 -07:00
L. David Baron
d911d17f22 Add reftest for bug 764354. 2012-06-21 11:44:34 -07:00
Kartikaya Gupta
7c2ab6a7f0 Bug 755971 - Add methods to nsLayoutUtils to calculate the padding boxes. r=bz 2012-06-21 09:35:17 -04:00
Randell Jesup
04cb98a9a8 Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Mats Palmgren
730cb4085d Bug 764541. r=smontagu 2012-06-21 12:51:38 +02:00
Jonathan Watt
74f0825e8f Bug 766227 - More nsSVGIntegrationUtils cleanup and commenting to make it a lot easier to understand. r=longsonr.
--HG--
extra : rebase_source : fab6126eac4f1135562e1b2404bf5c52d0500344
2012-06-21 01:29:50 +01:00
Ed Morley
4992a5b7b4 Merge mozilla-central to mozilla-inbound 2012-06-21 08:38:39 +01:00
Ms2ger
988d7a1252 Bug 763451 - nsDisplayCanvas::GetOpaqueRegion fails to override nsDisplayItem::GetOpaqueRegion; r=roc 2012-06-21 09:21:55 +02:00
Mike Hommey
58718e5c70 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Ryan VanderMeulen
7d0e71644b Backout b35294da2c4b (bug 764117) due to OSX reftest orange. 2012-06-20 22:56:36 -04:00
Ryan VanderMeulen
8f8c9230b8 Re-land bug 757362 since it wasn't at fault for OSX orange. 2012-06-20 22:54:56 -04:00
Ryan VanderMeulen
8c533723e9 Backout 5ba4c3a2338c (bug 757362) for OSX reftest orange. 2012-06-20 21:53:31 -04:00
Timothy Nikkel
756c5f818c Bug 757362. Use the displayport for the dirty rect (if one is set) when building the display list for a subdocument so that position: fixed items are correctly included. r=roc 2012-06-20 17:35:54 -05:00
Bas Schouten
217961fb06 Bug 764117: Prefer performance over avoiding seaming. r=roc 2012-06-20 23:41:13 +02:00
Jonathan Kew
18d7bebbda bug 763982 - update and optimize Arabic char processing in TransformText. r=smontagu 2012-06-20 20:58:19 +01:00
Jonathan Watt
23e07a7b4d Bug 614840 - Mark clipPath-and-shape-rendering-01.svg as fuzzy-if for a slight two pixel difference. r=longsonr.
--HG--
extra : rebase_source : 5aea68575f603437d742b8b7eef0f2e730ab9573
2012-06-20 15:33:04 +01:00
Scott Johnson
be16a4b22f Bug 763702, Part 2/2: Crashtest for bug 763702. [r=dbaron]
--HG--
extra : rebase_source : 46de60b9ddc1dd6c0f80be39d4f5491aa1525e90
2012-06-20 11:09:37 -05:00
Scott Johnson
a6eb618dbc Bug 763702, Part 1/2: Ensure font inflation bits are set during frame construction for root frame to prevent crash. [r=dbaron]
--HG--
extra : rebase_source : 50084348a42aa9e038196f39fea686ab21cf80a0
2012-06-20 11:09:35 -05:00
Jonathan Watt
8ac746fbdd Bug 766429 - Minimize the size of the offscreen surfaces created for SVG group opacity, masks and complex clipPaths. r=roc. 2012-06-20 10:02:43 +01:00
Mike Hommey
7a97c993d4 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
3331a294da Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Ehsan Akhgari
f50c2ec7a7 Bug 762764 - Prevent selection from descending into text boxes when extending it for things like caret navigation and extension for deletion; r=roc 2012-06-19 19:31:03 -04:00
Jared Wein
496ac3d97b Backed out changeset feec545f5f98 (bug 713608) 2012-06-19 14:11:38 -07:00
Jared Wein
a900f8fc09 Backed out changeset 0fa8e0eb40a7 (bug 760696) 2012-06-19 14:11:23 -07:00
Ehsan Akhgari
ba82a5d757 Bug 765597 - Invalidate the thebes layer as well as the overflow area when moving frames; r=dbaron 2012-06-19 16:47:27 -04:00
Robert Longson
2b5b728153 Backout most of Bug 467498 - crashtest failure on windows 2012-06-19 17:49:47 +01:00
Jonathan Watt
70c1310055 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Robert Longson
83c12e0c1b Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Ehsan Akhgari
8a54f4db7a Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Ehsan Akhgari
7a041e9a4b Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Tatiana Meshkova
5ab166de61 Bug 761981 & Bug 762568 - Intermittent test-pos-fixed-transform.html&test-bg-attachment-fixed.html | image comparison (==) r=roc 2012-06-13 16:41:50 -07:00
Jonathan Watt
eec7d5bc7f Bug 765505 - Clean up filter code. r=longsonr. 2012-06-16 21:23:48 +01:00
Robert Longson
03cb3b88c4 Bug 764851 - Fix animations of the width/height of an outer SVG element. r=jwatt 2012-06-16 16:47:40 +01:00
Masayuki Nakano
715138a69a Bug 765166 lines should be able to be broken before/after Ideographic space next to breakable white space r=roc 2012-06-16 23:48:57 +09:00
Kartikaya Gupta
51a77b21ba Bug 763570 - Part 2 - Add a scrollframe from frameset documents on Fennec, so that they work with async pan/zoom and touch events. r=bz 2012-06-15 17:49:53 -04:00
Kartikaya Gupta
5ace9309ab Bug 763570 - Part 1 - Back out 18b206c111cd from bug 747493 as we have a better solution that also fixes other broken frameset behaviours. r=tnikkel 2012-06-15 17:49:46 -04:00
Jonathan Watt
6fdc0b8c37 Bug 764860 - Simplify and comment the clipPath code. r=longsonr. 2012-06-15 10:06:34 +01:00
Jonathan Watt
60a4f442ba Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Jonathan Watt
87661488ec Bug 764813 - Avoid using gfxContext::SetMatrix in SVG code where possible. r=Bas. 2012-06-15 04:02:27 +01:00
Aryeh Gregor
56e7ece4d0 Bug 762183 part 2 - Publicize nsSelectionIterator; r=ehsan 2012-06-12 17:15:23 +03:00
John Daggett
5927af9fa0 Bug 739804. Fix up reftests dependent on fallback behavior. r=smontagu 2012-06-14 15:39:08 +09:00
Nicholas Cameron
d839c86659 Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Nicholas Cameron
28174a115b Bug 761890 (was 746883); change tests to work with Azure/Skia (mostly fuzz). r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Nicholas Cameron
281be0879e Bug 761890; build Skia on Windows. r=gw280 2012-06-14 16:27:53 +12:00
Jonathan Watt
62f423d85b Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr 2012-06-13 21:12:38 -04:00
Masatoshi Kimura
0dd0e95231 Bug 743888 - Part 1: Remove SVGException and XPathException. r=jonas 2012-06-13 21:12:37 -04:00
fantasai
35c93130b9 Bug 691950 - Set up directories for W3C CSSWG test suite sync to/from mozilla-central. r=dbaron 2012-06-13 21:12:37 -04:00
Ryan VanderMeulen
c485f40f19 Merge m-c to inbound. 2012-06-13 21:12:31 -04:00
Matt Brubeck
cee86ebe22 Merge last green changeset from inbound to mozilla-central 2012-06-13 13:23:54 -07:00
L. David Baron
d4e4ff4aca Don't mark intrinsic widths dirty for font inflation width changes at box/block boundaries. (Bug 764354) r=bzbarsky 2012-06-13 12:49:41 -07:00
Scott Johnson
f79662623a Bug 733614: Whitespace change after backout of bug 695222. [r=none, whitespace-only, DONTBUILD] 2012-06-13 12:14:31 -05:00
Scott Johnson
2332c9b000 Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron]. 2012-06-13 11:00:56 -05:00
Siddharth Agarwal [
7674716a66 Bug 764376 - Fix references to |class nsArenaMemoryStats|; r=ehsan 2012-06-13 10:43:38 -04:00
Robert Longson
90bb704527 Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt 2012-06-13 14:32:23 +01:00
Ryan VanderMeulen
287fbc1e16 Merge m-c to inbound. 2012-06-12 21:36:40 -04:00
Matt Brubeck
a66da30249 Merge last green changeset from inbound to mozilla-central 2012-06-12 18:24:45 -07:00
Andrii Zui
8bb424f5d8 Bug 749044 - Dynamic reftests for selection attribute and maction rendering. r=karlt 2012-06-12 20:06:34 -04:00
Andrii Zui
b40c81467d Bug 749044 - Selection attribute on maction is now considered by default. Checking for a rendering error in maction has been added. r=karlt 2012-06-12 20:05:58 -04:00
L. David Baron
1d3cb4a877 Make scroll frames (i.e., overflow != visible) no longer be font size inflation flow roots. This fixes phoronix.com/reddit.com/others at the expense of youtube.com. This reverts b64bfa138619890a01826bde8974cc974b45a6f5 (bug 760098) which in turn reverted 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 747720) r=backout 2012-06-12 12:43:09 -07:00
Daniel Holbert
12f6753057 Bug 763689: Add "auto" keyword for min-height and min-width, which for now just computes to 0. r=bz 2012-06-12 10:48:20 -07:00
Ed Morley
11c73f1659 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-12 10:36:42 +01:00
L. David Baron
0e73af2214 Don't assume ordering of callers of nsPresContext::ScreenWidthInchesForFontInflation; instead, track changes only for the caller that cares about changes. (Bug 759755, patch 5) r=bzbarsky 2012-06-11 22:43:31 -07:00
L. David Baron
5c2604b010 Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc 2012-06-11 13:57:35 -07:00
L. David Baron
5cfd6386f6 Do the necessary reflow when our font inflation data changes. (Bug 759755, patch 2) r=roc/bzbarsky 2012-06-11 13:57:35 -07:00
L. David Baron
d5f5088f98 Back out patches 2 and 3 of bug 759755 for causing intermittent failures of layout/reftests/font-inflation/container-with-clamping.html . 2012-06-10 17:36:18 -07:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
9c1d160da3 Merge the last PGO-green inbound changeset to m-c 2012-06-10 18:21:22 -04:00
Olli Pettay
331cfaf7ec Bug 763014 - crash in PresShell::HandleEventInternal, r=mats 2012-06-11 00:45:09 +03:00
L. David Baron
c38c9fa722 Make svg:foreignObject be considered a constrained height (now that I'm thinking about them). (Bug 759755, patch 4) r=roc 2012-06-10 13:02:23 -07:00
L. David Baron
7cb71d7b6a Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc 2012-06-10 13:02:23 -07:00
L. David Baron
6b24f26a83 Do the necessary reflow when our font inflation data changes. (Bug 759755, patch 2) r=roc 2012-06-10 13:02:23 -07:00
L. David Baron
e19725c628 Fix source of slight test variation. (Bug 759755, patch 1) 2012-06-10 13:02:23 -07:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Jignesh Kakadiya
46a0dd6a93 Bug 751785 - Make Selection.toString() API use DOMString instead of wstring 2012-06-09 15:15:12 -07:00
Boris Zbarsky
39f6f39d17 Bug 763424. Dynamic changes to generated content don't work correctly on frames which pass a child content insertion frame to ProcessChildren (e.g. <td>). r=dbaron 2012-06-11 18:21:35 -04:00
Matt Brubeck
e8e3af840b Re-land backout of bug 754202 and fix other accidental changes from merge 75b67011b798 on a CLOSED TREE 2012-06-11 11:12:18 -07:00
Nicholas Cameron
7b5d7e7a2e Bug 759036. Reftest for bugfix. r=Bas 2012-06-14 10:40:39 +12:00
Ryan VanderMeulen
dc75b9cbd4 Backout Bug 749044 due to Android reftest failures 2012-06-09 16:03:31 -04:00
Nathan Froyd
df08b6c5cc Bug 674922 - report on most common objects allocated in a PresShell's arena; r=roc,njn 2012-06-06 13:35:40 -04:00
Nathan Froyd
07dd9516f2 Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc 2012-06-06 13:29:16 -04:00
Nathan Froyd
8aa1a6dc0a Bug 674922 - account for all of nsPresArena::State's members; r=njn 2012-06-05 12:33:54 -04:00
Nathan Froyd
241a5a94c5 Bug 674922 - make frame id lists reusable by other parts of the browser; r=roc 2012-06-05 11:10:28 -04:00
Ed Morley
a73fc227f9 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
ddc048ce6a Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-11 16:45:39 +12:00
Oleg Romashin
4d14e84fec Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
b10091e4bd Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
691e68d572 Bug 539356 - Part 18 - Mark frames with only invalid children as an optimization to use when invalidating further frames. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
a68849c4c6 Bug 539356 - Part 15 - Add table invalidation test. r=bz 2012-06-11 16:45:39 +12:00
Matt Woodrow
e1a184f70a Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
2e295df184 Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
e1af0db87a Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
13e6b795f1 Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
e0d2c896b0 Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
d8b05307aa Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
147cab5783 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
1b5d7c74d7 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-11 16:44:09 +12:00
Matt Woodrow
7b18141336 Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
e15259b14a Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-11 16:44:08 +12:00
Jonathan Watt
c38c665830 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-11 16:44:08 +12:00
Matt Woodrow
bf4a985e44 Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz 2012-06-11 16:44:08 +12:00
Andrii Zui
1ab362483f Bug 749044 - Dynamic reftests for selection attribute and maction rendering. r=karlt 2012-06-09 14:22:41 -04:00
Andrii Zui
5d54929357 Bug 749044 - Selection attribute on maction is now considered by default. Checking for a rendering error in maction has been added. r=karlt 2012-06-09 14:22:41 -04:00
Nicholas Cameron
1fcb720df7 Bug 758561 - Test for mask layer for empty iframe. r=roc 2012-06-09 14:22:41 -04:00
Nicholas Cameron
a073280631 Bug 755078 - Backout previously-landed patch for bug 755078. r=roc 2012-06-09 14:22:40 -04:00
Frédéric Wang
579b49d2bf Bug 760707 - Allow layout/mathml/updateOperatorDictionary.pl to download and convert the W3C dictionary. r=karlt 2012-06-09 12:24:57 -04:00
Frédéric Wang
609fee85a0 Bug 755525 - Remove some tests from layout/mathml/tests/. r=karlt 2012-06-09 12:24:57 -04:00
Frédéric Wang
5c26875136 Bug 755525 - Remove some tests from layout/mathml/tests/various.xml + merge it with maxwell.xml. r=karlt 2012-06-09 12:24:57 -04:00
Frédéric Wang
63dc6fae04 Bug 755525 - Update layout/mathml/tests/various.xml to use the new maction syntax. r=karlt 2012-06-09 12:24:57 -04:00
Frédéric Wang
978c6118aa Bug 742273 - Remove obsolete MathML tables for stretchy characters. r=karlt 2012-06-09 12:24:57 -04:00
John Daggett
8e4a7a54d5 No bug. Add reftest fonts for feature testing. r=me 2012-06-11 10:04:39 +09:00
David Zbarsky
6025f51339 Bug 758533: Check that nsImageRenderer has an image when getting the container r=gal 2012-06-10 17:31:42 -07:00
Ryan VanderMeulen
bf2b50270d Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Robert Longson
3fd65ea12a Bug 763133 - border-radius not clipping SVG contents. r=bzbarsky 2012-06-12 11:25:26 +01:00
Joel Maher
f27ae228e6 Bug 760264 - when running reftests on android native, we have a failure in layout/reftests/text-overflow/scroll-rounding.html. r=ajuma 2012-06-13 14:20:45 -04:00
Joel Maher
8d12e67e5b Bug 754873 - fennec automated tests should capture logcat output while test is running. r=wlach 2012-06-13 14:20:43 -04:00
Timothy Nikkel
291ec827e5 Bug 414170. Add crashtest. 2012-06-13 11:41:42 -05:00
Aryeh Gregor
6865bb0c16 Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Timothy Nikkel
7437c32e01 Bug 747493. Give frameset documents a basic scroll layer so we can communicate the document's metrics to the compositor and frontend. r=roc,mats 2012-06-09 19:26:57 -05:00
Kartikaya Gupta
084bf42619 Bug 705106 - Use the correct scroll port size when trying to scroll to an area. r=roc 2012-06-09 12:14:39 -04:00
Ehsan Akhgari
a4d2eed111 Bug 762345 - Skip all the QIing stuff in the TreeMatchContext constructor if possible; r=bzbarsky 2012-06-07 15:19:56 -04:00
Robert O'Callahan
74d05f0dd8 Bug 731293. Add nsLayoutUtils::GetParentOrPlaceholderForCrossDoc. r=mats 2012-06-09 00:22:51 +12:00
Robert O'Callahan
453c373374 Bug 731293. Remove nsFrameManager parameter from nsLayoutUtils::GetParentOrPlaceholderFor. r=mats 2012-06-09 00:22:25 +12:00
Mounir Lamouri
8ab72ab455 Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger 2012-06-07 20:47:44 +02:00
Ehsan Akhgari
245cb2b12f Bug 762546 - Make sure to register the callback after the document has loaded; r=dbaron 2012-06-07 13:18:07 -04:00
Aryeh Gregor
b36b8ee24e Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor
43b3bdf8ac Bug 757771 part 3 - Include nsRange.h from nsTypedSelection.h 2012-06-07 18:00:58 +03:00
Aryeh Gregor
a99a079932 Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
Robert O'Callahan
c94736b8a6 Bug 753329. Share ThebesLayerInvalidRegion for a given ContainerLayer across all the frames that are sharing that layer as their ContainerLayer. r=mattwoodrow
* * *
Bug 753329. Followup: put ThebesLayerInvalidRegionProperty in display-list-builder coordinates so it can be shared by frames with different coordinate systems. r=mattwoodrow
2012-06-07 22:07:32 +12:00
Robert O'Callahan
fc2e9d6bd1 Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug 2012-06-07 22:06:39 +12:00
L. David Baron
311a0652e5 Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc 2012-06-06 22:11:42 -07:00
Phil Ringnalda
88011f8d12 Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange 2012-06-06 22:51:58 -07:00
L. David Baron
f0aa0d13a0 Do the necessary reflow when our font inflation data changes. (Bug 759755) r=roc 2012-06-06 22:11:42 -07:00
L. David Baron
2918c27b5e Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc 2012-06-06 22:11:42 -07:00
Mounir Lamouri
8c421a5c03 Bug 760848 - Make select.size reflection follow the specifications. r=smaug 2012-06-07 01:27:53 +02:00
Boris Zbarsky
ab8e684ada Bug 761086. Throw if someone passes an invalid argument to inDOMUtils::GetCSSStyleRules. r=smaug 2012-06-06 15:59:57 -04:00
Ehsan Akhgari
48c0134086 Bug 762180 - Disable tests added by bug 157681 on native Android for now, until our infrastructure can handle running them; r=jmaher 2012-06-06 15:15:52 -04:00
Ehsan Akhgari
599e843894 Bug 761980 - Make sure to register the callback after the document has loaded; r=dbaron 2012-06-06 09:28:00 -04:00
Ehsan Akhgari
c6218431ee Merge mozilla-central into mozilla-inbound 2012-06-06 12:46:50 -04:00
Mounir Lamouri
7918a94d90 Bug 686886 - Port bug 680747 and bug 680518 to nsMeterFrame. r=roc 2012-06-05 22:15:46 +02:00
Arnaud Bienner
327842ee1f Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types; r=sicking,mounir 2012-06-06 14:16:58 +02:00
Ed Morley
7e31e8cfac Merge mozilla-central to mozilla-inbound 2012-06-06 10:24:28 +01:00
Ed Morley
22d9b9afc4 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
1a2d55bdac Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Ms2ger
19f060907a Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ehsan Akhgari
5682d40581 Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
This patch adds a change hint to signal that one of the offsets on a
frame has been changed.  When processing the hint, we do one of the
following things based on the position property of the frame.

* For static frames, we ignore the offset changes completely, as they
  will not change the layout.
* For relative positioned frames, this patch refactors the
  nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
  used from other callers, and it uses that to compute the new relative
  offsets, and uses the offsets computed previously to compute the new
  position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
  object, and then we create a new reflow state object for the frame in
  question.  This setup is similar to what nsFrame::BoxReflow does.
  Once we have the new reflow state object, we use it to compute the
  absolute offsets, and then we use the computed offsets to set the new
  position of the frame.  The offset computation is similar to what
  nsAbsoluteContainingBlock::ReflowAbsoluteFrame does.  In some cases
  where it is possible for the dimensions of the frame to change based
  on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Ehsan Akhgari
14d4122730 Bug 157681 - Part 1: Add a test suite to make sure that dynamic changes to the position CSS properties work correctly; r=dbaron
These series of tests attempt to ensure conformance to the CSS 2.1
sections 10.3.7 and 10.6.4.
2012-06-06 00:53:33 -04:00
Scott Johnson
c1eb117478 Bug 749186, Followup 2: Crashtest for bug 749186 [r=dbaron].
--HG--
extra : rebase_source : 8fd8b01b46c9150f8ba14f87b8b34aa6fa9da11c
2012-06-05 22:47:38 -05:00
Scott Johnson
6c704020bd Bug 749186, Followup Patch 1: Cache font inflation settings in pres shell to prevent crash. [r=dbaron]
--HG--
extra : rebase_source : dc8b8f66bcd49c54ecefdf94793100b7901e6f3b
2012-06-05 22:47:33 -05:00
Geoff Lankow
bdc2b4bb58 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
L. David Baron
27336e662d Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
The first of these pieces of information is the intrinsic widths cached
on a block.

The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 19:13:41 -07:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Phil Ringnalda
3f534fee74 Merge mozilla-central to mozilla-inbound 2012-06-04 19:09:19 -07:00
L. David Baron
c0710aeffc Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc 2012-06-04 16:26:30 -07:00
Simon Montagu
1f9e221241 Bug 760954 - Fix the performance regression in the View Source windows; r=ehsan 2012-06-03 05:00:01 -07:00
L. David Baron
3a7a762826 Back out changeset 81f6b1cfbba5627425837ff993ca7012db22b23b (bug 748434) due to reftest failures. 2012-06-05 16:55:48 -07:00
L. David Baron
42b30ed346 Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
The first of these pieces of information is the intrinsic widths cached
on a block.

The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 15:52:28 -07:00
L. David Baron
88c9e5abd4 Remove unused member variable from nsGfxButtonControlFrame. No bug. 2012-06-05 15:52:28 -07:00
Phil Ringnalda
5ddd25896a Merge mozilla-central to mozilla-inbound 2012-06-03 12:10:59 -07:00
Phil Ringnalda
d576312c34 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Cedric Vivier
3f0c09d4b0 Bug 727834 - Add an API to (re)parse a style sheet in place. r=bz
---
 layout/inspector/public/inIDOMUtils.idl          |   12 ++-
 layout/inspector/src/inDOMUtils.cpp              |   11 +++
 layout/inspector/tests/chrome/Makefile.in        |    2 +
 layout/inspector/tests/chrome/test_bug727834.css |    7 ++
 layout/inspector/tests/chrome/test_bug727834.xul |   88 +++++++++++++++++++
 layout/style/nsCSSStyleSheet.cpp                 |   99 +++++++++++++++++++---
 layout/style/nsCSSStyleSheet.h                   |    2 +
 7 files changed, 207 insertions(+), 14 deletions(-)
 create mode 100644 layout/inspector/tests/chrome/test_bug727834.css
 create mode 100644 layout/inspector/tests/chrome/test_bug727834.xul
2012-06-03 12:54:38 -04:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Mats Palmgren
37020cf426 Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c) 2012-06-03 18:05:00 +02:00
Mats Palmgren
1b70f71e59 Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug 2012-06-02 01:41:54 +02:00
Mats Palmgren
2e6a4d1853 Bug 575294. part=3/4 r=roc 2012-06-02 01:41:54 +02:00
Mats Palmgren
b5a9cb7c4a Bug 575294. part=2/4 r=smaug,roc 2012-06-02 01:41:54 +02:00
Mats Palmgren
9e1fb04d65 Bug 726264. r=smaug 2012-06-02 01:41:54 +02:00
Frank Yan
db047ca5bd Bug 760696 - Use :fullscreen to detect HTML5 video/audio state for controls visibility. r=jaws,dbaron 2012-06-01 15:10:37 -07:00
Mats Palmgren
37fd0ed7aa Bug 759249. r=bz 2012-06-01 21:56:33 +02:00
Mats Palmgren
28ae1b8cb6 Bug 759249. r=bz 2012-06-01 21:56:33 +02:00
Boris Zbarsky
4057bff59a Disable the test on Windows, since it just can't pass there. Followup for bug 731447. 2012-06-01 15:24:44 -04:00
Mats Palmgren
f6ef5d662d Bug 760072 - Move RemoveFinishDependency() after the ok() so that the last test result comes before SimpleTest.finish(). r=dbaron 2012-06-01 20:52:37 +02:00
Boris Zbarsky
10521aa8fb Attempt to fix reftest failure on android XUL, where buttons seem to use a non-block color for some reason. Followup for bug 731447 2012-06-01 13:32:09 -04:00
Ben Turner
b072e01d8f Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Boris Zbarsky
0d03951986 Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc 2012-05-31 14:16:49 -04:00
Ed Morley
092d819417 Merge mozilla-central to mozilla-inbound 2012-06-01 16:58:27 +01:00
Ed Morley
f5fef940b6 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Mounir Lamouri
62cddd341e Bug 759770 - Fix build error when warnings-as-errors in nsSVGUtils.cpp. r=dholbert 2012-06-01 11:48:39 +02:00
Boris Zbarsky
a02b7fa275 Bug 748692. Don't reparse inline stylesheets on random attribute changes. r=sicking 2012-06-01 00:30:42 -04:00
Boris Zbarsky
f13a1c00de Bug 731447. Make buttons display:inline-block by default so that underlines don't reach into them. r=dbaron 2012-06-01 11:45:37 -04:00
Andreas Gal
1518859a5b Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Chris Double
1695b48a48 Bug 714408 Part 1 - Add configure/link features to enable media plugins and omx-plugin for libstagefright support - r=mh
--HG--
extra : rebase_source : 51e850e4dec9a53569c0c6991145c5e070781f95
2012-06-01 12:52:09 +12:00
Jeff Muizelaar
90cf6fdec4 Bug 759457. Don't fast path shadows with negative scale. r=roc
We don't support this yet, so don't bother trying.
2012-05-31 18:22:28 -04:00
Joel Maher
d63c5a0460 Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma 2012-06-01 08:42:38 -04:00
Jonathan Kew
b9bcf7710f bug 758236 - reftests for basic Indic shaping features in harfbuzz. r=jdaggett 2012-06-01 08:19:28 +01:00
Boris Zbarsky
1e390de796 Backed out changeset 6a46906eb017 (bug 759997) because the bug it depends on got backed out. 2012-05-31 17:05:03 -04:00
Boris Zbarsky
2cf407dadc Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc 2012-05-31 14:16:49 -04:00
Shriram Kunchanapalli
8e90a26e8d Bug 219767: Move font size functions in nsStyleUtil into nsRuleNode. r=dbaron 2012-05-31 10:09:46 +05:30
L. David Baron
ef7ec688e3 Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
06fa5d4558 Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
09d883079b Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
35df3733f2 Make the serialization of the 'border' shorthand fail when we have a 'border-image' subproperty or a '-moz-border-*-colors' property with a non-default value. (Bug 713643, patch 2) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
33ccc9bd8a Serialize border-image shorthand to shortest form, with the exception that we'll always serialize 'border-image-source'. (Bug 713643, patch 1) r=bzbarsky 2012-05-30 22:19:49 -07:00
Cameron McCormack
5dfd7a42c3 Bug 759640 - Fix typo in feBlend reftest. r=longsonr 2012-05-31 10:32:39 +10:00
Cameron McCormack
01598062ac Bug 759681 - Fix some typos in <clipPath> reftests. r=longsonr 2012-05-31 10:32:33 +10:00
Diogo Golovanevsky Monteiro
2c5bc979b5 Bug 713608 - HTML5 Video controls are missing in Fullscreen. f=fryn r=jaws,dbaron 2012-05-30 17:04:43 -07:00
Anant Narayanan
beefeb5f37 Bug 752353: DOM bindings for getUserMedia; r=jst
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00
Mounir Lamouri
db5564d5d2 Bug 663365 - Implement the rules for the fallback to the default rendering for the meter element. r=roc
--HG--
rename : widget/reftests/progressbar-fallback-default-style-ref.html => widget/reftests/meter-fallback-default-style-ref.html
rename : widget/reftests/progressbar-fallback-default-style.html => widget/reftests/meter-fallback-default-style.html
2012-05-16 18:31:01 +02:00
Laurent Dulary
3617fe008d Bug 662251 (2/2) - Tests. r=mounir 2012-06-05 22:17:08 +02:00
Laurent Dulary
0bbaa121db Bug 662251 - Default style and colors for the meter element. f=mounir r=bz,davidb 2012-05-16 12:26:42 +02:00
Yoan TEBOUL
72e9bc2b32 Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc 2012-05-16 12:24:55 +02:00
Laurent Dulary
402e40ba9d Bug 660238 (2/3) - Add pseudo-class to access optimal, sub-optimal and sub-sub-optimal meter elements. f=mounir r=smaug 2012-05-16 13:23:31 +02:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
da18754c01 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Kartikaya Gupta
d9f987bb7f Bug 759421 - Handle image load errors in the reftest analyzer more gracefully. r=heycam 2012-05-30 09:59:42 -04:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ed Morley
7b41eeb233 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-30 12:20:57 +01:00
Neil Rashbrook
17e6cbec1e Bug 757330 Don't activate an empty menubar r=Enn 2012-05-30 08:33:20 +01:00
Simon Montagu
400c97a750 Prevent line numbers in view-source from participating in bidi reordering. Bug 751841, r=ehsan 2012-05-30 09:51:00 +03:00
Bas Schouten
a234c6836a Bug 758432: Fix SetScaleToSize call for plugins. r=roc 2012-05-30 07:14:30 +02:00
Boris Zbarsky
6e136586b6 Bug 464758. Don't try to check for :before/:after pseudos for frames that can't have them. r=dbaron 2012-05-29 23:45:17 -04:00
Phil Ringnalda
7b9a678b28 Back out deac5d31bc12, 8622c5680fb3, 205d2e0d297c (bug 575294), 5ba42170426e (bug 726264), a5444e23c668 (bug 575294) for bug 759243 2012-05-28 22:48:52 -07:00
Phil Ringnalda
a99daa8529 Back out 6d605438199c (bug 758589) for bug 759243 2012-05-28 22:44:57 -07:00
Boris Zbarsky
89e50f89ed Bug 758885. Don't apply the dynamic :hover reresolution skipping optimization to selectors which can match on mutable state other than :hover. r=dbaron 2012-05-29 00:17:45 -04:00
Mats Palmgren
200d6fe317 Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug 2012-05-30 15:03:19 +02:00
Phil Ringnalda
df7a7d5e53 Bug 668849 - give up on testing spellcheck with text-overflow on WinXP 2012-05-28 19:37:14 -07:00
Trevor Saunders
3b1f9183dc bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Nicholas Cameron
87a457843f Bug 758561 - Don't build a mask for an empty layer. r=roc 2012-05-28 21:10:08 -04:00
Frédéric Wang
a281bdf650 Bug 757125 - Make more MathML operators mirrorable. r=karlt 2012-05-28 21:09:43 -04:00
Frédéric Wang
55ee39d0ef Bug 757125 - Make updateOperatorDictionary.pl read mirrorable property. r=karlt 2012-05-28 21:09:25 -04:00
Mats Palmgren
1b8ec5b694 Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug 2012-05-29 02:50:42 +02:00
Mats Palmgren
72c9b49158 Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug 2012-05-29 02:50:42 +02:00
Mats Palmgren
ab42326d3a Bug 575294. part=3/4 r=roc 2012-05-29 02:50:42 +02:00
Mats Palmgren
137ded563d Bug 575294. part=2/4 r=smaug,roc 2012-05-29 02:50:42 +02:00
Mats Palmgren
cdedb17e80 Bug 726264. r=smaug 2012-05-29 02:50:42 +02:00
Nathan Froyd
3d989e8956 Bug 760812 - correct bitflags for allocating objects by size in nsPresArena; r=roc 2012-06-05 10:14:58 -04:00
Jeff Muizelaar
0f18396434 Bug 749953. Revert a hunk of bug 753762 to fix XUL panning. r=cjones
I have no idea why this makes a difference.
2012-05-29 15:40:50 -04:00
Robert O'Callahan
a67cbf72d3 Bug 758179. Part 5: Test. r=mats 2012-05-30 01:13:37 +12:00
Robert O'Callahan
2abc3087ec Bug 758179. Part 4: Pass SKIP_HIDDEN flag in HandlePress/HandleRelease. r=mats 2012-05-30 01:13:36 +12:00
Robert O'Callahan
6b23199749 Bug 758179. Part 3: Support SKIP_HIDDEN flag. r=mats 2012-05-30 01:13:36 +12:00
Robert O'Callahan
05d68e6828 Bug 758179. Part 2: Add flags parameter to GetContentOffsetsFromPoint(External). r=mats 2012-05-30 01:13:36 +12:00
Robert O'Callahan
c35029e3ba Bug 758179. Part 1: Flush layout before calling nsFrame::HandlePress/HandleRelease. r=mats 2012-05-30 01:13:36 +12:00
Frédéric Wang
ce413c8f88 Bug 757703 - Restore support for non-zero unitless values in mpadded. r=karlt 2012-05-27 23:32:51 -04:00
Ginn Chen
9e277081fa Bug 758516 nsSVGGenericContainerFrame.cpp failed to compile with Solaris Studio compiler r=roc 2012-05-28 09:30:54 +08:00
Nicholas Cameron
d2dd125d17 Bug 757346 - Change from clipping the mask to drawing it. r=roc 2012-05-27 16:55:22 -04:00
Takanori MATSUURA
4e1026d682 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Jeff Muizelaar
b99b548f9d Bug 749976. Reduce the curve tolerance to be closer to skia on mobile. r=bgirard
Skia uses a value of 0.5, however using such a high value causes some reftest failures.
Switch to 0.3 because we can do that without changing the reftests too much. We
can still use a higher value if we need to later. This should give us sqrt(3)
reduction in the number of segments.

--HG--
extra : rebase_source : 39f1892a61f7e242460deb1bc21adb30778147e3
2012-05-25 00:49:54 -04:00
Jeff Muizelaar
79e071d266 Backed out changeset 804afa6bce8e (merge fail) 2012-05-24 23:35:30 -04:00
Jeff Muizelaar
e46d39d2fb Bug 749953. Revert a hunk of bug 753762 to fix XUL panning. r=cjones
I have no idea why this makes a difference.

--HG--
extra : rebase_source : 58b0f0ac3563f7519d49335851df8537802bd2cc
2012-05-24 23:15:23 -04:00
Kartikaya Gupta
0e001bb8d0 Bug 758361 - Move the before-first-paint event so it doesn't get improperly triggered on a plugin codepath. r=bz 2012-06-04 12:26:03 -04:00
Jacek Caban
19ef34d7e8 Bug 761089 - Missing Opus export in glmedias.dll in mingw builds r=kinetik 2012-06-04 13:01:00 +02:00
Vincent LAMOTTE
708c2e5d22 Bug 657953 (2/2) - Tests. r=roc 2011-06-08 12:32:13 +02:00
Vincent LAMOTTE
bcc3cf4e81 Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc 2012-05-16 17:47:10 +02:00
Justin Lebar
d19ebc4677 Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Frank Yan
cff95698d1 Bug 673873 - Display placeholder when focusing empty input - part 3: remove duplicate tests. r=mounir 2012-05-24 03:54:26 -07:00
Frank Yan
f06e9ea963 Bug 673873 - Display placeholder when focusing empty input - part 2: update reftests. r=mounir 2012-05-24 03:54:26 -07:00
Frank Yan
0a903d1211 Bug 673873 - Display placeholder when focusing empty input. r=mounir 2012-05-24 03:54:25 -07:00
Frank Yan
74a5637da3 Bug 702184 - sporadic REFTEST TEST-UNEXPECTED-FAIL | reftest/tests/layout/reftests/bugs/598726-1.html | image comparison (==). r=ehsan 2012-05-24 12:04:16 -07:00
Ed Morley
019cfa6b7f Backout 0d782874abea, 75571af38ce5 & bfd3a65c0feb (bug 673873) for increasing the failure rate of bug 702184 2012-05-24 14:12:19 +01:00
Frank Yan
f8f3822246 Bug 673873 - Display placeholder when focusing empty input - part 3: remove duplicate tests. r=mounir 2012-05-24 03:54:26 -07:00
Frank Yan
7af6e3373e Bug 673873 - Display placeholder when focusing empty input - part 2: update reftests. r=mounir 2012-05-24 03:54:26 -07:00
Frank Yan
4483e800c1 Bug 673873 - Display placeholder when focusing empty input. r=mounir 2012-05-24 03:54:25 -07:00
Robert Longson
0492df75e8 Bug 746452 - textPath does not handle startOffset with non-user-unit/non-percentage units correctly. r=jwatt 2012-05-24 11:43:10 +01:00
Robert O'Callahan
15b612a12a Bug 757807. Don't store an nsMouseEvent in nsFrameSelection, it's unnecessary and leaky. r=smaug 2012-05-24 22:36:08 +12:00
Alexander Surkov
a644c2f36d Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde 2012-05-24 15:57:16 +09:00
Mark Capella
0c51655fe0 Bug 745428 - densify nsTextAccessible, r=surkov, f=tbsaunde
--HG--
rename : accessible/src/atk/nsTextAccessibleWrap.h => accessible/src/atk/TextLeafAccessibleWrap.h
rename : accessible/src/base/nsTextAccessible.cpp => accessible/src/generic/TextLeafAccessible.cpp
rename : accessible/src/base/nsTextAccessible.h => accessible/src/generic/TextLeafAccessible.h
rename : accessible/src/mac/nsTextAccessibleWrap.h => accessible/src/mac/TextLeafAccessibleWrap.h
rename : accessible/src/msaa/nsTextAccessibleWrap.cpp => accessible/src/msaa/TextLeafAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.h => accessible/src/msaa/TextLeafAccessibleWrap.h
rename : accessible/src/other/nsTextAccessibleWrap.h => accessible/src/other/TextLeafAccessibleWrap.h
2012-05-23 14:05:57 -04:00
Kartikaya Gupta
8a9a864a95 Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Ehsan Akhgari
6bf9c2ea8a Bug 757755 - Make sure that the reftest suite never attempts to download and stage an update; r=dbaron 2012-05-23 18:32:41 -04:00
Neil Deakin
b9d2d5f9e3 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Mats Palmgren
2276f14f49 Bug 756241. r=roc 2012-05-23 17:27:15 +02:00
Kartikaya Gupta
0f2c633486 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Gregory Szorc
3831df8bd3 Bug 757397 - Make test package generation quieter; r=ted
This may reduce the size of the buildbot build logs by up to half!

--HG--
extra : rebase_source : 87b3f2f40654d69ecd91e19520e2341fc8aac9a6
2012-05-23 16:51:21 +02:00
Kartikaya Gupta
6ab5f951cd Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Jonathan Kew
b7693867f2 Bug 755730 - don't mask out Indic codepoints in OpenType fonts supported by OS X 10.7. r=jdaggett 2012-05-23 14:15:43 +01:00
Robert Longson
1da0ad8340 Bug 757718 - Crash with SVG requiredFeatures, adoptNode. r=jwatt 2012-05-23 10:54:19 +01:00
Robert Longson
7e03ed3dfb Bug 757704 - getScreenCTM() crash. r=jwatt 2012-05-23 10:49:15 +01:00
Chris Lord
35ed48a106 Bug 607417 - Fix reverse translation of shadow layer clip rects. r=ajuma
When asynchronous scrolling happens and the translation is compensated for,
this was incorrectly applied to the clip rects of shadow layers.
2012-05-23 09:46:19 +01:00
Chris Lord
2e7d5e7487 Backout d1a44d2ec5c3 due to missing r= 2012-05-23 09:45:51 +01:00
Chris Lord
3af4115aa3 Bug 607417 - Fix reverse translation of shadow layer clip rects. r=
When asynchronous scrolling happens and the translation is compensated for,
this was incorrectly applied to the clip rects of shadow layers.
2012-05-23 09:34:51 +01:00
Robert O'Callahan
9d09bfe7c0 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel 2012-05-04 17:00:57 +12:00
Bas Schouten
dec9fd4d74 Bug 690743 - Reftest: Add a reftest for repeated drawing after changing transform while emitting a path. r=roc 2012-05-23 08:18:24 +02:00
Doug Turner
b15cda8253 Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Nicholas Cameron
8c2e332b2d Bug 751431. Rip out Skia from libxul. r=khuey 2012-05-03 17:15:20 +12:00
Nicholas Cameron
8e7e5c8a18 Bug 753784; force mask layers to have a single tile - misc bits and pieces. r=roc 2012-05-17 10:30:10 +12:00
Nicholas Cameron
1ee2935580 Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc 2012-05-22 19:15:16 -04:00
Nicholas Cameron
ff3f144642 Bug 753784; add the ability to force a single tile. r=roc 2012-05-22 19:14:03 -04:00
Jeff Muizelaar
b2782e5074 Bug 757039. Handle non-uniform scales when doing device space blurs. r=roc
The Java screenshoting code draws pages at non-uniform scales. It's not much
work to handle these so let's do it.

--HG--
extra : rebase_source : 6b3a2a6db21f9cff4ce97a5a10c368d95f730387
2012-05-22 11:32:08 -04:00
Robert O'Callahan
414f19debc Bug 754556. Allow intermediate positions in smooth scrolling to go anywhere the final position can be. Also, round smooth-scrolling PositionAt coordinates to nearest appunits to avoid numerical errors giving us results outside [start, destination]! r=mats 2012-05-22 21:55:15 +12:00
Jesse Ruderman
c6d9ed34d0 Update bug number (no bug, DONTBUILD) 2012-05-21 18:24:50 -07:00
Mounir Lamouri
b941f914a4 Bug 376649 - In GTK, F10 key should show active menubar item and open submenu. r=bz
--HG--
rename : toolkit/content/tests/widgets/test_menubar.xul => toolkit/content/tests/widgets/test_menubar_gtk.xul
rename : toolkit/content/tests/widgets/window_menubar.xul => toolkit/content/tests/widgets/window_menubar_gtk.xul
2012-05-22 01:31:17 +02:00
Ed Morley
9f64d2c1c7 Backout 027ed1748c81 (bug 740485) for M3 orange 2012-05-21 19:36:43 +01:00
David Zbarsky
74e0408fed Bug 756813: Prevent creation of ImageLayer if ImageContainer is null r=gal 2012-05-21 10:47:40 -07:00
Doug Turner
a1636519c8 Bug 740485 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Ed Morley
c5acb642c1 Merge mozilla-central to mozilla-inbound 2012-05-21 13:19:38 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Birtles
16a3758fcf Bug 755603 - Remove broken frozen to-animation behavior; r=dholbert 2012-05-21 08:48:38 +09:00
L. David Baron
45b0f7c9cd Make scroll frames (i.e., overflow != visible) no longer be font size inflation flow roots. This reverts part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1. (Bug 747720, patch 7) r=roc
This means that font size inflation will be consistent into a container
with overflow!=visible, which fixes inflation bugs on phoronix.com (bug
747720) and reddit.com (bug 748446, but currently covered up by bug
756518).
2012-05-20 22:18:28 -07:00
L. David Baron
692b93095e Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
L. David Baron
54995e2a8e Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
L. David Baron
0958cb6113 Fix call to wrong method (passing nscoord as enum). (Bug 747720, patch 4) r=roc 2012-05-20 22:18:27 -07:00
L. David Baron
4fa0c843c9 Use the same width basis for font inflation throughout a font inflation flow root. (Bug 747720, patch 3) r=roc
Font inflation flow roots are similar to block formatting contexts,
though I'm trying to make not all block formatting contexts be flow
roots in later patches on this bug, bug 707195, and related bugs.

This will lead to more consistent font size inflation in a flow of text
where the blocks vary in width (e.g., because some of the blocks have
horizontal margins) but we determine the text to comprise a single flow.
2012-05-20 22:18:27 -07:00
L. David Baron
88a762e752 Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc 2012-05-20 22:18:27 -07:00
L. David Baron
4fbe6f4e29 Save and expose on nsFontInflationData the width of the nearest common ancestor of the inflated descendants. (Bug 747720, patch 1) r=roc
This width will be used in patch 3.
2012-05-20 22:18:27 -07:00
Phil Ringnalda
e5bd6b809a Bug 688128 - Don't run test_flush_on_paint.html on OS X, where it mostly fails, r=roc 2012-05-18 22:22:55 -07:00
Robert Longson
9dce4cca1b Bug 756405 - non-scaling-stroke-02.svg fails on Android. r=jwatt 2012-05-20 10:18:33 +01:00
Adam Dane [:hobophobe]
7f04cb4204 Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe 2012-05-19 14:32:37 -05:00
Ryan VanderMeulen
bcfe82d03b Backout bug 733553 due to mochitest orange. 2012-05-19 12:10:26 -04:00
Adam Dane [:hobophobe]
2fb449e6aa Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe 2012-05-08 21:35:32 -05:00
Jonathan Watt
6b19776386 Bug 756462 - Stop unnecessary propagating COORD_CONTEXT_CHANGED notifications to descendants of nsSVGInnerSVGFrame. r=longsonr. 2012-05-19 14:50:07 +01:00
Phil Ringnalda
e985802ab0 Bug 668849 - Double the workaround timeout to wait longer for spellcheck to finish 2012-05-18 22:27:38 -07:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jeff Muizelaar
cf350bd099 Bug 754985. Draw shadows in device space when using a uniform scale. r=roc
--HG--
extra : rebase_source : 9d5bf7c1e6a2373718724ace6da1229b2213c1b6
2012-05-16 16:45:25 -04:00
Andrii Zui
5f96af15a2 Bug 745535 - Dynamic reftests for bug 745535. r=karlt 2012-05-18 13:35:43 -04:00
Andrii Zui
eaf048168d Bug 745535 - Implement AttributeChanged on nsMathMLmactionFrame. r=karlt 2012-05-18 13:35:43 -04:00
Jonathan Kew
21bf420289 bug 752459 - reftest for word-wrap cluster support. r=smontagu 2012-05-18 16:51:40 +01:00
Jonathan Kew
ce3521f360 bug 752455 - reftest for word-break, clusters, text-transform. r=smontagu 2012-05-18 16:51:39 +01:00
David Zbarsky
dc658d2398 Bug 756229 - Fix some layout warnings. r=roc 2012-05-18 11:42:39 -04:00
L. David Baron
721b99989a Don't use Moz prefix on internal function names in nsComputedDOMStyle for recommendation-track properties. (Bug 756219, patch 2) r=bzbarsky
This avoids using prefixes in internal code, in line with users of
nsCSSPropList.h, where we only make the CSS_PROP_DOMPROP_PREFIXED()
macro expand to use prefixes when it's needed for something that's
exposed.
2012-05-18 08:51:57 -04:00
L. David Baron
594f70cb7a Remove unused functions from nsComputedDOMStyle. (Bug 756219, patch 1) r=bzbarsky
Remove unused DoGet* functions from nsComputedDOMStyle which are never
called because the shorthand properties that they're for aren't listed
in the value returned from GetQueryablePropertyMap (which is as it
should be).
2012-05-18 08:51:55 -04:00
Ms2ger
be244a6569 Merge. 2012-05-18 13:32:47 +02:00
Ms2ger
cf59f6497e Merge m-c to m-i. 2012-05-18 13:32:20 +02:00
Jonathan Watt
21936d2a6b backout 0f4a08fb2e8e to see if it caused random orange (Bug 756122 - Clean up nsSVGUtils::PaintFrameWithEffects a little). 2012-05-18 12:21:24 +01:00
Robert Longson
3c17783bfd Bug 528332 - make tests random on Android 2012-05-18 11:29:10 +01:00
Jonathan Watt
cb2d1aab3b Bug 756122 - Clean up nsSVGUtils::PaintFrameWithEffects a little. r=longsonr. 2012-05-18 10:05:09 +01:00
Robert Longson
38cb4c47d9 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Robert Longson
3ca6774243 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron 2012-05-18 09:33:40 +01:00
Ms2ger
f427fc956f Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger
4d045d4362 Bug 750053 - Part a: Add nsISelection::Collapsed(); r=smaug 2012-05-18 10:29:39 +02:00
Phil Ringnalda
d4d918533f Bug 753877 - drop a few minimum assertion counts to reflect reality 2012-05-17 22:00:04 -07:00
Simon Montagu
b7a516ae3e Start painting text shadow of selection from the left edge in RTL text. Bug 755994, r=roc 2012-05-17 13:34:06 +03:00
Simon Montagu
413e8254dc Tests for bug 755994, r=roc 2012-05-17 13:32:45 +03:00
Chris Lord
76541685fe Bug 753742 - Force layer build on scroll frames with a displayport. r=tn
Force building layers for all scroll frames that have a displayport set.
This fixes gfx/layers/ipc/CompositorParent mistakenly using FrameMetrics from
incorrect frames, due to the root scroll frame not having a layer.
2012-05-17 19:19:07 +01:00
Ryan VanderMeulen
86511bf718 No Bug - Re-alphabetize mathml crashtest list. DONTBUILD 2012-05-17 09:46:16 -04:00
Frédéric Wang
86e8d70fbd Bug 716349 - Crashtest. r=karlt 2012-05-17 09:38:32 -04:00
Frédéric Wang
42068c9eeb Bug 716349 - Prevent invalid metrics for mspace. r=karlt 2012-05-17 09:37:55 -04:00
Robert Longson
3d82caf05b Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Jonathan Watt
75835eecfc Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc. 2012-05-17 05:05:09 +01:00
Jonathan Watt
650acd1c7e Bug 614732 - Add prefs for enabling/disabling display-list hit-testing/painting. r=roc. 2012-05-17 05:05:04 +01:00
Aryeh Gregor
81df634941 Bug 756045 - Turn "ASSERTION: anonymous nodes should not be in child lists" into an NS_WARNING; r=bz 2012-05-18 09:20:49 +03:00
Nicholas Cameron
b9c7de3bfd Bug 755078 - Disable mask layers on Android. r=roc 2012-05-17 10:30:10 +12:00
Neil Deakin
c162a8a429 Bug 750808, move children element in label control binding, so that it doesn't get deleted when setting accesskey, r=neil 2012-05-16 19:55:09 -04:00