48384 Commits

Author SHA1 Message Date
Xidorn Quan
95b800f4ce Bug 1040668 part 12 - Add line leadings for emphasis marks if necessary. r=dholbert
--HG--
extra : source : cb34c48bff0ccf4024385d392dc58bc1f672ea23
2015-11-28 11:56:33 +11:00
Xidorn Quan
20e40d505a Bug 1040668 part 11 - Move line leadings adjusting code into a separate function in nsLineLayout. r=dholbert
--HG--
extra : source : f4d53f54b2e925eef8da6c6749497888527057bb
2015-11-28 11:56:33 +11:00
Xidorn Quan
6fdb9fbeaa Bug 1040668 part 10 - Implement emphasis mark rendering. r=jfkthame
--HG--
extra : source : 1c53ccbaece3931ffe1da5610977e92fcce5f3f6
2015-11-28 11:56:33 +11:00
Xidorn Quan
72495f58ae Bug 1040668 part 9 - Compute overflow from text-shadow after text decorations. r=dbaron
--HG--
extra : source : 6827c7ef262e47cd42fea6b1a90e09883a7d24dc
2015-11-28 11:56:33 +11:00
Xidorn Quan
376cdf821b Bug 1040668 part 8 - Setup text emphasis for text run. r=jfkthame
--HG--
extra : source : 4f5398b5953c0cf4d57ed0fce5788f1430a5b05d
2015-11-28 11:56:33 +11:00
Xidorn Quan
e33deb9306 Bug 1040668 part 2 - Parse and compute text emphasis properties. r=dbaron
--HG--
extra : source : 354f4bd8c87646dfbe0a307e0fa140c630dbdb89
2015-11-28 11:56:33 +11:00
Xidorn Quan
89afbd222b Bug 1040668 part 1 - Avoid queuing transition event for disabled properties. r=dbaron
--HG--
extra : source : ea873adbcd363563dd21b22825f950d29ba49cbf
2015-11-28 11:56:33 +11:00
Daniel Holbert
b815ec9014 Bug 1227377: Change ImageRequest::mRequests hashtable to use more specific type in its key (s/nsISupports/nsIDocument/). r=khuey 2015-11-27 14:54:47 -08:00
Markus Stange
11347f3cd6 Bug 1208829 - Another reftest. r=botond
--HG--
extra : source : 1c9db1e67dc8a68281fbb8a537321c3def1bd9ca
2015-11-26 18:11:32 +01:00
Botond Ballo
ffdd367c0c Bug 1208829 - Reftest. r=mstange
--HG--
extra : source : c466d4b62942e0a032f29fe39d6a1ef29f2547a7
extra : intermediate-source : f0099a919f64db037dfa2a4602a934eab741cb53
2015-11-09 18:26:21 -05:00
Botond Ballo
84be6beedf Bug 1208829 - Add utilities for converting between typed and untyped regions. r=mstange
--HG--
extra : source : 255d765deaf106955514b9875e27d1dc6446f211
2015-11-09 20:43:18 -05:00
Benoit Girard
1d02928569 Bug 1225178 - Don't start APZ drag if we don't have a displayport to handle it. r=kats
--HG--
extra : commitid : G8zVPcrxj7b
2015-11-23 13:59:14 -05:00
Kartikaya Gupta
02c2652ed5 Bug 1225508 - Add a displayport on non-scrollable frames which have a resolution. r=botond 2015-11-27 11:20:04 -05:00
Jonathan Kew
2f0f023fc4 Bug 1224230 - Testcase. 2015-11-13 16:42:04 +00:00
Randall Barker
c3c082c5dd Bug 1224015 - Part 3: ifdef changes to C++APZ so that they only apply to single process APZ. r=tnikkel
Added MOZ_SINGLE_PROCESS_APZ flag.
2015-11-26 20:51:13 -06:00
Randall Barker
30c5396234 Bug 1224015 - Part 2: Have nsDisplayResolution items adjust event coordinates for hit testing and dispatching to content r=tnikkel 2015-11-26 20:51:13 -06:00
Randall Barker
73d7c06ec0 Bug 1224015 - Part 1: nsLayoutUtils functions do not account for nsPresShell resolution r=tnikkel 2015-11-26 20:51:13 -06:00
Kartikaya Gupta
fe65090c97 Bug 1228357 - When saving/restoring a scrollframe's state, only save/restore resolution for the root scrollframe. r=roc 2015-11-26 21:25:53 -05:00
Boris Zbarsky
3c44c61fbe Bug 1226400 - crashtest for FontFaceSet::Load() crasher. r=birtles 2015-11-27 08:22:37 +09:00
John Daggett
92313d241f Bug 1226400 - throw an error in addition to returning null. r=bz 2015-11-27 08:20:55 +09:00
Timothy Nikkel
e2d79c5715 Bug 1228033. When not painting to a window (and hence not retained) only have one AGR, the root AGR. r=mattwoodrow
The document structure of when printing is as follows:

ViewportFrame
  nsSimplePageSequenceFrame
    nsPageFrame
      (the content of the page)
    nsPageFrame
      (the content of the page)
    (further pages)

The nsSimplePageSequenceFrame calls nsLayoutUtils::PaintFrame with each nsPageFrame as the frame to paint.

nsPageFrame::BuildDisplayList will build display lists inside sibling nsPageFrames if it needs to descend into those sibling page frames to find placeholder frames for out of flow frames that are on the actual current page frame. Since these are sibling page frames they are not in the original page frame subtree, and hence we can't find an AGR for them that is in the original page frames subtree.

However, when printing we don't retain painted content, so there is no point in having more than one AGR. So if we aren't retaining (IsPaintingToWindow is necessary for that) then just have the root AGR.

This patch also fixes two other bugs.

1) We should always set mAnimatedGeometryRootForChildren for nsDisplayTransform items.

2) If the AGR choosen for a nsDisplayTransform is already the root AGR, then that is it's AGR. Don't try to set the AGR to the parent (which is null).
2015-11-26 14:57:31 -06:00
Kartikaya Gupta
eb7ecd99cc Bug 1223928 (follow-up) - Back out one line of cset 474012a19e10 since it's not needed any more; the assertion went away. r=me
--HG--
extra : commitid : 6ZYsyhRVdqw
2015-11-26 14:32:27 -05:00
Ted Clancy
67df511767 Bug 1157727 - Part 2: Update bidi algorithm for bracket matching (patch originally by :tedders1, updated by :jfkthame). r=jfkthame
* * *
Bug 1157727 - Part 2a: Mark bidi bracket tests as passing.
2015-10-27 13:41:39 -07:00
Jonathan Kew
c871ee8560 Bug 1157727 - Part 0: Preliminary cleanup, remove a bunch of #ifdef'd dead code from nsBidi.cpp. r=smontagu 2015-11-25 12:01:03 +00:00
Jonathan Kew
79648b9209 Bug 1157727 - Reftests for bidi bracket pairing, based on UAX #9 examples. r=smontagu 2015-11-25 12:00:52 +00:00
Carsten "Tomcat" Book
44189adf88 Merge mozilla-central to mozilla-inbound 2015-11-26 16:56:09 +01:00
Carsten "Tomcat" Book
358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
John Daggett
14ad4bf8f6 Bug 1224975 - add telemetry for font loading. r=m_kato
--HG--
extra : rebase_source : ef31e321366f6edcc465ad9a4474c1e8287a6054
2015-11-25 14:48:16 +09:00
Jared Wein
e70da30f79 Bug 1211635 - Popups should be treated as top-level windows, allowing XUL alerts translucency. r=MattN r=roc
--HG--
extra : rebase_source : 9fd3b1eb57b54fcb33b0012cbd7555674eb9b913
2015-11-25 08:49:23 -05:00
Carsten "Tomcat" Book
7fc565c303 Merge mozilla-central to fx-team 2015-11-25 13:59:23 +01:00
Ting-Yu Lin
73f517c471 Bug 1082425 - Commit composition string before changing focus by long tap. r=masayuki
This also prevents that long tapping to select word while composing
corrupts the editable data on B2G.

--HG--
extra : commitid : BtrZDqpPayU
2015-11-25 05:16:00 +08:00
Matt Woodrow
4946a3c907 Bug 1168263 - Add nsDisplayPerspective and build separate layers for perspective. r=roc 2015-11-26 22:32:36 +13:00
Matt Woodrow
6fa0d2f621 Bug 1168263 - Simplify GetResultingTransformMatrix calculations to avoid unnecessary origin changes. r=roc 2015-11-26 22:32:35 +13:00
Matt Woodrow
7c076dbe87 Bug 1168263 - Add a flags parameter to GetResultingTransformMatrix instead of using bools. r=roc 2015-11-26 22:32:35 +13:00
Matt Woodrow
c684f27337 Bug 1168263 - Remove TransformRectOut since it's unused. r=roc 2015-11-26 22:32:35 +13:00
Ting-Yu Lin
78fb3c80ac Bug 1226875 - Remove nsIFrame::GetLastChild(). r=mats
--HG--
extra : commitid : J8NTL74JosY
extra : rebase_source : ea686ef5e1bd5d59701ffb4c309c9ff9d0435beb
2015-11-26 17:12:39 +08:00
Ting-Yu Lin
79afc81f6e Bug 1226875 - Remove nsIFrame::GetFirstChild(). r=mats
--HG--
extra : commitid : J8NTL74JosY
extra : rebase_source : 50a196905ac06d09fea17bb1aa17efe821cc7cbb
2015-11-26 17:12:39 +08:00
Mats Palmgren
34315674ac Bug 1227917 - Update |disp| after we've (potentially) cloned the Display struct so that subsequent tests of 'display' use the new value. r=jfkthame 2015-11-25 04:27:00 +01:00
Jim Mathies
9eb83d5a42 Bug 1227666 - Insure that cached plugin geometry configuration cached in ShadowLayerForwarder gets cleared when we reflow and new content has no plugins. r=roc
--HG--
extra : transplant_source : %87%99%FBt%10%B9%24%8D%8B%1EJ%E2h%20%5EB%FA%3E%B2%FE
2015-11-25 12:11:00 -06:00
Nicholas Nethercote
e8e0f98f99 Bug 1187144 (part 7) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=dholbert.
--HG--
extra : rebase_source : a5b20a671b8db7ac49fab8ba8d3f44b3222058d4
2015-11-22 21:37:07 -08:00
Nicholas Nethercote
45e19a8d7c Bug 1187144 (part 6) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=dholbert.
--HG--
extra : rebase_source : 299afa378685acdee75d7cc73002ea8f2ded025a
2015-11-22 21:35:32 -08:00
Nicholas Nethercote
16d26971c0 Bug 1187144 (part 5) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=dholbert.
--HG--
extra : rebase_source : 101ef81a901b9a172e79def2a17a9912b7c5803c
2015-11-22 21:20:54 -08:00
Nicholas Nethercote
a2b53e2fee Bug 1187144 (part 4) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=dholbert.
--HG--
extra : rebase_source : 39e241bb5a814d3eaf103039dd9a455c67d18628
2015-11-22 21:12:49 -08:00
Nicholas Nethercote
dfdac49b21 Bug 1187144 (part 3) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=dholbert.
--HG--
extra : rebase_source : 97ae87fa81658dc436cfb1921e6c0020122490f9
2015-11-22 21:08:23 -08:00
Nicholas Nethercote
c6fc31d161 Bug 1187144 (part 2) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=dholbert.
--HG--
extra : rebase_source : e8535e8cf9d215d3ee6dafccae22bd19983d2c5f
2015-11-22 21:08:22 -08:00
Carsten "Tomcat" Book
bbf91da743 Backed out changeset bbd26d9d2c3e (bug 1157727) for failing on own tests on a CLOSED TREE
--HG--
extra : rebase_source : c86beb5128a477e5bd882aade7d5c73256b2b1d0
2015-11-25 15:37:25 +01:00
Carsten "Tomcat" Book
6c15811d8a Backed out changeset 00c2df3df22f (bug 1157727)
--HG--
extra : rebase_source : d717285c96315da10facb20b157b1a9fa4967b9a
2015-11-25 15:37:04 +01:00
Carsten "Tomcat" Book
906a075480 Backed out changeset 21730adb78b6 (bug 1157727)
--HG--
extra : rebase_source : 8dfb3a8fbba3fdc41815a872fad17e28e90468aa
2015-11-25 15:37:01 +01:00
David Rajchenbach-Teller
1149491997 Bug 1219145 - nsRefreshDriver::IsJankCritical(). r=hiro
To refine its alerts, Performance Stats API needs to be able to know whether a long-running operation is actually causing user-visible jank in the current process. This patch introduces a trivial API that lets clients ask the refresh driver whether any kind of animation is ongoing.

--HG--
extra : transplant_source : %81W%81%C9%84H%8E%D4%0A%A8%10E%06%A5%10%60%9A3%2Ch
2015-10-30 14:35:46 +01:00
Wes Kocher
d04352af5d Merge fx-team to central, a=merge
--HG--
extra : commitid : GWsEhTdRTPF
2015-11-24 16:33:15 -08:00