Commit Graph

23393 Commits

Author SHA1 Message Date
Ryan VanderMeulen
709e969087 Backed out changeset 1ac58452ef7d (bug 1082899) for test_selectioncarets.py failures. 2014-10-23 13:40:41 -04:00
L. David Baron
f34f18e8d7 Bug 1082899 patch 6 - Convert touch caret code to using :-moz-native-anonymous so that it doesn't expose styles for magic attribute names to content. r=birtles
Note that this leaves a few selectors with repeated classes of the form
.moz-touchcaret.moz-touchcaret .   This is intentional, so that these
changes don't change the relative specificity of any of the touch caret
selectors.

I tested locally on a Flame that using this without the ua.css changes
breaks the touch caret (it doesn't appear), but with the ua.css changes
the touch caret appears again.
2014-10-23 12:57:28 -04:00
L. David Baron
1d51b113b6 Bug 1082899 patch 5 - Add :-moz-native-anonymous pseudo-class, exposed only to UA style sheets. r=birtles sr=bzbarsky 2014-10-23 12:57:28 -04:00
L. David Baron
f076e9d712 Bug 1082899 patch 4 - Rename existing flag for pseudo-elements to better match what it is (UA sheets, not chrome sheets, although EditorOverride is included). r=birtles 2014-10-23 12:57:28 -04:00
L. David Baron
21405097af Bug 1082899 patch 3 - Add flag for marking pseudo-classes as UA-sheet only. r=birtles 2014-10-23 12:57:28 -04:00
L. David Baron
162a895977 Bug 1082899 patch 2 - Add flags storage and accessors for nsCSSPseudoClasses. r=birtles
The code for this is basically copied from nsCSSPseudoElements.
2014-10-23 12:57:27 -04:00
L. David Baron
bf0bf720e0 Bug 1082899 patch 1 - Add a flags field to the CSS_PSEUDO_CLASS and related macros. r=birtles 2014-10-23 12:57:27 -04:00
Mats Palmgren
0d75b86b14 Bug 1083855 - part 6, Make RecreateFramesForContent params non-optional. r=bz 2014-10-23 13:19:26 +00:00
Mats Palmgren
e886ddc5f4 Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz 2014-10-23 13:19:25 +00:00
Mats Palmgren
e3e7929a91 Bug 1083855 - part 2, Add a REMOVE_DESTROY_FRAMES value to RemoveFlags. Make RecreateFramesForContent skip recreating the frames when aFlags has that value. r=bz 2014-10-23 13:19:25 +00:00
Mats Palmgren
bfa68e811a Bug 1083855 - part 1, Add an aDestroyedFramesFor out param to ContentRemoved and propagate it (and aFlags) to RecreateFramesForContent etc. (idempotent change) r=bz 2014-10-23 13:19:25 +00:00
Rik Cabanier
46ec2319e3 Bug 1074056 - Part 2 - Rendering part of 1074056: Add support for interpolation hints to CSS gradients. r=roc 2014-10-22 14:25:00 +02:00
Rik Cabanier
043186ac12 Bug 1074056 - Part 1 - Add support for interpolation hints to CSS gradients. r=dbaron 2014-10-22 14:24:00 +02:00
Matt Woodrow
562baad9e2 Bug 1078337 - Correctly respect the source rect in DrawSingleImage. r=seth
--HG--
extra : rebase_source : c00951d46388585731340cf41c15520fc0592800
2014-10-23 11:41:14 +13:00
Ryan VanderMeulen
01ff55dc0f Merge m-c to inbound. a=merge 2014-10-22 16:38:48 -04:00
Ryan VanderMeulen
b7d111e6dd Merge b2g-inbound to m-c. a=merge 2014-10-22 16:03:57 -04:00
Himanshu Singh
b36941c233 Bug 1058614 - Transition mMayHaveTouchCaret to be private. r=kats 2014-10-22 13:40:20 -04:00
Daniel Holbert
2733da18af Bug 1084500 part 3: Make documentation for ComputeObjectAnchorPoint cover non-background use cases. r=seth 2014-10-22 13:03:19 -07:00
Daniel Holbert
4a3c52d428 Bug 1084500 part 2: Promote & rename ComputeBackgroundAnchorPoint to nsImageRenderer::ComputeObjectAnchorPoint. r=seth 2014-10-22 13:03:18 -07:00
Daniel Holbert
d6e8d80642 Bug 1084500 part 1: Refactor ComputeBackgroundAnchorPoint to take a Position & use a per-component helper method. r=seth 2014-10-22 13:03:18 -07:00
Mats Palmgren
4e3a2e288d Bug 1085701 - Report the allocation size to the OOM abort. r=roc 2014-10-21 15:42:24 +00:00
Mats Palmgren
61f683b94d Bug 1085050 - Remove a DEBUG assertion. r=kip 2014-10-21 15:42:24 +00:00
Daniel Holbert
c0c4df5b6d Bug 1081072, part 2: add reftest. 2014-10-19 23:36:46 -07:00
Carsten "Tomcat" Book
2060c8175a merge fx-team to mozilla-central a=merge 2014-10-21 15:38:16 +02:00
Matt Woodrow
59fa5fff4f Bug 1078005 - Skip sending MozAfterPaint events to hidden PresShells. r=roc 2014-10-21 21:59:59 +13:00
Wes Kocher
23f972a0b3 Merge m-c to fx-team a=merge 2014-10-20 19:01:55 -07:00
Wes Kocher
fa12469995 Merge m-c to fx-team a=merge 2014-10-20 18:34:45 -07:00
Wes Kocher
29123d72f1 Merge inbound to m-c a=merge 2014-10-20 17:58:32 -07:00
Carsten "Tomcat" Book
c34c839a9d merge mozilla-inbound to mozilla-central a=merge 2014-10-20 14:34:56 +02:00
Jonathan Watt
9f1b24df01 Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow
--HG--
extra : rebase_source : d8fb804f03a1cc4635d6acd7f66f5f21962de6d3
2014-10-20 10:55:49 +01:00
Jonathan Watt
8903ddbb8d Bug 1085167, part 1 - Feed the appUnitPerDevPixel value through to nsCSSRendering::DrawTableBorderSegment. r=mattwoodrow
--HG--
extra : rebase_source : 4ef83ee8f45915311c1f7379e06c77f40605c17c
2014-10-20 10:55:49 +01:00
Jonathan Watt
7a934761aa Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow
--HG--
extra : rebase_source : dc4604e04cae84b8dcbd2d9890191713555c8c7a
2014-10-20 10:55:49 +01:00
Jonathan Watt
7ebfcab431 Bug 1085160 - Port the code that uses nsRenderingContext::IntersectClip() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 54226509a1b16efdc76f92f202cc2be07cf43ab4
2014-10-20 10:55:48 +01:00
Jonathan Watt
5e3c3b8150 Bug 1085159 - Port the code that uses nsRenderingContext::DrawLine() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 70553292850517d695994c0a3422fab8ea0b760a
2014-10-20 10:55:48 +01:00
Lebedev Maksim
073baff0db Bug 1080360 - Add firing lostpointercapture event on document instead of on removed capturing element. r=smaug 2014-10-20 01:28:00 +02:00
Lebedev Maksim
de873fb6dc Bug 1080360 - Test for receiving lostpointercapture event on document. r=smaug 2014-10-16 05:39:00 +02:00
Edgar Chen
eb8669f6ea Bug 1072275 - MobileConnectionService doesn't have to be created in 'profile-after-change' category. r=smaug 2014-10-16 09:57:38 +08:00
Daniel Holbert
3d0dd53e6e Bug 1084039: Clean up AnimationPlayerCollection::PseudoElement(). r=birtles 2014-10-16 22:14:02 -07:00
John Daggett
fd7fa5f488 Bug 1083599 - fixup small problem with userfont logging. r=m_kato 2014-10-17 09:15:29 +09:00
David Parks
71324ef0ab Bug 918634 - swapFrameLoader not implemented for e10s r=nical
Allow layers to change layermanager if using LayerManagerComposite.

--HG--
extra : rebase_source : f24fde110f91fff7e2ceb3ddcd4549077a15f3c6
2014-10-14 15:11:38 -07:00
Daniel Holbert
c32aa27783 Bug 1084564: Add mention of bug 1084564 to webm-video & ogg-video reftest.list files, for B2G & Android failures, and remove sparsely-sprinkled links to generic bug 773482. (no review)
DONTBUILD because the changes are comment-only
2014-10-20 10:08:57 -07:00
Max Vujovic
309beb718d Bug 1083241 - Call gfx->Paint in PaintFrameWithEffects when there is blending. r=roc 2014-10-17 11:37:54 -07:00
Kearwood (Kip) Gilbert
ad10b6549b Bug 1045754 - Part 2 - Tests. r=bz
- Updated smooth scroll behavior mochitest and reftests to
  match new CSSOM-View DOM scrolling method parameters.
- Added tests for Element.ScrollBy and Element.ScrollTo.
2014-10-02 17:29:22 -07:00
Ting-Yu Lin
f45e0b8512 Bug 1082486 - Part 6 - Add tests to test_reftests_with_caret.html. r=roc
Touch caret should not be show in the two test cases since caret does
not show in the scroll frame.
2014-10-19 02:59:00 +02:00
Ting-Yu Lin
142b3b8d13 Bug 1082486 - Part 4 - Check whether nsCaret shows in the scroll frame. r=roc
This patch check whether nsCaret shows in scroll frame. If yes, touch
caret will show, and its position will be clamp to scroll frame as
before. Otherwise, we hide it since the nsCaret will not be seen in this
case.
2014-10-16 22:03:00 +02:00
Ting-Yu Lin
7cd6cb94a0 Bug 1082486 - Part 5 - Hide touch caret when PresShell is suppressing painting. r=roc
When loading an html, painting is suppressed in PresShell. Therefore the
rect of nsCaret or the rect of nearest ancestor scroll frames will not
be correct. Touch caret will hide incorrectly because it cannot get the
necessary rect to calculate its position.

I added a condition in IsDisplayable() to skip when painting is
suppressed. Touch caret should sync its visibility with nsCaret again
when painting is unsuppressed, and those rects needed by touch caret
should be ready then.
2014-10-16 05:08:00 +02:00
Ting-Yu Lin
1f8db9d46f Bug 1082486 - Part 3 - Refactor UpdatePosition(). r=roc
GetTouchCaretPosition() is needed in a later patch.
2014-10-15 03:05:00 +02:00
Ting-Yu Lin
8ebb8ad565 Bug 1082486 - Part 2 - Make GetCanvasFrame() returns nsCanvasFrame*. r=roc
PresShell::GetCanvasFrame() already returns nsCanvasFrame*, and it's
needed to access nsCanvasFrame's method in a later patch.
2014-10-14 03:07:00 +02:00
Ting-Yu Lin
521e2843ab Bug 1082486 - Part 1 - Clean up for Mozilla coding style. r=roc
Also, check mVisible before calling UpdatePosition() in
SyncVisibilityWithCaret().
2014-10-14 03:07:00 +02:00
Lebedev Maksim
1264d63972 Bug 1078327 - Test for correct detecting capturing content. r=smaug 2014-10-17 00:47:00 +02:00