Commit Graph

33429 Commits

Author SHA1 Message Date
David Zbarsky
a66260e4cc Bug 780342 - Don't allow compositor-driven animation of frames that are not prerendered, provide diagnostics for when that happens r=cjones 2012-08-06 16:33:23 -04:00
Sergey Glushchenko
a2ebf3852f Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Aryeh Gregor
2fbc523d8e Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Robert O'Callahan
65fc24b3ac Bug 772679. Handle frame with NS_HAS_CONTAINER_LAYER having no display items. r=tnikkel 2012-08-05 20:59:06 +12:00
Robert O'Callahan
f364288956 Bug 772679. Mark test as passing on Mac. 2012-08-05 00:27:07 +12:00
Robert O'Callahan
2bb1044888 Bug 772679. Testcase. 2012-08-05 00:26:58 +12:00
Robert O'Callahan
0271a0df97 Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Boris Zbarsky
5142e32171 Bug 753517 part 2.75. Fix the QI impls to not lie. r=bustage 2012-08-06 01:24:43 -04:00
David Zbarsky
b5d5ebe56a [Bug 780439] Kill off the remains of nsIBox r=roc 2012-08-05 23:00:57 -04:00
David Zbarsky
03039446fa [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
David Zbarsky
dca3fd6326 Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Boris Zbarsky
bfbcf21932 Bug 753517 part 2.5. Include nsWrapperCacheInlines so things will actually link correctly. r=bustage 2012-08-05 22:55:18 -04:00
Boris Zbarsky
faa7bcc004 Bug 753517 part 2. Make all CSS declarations wrappercached and make them correctly handle preserved wrappers. r=mccr8,peterv,smaug,dbaron 2012-08-05 22:16:30 -04:00
Boris Zbarsky
c4ec20c33e Bug 753517 part 1. Make GetParentObject() on CSS declarations return a useful nsINode if possible. r=peterv,dbaron 2012-08-05 22:14:52 -04:00
Boris Zbarsky
e62cd1b722 Bug 765588. Make CSSFontFaceStyleDecl an nsICSSDeclaration. r=dbaron 2012-08-05 22:14:47 -04:00
Masayuki Nakano
82480ecdcd Bug 780436 Union actual text-decoration rect to the overflow rect of floating first letter's child r=roc 2012-08-06 09:52:19 +09:00
Robert Longson
655d6b15fd Bug 619964 - Implement FillPaint and StrokePaint filter sources. r=jwatt 2012-08-05 20:10:21 +01:00
David Zbarsky
f26a2c38bd Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow 2012-08-05 13:03:43 -04:00
Ed Morley
5be29bb8fd Backout 6ea008b301da, 14d17919e235, b15fb3603bfe & f89ae41eed63 (bug 772679) for turning test_offsets.html perma-orange on native Android mochitest-7 2012-08-05 14:35:08 +01:00
Aryeh Gregor
612bd2f8d9 Bug 732153 part 1 - Computed transform should be 'none' if there's no transform, even if backface-visibility or transform-style is set; r=dbaron 2012-07-05 10:45:09 +03:00
Robert O'Callahan
b1946a2297 Bug 772679. Handle frame with NS_HAS_CONTAINER_LAYER having no display items. r=tnikkel 2012-08-05 20:59:06 +12:00
Robert O'Callahan
21bdb5dd1e Bug 772679. Mark test as passing on Mac. 2012-08-05 00:27:07 +12:00
Robert O'Callahan
f7b6f9a952 Bug 772679. Testcase. 2012-08-05 00:26:58 +12:00
Robert O'Callahan
cab8001bc3 Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Justin Lebar
f54d116fea Bug 768832 - Set OOM adjust for background windows. r=bz,cjones 2012-08-05 01:09:39 -04:00
Cameron McCormack
31d50d770d Bug 655877 - Part 29: Don't underline links within SVG text by default. r=dbaron 2012-08-05 11:01:19 +10:00
Cameron McCormack
209745005d Bug 655877 - Part 21: Avoid assertions when nsStyleContext::GetVisitedDependentColor is called for an SVG paint property. r=dbaron 2012-08-05 11:01:19 +10:00
Cameron McCormack
7404892c56 Bug 655877 - Part 20: Make nsTextFrame QueryFrame-able. r=roc 2012-08-05 11:01:19 +10:00
Cameron McCormack
ca73141a7d Bug 655877 - Part 18: Ensure even line-ending white space SVG text frames are created. r=bz 2012-08-05 11:01:18 +10:00
Cameron McCormack
db1f06ec89 Bug 655877 - Part 17: Ensure non-SVG child elements of SVG text elements do not get frames. r=bz 2012-08-05 11:01:18 +10:00
Ms2ger
35aaf6467b Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
44c3e2a825 Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
c75eefb90d Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Tal Aloni
9ce6580447 Bug 778413 - Fix table cell automatic width calculation when using box-sizing:border-box. r=dbaron 2012-08-03 09:05:01 +02:00
Jonathan Kew
11908f0ce5 bug 721750 - reftests for text-shadow in ::-moz-selection. r=dbaron 2012-08-04 19:52:24 +01:00
Jonathan Kew
22fe279335 bug 721750 - support text-shadow property on ::-moz-selection. r=dbaron 2012-08-04 19:52:21 +01:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Tal Aloni
cd2c292374 Bug 778413 - Fix table cell automatic width calculation when using box-sizing:border-box. r=dbaron 2012-08-03 09:05:01 +02:00
David Zbarsky
0d68b46a25 Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow 2012-08-04 07:03:47 -07:00
Ms2ger
fbb42e3f19 Back out bug 772679 for crashes. 2012-08-04 15:10:45 +02:00
Robert O'Callahan
52324b00e5 Bug 772679. Mark test as passing on Mac. 2012-08-05 00:27:07 +12:00
Robert O'Callahan
bc55b95b3d Bug 772679. Testcase. 2012-08-05 00:26:58 +12:00
Robert O'Callahan
8066d0318d Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Ms2ger
97155ba331 Merge m-c to m-i. 2012-08-04 13:02:15 +02:00
Mike Hommey
03af8b0c50 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Cameron McCormack
1af15dd5c3 Bug 780337 - CSSSupportsRule serialization test fixup. r=burning 2012-08-04 18:08:39 +10:00
Ms2ger
89697d3c09 Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
94af4ac7c8 Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
27245512cd Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00