Commit Graph

852 Commits

Author SHA1 Message Date
Mats Palmgren
21b8c0bd79 Bug 1067088 - Use aBorderArea when not skipping any sides (e.g. ::first-letter), not the joined border area. r=roc 2014-09-17 00:36:57 +00:00
Jonathan Watt
4e11b5293f Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas 2014-09-15 12:10:30 +01:00
Jonathan Watt
2d95557d42 Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
96a5f5b9b8 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
842e7d2157 Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:10 +01:00
Ting-Yu Lin
853221cb7b Bug 1064790 - Give S/SN/SF/SN meaningful names. r=bz
Also fix gfxRect usage in "PrintAsString" as Bug 641426 part 2 did.
2014-09-09 21:08:00 -04:00
Matt Woodrow
d03089f60a Bug 1056171 - Account for continuations when generating background clip areas. r=roc 2014-08-27 10:15:50 +12:00
Julian Seward
53b7cefd52 Bug 1051527 - BackgroundClipState::mHasRounded corners is used uninitialised. r=matt.woodrow. 2014-08-13 11:26:33 +02:00
Rik Cabanier
20467945e8 Bug 1042411 - ASSERTION: It is assumed the initial operator is OPERATOR_OVER, when it is restored later. r=roc 2014-07-28 16:44:00 +02:00
Matt Woodrow
49dc5e8efb Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc 2014-07-23 17:23:38 +12:00
Matt Woodrow
9b1b9f6f36 Bug 1042423 - Part 4: Clip background display items using DisplayItemClip. r=roc 2014-07-23 17:22:17 +12:00
Matt Woodrow
166eef9dac Bug 1042423 - Part 1: Clean up GetBackgroundClip and make it public. r=roc 2014-07-23 17:20:39 +12:00
Matt Woodrow
dea1ed5912 Bug 1041893 - Stop tracking the clip direction in GetBackgroundClip since it has no effect. r=roc 2014-07-23 10:54:35 +12:00
Seth Fowler
fe8ad97303 Bug 1034209 (Part 1) - Replace the dead Image case in nsImageRenderer::Draw with the code used in DrawBackground. r=nrc 2014-07-21 17:59:23 -07:00
Seth Fowler
028abee6f7 Bug 1031576 (Part 2) - Use dynamic images in the implementation of -moz-element. r=nrc 2014-07-21 17:59:23 -07:00
Jonathan Watt
cd6ba4db18 Bug 933019, part 7 - Remove code for handling Thebes backed gfxContext from various files under layout/. r=Bas 2014-07-10 10:58:07 +01:00
Mats Palmgren
57f71caceb Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
650df8d81e Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
3949ce77fb Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
5af8e6d9d0 Bug 1026641 - Put outline-style:auto rendering behind a pref and disable it by default. r=roc 2014-06-26 12:48:05 +00:00
Mats Palmgren
4f9712e3f7 Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc 2014-06-24 17:52:19 +00:00
Jonathan Watt
f2402e81bb Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Jonathan Watt
438237ecfc Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Benoit Girard
07fd74736e Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow 2014-06-14 11:10:45 -04:00
Mats Palmgren
c41563b8c9 Bug 427928 - part 2, Add NS_THEME_FOCUS_OUTLINE to support drawing a native themed focus outline. r=roc 2014-06-14 12:48:07 +00:00
Mats Palmgren
61466fe9d7 Bug 427928 - part 1, Treat outline:auto as outline:solid. r=roc 2014-06-14 12:48:07 +00:00
Phil Ringnalda
83a48cca6a Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
298ca2ed1b Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Robert Longson
47ca17055d Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt 2014-05-31 11:26:04 +01:00
Markus Stange
348c2a6e1a Bug 1012797 - Speed up rendering of linear gradients when only painting the uniform color beyond the gradient edge. r=roc 2014-05-28 16:14:42 +02:00
Mats Palmgren
b21590e338 Bug 988653 - Fix 'border-image' layout for fragmented boxes and add support for both box-decoration-break:clone/slice. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
24bc6b404a Bug 613659 - Add a Restore() method to Restore the current gfxContext if any. r=roc 2014-05-05 17:55:55 +00:00
Mats Palmgren
84ab21ee78 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-05-05 17:55:54 +00:00
Mats Palmgren
8a3b696788 Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam 2014-05-05 17:55:54 +00:00
Mats Palmgren
d60800bd1b Back out bug 613659 (for regression bug 998792) 2014-04-20 19:39:24 +00:00
Mats Palmgren
29506ce168 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-04-18 23:01:23 +00:00
Mats Palmgren
8526711dd0 Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam 2014-04-18 23:01:23 +00:00
L. David Baron
484be45e1d Bug 975397 - Call TrackImage when constructing a new nsStyleBorder. r=heycam
I confirmed that the crashtest crashes in the harness without the patch.
2014-04-02 22:56:19 -07:00
Mike Kaply
8ecc90a0f2 Backing out bug 889085 (dddfd63f1414, f8c14bd80676) due to regression bug 987783. r=roc 2014-04-02 10:03:08 -05:00
William Chen
90e6521896 Bug 973321 - Prevent int overflow in border image width calculation. r=dbaron 2014-02-18 14:14:31 -08:00
L. David Baron
d9a84ea134 Bug 434102: Make outlines behave reasonably on XUL tree pseudo-elements again. r=roc
This was a regression from bug 133165 which I noticed while working on
bug 480888, but wished to fix in a separate patch (despite that it would
have been slightly easier to fix it in the same patch).
2014-02-17 20:07:46 -08:00
L. David Baron
26082a558e Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-16 16:05:10 -08:00
L. David Baron
27f610ab13 Back out changeset dd1f8adbfecc (bug 480888 patch 4) for failing reftests 402338-1.html and 412352-2.html on Android and B2G only. 2014-02-14 23:45:31 -08:00
L. David Baron
1caa7b19e8 Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-14 21:29:13 -08:00
L. David Baron
251eb7fe48 Bug 480888 patch 1: Rename ComputeOutlineAndEffectsRect to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
Ali Akhtarzada
d23379bab5 Bug 967743 - Make moz elements use DrawTarget context. r=mattwoodrow 2014-02-11 09:22:45 -05:00
Ms2ger
529998ade0 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
L. David Baron
2e0070401d Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
L. David Baron
c7542495f9 Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
cd0efbde78 Bug 91419 patch 3: Rename everything with IBSplitSpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:30 -08:00