L. David Baron
9842f42ffb
Bug 1057231 patch 1 - Add a rule processor class for rules from SMIL Animation of SVG attributes. r=dholbert
...
This patch series (to move SVG Animation rules to their own level of the
cascade) is needed so that they can participate in the mechanism for
updating only animation styles to the present time without touching any
other styles.
In theory, this should have been done as part of 996796 or even as part
of prior work on off main thread animations, except that it doesn't seem
possible to have SVG Animations and CSS Transitions interacting on the
same element and have that element's style out of date, which means it
wasn't necessary for the existing code to update only animation styles.
However, bug 960465 will use this similar mechanism as the new mechanism
for making sure transitions start in a reasonable way (replacing the
mechanism of phases, going from style without animation to style with
animation via nsPresContext::IsProcessingAnimationStyleChange). This
will require that, for SVG Animations to continue interacting correctly
with CSS Transitions, that they have their own cascade level so that
they can participate in RestyleManager::UpdateOnlyAnimationStyles.
Additionally, this is needed even sooner, for bug 977991, which needs
(temporarily, until bug 960465 lands) a mechanism for updating the style
attribute style *and* all animation-phase-dependent styles.
Yes, it's a little bit annoying to have to have another class, and
another object per-document for this, but that's currently what comes
with being a level of the cascade. But it's one class and one object
per document, and I believe there will be substantial benefits to having
all rule processor levels be only-animation-related or
not-animation-related (except for the style attribute level, which is
simple enough that it isn't needed yet).
2014-09-13 06:17:34 -07:00
L. David Baron
fb077873cf
Bug 1066911 - Allow eRestyle_Force{,Descendants} in RuleNodeWithReplacement. r=heycam
...
This is fine since the assertion is just checking that we're not calling
RuleNodeWithReplacement in cases when stronger restyling (i.e.,
restyling that does more work) is needed; the new eRestyle_Force and
eRestyle_ForceDescendants flags control whether we restyle at all.
This probably should have been done in bug 931668 (since bug 996796
landed before bug 931668, although not before the patches were written),
but it doesn't actually show up in our test suite until bug 977991 (or
maybe slightly earlier in bug 1057231 or bug 1058346).
2014-09-13 06:17:34 -07:00
Jonathan Watt
a663dcd42b
Bug 1067977 - Rename nsContextBoxBlur's 'blur' member to make it possible to find and reason about the code. r=dholbert
2014-09-17 08:46:39 +01:00
Daniel Holbert
a2631eee53
Bug 1065766: Add UA stylesheet rule to preserve <video> centering-by-default behavior, using "object-fit: contain". r=heycam
2014-09-16 23:19:59 -07:00
Daniel Holbert
af148676ec
Bug 1067634: Wrap "will-change" decl in @supports rule, to prevent browser console spam while it's disabled by default. r=heycam
2014-09-16 23:19:58 -07:00
Milan Sreckovic
9b239f2074
Bug 1060431 - Mention in the async disabled message that the visual > max could also be the cause. r=tn
2014-09-15 12:44:21 -04:00
Daniel Holbert
23d30ae6d3
Bug 1066089: Clear dependent data from CustomCounterStyle when it gets dropped from table. f=xidorn r=dbaron
2014-09-16 15:05:04 -07:00
Cameron McCormack
4a6bd9a952
Bug 1041512 - Mark intrinsic widths dirty on a style change even if the frame hasn't had its first reflow yet. r=dbaron
2014-09-17 10:40:11 +10:00
Mats Palmgren
a68692d3b5
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
Seth Fowler
2a76b50bf9
Bug 1064855 - Handle zero area destination rects during image snapping. r=roc
...
--HG--
extra : rebase_source : 8b0c9cb123577fc19359036f466a12aab7148443
2014-09-16 16:18:49 -07:00
Robert O'Callahan
c08d60faea
Bug 1066591
. Backout c43865439dd9 (bug 1066211) to fix regression.
...
--HG--
extra : rebase_source : bd821aade3b17d7eb4cd6acb5f56b46a343eb239
2014-09-13 11:56:16 +12:00
Daniel Holbert
e667af4a7f
(no bug) Drop no-longer-correct "bitmap" qualifier from nsImageFrame header-comment. rs=tn
...
(It's no longer correct because we use nsImageFrame to render e.g. <img src="whatever.svg">, which is not bitmap-flavored at all.)
2014-09-12 13:15:24 -07:00
Daniel Holbert
e386c5a0b1
Bug 1066805: Drop unused parameter from nsImageFrame::EnsureIntrinsicSizeAndRatio(). r=tn
2014-09-12 13:15:23 -07:00
Max Vujovic
c9c2c2f234
Bug 1065606 - Use unclipped primitive subregion to calculate image transform in SVGFEImageElement::GetPrimitiveDescription. r=mstange
2014-09-12 10:44:14 -07:00
Max Vujovic
fa14a7b54a
Bug 1058776 - Add a test that invalid CSS filter functions don't change the rendering of the target element. r=mstange
2014-09-12 10:44:13 -07:00
Nick Lebedev
0af4543b24
Bug 1024808 - Part 1: Remove OOM null checks of CounterListFor return result. r=dholbert
2014-09-12 01:25:00 -04:00
Nick Lebedev
2a05814c2f
Bug 1024808 - Part 0: Clean up trailing whitespaces. r=dholberty
2014-09-12 01:24:00 -04:00
Botond Ballo
44ca398917
Bug 1065008 - Reftest for compositor culling bug. r=roc
...
--HG--
extra : rebase_source : 77c5343a91dc05b6d0a4dac99503331f4cfdb3e7
2014-09-11 18:40:19 -04:00
Matt Woodrow
b981b9db8d
Bug 1044702 - Use Moz2D source clipping when we can. r=Bas
...
--HG--
extra : rebase_source : 24eb333909db5278ff1a8babf9b4b907650695fa
2014-09-12 17:18:21 +12:00
Alexandre Lissy
da1c5ff66a
Bug 1066044 - Make Mochitest pass on Mulet r=jmaher,ochameau
...
To get Mochitest green with Mulet, we need to disable a couple more of
tests. We also need to disable the crash on non local connections, as it
is being done for runtestsb2g.
2014-09-11 22:59:00 +02:00
Alessio Placitelli
77aeb04740
Bug 928397 - Enable xpcshell-test debugging on Windows platforms and default debugger detection. r=ted.mielczarek
2014-07-02 13:52:00 +02:00
Ryan VanderMeulen
603c8eca01
Backed out changeset 3afb6445a73c (bug 1066044) for B2G desktop mochitest perma-fail.
2014-09-11 20:38:06 -04:00
Alexandre Lissy
4f5cb20e91
Bug 1066044 - Make Mochitest pass on Mulet. r=jmaher, r=ochameau
...
To get Mochitest green with Mulet, we need to disable a couple more of
tests. We also need to disable the crash on non local connections, as it
is being done for runtestsb2g.
2014-09-11 07:37:00 -04:00
Cameron McCormack
737d1f11ae
Bug 1065257 - Assorted cleanups in nsLayoutStyleSheetCache. r=bzbarsky
2014-09-12 07:41:35 +10:00
Daniel Holbert
0f09db7a97
Bug 1065646: Use GetContentRectRelativeToSelf() instead of GetContentRect() - GetPosition(), in layout code. r=tn
2014-09-11 14:29:59 -07:00
Ehsan Akhgari
728da459d2
Bug 1065667 - Fix more bad implicit ctors in layout; r=roc
2014-09-11 15:41:21 -04:00
Ehsan Akhgari
0ffd60bc10
Bug 1068058 - Update Selection.containsNode according to the spec; r=smaug
...
Specifically, this makes the first argument non-nullable.
2014-09-16 15:11:52 -04:00
Benoit Girard
37b549af2f
Bug 1056944 - Create an image layer if opaque image covers previous display items. r=mwoodrow
...
--HG--
extra : rebase_source : d561b6e215d654560f89acddec1663517ca4e8ce
2014-09-04 01:02:27 -04:00
Daniel Holbert
1c392baed1
(no bug) Tweak a comment about eContain & eCover to explicitly mention their specified-style equivalents, for better mxr searchability. comment-only, DONTBUILD
2014-09-16 10:55:13 -07:00
Jonathan Kew
8a86870edc
bug 1057331 - add orientation flags to gfxShapedText/gfxTextRun and to glyph runs within the text run, and split glyph runs on orientation changes. r=jdaggett
2014-09-16 12:25:45 +01:00
Jonathan Kew
79f0e0881f
bug 1057329 - update the values of text-orientation to match current css-writing-modes draft (omitting use-glyph-orientation and [for now] sideways and sideways-left). r=jdaggett
2014-09-16 11:12:00 +01:00
Jonathan Kew
08babb6a11
bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
...
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Carsten "Tomcat" Book
8d4febe0fa
Backed out changeset ec335dbccfbd (bug 1067748) for reftest failures
2014-09-16 09:31:20 +02:00
Cameron McCormack
1e93de37df
Bug 1045895 - Pass out provider frame from RestyleSelf to avoid calling GetParentStyleContextFrame again. r=dbaron
2014-09-10 14:42:03 +10:00
Cameron McCormack
9b086dd079
Bug 1065868 - Make nsStyleMargin::MaxDifference return the right bits. r=dbaron
2014-09-16 16:54:33 +10:00
Ting-Yu Lin
5d804d7cd5
Bug 1065244 - Part 3 - Fix SelectionCarets::SelectWord() is hard to trigger. f=mtseng, r=roc
...
Fix this issue by deploying the same logic as selection carets in
TouchCaret::IsOnTouchCaret().
2014-09-15 02:58:00 +02:00
Ting-Yu Lin
b98446503e
Bug 1065244 - Part 2 - Refactor event point on frame logic for SelectionCarets. f=mtseng, r=roc
2014-09-15 02:57:00 +02:00
Ting-Yu Lin
88ac0a85b6
Bug 1065244 - Part 1 - Add GetRectRelativeToFrame to nsLayoutUtils. f=mtseng, r=roc
2014-09-15 17:07:00 +02:00
Robert O'Callahan
c6730b1117
Bug 1051636. Don't mark video ImageLayers as opaque. r=tn
...
The visible region of the layer is not necessarily restricted to the image
that is will be rendered.
Also, we don't know for sure an opaque video frame is going to appear.
--HG--
extra : rebase_source : c6e0f1f0a49b5722b917718634439f045e8a535d
2014-09-16 17:04:53 +12:00
Robert O'Callahan
9b4d6f2a19
Bug 1067748. When a solid-color display item covers everything else in its layer, make it a ColorLayer. r=tn
...
--HG--
extra : rebase_source : e0fdaddfd24c59531ffef865b46f948ba203acaa
2014-09-16 16:27:14 +12:00
Kartikaya Gupta
059cd657b5
Bug 1013385 - Add some tests for checkerboarding. r=mattwoodrow,BenWa
2014-09-15 16:10:14 -04:00
Kartikaya Gupta
6b0862f4b0
Bug 1013385 - Add the layer bounds to the layers API and use it for checkerboarding. r=mattwoodrow,BenWa
2014-09-15 16:09:52 -04:00
Jonathan Watt
4c0a7bbbef
Bug 1064084, part 5 - Convert all consumers of gfxContext::NudgeCurrentMatrixToIntegers()/MultiplyAndNudgeToIntegers() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Jonathan Watt
9bc0f0cdf3
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
fa8c7ec8a5
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
f794fc62f9
Bug 1064082 - Get rid of nsRenderingContext's PushState and PopState methods. r=Bas
2014-09-11 07:48:10 +01:00
Jonathan Watt
0e8ac8ac8a
Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:48:10 +01:00
Jonathan Watt
5d89db4376
Bug 1064056, part 1 - Convert nsRenderingContext::AutoPushTranslation consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:48:09 +01:00
Makoto Kato
ea5d044e00
Bug 1065261 - SectionCaret might not appears if 2.25dppx or higher. r=mtseng
2014-09-11 15:44:54 +09:00
Ryan VanderMeulen
9d54d5a7be
Merge m-c to inbound. a=merge
...
CLOSED TREE
2014-09-10 18:36:26 -04:00
Ryan VanderMeulen
11ebe83ace
Bug 1023323 - Mark 413361-1.html as fuzzy on Android 4.0. a=test-only
2014-09-10 18:03:57 -04:00
Jonathan Watt
b3072839ca
Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas
2014-09-10 18:29:35 +01:00
Max Vujovic
c2f3353599
Bug 1058779 - Add a test for CSS Filters + -moz-element. r=mstange
2014-09-10 10:26:50 -07:00
Max Vujovic
44be2b8eeb
Bug 1058765 - Add a test for chaining different CSS filter functions together. r=mstange
2014-09-10 10:26:50 -07:00
Max Vujovic
9d970270a4
Bug 1058783 - Add rendering tests for blur radius in ems and rems. r=mstange
2014-09-10 10:26:50 -07:00
Max Vujovic
248f710550
Bug 1058807 - Remove nsIFrame include from nsSVGFilterInstance.h. r=mstange
2014-09-10 10:26:49 -07:00
Markus Stange
d188509174
Bug 1065344 - Remove unnecessary mAppUnitsPerCSSPx field. r=mvujovic
2014-09-10 19:06:10 +02:00
Markus Stange
b5e1633afb
Bug 1065344 - Only construct the FilterDescription once. r=mvujovic
2014-09-10 19:06:07 +02:00
Markus Stange
022913c6c1
Bug 1065344 - mUserSpaceBounds shouldn't change its meaning temporarily. r=mvujovic
2014-09-10 19:06:05 +02:00
Mats Palmgren
61d6dbda2d
Bug 739396, part 1 - Split a range (that are to be added to the Selection as a result of a user action) into multiple ranges that excludes any non-selectable (-moz-user-select:none) sub-trees.
2014-09-10 17:07:36 +00:00
Mats Palmgren
6cd63fde75
Bug 739396, part 0 - Make nsDocumentViewer use mozilla::dom::Selection internally instead of nsISelection.
2014-09-10 17:07:36 +00:00
Ryan VanderMeulen
16b6ce0a6b
Backed out 3 changesets (bug 739396) for Mulet perma-fail on a CLOSED TREE.
...
Backed out changeset 299911e6983b (bug 739396)
Backed out changeset de11af3e0964 (bug 739396)
Backed out changeset e274cb276cc5 (bug 739396)
2014-09-10 12:21:58 -04:00
Ting-Yu Lin
58715b60bd
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
Jonathan Watt
581078dcb7
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
2014-09-10 14:26:12 +01:00
Mats Palmgren
3b0200e62f
Bug 739396, part 1 - Split a range (that are to be added to the Selection as a result of a user action) into multiple ranges that excludes any non-selectable (-moz-user-select:none) sub-trees.
2014-09-10 13:07:43 +00:00
Mats Palmgren
5405e219b8
Bug 739396, part 0 - Make nsDocumentViewer use mozilla::dom::Selection internally instead of nsISelection.
2014-09-10 13:07:43 +00:00
Abhishek Arya
b8d056fcf2
Bug 1061027 - crashtest.
2014-09-10 13:07:43 +00:00
Abhishek Arya
7d3c8167ac
Bug 1061028 - crashtest.
2014-09-10 13:07:43 +00:00
Carsten "Tomcat" Book
d9c5bea4e5
Backed out changeset e6b766d8a815 (bug 1065127) for bustage
2014-09-10 14:30:36 +02:00
Jonathan Watt
cc5bf95ddf
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
...
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Jonathan Watt
1187a32f01
Bug 1062249 - Vastly simplify the various GetCanvasTM methods. r=longsonr
...
--HG--
extra : rebase_source : b0ba980a34c720bd3c3f3c95733083e92f0c0513
2014-09-08 12:28:50 +01:00
Markus Stange
fe1b2e0166
Bug 1064842 - Add ImplCycleCollectionTraverse/Unlink implementations for nsReferencedElement so that nsSVGFilterReference can use the shorter NS_IMPL_CYCLE_COLLECTION macro. r=roc
2014-09-10 12:18:57 +02:00
Daniel Holbert
41bce9ed30
Bug 1065141: Clarify language in mochitest messages about whether OMTA is working. r=birtles
2014-09-09 22:31:56 -07:00
Nathan Froyd
b22d96e512
Bug 1061794 - move -Wshadow flags additions in layout/style/ to moz.build; r=mshal
2014-07-28 11:26:16 -04:00
Robert O'Callahan
bf35c76776
Bug 1063052. NS_RUNTIMEABORT if a builtin stylesheet fails to load. r=heycam
2014-09-10 13:10:18 +12:00
Robert O'Callahan
7d98b5c133
Bug 1061045. Remove dirtyRect save/restore from Enter/LeavePresShell since they're not needed anymore. r=tn
2014-09-06 16:16:34 +12:00
Robert O'Callahan
e951a951fe
Bug 1062100. Part 2: Assign clip rects to non-async-scrollable scrolled layers, and hide clipped layers if some non-moving layer covers their entire clip rect. r=mattwoodrow
2014-09-06 16:16:33 +12:00
Robert O'Callahan
d193c9957e
Bug 1062100. Part 1: Remove ItemCoversScrollableArea. r=mattwoodrow
...
This isn't really part of this bug but it simplifies related code.
2014-09-06 16:16:33 +12:00
Robert O'Callahan
e95fe1d976
Bug 1050159. Apply correct dirty rect when AddCanvasBackgroundColorItem creates an nsDisplaySolidColor. r=mattwoodrow
...
--HG--
extra : rebase_source : a762a87108b7b7a36664a5590b43fbd28b4842d1
2014-09-06 16:16:33 +12:00
Daniel Holbert
fe4e8d9647
Bug 1055285 part 4: Extend test_transitions_per_property.html with a few more scenarios for background-position & object-position transitions. (no review)
2014-09-09 18:09:32 -07:00
Daniel Holbert
8829bbabc7
Bug 1055285 part 3: Implement animation for 'object-position' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
471ab7f102
Bug 1055285 part 2: Implement CSS parsing & computation (but not animation) for 'object-position' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
751fe17d2f
Bug 1055285 part 1: Implement CSS parsing & computation for 'object-fit' property. r=heycam
2014-09-09 18:09:32 -07:00
Ryan VanderMeulen
9a0967f21f
Merge m-c to inbound. a=merge
2014-09-09 19:29:28 -04:00
Mats Palmgren
5bb60f3ed8
Bug 1061468 - Test that the caret is not rendered after a focused contenteditable element is removed from the document.
2014-09-09 23:27:56 +00:00
Mats Palmgren
162270b2ba
Bug 1061468 - Notify the editor when removing the focused element is its ancestor limiter. r=ehsan
2014-09-09 23:27:56 +00:00
Ryan VanderMeulen
93bf6bf6a0
Merge inbound to m-c. a=merge
2014-09-09 19:26:59 -04:00
Daniel Holbert
3fdb8884c7
(no bug) Some comment-only cleanup in nsLayoutUtils.h. (no review, comment-only)
...
DONTBUILD
In particular:
- Rewrapped a few lines to 80 characters.
- Fixed a few typos.
- Added a terminal period character at the end of @param/@return lines, in cases where the rest of the function's documentation follows that convention.
2014-09-09 16:12:13 -07:00
Patrick Brosset
82fd842cb1
Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug
2014-09-09 20:54:08 +02:00
Wes Johnston
a13a120571
Bug 966493 - Mark touchstart and end events as handling user input. r=smaug
2014-09-09 15:10:07 -07:00
Kartikaya Gupta
2cc85cf48d
Bug 1063494 - Properly handle async-scrolled layers that are also fixed/sticky-position. r=botond,BenWa
2014-09-09 15:12:14 -04:00
Daniel Holbert
53a49cbf93
Bug 1060090 part 5: Refactor StyleAnimationValue <position>-handling code to use helper-methods. r=heycam
2014-09-09 11:40:20 -07:00
Daniel Holbert
d67c97c95f
Bug 1060090 part 4: Allow computed-style 'Position' struct to have different initial values beyond just 0% 0%. r=heycam
2014-09-09 11:40:18 -07:00
Daniel Holbert
3743cd250c
Bug 1060090 part 3: Refactor getComputedStyle implementation for 'background-position' to use helper-method for <position> & its sub-parts. r=heycam
2014-09-09 11:40:17 -07:00
Daniel Holbert
8ff891d5ab
Bug 1060090 part 2: Spin out "ComputePositionValue", and rename its helper "ComputeBackgroundPositionCoord" to "ComputePositionCoord". r=heycam
2014-09-09 11:40:15 -07:00
Daniel Holbert
7fbf3d5b1b
Bug 1060090 part 1: Rename ParseBackgroundPositionValues to ParsePositionValue. r=heycam
2014-09-09 11:40:10 -07:00
Markus Stange
58ef847c49
Bug 1062870 - Restore the post-filter dirtyRect after building the filtered display items. r=roc
2014-09-09 17:14:47 +02:00
Markus Stange
7a4bb48dd1
Bug 1062832 - Make nsSVGFilterChainObserver participate in cycle collection. r=roc
2014-09-09 17:14:46 +02:00
Markus Stange
85d464e537
Bug 1062832 - Create abstract class nsSVGFilterChainObserver for observers without frames. r=roc
2014-09-09 17:14:46 +02:00
Markus Stange
d95082e95a
Bug 1062832 - Move frame invalidation from nsSVGFilterReference to nsSVGFilterProperty. r=roc
2014-09-09 17:14:46 +02:00