Commit Graph

43828 Commits

Author SHA1 Message Date
Xidorn Quan
b9fb386cc4 Bug 1098272 part 2 - Assert that there is no line break inside ruby. r=dbaron
--HG--
extra : rebase_source : 67ea1b202e197babf581a5f207c6b49ffe65a8fd
extra : source : c4dc03f162dc1b5c0e16bdfc3a338637c6ddb92c
2014-12-22 16:16:06 +11:00
Xidorn Quan
2331038635 Bug 1098272 part 1 - Suppress line breaks inside ruby boxes. r=dbaron,roc
--HG--
extra : rebase_source : 2e884fd15244a265011e3241be084c5a1c6fd66e
extra : source : 0ea7212c131401abff6a097773ae93cdfa05dcde
2014-12-22 15:17:55 +11:00
Daniel Holbert
19a6f2a9df Bug 1113811: Remove unnecessary null-check of infallible 'new', in ParseDeclarationBlock. r=heycam 2014-12-22 18:21:45 -08:00
Wes Kocher
5014637e84 Backed out changeset f6a3f2525323 (bug 1113811) for breaking lots of things on a CLOSED TREE 2014-12-22 17:03:11 -08:00
Daniel Holbert
bc842894b3 Bug 1113811: Remove unnecessary null-check of infallible 'new', in ParseDeclarationBlock. r=heycam 2014-12-22 16:05:05 -08:00
Xidorn Quan
0cb7562edc Bug 1108429 part 8 - Implement default ruby alignment. r=roc
--HG--
extra : source : 469cb97255e807acd60aea73db7e76e03d9409c9
2014-12-15 10:33:59 +11:00
Xidorn Quan
d732a076a4 Bug 1108429 part 7 - Modify jusitication computation to take ruby into account. r=roc
--HG--
extra : source : dc85c8f239aa5f08d31ada2f1346ad1965bdd4c2
2014-12-15 10:19:38 +11:00
Xidorn Quan
b57d1f90f3 Bug 1108429 part 6 - Record inner justification opportunities for each frame. r=roc
--HG--
extra : source : 40cee8a9a435667520e3cc846783e8c17b252c5a
2014-12-15 09:57:36 +11:00
Xidorn Quan
a759fbf567 Bug 1108429 part 5 - Enable justification computation when there is ruby. r=roc
--HG--
extra : source : a70242f72a280e7f1ceab6b6fa4ece13bd807dee
2014-12-13 22:18:16 +11:00
Xidorn Quan
e8df246df7 Bug 1108429 part 4 - Handle isize reservation in sync annotation rect. r=roc
--HG--
extra : source : 9cd4da9858ad4a314cef0354ec73b8bd635c5ca9
2014-12-13 16:13:12 +11:00
Xidorn Quan
ea6940e783 Bug 1108429 part 3 - Add flag to indicate the existance of ruby. r=roc
--HG--
extra : source : 322ca21457397001c361db0ea766367d19b9b9a1
2014-12-13 11:48:30 +11:00
Xidorn Quan
20e60d07f7 Bug 1108429 part 2 - Reserve isize for ruby boxes. r=roc
--HG--
extra : source : 123248ecc3ecfe0b4f9f0f544771cb4cc0f6192c
2014-12-13 11:05:02 +11:00
Xidorn Quan
4103883d8e Bug 1108429 part 1 - Add ruby utils for reserving isize of ruby boxes. r=roc
--HG--
extra : source : 1f280f5e65b715e5be3737d4eb80d6f220bb078a
2014-12-12 21:30:43 +11:00
Xidorn Quan
7042d1e185 Bug 1109937 - Change flags in PerFrameData to use bit fields. r=roc
--HG--
extra : source : 76160496de67f8d8e3f0823613632897ab55fa84
2014-12-23 10:22:26 +11:00
Ryan VanderMeulen
9b417fb924 Merge m-c to fx-team. a=merge 2014-12-23 13:19:37 -05:00
Hallvord R. M. Steen
8e013fa5d0 Bug 1101873 - Remove the part of the 923971 patch that caused a new problem. r=enndeakin 2014-11-27 10:23:51 +01:00
Mark Hammond
8dc853f068 Bug 1109120 - use a geoip xhr request for more reliable country detection for search. r=gavin 2014-12-23 22:17:12 +11:00
Carsten "Tomcat" Book
a8f3b328fd Backed out changeset 4aad6ecf4b7d (bug 1098161) for marionette test failures 2014-12-22 09:34:14 +01:00
Morris Tseng
0b3d49e12b Bug 1109800 - Call CancelLongTapDetector when Selection carets are blurred. r=roc 2014-12-18 22:50:00 +01:00
pchang
20e2506fa0 Bug 1098161 - Notify shortcut mode to system app when long tap on content with empty text. r=roc 2014-12-19 14:04:45 +08:00
Phil Ringnalda
71d8445cfe Back out 155b9d4cb8cb (bug 1068474) for Marionette failures 2014-12-21 18:54:23 -08:00
pchang
43eba5fe34 Bug 1068474 Limit the selection range based on the boundary of startcaret and endcaret, r=roc
---
 layout/base/SelectionCarets.cpp | 13 +++++++++++++
 layout/base/SelectionCarets.h   |  8 ++++++++
 2 files changed, 21 insertions(+)
2014-12-19 13:25:17 +08:00
Brian Birtles
24eaa57ecc Bug 927349 part 19 - Don't add pending animations to layers when their refresh driver is under test control; r=jwatt 2014-12-22 09:35:42 +09:00
Brian Birtles
79e39d6e6a Bug 927349 part 16 - Do a full reflow when we have pending animations; r=jwatt
We want to time animations from when their first frame is painted. However,
interruptible reflow complicates this since, for a given set of pending
animations, some may be painted whilst others are not. To simplify this we
simply force an uninterruptible reflow when we have animations that are
waiting to start.
2014-12-22 09:35:41 +09:00
Brian Birtles
fe8a65bf0d Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
bed7d564db Bug 927349 part 12 - Store the initial time of animations on layers so start times can be resolved after-the-fact; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
1261ccde9b Bug 927349 part 11 - Pass the animation ready time to the pending player tracker; r=jwatt 2014-12-22 09:35:41 +09:00
David Anderson
3423968662 Fix a layout bug with columnset, transforms, and fixed positions. (bug 1112501, r=dbaron) 2014-12-20 19:14:03 -08:00
Mats Palmgren
4f10cae0b5 Bug 1111995 - Mochitest. 2014-12-20 20:19:13 +00:00
Mats Palmgren
28750ad79a Bug 1111995 - Clip buttons to their border area for event hit testing. r=roc 2014-12-20 20:19:12 +00:00
Markus Stange
9f8bb48452 Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan 2014-12-19 14:48:33 -05:00
Markus Stange
cf9273c036 Bug 1101635 - Adjust reftest fuzzing for tiling on 10.6. r=jrmuizel 2014-12-19 14:48:33 -05:00
Ryan VanderMeulen
10a6591145 Backed out changesets 5f7211d4190d and bac36f6e728f (bug 1111995) for B2G desktop mochitest failures.
CLOSED TREE
2014-12-19 14:33:58 -05:00
Daniel Holbert
a522bf9f27 (no bug) Fix typo in copypasted assertion text in nsStyleBasicShape accessors. rs=krit over IRC 2014-12-19 10:12:31 -08:00
Daniel Holbert
e10bbc5fc2 Bug 1113419: Make eUnit_Filter ordering more consistent, in switch statements & enum definition in StyleAnimationValue.h,cpp r=krit 2014-12-19 10:12:29 -08:00
Mats Palmgren
0f0530c0db Bug 1111995 - Mochitest. 2014-12-19 18:01:13 +00:00
Mats Palmgren
1c9433f6ed Bug 1111995 - Clip buttons to their border area for event hit testing. r=roc 2014-12-19 18:01:13 +00:00
Mats Palmgren
a42b39e7f5 Bug 1111292 - Include the column gap(s) in the minimum width calculation when the number of columns is non-auto. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren
5f0c10b686 Bug 447660 part 3 - When collecting / pushing a float, make sure to also pick up its next-in-flows that are in same block. r=roc
Move the AssertNoDuplicateContinuations in DrainPushedFloats earlier because
DrainOverflowLines() sometimes picks up overflow line with a placeholder for
a float that has a next-in-flow in this block and unmark those floats as
pushed floats because they aren't anymore.

Change AppendPushedFloat to push any next-in-flows that are in the same block
as the given float too.

Make DoCollectFloats collect next-in-flows in the same block.

Make VerifyOverflowSituation check some float list invariants too.
2014-12-19 16:28:43 +00:00
Mats Palmgren
4bd859f708 Bug 447660 part 2 - Mark an existing next-in-flow of a float that is split due to it being NOT_COMPLETE as NOT being an overflow container. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren
5e7f3b9df5 Bug 447660 part 1 - Replace the #define DISABLE_FLOAT_BREAKING_IN_COLUMNS with a pref to enable fragmenting of floats inside columns. Set the pref enabled by default in non-RELEASE builds only. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren
6851774977 Bug 1111360 - Remove the unused NS_IS_REFLOW_ERROR macro and an obsolete comment. r=roc 2014-12-19 16:28:42 +00:00
Jonathan Kew
8e3bc159b8 Bug 1111525 - Remove unused lineFlags returned by nsILineIterator. r=roc 2014-12-19 14:55:30 +00:00
Cameron McCormack
ddd94333b7 Bug 649145 - Store properties on nsCSSCompressedDataBlocks in declaration order. r=dbaron 2014-12-19 14:32:34 +11:00
Nicholas Nethercote
c7fe36c369 Bug 1113010 (part 2) - Shrink FrameConstructionItem by using bitfields. r=dholbert.
This reduces its size from 168 bytes to 160 bytes on 64-bit platforms.

--HG--
extra : rebase_source : de9bb482ccbdb85efa79f82083fa8f35bb629078
2014-12-18 14:15:18 -08:00
Nicholas Nethercote
77cbf48a56 Bug 1113010 (part 1) - Shrink FrameConstructionItem by reordering some fields. r=dholbert.
This reduces its size from 176 bytes to 168 bytes on 64-bit platforms.

--HG--
extra : rebase_source : 89b4f1c6e618eb1ab75989162c26308753a59d56
2014-12-18 14:14:58 -08:00
Nicholas Nethercote
208ab0c4e1 Bug 1113010 (part 0) - Remove impossible path in AddFrameConstruct(). r=dholbert.
Infallible new ensures that |item| is always non-null. And even if it didn't,
AppendItem() dereferences |item| before this code is reached.

--HG--
extra : rebase_source : 9abb8704ba03f455d6b77c5735fcb6cde4f8fef8
2014-12-18 14:14:31 -08:00
Prabhjyot Singh Sodhi
0de35ab99f Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
Ryan VanderMeulen
4dd66991b6 Merge m-c to inbound. a=merge 2014-12-18 18:12:31 -05:00
Ryan VanderMeulen
e74a8fc1d1 Merge inbound to m-c. a=merge 2014-12-18 17:59:14 -05:00
Patrick McManus
7edbeec28f bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Ryan VanderMeulen
bcd9e64d4d 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
cb95b51b81 Merge m-c to inbound. a=merge
CLOSED TREE
2014-12-17 21:03:11 -05:00
Ryan VanderMeulen
90f31ccf52 Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Ryan VanderMeulen
1ec6eba3c1 Bug 1087611 - Disable test_bug968148.html on Mulet. 2014-12-17 20:39:08 -05:00
David Anderson
9b99c0f6d4 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
Brian Birtles
9fdafb68a4 Bug 927349 part 5 - Cancel players that are no longer used; r=jwatt
This patch adds a means of terminating an animation so that is has no effect.
The procedure is defined by Web Animations:

  http://w3c.github.io/web-animations/#cancelling-a-player-section

We don't implement all of this, however, since we don't currently support the
finished promise or custom effects.

In a later bug we will expose this as the cancel() method on AnimationPlayer.

We call this method for terminated animations in nsAnimationManager and
nsTransitionManager to ensure they get removed from the pending player tracker
and so that, for example, the ready promise of CSS Animation player objects is
rejected when the corresponding item is removed from animation-name.
2014-12-18 08:42:41 +09:00
Brian Birtles
11e4d27c81 Bug 1104435 part 9 - Make getting AnimationPlayer.ready flush for CSS Animation players; r=heycam 2014-12-18 08:42:41 +09:00
Prabhjyot Singh Sodhi
74d83cd734 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
Robert Longson
ab70fe95ea Bug 1111222 - Use HasNonScalingStroke() more. r=dholbert 2014-12-17 13:58:31 +00:00
Jonathan Watt
e45d8102b6 Bug 854296, part 1 - Make SVG respect stroke-miterlimit again. r=Bas 2014-12-16 15:31:28 +00:00
Xidorn Quan
c244b776e2 Bug 1052123 - Autohide ruby annotations which are identical to their ruby bases. r=dbaron
--HG--
extra : transplant_source : %B5w%BF%89%879%D6F2%DD%BD%F3%BAG%0D%5E%A4%255%EE
2014-12-15 14:37:15 +11:00
Carsten "Tomcat" Book
253591c98f Merge mozilla-central to fx-team 2014-12-18 13:58:10 +01:00
Michael Ratcliffe
796189cca7 Bug 1112700 - Fix assertion failure: aPropID != eCSSPropertyExtra_variable r=me 2014-12-18 09:31:28 +00:00
Benoit Girard
22355f0c17 Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
Benoit Girard
0003ef72d0 Bug 1112483 - Add the layer bounds in the DisplayList dump. r=mattwoodrow
--HG--
extra : rebase_source : cb6d1329dc507607ef57bcd26d825dde052121ea
2014-12-18 13:32:51 -05:00
Wes Kocher
1cc829126d Backed out changeset 50d264e4ffa4 (bug 1052123) for android/linux reftest failures 2014-12-16 15:44:15 -08:00
Wes Kocher
56b818b46f Backed out 2 changesets (bug 1103258) for b2g reftest failures
Backed out changeset 64e9d08ae14b (bug 1103258)
Backed out changeset bca5954a31d2 (bug 1103258)
2014-12-16 15:24:45 -08:00
Jonathan Kew
3837d59146 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
Xidorn Quan
a75dd2b420 Bug 1052123 - Autohide ruby annotations which are identical to their ruby bases. r=dbaron
--HG--
extra : rebase_source : a458af255ceeb6a384b7f879ab5d060052142b76
extra : source : 5f0779afa4060c867bf94d7c798e9eccf0cdb9bd
2014-12-15 14:37:15 +11:00
Benoit Girard
b518f856e9 Bug 1103258 - Add a reftest for culled container layers with an intermediate surface. r=jmuizel
--HG--
extra : rebase_source : 22e35ccb3c08df96bc391fc764835469e0bd87fe
2014-12-11 14:28:41 -05:00
Carsten "Tomcat" Book
8fa63969a1 Merge mozilla-central to mozilla-inbound 2014-12-16 13:42:57 +01:00
Carsten "Tomcat" Book
8c8eab8d31 merge fx-team to mozilla-central a=merge 2014-12-16 13:39:48 +01:00
Mike Hommey
541c80f735 Bug 948278 - Avoid piggy-backing into the build system for the reftest addon. r=ted
This makes the reftest addon use the httpd server as a js module instead of
a XPCOM component.
2014-12-16 15:07:01 +09:00
abdelrhman
3990efb3f1 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
244888aa06 Bug 1039009 - Handle float in the base line layout. r=dbaron
--HG--
extra : rebase_source : 981a5ae2bb8f8bf7852398ea944c6e07ed283292
extra : source : b661631e125ab0ffa2bdfa44201fe59571189423
2014-12-10 10:49:13 +11:00
Jonathan Kew
7bae3d47b2 Bug 1111517 - Use new method UpdateLineContainerWidth instead of SlideLine when finalizing the width of a vertical-rl block. r=smontagu 2014-12-16 09:45:41 +00:00
Jonathan Kew
0b51a4e9eb Bug 1108067 - Make nsIFrame::GetWritingMode virtual, and override it in nsViewportFrame, nsCanvasFrame and nsHTMLScrollFrame to make them adopt the writing mode of their contents. r=smontagu 2014-12-16 09:45:11 +00:00
Xidorn Quan
4ee06cf1d6 Bug 1081770 - Move ruby annotation frames when text-align: justify is applied to ruby bases. r=dbaron
--HG--
extra : rebase_source : 959be07c7a44c96eba46963213de01525e5292b0
extra : source : c5e6e8898b2df7b29fe1b2071291bde17d7780fc
2014-12-09 17:43:24 +11:00
Xidorn Quan
e1f2ef0e3c Bug 1098257 - Add tests for inlinizing block-level boxes inside ruby. r=heycam
--HG--
extra : rebase_source : 312702b9a3a6cfacc067001fe4013dbf23b6b52a
extra : source : 02feede82eaf3c822748fc5751f20b21bb0ac514
2014-12-11 09:26:19 +11:00
Xidorn Quan
4acbb5abac 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
Xidorn Quan
06113ccc4a Bug 1087872 - Tests for dynamic change of ruby frames. r=bz,dbaron
--HG--
extra : rebase_source : 4fa97f21d33e96bfc6bf8456f7ce8983e1fedee2
extra : amend_source : 5c80d0ded3816655b8f05ef44f496b2a991d6940
extra : source : ea286aab916d2a35b4a08dc808667c78d4142968
2014-12-10 16:23:21 +11:00
Seth Fowler
3872008abd Bug 1106602 (Part 2) - Add tests for nonuniform scaling of SVG-as-image. r=dholbert 2014-12-15 15:44:16 -08:00
Seth Fowler
350888d88d Bug 1106602 (Part 1) - Use pretransform dest rect as default SVG-as-image viewport. r=dholbert 2014-12-15 15:44:13 -08:00
Nigel Babu
6245216328 Backed out changeset 39d19feaf2b2 (bug 1087872) for Windows test failures on a CLOSED TREE 2014-12-15 11:19:37 +05:30
Xidorn Quan
fd8647c7ec Bug 1087872 - Tests for dynamic change of ruby frames. r=bz
--HG--
extra : rebase_source : 0c936ec06cd52f4d4fdd866de4b59f9501e95dae
extra : amend_source : 37d0fd1342c0538ae4cab882f3bc6f1cf72e9dc2
extra : source : c3c886f19e3a6bb7a3bb9de7fb2edaabdf4ffb57
2014-12-10 16:23:21 +11:00
Xidorn Quan
27fa8603a2 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
465fe16671 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
9b2ac4ad67 Bug 1088489 - Tests for pseudo ruby box generation. r=bz
--HG--
extra : rebase_source : 1a23f85749bb495f21aa9d356bbbc35174dcb442
2014-12-14 17:18:29 +11:00
Xidorn Quan
56d367a884 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
de448565ef 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
6213868258 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
02e339c7a4 Skip the reftest for bug 1108104 on B2G. r=me 2014-12-14 21:33:54 +00:00
Mats Palmgren
927e38252b Bug 1108104 - reftest. 2014-12-14 17:22:07 +00:00
Mats Palmgren
60c0ffbe24 Bug 1108104 part 5 - Don't report a reflow as NS_FRAME_NOT_COMPLETE when it's actually complete. Because it will give the frame the wrong BSize. r=roc 2014-12-14 17:22:07 +00:00
Mats Palmgren
2bc1835a22 Bug 1108104 part 4 - Don't use the current next-sibling as a reference point where to continue the loop, since that frame may be pushed if it's also the next-in-flow. Instead, use the frame from the last iteration (the prev-sibling) and query its (potentially new) next-sibling. r=roc 2014-12-14 17:22:06 +00:00
Mats Palmgren
1a7b0cc935 Bug 1108104 part 3 - Deal with the placeholder being on a different page than the out-of-flow frame. r=roc 2014-12-14 17:22:06 +00:00
Mats Palmgren
4cad806382 Bug 1108104 part 2 - Move incremental reflow hack from nsSimplePageSequenceFrame::Reflow to nsTableOuterFrame. This is to avoid breaking pages that don't even use tables. r=roc 2014-12-14 17:22:06 +00:00
Mats Palmgren
a222d49570 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
Xidorn Quan
a09ed65ad4 Bug 1107721 - Link line layouts of ruby annotations to those of their ruby base. r=dbaron
--HG--
extra : source : 40765e88bed63f79923291cff4af4e74d86b1681
extra : histedit_source : 75244b84b9bcbdfe0f06b452cb6de7ab65b11e79
2014-12-10 10:04:15 +11:00
Xidorn Quan
4d85275dd5 Bug 1107721 - Move BeginSpan down for attaching annotation containers to the base container. r=dbaron
--HG--
extra : source : 40b7661585537768ccc5bbac9c99ff70713815c9
extra : histedit_source : d9cd1403ce80c070fc3e3a1d66f9e9114bc0f1e3
2014-12-11 15:13:42 +11:00
Xidorn Quan
f9c28c207a Bug 1107721 - Add method for attaching frame data to base line layout. r=dbaron
--HG--
extra : source : 82fe55e167562868c2a9056e08913f630a84fe48
2014-12-10 09:49:45 +11:00
Xidorn Quan
87cab6fb46 Bug 1107721 - Create PFD for root span. r=dbaron
--HG--
extra : source : 1b8c074e34182cd77158e1c09defe1231c25248e
2014-12-10 09:40:14 +11:00
Xidorn Quan
8be20d9f71 Bug 1107721 - Handle unlinking pfds linked to other levels. r=dbaron
--HG--
extra : source : c7f097390cb910d35fc09cc9cd8660d56fcccca2
2014-12-09 09:30:23 +11:00
Xidorn Quan
352948f6fe Bug 1107721 - Separate pfd unlinking code to method UnlinkFrame. r=dbaron
The comment of UnlinkFrame says that the PFDs of linked annotations
won't be freed immediately, which is not implemented in this patch,
but in the next patch.

--HG--
extra : source : 813840414cb9140b71ae3f337a96236689dac705
2014-12-09 09:14:49 +11:00
Xidorn Quan
2c3631601f Bug 1107721 - Add pointers to PerFrameData of different level. r=dbaron
--HG--
extra : source : 151ebfa898e36d36e5d7216a277ad8f1faa7fa5c
2014-12-05 15:57:12 -08:00
Xidorn Quan
347abfe9b0 Bug 1107721 - Allocate PerFrameData & PerSpanData from the base line layout. r=dbaron
--HG--
extra : source : 2444a14f27efcb9d69417d3333dfe809572b5dd0
2014-12-05 15:31:42 -08:00
Xidorn Quan
3ba35be862 Bug 1107721 - Add pointer to the base line layout in nsLineLayout. r=dbaron
--HG--
extra : source : 7b1b90d6bba043a68a84bb2faeba95096fa15ca5
2014-12-05 15:05:51 -08:00
Wes Kocher
2eb72eb486 Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
Wes Kocher
58cb48da88 Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
Wes Kocher
e4ad7391ee Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
Ehsan Akhgari
09a262787c 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
Daniel Holbert
2f2877f9a8 (no bug) Fix typo (s/it's/its/) in nsSubDocumentFrame.h code-comment. DONTBUILD because comment-only 2014-12-12 13:40:00 -08:00
Tom Tromey
18bb6d0861 Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow 2014-12-11 10:40:00 -05:00
Morris Tseng
7bb01f8155 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
15225b418a 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
9dbb731e46 Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc 2014-11-10 02:04:00 -05:00
Morris Tseng
ad3caa7704 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
6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
Ting-Yu Lin
f674a2ec9b 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
09c7f0faf5 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
9ce9133a81 Bug 1067728 - Part 3 - Expose FindNearestCommonAncestorFrame. r=roc 2014-12-10 19:52:00 +01:00
Ting-Yu Lin
048aed18a4 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
48139f3c66 Bug 1067728 - Part 1.1 - Move IsRectVisibleInScrollFrames to nsLayoutUtils. f=mtseng, r=roc 2014-12-08 01:53:00 +01:00
Ting-Yu Lin
0e32f17319 Bug 1067728 Part 1 - Generalize scroll frame boundary checking logic. f=mtseng, r=roc 2014-12-08 01:52:00 +01:00
Kartikaya Gupta
6e834f4a06 Bug 1097289 - Flag tests as passing now that they pass consistently. r=mats 2014-12-10 12:14:57 -05:00
Kartikaya Gupta
239293451e Bug 1109263 - Clamp the reftest drawWindow call to the canvas. r=dbaron
In some cases the area reported by MozAfterPaint can be extremely large. Since
that area determines what we pass to drawWindow, we could end up trying to
drawWindow an area that is too large for drawWindow to handle. Instead, this
patch clamps that area to the canvas size so that we don't unnecessarily try to
paint (and fail at painting) the whole invalid area.
2014-12-10 07:50:47 -05:00
Gijs Kruitbosch
b714ba6ff5 Bug 1107771 - disabling beforeunload should only disable the dialog, not the event, r=bz 2014-12-05 10:31:30 -08:00
Ryan VanderMeulen
1bdab6fe7b Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Ryan VanderMeulen
131c9d3d17 Bug 1092835 - Bump the nsIWebProgressListener UUID. CLOSED TREE 2014-12-09 12:37:15 -05:00
Ryan VanderMeulen
9dc33bae19 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
Jonathan Kew
37777bd3a8 Bug 1108277 - part 2 - Make Get{Min,Pref}ISize in video and plugin frames aware of vertical writing mode. r=smontagu 2014-12-09 14:00:51 +00:00
Jonathan Kew
f51ce4dfa3 Bug 1108277 - part 1 - Make Get{Min,Pref}ISize for the <canvas> element aware of vertical writing mode. r=smontagu 2014-12-09 14:00:38 +00:00
David Anderson
a63076d2ee 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
David Anderson
636a716c5b Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Morris Tseng
c563ff4503 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
31980c98d6 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
bc58167c82 Bug 1092888 - Part 2: Check pointer of FrameSelection and Selection is valid. r=roc 2014-11-10 02:04:00 +01:00
Morris Tseng
f2a5cc0c0b 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
126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Nathan Froyd
4d28406638 Bug 1097125 - part 2 - make |mach reftest| and related commands support single files; r=ted.mielczarek 2014-11-11 12:20:33 -05:00
Nathan Froyd
75d860a713 Bug 1097125 - part 1 - add filtering support to |mach reftest-{remote,b2g-desktop}|; r=ted.mielczarek 2014-11-11 12:16:53 -05:00
Nathan Froyd
bb859982fe Bug 1097125 - part 0 - fix cut-and-pasted comment; r=ted.mielczarek 2014-11-11 12:12:40 -05:00
Mason Chang
93c2db129d Bug 1107733. Integrate paint times into telemetry. r=mattwoodrow 2014-12-08 12:43:16 -08:00
Jeff Muizelaar
1030aade65 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
Jonathan Kew
e022c4f6c6 Bug 983985 - Reftests for hexbox in fake-italic text. r=bas 2014-08-30 13:56:23 +01:00
Yan Gouts
0e7074b2bd Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats 2014-12-23 10:35:58 -05:00
Seth Fowler
6a831f1e58 Bug 35168 (Part 3) - Add tests for table part relative positioning. r=dbaron 2014-08-19 18:24:58 -07:00
Seth Fowler
710bf88bca Bug 35168 (Part 2) - Allow relative positioning of internal table objects. r=dbaron 2014-08-19 18:24:58 -07:00