Commit Graph

23428 Commits

Author SHA1 Message Date
Jonathan Watt
55c25e7b5c Bug 1088625, part 2 - Pass nsFontMetrics objects through to code that needs it instead of storing it on the nsRenderingContext. r=mstange 2014-10-24 16:28:14 +01:00
Jonathan Watt
7fdccffb0b Bug 1088625, part 1 - Add lots of missing nsFontMetrics.h and gfxTextRun.h includes 2014-10-24 16:28:14 +01:00
Jonathan Watt
89e1a13ad6 Bug 1088599 - Move nsRenderingContext::GetBoundingMetrics to nsLayoutUtils. r=mstange 2014-10-24 16:28:14 +01:00
Jonathan Watt
7a5f6eb3fd Bug 1088550 - Move nsRenderingContext's remaining GetWidth methods to nsLayoutUtils. r=mstange 2014-10-24 16:28:13 +01:00
Carsten "Tomcat" Book
5ae144eb2d Backed out changeset b1ab04e807c3 (bug 1074736) 2014-10-24 14:45:59 +02:00
Carsten "Tomcat" Book
b3aa3e4324 Backed out changeset 5b1f330c9298 (bug 1074736) 2014-10-24 14:45:38 +02:00
Xidorn Quan
d097257827 Bug 1088467 - Avoid adding space for bullet with list-style: none. r=surkov 2014-10-24 01:10:00 +02:00
Jonathan Kew
838e742b91 Bug 1087954 - Fix invalid mix of logical/physical coordinate systems in nsLineLayout::AllowForStartMargin. r=smontagu 2014-10-24 12:24:40 +01:00
Jonathan Kew
8d06c8d2e9 Bug 1083892 - Reftest. r=smontagu 2014-10-24 12:24:40 +01:00
Jonathan Kew
e82d3928c8 Bug 1083892 - Make CalculateBlockSideMargins work with logical coordinates. r=smontagu 2014-10-24 12:24:39 +01:00
Jonathan Kew
65348ca6aa Bug 1086883 - Reftest. r=smontagu 2014-10-24 12:24:39 +01:00
Jonathan Kew
4da74762f1 Bug 1086883 - Convert writing modes where necessary for orthogonal flows when collapsing margins in nsBlockReflowContext methods. r=smontagu 2014-10-24 12:24:38 +01:00
Morris Tseng
f89772c17d Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-23 23:30:00 +02:00
Morris Tseng
b62eca1a88 Bug 1074736 - Consider multiple range selection in selection caret. r=roc 2014-10-23 19:49:00 +02:00
Jonathan Watt
38b821625b Bug 1088071, part 2 - Move the nsRenderingContext::DrawString code to nsLayoutUtils::DrawUniDirString. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt
bfe10861a9 Bug 1088071, part 1 - Wrap the callers of the final nsRenderingContext::DrawString method up in a new nsLayoutUtils::DrawUniDirString method. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt
6894c541fa Bug 1087982, part 3 - Get rid of the ASCII variants of nsRenderingContext::DrawString/GetWidth. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt
de3b204a75 Bug 1087982, part 2 - Get rid of the pass-char-by-value variant of nsRenderingContext::GetWidth. r=jfkthame 2014-10-24 11:00:22 +01:00
Julian Seward
d88466d16d Bug 1074697 - nsDisplaymtdBorder::GetBounds does not set out parameter *aSnap. r=roc. 2014-10-24 10:59:46 +02:00
Kearwood (Kip) Gilbert
be01a51ee2 Bug 1086948 - Remove scroll-behavior: instant CSS value option. r=bz
- Removed "instant" CSS keyword and references used by scroll-behavior.
- Updated tests, removing scroll-behavior: instant test cases.
2014-10-22 11:37:00 +02:00
Jonathan Watt
c8ce2a2313 Bug 1085533, part 2 - Port nsDisplayNotation::Paint to Moz2D. r=mattwoodrow 2014-10-24 08:26:28 +01:00
Jonathan Watt
fda24039d1 Bug 1087685 - Port gfxQuartzNativeDrawing to Moz2D. r=mattwoodrow 2014-10-24 08:26:27 +01:00
Jonathan Watt
80d17fc2dc Bug 1087930 - Remove the gfxPattern returning variant of nsCSSBorderRenderer::CreateCornerGradient. r=mstange 2014-10-24 08:26:27 +01:00
L. David Baron
e03bc5f53b Bug 1088179 - Convert touch caret code to using :-moz-native-anonymous so that it doesn't expose styles for magic attribute names to content. r=birtles
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.

This was formerly bug 1082899 patch 6.

--HG--
extra : transplant_source : %CA%60%B7%10%AD%01%14%92%98%28o%AA%BF%5E%8F%7BV%AA%24%D5
2014-10-23 14:58:21 -04:00
Wes Kocher
40b2127075 Merge m-c to inbound a=merge 2014-10-23 18:09:47 -07:00
Wes Kocher
0fc643cb33 Merge inbound to m-c a=merge 2014-10-23 17:37:23 -07:00
Ryan VanderMeulen
d627d69d92 Merge m-c to inbound. a=merge 2014-10-23 14:11:40 -04:00
Ryan VanderMeulen
f433b6abf9 Merge inbound to m-c. a=merge 2014-10-23 13:54:47 -04:00
Himanshu Singh
d737bbd9a1 BUG 1087478 - Transition mMayHaveTouchListener to be private. r=kats 2014-10-23 09:10:47 -04:00
Wes Kocher
09ba9b5177 Merge inbound to m-c a=merge CLOSED TREE 2014-10-22 18:46:27 -07:00
Ryan VanderMeulen
a8384fd2d1 Merge b2g-inbound to m-c. a=merge 2014-10-22 16:03:57 -04:00
Himanshu Singh
bdb575409f Bug 1058614 - Transition mMayHaveTouchCaret to be private. r=kats 2014-10-22 13:40:20 -04:00
Daniel Holbert
5eae64fe0d 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
425e4bedff Bug 1084500 part 2: Promote & rename ComputeBackgroundAnchorPoint to nsImageRenderer::ComputeObjectAnchorPoint. r=seth 2014-10-22 13:03:18 -07:00
Daniel Holbert
d45f5defe0 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
762157a2e0 Bug 1085701 - Report the allocation size to the OOM abort. r=roc 2014-10-21 15:42:24 +00:00
Mats Palmgren
69f6adcc07 Bug 1085050 - Remove a DEBUG assertion. r=kip 2014-10-21 15:42:24 +00:00
Daniel Holbert
fce18d5c30 Bug 1081072, part 2: add reftest. 2014-10-19 23:36:46 -07:00
Ryan VanderMeulen
c1828c5d8e Backed out changeset 1ac58452ef7d (bug 1082899) for test_selectioncarets.py failures. 2014-10-23 13:40:41 -04:00
L. David Baron
f708b8829c 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
4fc47ae87b 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
51d21c815c 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
2966378681 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
815d094367 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
82e1493c16 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
e064a0e217 Bug 1083855 - part 6, Make RecreateFramesForContent params non-optional. r=bz 2014-10-23 13:19:26 +00:00
Mats Palmgren
de4092a0f1 Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz 2014-10-23 13:19:25 +00:00
Mats Palmgren
7412dd34c9 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
448a255746 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
7e588547af 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