Commit Graph

7931 Commits

Author SHA1 Message Date
Jonathan Kew
cc0d8158c6 Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron 2014-12-23 12:50:10 +00:00
Ryan VanderMeulen
5dd2e8e2b3 Bug 1112988 - Skip layout/base on Mulet due to its inability to run the tests without blowing up in some way or another. 2014-12-17 22:39:14 -05:00
Ryan VanderMeulen
4712c6da5b Merge m-c to inbound. a=merge
CLOSED TREE
2014-12-17 21:03:11 -05:00
Ryan VanderMeulen
d2ebc2ac1b Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Ryan VanderMeulen
80d00d06d6 Bug 1087611 - Disable test_bug968148.html on Mulet. 2014-12-17 20:39:08 -05:00
David Anderson
c6a362e7e4 Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
--HG--
extra : rebase_source : 29d74a8734aabc0e583ad5e372f7b04bcc9e2b8f
2014-12-17 15:37:28 -08:00
Prabhjyot Singh Sodhi
7ddff31846 Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00
Jonathan Kew
a8a6aa7ac6 Bug 1111879 - Avoid copying an nsFont when we don't need to modify it locally. r=dbaron 2014-12-16 23:02:37 +00:00
Carsten "Tomcat" Book
377a249e57 merge fx-team to mozilla-central a=merge 2014-12-16 13:39:48 +01:00
abdelrhman
605c00590b Bug 1111276 - Replace gBrowser.selectedTab.linkedBrowser with gBrowser.selectedBrowser. r=dao
--HG--
extra : rebase_source : d7ef16a16f884458d99dff05efb370694d2ea5e3
2014-12-15 22:05:46 +01:00
Xidorn Quan
4228d2bd0f Bug 1098275 - Inlinize block-level boxes inside ruby. r=heycam
--HG--
extra : rebase_source : 70a969d3a6be4ea5dfe14777aa7c31189ade7211
extra : source : 30e0ea21cdfaa29f2c138f0b8975da984e8ac009
2014-12-11 09:26:18 +11:00
Seth Fowler
6764e463f9 Bug 1106602 (Part 1) - Use pretransform dest rect as default SVG-as-image viewport. r=dholbert 2014-12-15 15:44:13 -08:00
Xidorn Quan
6ec4718259 Bug 1087872 - Reconstruct ruby frames for frame insertion when necessary. r=bz
--HG--
extra : rebase_source : dfbb5179a5e3f438214e3d41e2f43ed9ff2331c4
extra : source : d82b661ffdba5319d98e363b18266b118b9072a0
2014-12-10 15:58:40 +11:00
Xidorn Quan
7ad44e3d9d Bug 1087872 - Reconstruct ruby frames for frame removal when necessary. r=bz
--HG--
extra : rebase_source : 321d6249be4ec89bcb8f43c9a8c1c59ab52bce36
extra : source : 97115d9d8217f7ffbed866e11648299c47b97862
2014-12-10 15:58:40 +11:00
Xidorn Quan
011ad0f311 Bug 1088489 - Implement ruby pseudo box generation. r=bz
--HG--
extra : rebase_source : 3d722db5a9f896a7083d385e65f0d1d7b694d9e2
extra : source : c7f276c6f764aa28e8b178230f0a9f12372f1db0
2014-12-08 21:45:56 +11:00
Xidorn Quan
9fd4b03657 Bug 1088489 - Add const overload of item() & add assertion in them. r=bz
--HG--
extra : rebase_source : 352b5fde0b0e35fa9474a4afaddc4da13c535383
2014-12-14 09:19:46 +11:00
Xidorn Quan
374e286944 Bug 1088489 - Separate wrapping frame construction items into a method. r=bz
--HG--
extra : rebase_source : bee1cea6a9f11399369fbebc0b17d96e0165841e
extra : source : 9950c01c8d222d2df50667ba44d0d821c321574c
2014-12-08 21:45:56 +11:00
Mats Palmgren
06f26c7f58 Bug 1108104 part 1 - Remove mFixedContainingBlock. Make GetAbsoluteContainingBlock() check for an ancestor with the right frame type instead. r=roc 2014-12-14 17:22:06 +00:00
Wes Kocher
e83bf23b26 Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
Wes Kocher
624683558a Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
Wes Kocher
fb749897f2 Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
Ehsan Akhgari
309b4049b4 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Tom Tromey
b07d94c0b7 Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow 2014-12-11 10:40:00 -05:00
Morris Tseng
0b66e315ac Bug 1092888 - Part 5: Add a parameter to toggle context menu when calling long_press. r=mdas 2014-11-16 18:52:00 -05:00
Morris Tseng
e372ca0698 Bug 1092888 - Part 4: Flip testing function for non-editablt test at test_selectioncarets.py. r=roc 2014-11-10 19:47:00 -05:00
Morris Tseng
3d47a3c756 Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc 2014-11-10 02:04:00 -05:00
Morris Tseng
c68d4f3abc Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc 2014-12-07 18:52:00 -05:00
Wes Kocher
340d6a8f92 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
Ting-Yu Lin
a4711adf3f Bug 1067728 - Part 5 - Dispatch updateposition after scroll end and reflow. r=roc, sr=smaug
Add a selection state "updateposition" and a field "visible" to indicate
that the current selection's boundingClientRect or visible is changed.
We dispatch this state after scrolling or reflowing is done.
2014-12-10 01:50:00 +01:00
Ting-Yu Lin
6192059c2b Bug 1067728 - Part 4 - Refactor two functions in SeletionCarets. r=roc
Make DispatchSelectionStateChangedEvent() and GetSelectionBoundingRect()
become member functions of SeletionCarets so that they are easier to use
in later patches.
2014-12-08 01:55:00 +01:00
Ting-Yu Lin
167b0fb34f Bug 1067728 - Part 3 - Expose FindNearestCommonAncestorFrame. r=roc 2014-12-10 19:52:00 +01:00
Ting-Yu Lin
65839a12cf Bug 1067728 - Part 2 - Hide start or end selection caret if it's out of scroll frame. f=mtseng, r=roc
nsLayoutUtils::IsRectVisibleInScrollFrames() had been used by
TouchCaret. We do the similar check for SelectionCarets.
2014-12-08 01:54:00 +01:00
Ting-Yu Lin
ce2cdc6f5d Bug 1067728 - Part 1.1 - Move IsRectVisibleInScrollFrames to nsLayoutUtils. f=mtseng, r=roc 2014-12-08 01:53:00 +01:00
Ting-Yu Lin
6a76eb960c Bug 1067728 Part 1 - Generalize scroll frame boundary checking logic. f=mtseng, r=roc 2014-12-08 01:52:00 +01:00
Gijs Kruitbosch
5c13351c93 Bug 1107771 - disabling beforeunload should only disable the dialog, not the event, r=bz 2014-12-05 10:31:30 -08:00
Ryan VanderMeulen
0e0519738e Backed out 5 changesets (bug 1092888) because something in the push made Gij(2) permafail.
Backed out changeset 0ad25135a27f (bug 1092888)
Backed out changeset 7cd8260bfc16 (bug 1092888)
Backed out changeset 86385291d8c8 (bug 1092888)
Backed out changeset be16d194d5df (bug 1092888)
Backed out changeset daee46827258 (bug 1092888)
2014-12-09 12:08:59 -05:00
David Anderson
fae21c73e9 Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn)
--HG--
extra : rebase_source : babd42d9bdae722173821e800bc595fe662ee8f1
2014-12-09 02:38:23 -08:00
Morris Tseng
455c5caf38 Bug 1092888 - Part 5: Add a parameter to toggle context menu when calling long_press. r=mdas 2014-11-16 18:52:00 +01:00
Morris Tseng
5c257ec2cc Bug 1092888 - Part 4: Flip testing function for non-editablt test at test_selectioncarets.py. r=roc 2014-11-10 19:47:00 +01:00
Morris Tseng
47f413f5c0 Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc 2014-11-10 02:04:00 +01:00
Morris Tseng
8fde6b3f3e Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc 2014-12-07 18:52:00 +01:00
Wes Kocher
c659ea6bce Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Mason Chang
75a72f02a0 Bug 1107733. Integrate paint times into telemetry. r=mattwoodrow 2014-12-08 12:43:16 -08:00
Jeff Muizelaar
93fa5b52e6 Bug 1110530. Use a rectangle instead of a region for layer bounds. r=roc
We only ever look at the bounds of this region so we can just track
that in a single rect instead of a region.

--HG--
extra : rebase_source : 4cd84ab724d9dde1c578e71362cab8033af7a210
2014-12-12 11:25:36 -05:00
L. David Baron
473c6235d3 Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 15:50:00 -08:00
Wes Kocher
28b56d8b93 Backed out 8 changesets (bug 1089417) for b2g bustage possibly on a CLOSED TREE
Backed out changeset bf9f31312c1a (bug 1089417)
Backed out changeset babf33f8e077 (bug 1089417)
Backed out changeset 47b4f47d2e36 (bug 1089417)
Backed out changeset 11da22489a4f (bug 1089417)
Backed out changeset a39f32b2b2de (bug 1089417)
Backed out changeset fba9c331e036 (bug 1089417)
Backed out changeset b541a037f627 (bug 1089417)
Backed out changeset fc47a51b4f96 (bug 1089417)
2014-12-05 12:45:41 -08:00
L. David Baron
cc675e51fb Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 11:37:38 -08:00
Daniel Holbert
d1e970a727 (no bug) fix typo ('decleration') in a comment in Units.h. comment-only, DONTBUILD 2014-12-05 11:00:43 -08:00
Carsten "Tomcat" Book
f97c2d406b merge fx-team to mozilla-central a=merge 2014-12-05 13:02:46 +01:00
Carsten "Tomcat" Book
a0cfc4acb0 Merge mozilla-central to fx-team 2014-12-04 17:13:19 +01:00
Kartikaya Gupta
1712deb1b9 Bug 1106537 - Fix typo causing massive debug mochitest failures. r=tn 2014-12-03 07:21:00 -08:00
Kartikaya Gupta
493b814f1f Bug 1106537 - Ensure the current animated geometry root is initialized properly. r=tn 2014-12-03 07:20:32 -08:00
Morris Tseng
6338d7697a Bug 1102135 - When select word, bailed out if frame is not selectable. r=roc 2014-11-27 23:57:00 +01:00
Gijs Kruitbosch
b089406711 Bug 639134 - change document color pref to tristate, r=dbaron 2014-11-27 19:06:14 +00:00
Jonathan Kew
99ce3e394c Bug 1102177 - Don't apply a fixed height to <hr> elements. r=dbaron
--HG--
rename : layout/base/crashtests/266445-1.html => layout/base/crashtests/266445-2.html
2014-12-01 20:57:28 -08:00
Jonathan Watt
7bf425d765 Bug 1066713 follow-up - Fix C&P error to get the variable names right. 2014-12-04 18:23:54 -08:00
Jonathan Watt
b52a3ad5cb Bug 1066713 - Fix scaled up layer sizing bug that occurs due to scaled up assign-to-int rounding error. r=mattwoodrow
--HG--
extra : rebase_source : a175e92ab7842ca650ae00d995cc3548f9d188f0
2014-12-03 21:21:42 -08:00
Daniel Holbert
f4e360cb11 Bug 1002632 part 2: Keep using internal refresh driver for SVG-in-opentype, for now. r=edwin 2014-12-04 12:13:37 -08:00
Phil Ringnalda
f7c0142c6a Merge m-c to m-i 2014-11-28 15:13:22 -08:00
Phil Ringnalda
59b7974ee0 Merge b-i to m-c, a=merge 2014-11-28 15:08:30 -08:00
Kartikaya Gupta
96b06cc2a6 Bug 1105823 - Ensure we find a scrollable ancestor even for fixed-position items. r=botond 2014-11-28 12:25:40 -05:00
Morris Tseng
6682e1351f Bug 1101392 - Part 2: Add a command that collapse selection to end after copying. r=roc 2014-11-26 23:06:00 +01:00
Jonathan Kew
f456341960 Bug 1105268 - part 2 - Fix logical/physical confusion with min- and max- dimensions in nsLayoutUtils::ComputeSizeWithIntrinsicDimensions(). r=smontagu 2014-11-27 15:01:22 +00:00
Jonathan Kew
b88614c9df Bug 1105268 - part 1 - Fix the logical/physical confusion with min- and max- dimensions in nsFrame::ComputeSize(). r=smontagu 2014-11-27 15:01:11 +00:00
Neil Deakin
d7fab6a6dd Bug 1072342, propagate the window activation state down to child process windows, r=smaug,mstange 2014-11-27 08:28:26 -05:00
Olli Pettay
91ef2e5d56 Bug 1105089, try to have shorter ICC slices during animations, r=mccr8
--HG--
extra : rebase_source : bfe8cc2825b7cb2ec86f6e8f5ba590593e1c378b
2014-11-27 13:47:51 +02:00
Mats Palmgren
79113bdddb Bug 1105127 - Null-check the GetDisplayRootPresContext() result before using it, and remove the redundant GetRootPresContext() call. r=roc 2014-11-27 11:21:48 +00:00
Ryan VanderMeulen
5df3040f12 Merge m-c to inbound. a=merge 2014-11-26 21:43:23 -05:00
Ryan VanderMeulen
694e866a21 Merge b2g-inbound to m-c. a=merge 2014-11-26 21:39:08 -05:00
Ryan VanderMeulen
1ac5f2eafb Merge inbound to m-c. a=merge 2014-11-26 20:34:29 -05:00
Robert O'Callahan
73d7b5c382 Bug 1098266. Set correct visible rect on nsDisplayOpacity items that are shuffled around during preserve-3d display list wrapping. r=tn 2014-11-24 14:03:49 +13:00
Kartikaya Gupta
5fad9ad99a Bug 1105016 - Update tld to pld in debug logging. r=mstange
DONTBUILD because NPOTB
2014-11-26 13:58:15 -05:00
Gina Yeh
3bfe06797a Bug 1103836, Patch 1: No 'mozbrowserafterkeydown' event is dispatched after preventing the default actions of 'keydown' event, r=smaug. 2014-11-26 17:28:52 +08:00
Kartikaya Gupta
b30e6b04cd Bug 1104809 - Log accumulation of event regions into a PaintedLayer. r=mstange,tn 2014-11-25 17:05:39 -05:00
Ryan VanderMeulen
4eaadd2c57 Merge m-c to b2g-inbound. a=merge 2014-11-25 17:01:49 -05:00
Kartikaya Gupta
19e9ee8e91 Bug 1104099 - Exclude non-visible frames from the LayerEventRegions. r=mstange,tn 2014-11-25 15:26:48 -05:00
Kartikaya Gupta
82368a2395 Bug 1104266 - Add logging of nsDisplayLayerEventRegions fields in the display list dump. r=mattwoodrow 2014-11-25 08:45:20 -05:00
Kartikaya Gupta
d7b95978c4 Bug 1104266 - Avoid needless temporary nsACString. r=mattwoodrow 2014-11-25 08:45:19 -05:00
Masayuki Nakano
fb530e9039 Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug 2014-11-25 14:02:31 +09:00
Cameron McCormack
8816aa8c8f Bug 1098270 - Null check curData in AddPendingRestyle to avoid crashing on style sheet updates in ShadowRoots outside of the composed document. r=dbaron 2014-11-27 09:47:52 +11:00
Blake Kaplan
0a803d9447 Bug 582297 - Make <keygen> work in e10s. r=billm/dkeeler 2014-11-26 14:28:28 -08:00
Xidorn Quan
6630d62d23 Bug 1052924 - Implement basic line breaking for ruby. r=dbaron
Known problem:
It would cause infinite loop if there is any line break happens inside
ruby base or annotation, or the width of container is not enough for
the widest pair/span. This might be fixed in bug 1098272.
2014-11-26 15:52:50 +11:00
Xidorn Quan
4a3b774936 Bug 1083004 - Create anonymous ruby base container when necessary. r=bz 2014-11-26 15:52:07 +11:00
Morris Tseng
643c4fbaf6 Backed out 5 changesets (bug 1092888) for breaking QA smoketest on b2g.
Backout changeset 8c513f282a9e (bug 1092888)
Backout changeset db37104f6fbd (bug 1092888)
Backout changeset b1a0a7ea1a32 (bug 1092888)
Backout changeset c53a6181a4b2 (bug 1092888)
Backout changeset 54e551c1f2cd (bug 1092888)
2014-11-26 10:11:38 +08:00
Daniel Holbert
627d04a3c0 Bug 1098417 part 1.5: Ignore computed anchor-point if 'object-fit' and 'object-position' are at their initial values, for backwards compat. r=seth 2014-11-25 16:46:14 -08:00
Daniel Holbert
d54b309a49 Bug 1098417 part 1: Add optional anchor-point arg to nsLayoutUtils::ComputeObjectDestRect() and nsLayoutUtils::DrawSingleImage(). r=seth 2014-11-21 18:25:46 -08:00
Daniel Holbert
8b2fb3bb07 Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec. 2014-11-25 11:28:15 -08:00
peter chang
b81e773ad6 Bug 1090008 Dispatch SelectionStateChanged event for blur, r=roc r=smaug 2014-11-27 18:56:00 +01:00
peter chang
61b6f51e1b Bug 1090008 - Part 4 - Rename SelectionChange to SelectionStateChanged, r=smaug 2014-11-27 18:55:00 +01:00
pchang
3149b16d16 Bug 1090008 -Part 1 - Refactor the logic to dispatch selectionchange to TextDialog, r=roc 2014-11-28 05:35:00 +01:00
Carsten "Tomcat" Book
3c9909efb9 Merge mozilla-central to mozilla-inbound 2014-11-28 14:23:52 +01:00
Jonathan Kew
d994d76e63 Bug 1077528 - part 1 - Provide physical and logical accessors for the m{HV}Resize flags in nsHTMLReflowState, and convert all flag users to the accessor methods. r=smontagu 2014-11-28 09:44:02 +00:00
Jonathan Kew
5aa27045c7 Bug 1083848 - Make InlineBackgroundData aware of vertical writing mode. r=dbaron 2014-11-24 23:16:04 +00:00
Gina Yeh
f093ed9a75 Bug 1091479, Patch2: Rename enum members, r=sinker. 2014-11-24 09:47:39 +08:00
Jonathan Watt
cf91ac7a84 Bug 1103623 - Port most remaining gfxContext::Fill() calls to Moz2D. r=mattwoodrow 2014-11-24 00:04:33 +00:00
Jesse Ruderman
a9c7da8996 Bug 429881 - crashtest. 2014-11-23 15:09:51 +00:00
Martijn Wargers
d3496d33dd Bug 419985 - crashtest. 2014-11-23 15:09:50 +00:00
Botond Ballo
1dd9ca7ab5 Bug 1099298 - Revert the temporary fix in bug 1099104. r=tn 2014-11-21 13:52:49 -05:00
Botond Ballo
d7d1371dbf Bug 1099298 - Add the pres shell resolution to the container layer parameters in nsDisplaySubDocument::ComputeFrameMetrics(). r=tn 2014-11-21 13:50:41 -05:00
Jonathan Kew
479949c885 Bug 1077515 - part 6 - Create a new nsISelectionController::PhysicalMove command. r=roc 2014-11-22 14:39:03 +00:00
Jonathan Kew
8faf68508f Bug 1077515 - part 3 - Change desiredX (nscoord) to desiredPos (nsPoint) in nsPeekOffsetStruct, to support maintaining either vertical or horizontal position on inter-line moves. r=roc 2014-11-22 14:39:03 +00:00
Kartikaya Gupta
b97c63b2d1 Bug 918288 - Ensure we set a displayport on elements that we get touch-start events for. r=botond 2014-11-21 21:36:25 -05:00
Kartikaya Gupta
f0b40d2cb8 Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond 2014-11-21 21:36:25 -05:00
Vladimir Vukicevic
ae674a1a2f Bug 1036602 - add generic gfx/layers functionality for VR rendering; r=nical 2014-07-09 12:26:18 -07:00
Vladimir Vukicevic
be34abff19 Bug 1036604 - add VR display item and VR frame state bit; r=roc 2014-07-09 12:25:31 -07:00
Carsten "Tomcat" Book
452383b5b5 Merge mozilla-central to mozilla-inbound 2014-11-21 13:00:50 +01:00
Carsten "Tomcat" Book
eb781594d3 merge mozilla-inbound to mozilla-central a=merge 2014-11-21 12:57:00 +01:00
Gina Yeh
c47886ea59 Bug 1096146, Patch 1: No default actions of keydown event should be made if mozbrowserbeforekeydown event is defaultPrevented, r=smaug. 2014-11-21 17:47:55 +08:00
Wes Kocher
b81ee28f94 Merge m-c to fx-team a=merge CLOSED TREE 2014-11-20 18:06:48 -08:00
Justin Dolske
b9329bfbd8 Bug 1098123 - Add telemetry for onbeforeunload usage. r=jst 2014-11-20 14:50:01 -08:00
David Anderson
e49434ce1c Cache the current animated geometry root in nsDisplayListBuilder. (bug 1101260 part 1, r=roc) 2014-11-20 16:58:18 -08:00
Mats Palmgren
8300e75160 Bug 907396 - Make RestyleManager::RestyleElement and nsCSSFrameConstructor::MaybeRecreateFramesForElement deal with display:contents elements. r=bzbarsky 2014-11-20 18:24:10 +00:00
Mats Palmgren
63a641e1e7 Bug 907396 - Replace GetParentStyleContextFrame with GetParentStyleContext which can return frame-less display:contents style contexts. r=bzbarsky 2014-11-20 18:24:10 +00:00
Mats Palmgren
f598ba9127 Bug 907396 - Implement RestyleUndisplayedDescendants that restyles diplay:none children and display:contents descendants. r=bzbarsky 2014-11-20 18:24:10 +00:00
Mats Palmgren
d5ec26e4f1 Bug 907396 - Frame constructor changes for display:contents. r=bzbarsky 2014-11-20 18:24:09 +00:00
Mats Palmgren
1c00164ab4 Bug 907396 - Frame manager support for display:contents. r=bzbarsky 2014-11-20 18:24:09 +00:00
Mats Palmgren
a589dd143f Bug 907396 - Put display:contents support behind a pref - disabled by default. r=dholbert 2014-11-20 18:24:09 +00:00
Avi Halachmi
07b67974fa Bug 1100920 - telemetry probe for frames latency. r=roc 2014-11-18 14:47:32 +02:00
Karl Tomlinson
2c7a9e1789 bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : b78ffe7ffddf47a9646c1766626f48aed67ebb09
2014-11-10 15:47:55 +13:00
Karl Tomlinson
0a52493d8d bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Daniel Holbert
1807829bf1 Bug 1002632 part 1: Make an image document's refresh driver receive ticks from the image's clients, & disable its internal timer. r=bz 2014-05-01 09:31:54 -07:00
Brian Birtles
a8a325e307 Bug 1104427 part 2 - Encapsulate AnimationPlayer::mStartTime; r=dholbert
Now that there is a public accessor for mStartTime, we can make it a protected
member of AnimationPlayer. The only time mStartTime is ever set is when playing
the animation so we can replace external modifications to mStartTime with calls
to Play(). This simplifies implementing deferred starting of animations
in bug 927349 by isolating the deferred playback logic to AnimationPlayer.

Note that even when we call PauseFromStyle immediately afterwards we still need
to call PlayFromStyle (or Play) first in order to resolve the time at which the
player should be paused. A newly created player doesn't have a current time so
if we were simply to call pause it wouldn't pause at the start of the animation
as we might expect. The call to Play(FromStyle) will cause the current time to
become zero and then we pause at that time.
2014-12-04 08:28:38 -08:00
Jonathan Kew
2f94577e8d Bug 1107256 - Correct the position of text decoration lines on vertical text. r=smontagu 2014-12-04 00:57:18 -08:00
Jonathan Kew
a355bf47ca Bug 1106669 - Convert nsLayoutUtils::IntrinsicForContainer to work with logical coordinates. r=smontagu 2014-12-04 00:57:17 -08:00
Simon Montagu
8b6ba93f24 Bug 1067796: make SelectionLanguageChange cache the language direction on mFrameSelection and return early if the language hasn't changed, r=roc 2015-01-09 11:39:38 +02:00
Robert O'Callahan
b301a1e7c1 Bug 1111753. Don't restrict the dirty rect stored for display items for out-of-flow elements to their visual overflow areas. r=tn 2014-12-22 16:09:32 +13:00
Jonathan Kew
a74d73b0b4 Bug 1110181 - Move mTextOrientation to the nsStyleVisibility struct to avoid potential recursive dependency in nsStyleText. r=dbaron 2014-12-11 18:56:19 +00:00
Josh Aas
6141b5290e Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
David Anderson
55ab94f4b0 Don't treat event regions as opaque for plugin geometry. (bug 1109424, r=roc) 2014-12-11 00:37:02 -08:00
Benoit Girard
0160d36a2e Bug 1092320 - Log a warning to the console when will-change is out of budget. r=dbaron,khuey
--HG--
extra : rebase_source : edb72547f59ae3f62b4df323b81ff63ecb677b77
2014-11-22 00:35:20 -05:00
Ting-Yu Lin
66bba9262b Bug 1090682 - Do not consume NS_MOUSE_MOZLONGTAP if SelectWord failed. f=mtseng, r=roc 2014-12-24 19:14:00 +01:00
Brian Birtles
d0a0e92e5a Bug 927349 part 28 - Call AddLayerChangesForAnimation after updating style; r=dbaron 2014-12-25 16:28:25 +09:00
David Anderson
b2e46c1fab Add inactive subframes to the dispatch-to-content region. (bug 1082594, r=tn,kats) 2014-11-19 20:24:15 -08:00
David Zbarsky
7d60c708ba Bug 1085769: Merge ContentOrAncestorHasAnimation/Transition r=birtles 2014-11-19 21:48:42 -05:00
Boris Zbarsky
e13e547738 Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron 2014-10-03 14:15:25 -04:00
Lebedev Maksim
22d1368cd8 Bug 1098139 - Add attribute isPrimary detection for got/lostpointercapture events. r=smaug 2014-11-18 01:13:00 +01:00
Sid Stamm
2189922ce8 Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz) 2014-11-18 08:46:47 -05:00
Ting-Yu Lin
3aab57855c Bug 1100243 - Fix wrong log in SelectionCarets::SetEndFrameVisibility(). r=mtseng 2014-11-17 00:05:00 +01:00
Morris Tseng
165b76639e Bug 1092888 - Part 5: Add a parameter to toggle context menu when calling long_press. r=mdas 2014-11-16 18:52:00 +01:00
Morris Tseng
ddfc0cca32 Bug 1092888 - Part 4: Flip testing function for non-editablt test at test_selectioncarets.py. r=roc 2014-11-10 19:47:00 +01:00
Morris Tseng
bb49b1b951 Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc 2014-11-10 02:04:00 +01:00
Morris Tseng
1f909883b9 Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc 2014-11-10 02:03:00 +01:00
David Anderson
ec1f0caf28 Add APZ handling for desktop scroll wheel events. (bug 1086162 part 1, r=kats) 2014-11-17 20:56:18 -08:00
Brian Birtles
2f81a1905a Bug 1073336 part 16 - Factor out animation-layer related information to a common database; r=dbaron 2014-11-17 13:46:00 +09:00
Brian Birtles
3e884a87b5 Bug 1073336 part 14b - Make ElementRestyler detect changes to the animation generation; r=dbaron
For some kinds of changes we need to update the layer tree even though there is
no change to style. For example, if an animation is paused via the Web
Animations API, we need to remove the animation from the layer even though the
style will not change.

This patch detects such changes by making ElementRestyler check for an
out-of-date animation generation on layers. This is complicated by the fact that
we currently maintain *two* animation generation numbers: one for the set of
animations and one for the set of transitions, but we only have *one* animation
generation number on each layer. This is a known issue (bug 847286).

As a result, until bug 847286 is fixed, we need to be careful to compare against
the greater of the two numbers.
2014-11-17 13:46:00 +09:00
Brian Birtles
d208f5d64f Bug 1073336 part 14a - Update animation generation when changing animations via the API; r=dbaron 2014-11-17 13:45:59 +09:00
Brian Birtles
11d3d1e763 Bug 1073336 part 3b - Add nsPresContext::ClearLastStyleUpdateForAllAnimations; r=dbaron 2014-11-17 13:45:57 +09:00
Jonathan Watt
e53a23d7ff Bug 1097438 - Restore the use of AntialiasMode::NONE in nsCSSBorderRenderer::DrawBorders(). r=roc 2014-11-12 02:56:12 +00:00
Bas Schouten
d4181f7c5f Bug 1099335: Base decision to use a complex clip on whether a DT supports regoin clipping. r=jrmuizel
DrawTargets that support region clipping are able to clip to regions effectively. Other DrawTargets go through expensive complex clip paths. When invalidating regions we have code that draws in multiple steps when using Direct2D to avoid this expense, we should base the decision to do this simply on whether the DrawTarget supports fast region clipping.
2014-11-16 19:17:40 +00:00
Daniel Holbert
779bb4b2dd Bug 624647 part 1: Add utility method nsLayoutUtils::ComputeObjectDestRect() to handle object-fit/object-position. r=seth 2014-11-14 16:45:23 -08:00
Botond Ballo
1d78ddf865 Bug 1099104 - Temporary fix for a rendering regression caused by bug 1076163. r=kats 2014-11-14 14:08:02 -05:00
Kartikaya Gupta
ef3e0582eb Bug 1090398 - Small refactoring that adds ParentLayerPixel::ToUntyped. r=botond 2014-11-14 07:40:14 -05:00
Daniel Holbert
ef419fe57d Bug 1098558: Remove unused constant NS_STYLE_DIRECTION_INHERIT. r=smontagu 2014-11-13 15:50:39 -08:00
Daniel Holbert
8c7cc1b194 Bug 1098551: Use nsBidiLevel (instead of uint8_t) to capture result of functions that return nsBidiLevel. r=smontagu 2014-11-13 14:53:17 -08:00
Benoit Girard
8a1c4934f8 Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Ting-Yu Lin
4e6fe284fc Bug 1097094 - Keep a WeakPtr to nsDocShell in SectionCarets. r=roc
When SelectionCarets::Terminate() is called, it's not guaranteed that we
can get nsDocShell from PresContext. It causes that SelectionCarets
cannot remove itself as an observer.

To fix this, we keep a member WeakPtr<nsDocShell> so that we can always
have nsDocShell in SelectionCarets::Terminate().
2014-11-13 08:32:00 -05:00
Morris Tseng
ca0f216c74 Bug 1096169 - Handle selection carets overlapping case. r=roc 2014-11-12 23:03:00 -05:00
Botond Ballo
27647aabec Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Botond Ballo
2124b8b94c Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
08963b106d Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Carsten "Tomcat" Book
f8a9a0cf8d Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE 2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
b4345a9bb4 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
5b163a6b8b Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Jonathan Kew
4d8e08f61a Bug 1093553 - Followup to fix positioning of the caret with writing-mode:vertical-lr and text-orientation:sideways-right. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
05381c64c7 Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
ecfeb14da7 Bug 1093165 - Include the text-orientation value in WritingMode, and add the IsSideways flag for baseline decisions. r=smontagu 2014-11-13 08:58:04 +00:00
L. David Baron
771a066d41 Bug 1086937 patch 2 - Use eRestyle_ChangeAnimationPhaseDescendants to get the right style data in RestyleManager::RebuildAllStyleData. r=birtles
Until we get rid of animation phases in bug 960465, we need to ensure
we're producing style data for the correct animation phase.  This makes
this optimization slightly less beneficial until then.
2014-11-12 23:28:52 -08:00
L. David Baron
a8e8f8637b Bug 1086937 patch 1 - Add eRestyle_ChangeAnimationPhaseDescendants restyle hint that is like eRestyle_ChangeAnimationPhase, but for a whole subtree. r=birtles 2014-11-12 23:28:52 -08:00
L. David Baron
387d8bbbf3 Bug 1086937 patch 0 - Add missing null check of root element so this patch series doesn't expose a crash in layout/style/crashtests/472237-1.html . r=birtles 2014-11-12 23:28:52 -08:00
Botond Ballo
c54c9d42eb Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
2105a1529d Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
df8b0f8a7a Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Jim Mathies
16fae775ad Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc 2014-11-12 14:59:19 -06:00
Robert O'Callahan
8dda40ff1a Bug 1092842. When setting cliprects on background color display items, don't shrink them to exclude opaque borders (unless there's nonzero border-radius). r=mattwoodrow
By not excluding opaque borders from the display item cliprects, we produce
a larger opaque area for opaque background items.

--HG--
extra : rebase_source : 4e27157c2b60d1a0386a4db681dd8f1e741b61fd
2014-11-12 20:53:03 +13:00
Maksim Lebedev
37e32248e2 Bug 1094913 - Set pointerType to got/lostpointercapture events. r=smaug 2014-11-11 08:29:00 +01:00
Maksim Lebedev
09fa9beb22 Bug 1094913 - Test for detecting attribute 'pointerType' in got/lostpointercapture events. r=smaug 2014-11-10 06:22:00 +01:00
Morris Tseng
4020b5f61e Bug 1094056 - Use nsCaret::GetGeometryForFrame to determine position of selection carets. r=roc 2014-11-11 22:54:00 +01:00
Ting-Yu Lin
a6797853d9 Bug 1073457 - Launch long tap detector when APZ isn't enabled. f=mtseng, r=roc
LaunchLongTapDetector() is used to fire long tap to select word when
async pan zoom is not enabled. We should check if async pan zoom is
enabled rather than check whether it's on main process.

This can also fix selection carets not working on e10s.
2014-11-10 00:29:00 +01:00
Carsten "Tomcat" Book
1c2a463484 Backed out changeset 61fa2ff606b8 (bug 1083004) 2014-11-12 11:25:51 +01:00
Xidorn Quan
05c9cf167b Bug 1083004 - Create anonymous ruby base container when necessary. r=bz 2014-11-12 17:31:37 +11:00
Xidorn Quan
ba90088e5a Bug 1088489 - Meet the specification for pseudo ruby box generation. r=bz 2014-11-12 14:44:36 +11:00
Karl Tomlinson
e04362ca98 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
8395221632 bug 1096131 clarify docs for LayoutDevicePixels and LayerPixels r=kats f=tn
--HG--
extra : rebase_source : c2e854a7af06abbfcd9bb95fef3ac241472b88b5
2014-11-08 12:39:42 +13:00
Karl Tomlinson
b61db0deda bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson
1085e66407 bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Ryan VanderMeulen
3b01e527e7 Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
CLOSED TREE
2014-11-11 13:10:56 -05:00
Jonathan Kew
f99a9f0726 Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-11-07 06:32:00 -05:00
Olli Pettay
161ed19bd4 Bug 1096076 - [E10s] When resizing a window, all the tabs are resized, r=roc 2014-11-11 00:38:28 +02:00
Carsten "Tomcat" Book
ef05c06bd3 Backed out changeset a263c8cfb04f (bug 1083004) for m5 test failures 2014-11-11 08:14:42 +01:00
Xidorn Quan
59930567cd Bug 1083004 - Create anonymous ruby base container when necessary. r=bz 2014-11-11 16:41:58 +11:00
Wes Kocher
7cb16d8094 Backed out 3 changesets (bug 1092888) for marionette bustage on a CLOSED TREE
Backed out changeset eeff2ff03d39 (bug 1092888)
Backed out changeset c25a6fd7903f (bug 1092888)
Backed out changeset e4e735cdd665 (bug 1092888)
2014-11-10 14:47:52 -08:00
Morris Tseng
b7bd9a936c Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc
--HG--
extra : rebase_source : 9e343626d67f6d9d4435535e3d10535ca1006cf0
2014-11-10 02:04:00 -05:00
Morris Tseng
2f2f7fc544 Bug 1092888 - Part 1: Remove preference for selection carets with non-editable fields support. r=roc
--HG--
extra : rebase_source : 23e1c11c1a89a5e5fa4d80af6abace7d1c7e2012
2014-11-10 02:03:00 -05:00
Ting-Yu Lin
de2e32e0d8 Bug 1094607 - Move scroll observer logic to SelectionCarets. r=roc 2014-11-05 22:00:00 +01:00
Xidorn Quan
9799359f36 Bug 1063857 - Fix reftests for new justification algorithm.
--HG--
rename : layout/reftests/bugs/503399-ref.html => layout/base/tests/bug503399-ref.html
rename : layout/reftests/bugs/503399.html => layout/base/tests/bug503399.html
2014-11-10 12:24:51 +11:00
Kartikaya Gupta
404d8a0fd5 Bug 1093686 - Add a test to ensure event listeners on the body don't affect event retargeting. r=roc 2014-11-06 08:05:51 -05:00
Robert O'Callahan
520d67c9ca Bug 1083635. Part 7: Fix UpdateLayerTree to sync-decode images and flush pending notifications. r=mattwoodrow
--HG--
extra : rebase_source : d13f993c4dd1b868f47b6c79b39172bb40b3871c
2014-11-07 13:20:27 +13:00
James Kitchener
ab38070c5d Bug 1002526 - Part 5 - Force <math> element's font inflation in <mtd> descendants. b=1002526. r=roc 2014-11-06 14:01:00 +01:00
Jonathan Watt
e13922053c Bug 1094063, part 1 - Stop nsCSSBorderRenderer::DrawBorders from sometimes drawing the border twice. r=mattwoodrow
--HG--
extra : rebase_source : 091c0cbbe0cf6f7bf0dcfa4fcabe9c4c31e23c42
2014-11-06 22:07:36 +00:00
Jonathan Watt
fc1b004739 Bug 1094480 - Fix rendering of CSS borders when only some of the corners have a border-radius and the border-radius is greater than the sum of the border width and the element's content area width/height. r=mattwoodrow
--HG--
extra : rebase_source : eb5023f83ec846dbdbf2ae19eb7e24bd01ce1c8a
2014-11-06 22:07:36 +00:00
Carsten "Tomcat" Book
ea9a16d713 Backed out changeset f1989cb41965 (bug 1093686) for B2G Desktop Linux opt m1 test failures 2014-11-06 16:42:36 +01:00
Kartikaya Gupta
7b39bcb7b0 Bug 1093686 - Add a test to ensure event listeners on the body don't affect event retargeting. r=roc 2014-11-06 08:05:51 -05:00
Kartikaya Gupta
0d8a3614cc Bug 1093686 - Add some debug logging code for PositionedEventTargeting.cpp. r=roc 2014-11-06 08:05:51 -05:00
Kartikaya Gupta
27a08bcfcb Bug 1093686 - Ignore body-level touch/mouse listeners when assessing element clickability. r=roc
When walking up the content tree to assess if an element is contained inside a
clickable element, we should stop before hitting the body element. This is a
heuristic based on pages in the wild, because a lot of pages have mouse/touch
listeners on the body. Without this patch all elements end up getting treated
as clickable which makes the event retargeting code useless.
2014-11-06 08:05:51 -05:00
Ting-Yu Lin
a2df3aacb9 Bug 1094072 - Update selection carets after reflow. r=roc
Let SelectionCarets inherits from nsIReflowObserver so it could refresh
its position after reflow. This fixes the incorrect position of
selection carets after we rotate the device to change the screen from
portrait mode to landscape mode and vice versa.
2014-11-05 21:18:00 +01:00
Timothy Nikkel
fec9174a9b Bug 1086683. We need to take into account the resolution when comparing the size of a frame and it's associated widget. r=botond
The size of the frame is scaled by the local resolution of it's presshell. The widget contains the document, so it's size is scaled the parent presshell resolution, but not the local presshell resolution. So comparing the widget size and the frame size directly without taking into account resolution is wrong.
2014-11-06 00:42:17 -06:00
Robert O'Callahan
c2d5639aae Bug 1083635. Part 4.5: Avoid requesting PAINT_WIDGET_LAYERS if we're in a content process. r=mattwoodrow
--HG--
extra : rebase_source : 2559a0f44319264fe6395ef833269fb412f18502
2014-10-24 12:20:01 +13:00
Robert O'Callahan
d0f1ae646e Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Robert O'Callahan
c72141ba76 Bug 1083635. Part 4: Return LayerManager from nsDisplayList::PaintRoot, and dump its contents in nsLayoutUtils::PaintFrame. r=mattwoodrow
--HG--
extra : rebase_source : 8c39aebedb275b56eda4a740b63ae4e00523c206
2014-10-21 10:32:10 +13:00
Robert O'Callahan
7d45b99ff8 Bug 1083635. Part 3: Flush displaylist dump before calling PaintRoot. r=mattwoodrow
--HG--
extra : rebase_source : 6da7f168218036a13be7dcd73ed8b3c552dcace1
2014-10-21 10:32:10 +13:00
Robert O'Callahan
50bd448572 Bug 1083635. Part 2: Inline nsDisplayList::PaintForFrame into PaintRoot. r=mattwoodrow
--HG--
extra : rebase_source : 1d313b18a2b0cc5894924299f421966a1f428799
2014-10-21 10:32:09 +13:00
Robert O'Callahan
997000fd40 Bug 1083635. Part 1: Remove nsDisplayZoom::Paint since it's dead code. r=mattwoodrow
--HG--
extra : rebase_source : bb053e5abb7f5a8ae17ab59af542db292ba35543
2014-10-21 10:32:09 +13:00
Robert O'Callahan
ba4692a8b6 Bug 1084672. Call NotifyDidPaint from the refresh driver to ensure it gets called regardless of whether OMTC is used or not. r=mattwoodrow
--HG--
extra : rebase_source : 51cc908538bd127c0af9089ae92aa82146032015
2014-10-22 14:26:17 +13:00
Kartikaya Gupta
238eaf381a Bug 1078029 - Add code to reposition input event coordinates into the target frame. r=roc
The PositionedEventTargeting code allows input events to be dispatched to a
target not directly under the input event point. However, the coordinates of the
input event can then end up outside the bounding rect of the event target. This
state is generally unexpected by web content and may cause compatibility issues.
Fennec's front-end code used to deal with this by repositioning the input event
coordinates to be inside the bounding rect; now that Fennec is using the shared
C++ code we need to have that code here. This behaviour is guarded by a pref and
disabled by default (but enabled on Fennec).
2014-11-04 09:52:16 -05:00
Robert Longson
61134326e0 Bug 975757 - changes to transforms in patterns do not cause an update. r=jwatt 2014-11-04 14:52:27 +00:00
Jonathan Watt
1f1669f782 Bug 1092392 - Finish porting nsCSSBorderRenderer to Moz2D. r=roc
--HG--
extra : rebase_source : 6db1d646f09b563b40208ba8bacdf3743fbe1ba7
2014-11-04 09:53:05 +00:00
Kartikaya Gupta
65cae77ec6 Bug 1092139 - Make the PositionedEventTargeting code respect the flag to ignore root scroll frames. r=roc
The ignore-root-scroll-frame flag is used on mobile platforms in order to allow
hit-testing outside the viewport area. This is needed because the user can zoom
out and make visible an area larger than the viewport (i.e. the displayport) but
layout generally restricts hit-testing to the viewport. The code to retarget
events to nearby clickable elements also needs to respect this flag, otherwise
the retargeting fails to work outside the viewport area.
2014-11-03 09:43:52 -05:00
Jonathan Watt
e031ed5462 Bug 1092351 - Mark most of nsCSSBorderRenderer as private to make it easier to reason about and refactor. r=dholbert 2014-11-03 10:03:14 +00:00
Jonathan Watt
f3de49f29d Bug 1092222, part 4 - Port nsCSSRenderingBorders fill painting to use Moz2D directly. r=roc 2014-11-03 10:03:11 +00:00
Jonathan Watt
f0cd135dd6 Bug 1092222, part 3 - Convert nsCSSRenderingBorders from Thebes to Moz2D basic types. r=roc 2014-11-03 10:03:09 +00:00
Jonathan Watt
15a8e15ca2 Bug 1092222, part 1 - Get rid of gfxContext::GraphicsLineCap and gfxContext::GraphicsLineJoin. r=roc 2014-11-03 10:01:57 +00:00
Ting-Yu Lin
d4b059aa6d Bug 1029943 - Part 2 - Fix test fails on 824080-3/5/7.html, bug558663.html. r=ehsan 2014-10-31 09:14:00 +01:00
Gina Yeh
55bc8bc174 Bug 989198, Patch 9: Fix warning, r=smaug. 2014-11-03 15:06:10 +08:00
Gina Yeh
951ffe59de Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug 2014-11-03 15:05:38 +08:00
Jesse Ruderman
fd6a617956 Bug 416107 - crashtest. 2014-11-02 22:47:01 +00:00
Jesse Ruderman
2ffca0f9a3 Bug 403454 - crashtest. 2014-11-02 22:47:01 +00:00
Nils
f3ac364b93 Bug 817219 - crashtest. 2014-11-02 16:47:26 +00:00
Nils
02f8dcb1f9 Bug 876221 - crashtest. 2014-11-02 16:47:26 +00:00
Mats Palmgren
3bbc287379 Bug 1077687. If we have a pending request to rebuild all style data then do so instead of processing individual restyles. r=roc 2014-11-02 16:47:26 +00:00
Jonathan Watt
3b3df6f273 Bug 1091787, part 2 - Port the nsCSSRendering code that uses gfxContext::RoundedRectangle to Moz2D. r=mattwoodrow 2014-11-02 15:41:08 +00:00
Jonathan Watt
64dbf8e193 Bug 1091787, part 1 - Port the nsCSSRenderingBorders code that uses gfxContext::RoundedRectangle and gfxRGBA to Moz2D. r=mattwoodrow 2014-11-02 15:41:08 +00:00
Jonathan Watt
d62793fbe9 Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow 2014-11-01 10:45:10 +00:00
Jonathan Watt
df99c4ebbf Bug 1091323 - Convert the nsLayoutUtils helpers that paint images and take an nsRenderingContext to take a gfxContext instead. r=seth 2014-11-01 10:45:09 +00:00
Jonathan Watt
6400c081ee Bug 1091321, part 6 - Convert nsSVGUtils::PaintFrameWithEffects and related code from nsRenderingContext to gfxContext. r=longsonr 2014-10-31 20:08:54 +00:00
Jonathan Watt
1151d6d34f Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel 2014-10-31 20:08:49 +00:00
Jonathan Watt
8615a064e6 Bug 1090614 - Make nsCSSRendering::PaintBoxShadowOuter construct a Moz2D Path to do its clipping. r=mattwoodrow 2014-10-31 11:16:27 +00:00
Lebedev Maksim
781f4e9ae5 Bug 1073563 - Test for async lostpointercapture event. r=smaug 2014-10-08 01:35:00 +02:00
John Schoenick
3684ba717b Bug 1090530 - Ensure that we unregister preference observers in nsPresContext unlink. r=roc 2014-10-30 14:49:01 -07:00
Ting-Yu Lin
5f94b5654e Bug 1090785 - Migrate to NSPR logging for touch caret. r=roc 2014-10-29 01:37:00 +01:00
Chris Pearce
e264dccc4f Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc 2014-10-28 13:21:12 +13:00
Ryan VanderMeulen
bcc3ab5ec1 Merge m-c to inbound. a=merge 2014-10-29 16:51:39 -04:00
Ryan VanderMeulen
d19a8ac7d7 Merge inbound to m-c. a=merge 2014-10-29 16:49:04 -04:00
Ryan VanderMeulen
903b6f89ef Backed out changesets 62a8be146b4b, d9a9008a1e93, e6761281d389, and 913e16c2877b (bug 1071482) for causing various intermittent failures.
--HG--
rename : dom/media/test/test_eme_playback.html => dom/media/test/test_encryptedMediaExtensions.html
2014-10-29 12:31:43 -04:00
Morris Tseng
969de71304 Bug 1088559 - Also dispatch NotifyAsyncPanZoomStarted/NotifyAsyncPanZoomStopped to nsDocShell's child. r=roc 2014-10-29 02:03:00 -04:00
Morris Tseng
4adb27481c Bug 1088552 - Change downPoint and movePoint from canvasframe's coordinate to rootframe's coordinate. r=roc 2014-10-28 18:25:00 -04:00
Jonathan Watt
9f3a575470 Bug 1090611 - Make nsCaret::PaintCaret take a Moz2D DrawTarget instead of nsRenderingContext. r=Bas 2014-10-29 17:07:11 +00:00
Jonathan Watt
1c4344fe0a Bug 1090607 - Port FrameLayerBuilder.cpp's DebugPaintItem helper to Moz2D. r=Bas 2014-10-29 17:07:11 +00:00
Ting-Yu Lin
91fc19cc0d Bug 1087190 - Add debug log to SelectionCarets. f=mtseng, f=pchang, r=roc 2014-10-29 01:16:00 +01:00
Robert O'Callahan
87c06a002c Bug 1088498. Treat anchor offsets just less than 0.5 as 0.5 when rounding. r=seth 2014-10-29 15:08:40 +13:00