Commit Graph

796 Commits

Author SHA1 Message Date
Matt Woodrow
9b5496b6a9 Bug 1056171 - Account for continuations when generating background clip areas. r=roc
--HG--
extra : rebase_source : aa554aa075c5d1286a1f32351abec547c151213f
2014-08-27 10:15:50 +12:00
Julian Seward
95678b9bbb Bug 1051527 - BackgroundClipState::mHasRounded corners is used uninitialised. r=matt.woodrow.
--HG--
extra : rebase_source : e21c5b9fb2c6ad380f7179d43292bbca032f9c5f
2014-08-13 11:26:33 +02:00
Rik Cabanier
1acd0f5427 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
14faf75e9b Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc 2014-07-23 17:23:38 +12:00
Matt Woodrow
8028bbe23b Bug 1042423 - Part 4: Clip background display items using DisplayItemClip. r=roc 2014-07-23 17:22:17 +12:00
Matt Woodrow
1b1819d095 Bug 1042423 - Part 1: Clean up GetBackgroundClip and make it public. r=roc 2014-07-23 17:20:39 +12:00
Matt Woodrow
9fc4664bdb Bug 1041893 - Stop tracking the clip direction in GetBackgroundClip since it has no effect. r=roc
--HG--
extra : rebase_source : 3d54b72eeabcb90aaf0179e7a382406facff6b5f
2014-07-23 10:54:35 +12:00
Seth Fowler
3e805f6c43 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
10adda6bc3 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
79e50a9f0b 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
3ffa9baecc Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
811c3783d4 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
4e879335f7 Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
8f40519109 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
3e13115cf3 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
ef224664db 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
2586dd3cb2 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
99cc55b9f2 Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow
--HG--
extra : rebase_source : c48cc799414ff83b74caff8df5503a743dbf74b1
2014-06-14 11:10:45 -04:00
Mats Palmgren
da55af8807 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
e5d483a47c Bug 427928 - part 1, Treat outline:auto as outline:solid. r=roc 2014-06-14 12:48:07 +00:00
Phil Ringnalda
3e5340dd29 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Robert Longson
289ee87838 Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt 2014-05-31 11:26:04 +01:00
Markus Stange
75e2e674b2 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
e1d0f4eea2 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
4b3fe061b1 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
402beefae6 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar
--HG--
rename : layout/reftests/backgrounds/background-size-each-box.html => layout/reftests/backgrounds/background-size-clone.html
rename : layout/reftests/backgrounds/background-size-cover-each-box.html => layout/reftests/backgrounds/background-size-cover-clone.html
rename : layout/reftests/backgrounds/background-size-cover-continuous.html => layout/reftests/backgrounds/background-size-cover-slice.html
rename : layout/reftests/backgrounds/background-size-continuous.html => layout/reftests/backgrounds/background-size-slice.html
2014-05-05 17:55:54 +00:00
Mats Palmgren
361c3593e3 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
6301b21c9f Back out bug 613659 (for regression bug 998792)
--HG--
rename : layout/reftests/backgrounds/background-size-slice.html => layout/reftests/backgrounds/background-size-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-slice.html => layout/reftests/backgrounds/background-size-cover-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-clone.html => layout/reftests/backgrounds/background-size-cover-each-box.html
rename : layout/reftests/backgrounds/background-size-clone.html => layout/reftests/backgrounds/background-size-each-box.html
2014-04-20 19:39:24 +00:00
Mats Palmgren
12948aafe2 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar
--HG--
rename : layout/reftests/backgrounds/background-size-each-box.html => layout/reftests/backgrounds/background-size-clone.html
rename : layout/reftests/backgrounds/background-size-cover-each-box.html => layout/reftests/backgrounds/background-size-cover-clone.html
rename : layout/reftests/backgrounds/background-size-cover-continuous.html => layout/reftests/backgrounds/background-size-cover-slice.html
rename : layout/reftests/backgrounds/background-size-continuous.html => layout/reftests/backgrounds/background-size-slice.html
2014-04-18 23:01:23 +00:00
Mats Palmgren
2b31a712b1 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
2fe45fbadd Bug 975397 - Call TrackImage when constructing a new nsStyleBorder. r=heycam
I confirmed that the crashtest crashes in the harness without the patch.

--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/style/crashtests/blue-32x32.png
2014-04-02 22:56:19 -07:00
Mike Kaply
df31e72dc4 Backing out bug 889085 (dddfd63f1414, f8c14bd80676) due to regression bug 987783. r=roc 2014-04-02 10:03:08 -05:00
William Chen
982c2340c8 Bug 973321 - Prevent int overflow in border image width calculation. r=dbaron 2014-02-18 14:14:31 -08:00
L. David Baron
191a0147b8 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
e824590763 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
059e59780e 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
9a8928486f 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
ea7a790a70 Bug 480888 patch 1: Rename ComputeOutlineAndEffectsRect to ComputeEffectsRect. r=roc 2014-02-14 21:29:12 -08:00
Ali Akhtarzada
a9545a3f91 Bug 967743 - Make moz elements use DrawTarget context. r=mattwoodrow 2014-02-11 09:22:45 -05:00
Ms2ger
42aa546e2f Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
L. David Baron
d31701cad1 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
09c9451bd3 Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats 2014-02-06 17:45:31 -08:00
L. David Baron
1841dbc18e Bug 91419 patch 3: Rename everything with IBSplitSpecialSibling to IBSplitSibling. r=mats 2014-02-06 17:45:30 -08:00
L. David Baron
c5c5881d3f Bug 91419 patch 1: Rename NS_FRAME_IS_SPECIAL to NS_FRAME_PART_OF_IBSPLIT. r=mats 2014-02-06 17:45:28 -08:00
Nicholas Cameron
a1917aeb0d Bug 700926. Support -moz-element for border-image-source. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron
20728b4dbe Bug 700926. Change DrawPaintServer to DrawableFromPaintServer. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron
5274ed1758 Bug 700926. Fix border-image-source gradient with slice. r=roc 2014-01-31 16:36:41 +13:00
Nicholas Cameron
f3ead74e4f Bug 700926. Use nsStyleImage and nsRenderingContext to draw border-images. r=roc 2014-01-31 16:36:41 +13:00
Markus Stange
9d0bded724 Bug 889085 - Don’t draw CSS background color for themes root frames. r=roc. 2014-01-18 12:51:03 +01:00