f13abb8ba9f366c9f32a3146245adf642528becd: Merge m-i to m-c, a=merge
Phil Ringnalda <philringnalda@gmail.com> - Wed, 04 Jan 2017 18:33:32 -0800 - rev 327995
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Merge m-i to m-c, a=merge MozReview-Commit-ID: 51FMtH1yTe6
c8883a87c6dc7c8d355fc93c9ee08bb75cfbf7db: Bug 1322738 - Implement compact about:newtab tiles styling. r=gijs
Dão Gottwald <dao@mozilla.com> - Wed, 04 Jan 2017 22:39:52 +0100 - rev 327994
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1322738 - Implement compact about:newtab tiles styling. r=gijs
f897399fb28a18b34f5200677e2d585e5d4342a2: Bug 1328077 - Attach dense element hole IC even with zero dense elements. r=jandem,bhackett
Tom Schuster <evilpies@gmail.com> - Wed, 04 Jan 2017 22:12:05 +0100 - rev 327993
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1328077 - Attach dense element hole IC even with zero dense elements. r=jandem,bhackett
f67c56b193964c9d36c7a41121262a9bc66613d4: Bug 1272594 - Remove special cookie policy handling within InternalRequest (r=bkelly)
Christoph Kerschbaumer <ckerschb@christophkerschbaumer.com> - Wed, 04 Jan 2017 21:43:39 +0100 - rev 327992
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1272594 - Remove special cookie policy handling within InternalRequest (r=bkelly)
9b51546b47e7feffe1fb38c00898675e0a1e8f80: Bug 1328095 - Reftest (also covers bug 1232194).
Mats Palmgren <mats@mozilla.com> - Wed, 04 Jan 2017 21:35:19 +0100 - rev 327991
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1328095 - Reftest (also covers bug 1232194).
7166c08af119b8b27225ee0fad24d8bb920ec4e8: Bug 1328095 - [writing-mode] Make JoinBoxesForVerticalSlice use logical coordinates (and rename it JoinBoxesForBlockAxisSlice accordingly). r=jfkthame
Mats Palmgren <mats@mozilla.com> - Wed, 04 Jan 2017 21:35:19 +0100 - rev 327990
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1328095 - [writing-mode] Make JoinBoxesForVerticalSlice use logical coordinates (and rename it JoinBoxesForBlockAxisSlice accordingly). r=jfkthame
e743dff9dca1d365a32defb2819ffaa9c1543992: Bug 1298588 part 16. Remove StyleStructContext. r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:27 -0500 - rev 327989
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 16. Remove StyleStructContext. r=bholley
0978881c4e10442e16921d11ed9bf92a1a69b57a: Bug 1298588 part 15, gecko piece. Rip out the initial() methods on style structs in stylo. r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:27 -0500 - rev 327988
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 15, gecko piece. Rip out the initial() methods on style structs in stylo. r=bholley
6994a692b48c37636e21ca0a19b239b761055c4d: Bug 1298588 part 10, gecko piece. Pass through useful default styles to apply_declarations(). r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:27 -0500 - rev 327987
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 10, gecko piece. Pass through useful default styles to apply_declarations(). r=bholley
4ccc8126ea20a9f19b23a296f63f91410adf045d: Bug 1298588 part 9, gecko piece. Pass through useful default styles to cascade(). r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:27 -0500 - rev 327986
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 9, gecko piece. Pass through useful default styles to cascade(). r=bholley
ac84ae5fa2daf4dd99fa42651fe32b96ea05af62: Bug 1298588 part 7, gecko piece. Stop using initial_values in general in Gecko glue code. r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:27 -0500 - rev 327985
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 7, gecko piece. Stop using initial_values in general in Gecko glue code. r=bholley
47a58ef26a92c7c4366909d2136990a1504ef8c1: Bug 1298588 part 6, gecko piece. Stop using initial_values when doing inheritance in Gecko glue code. r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:27 -0500 - rev 327984
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 6, gecko piece. Stop using initial_values when doing inheritance in Gecko glue code. r=bholley
6d4f963d3655c76ea32a2c90c27a2e2209e135f1: Bug 1298588 part 4, gecko piece. Recreate the default computed values for a document as needed. r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:27 -0500 - rev 327983
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 4, gecko piece. Recreate the default computed values for a document as needed. r=bholley
94daa42ee46f90dab44b0b986e81e921fad2c8de: Bug 1298588 part 3, gecko piece. Add a default ComputedValues member to PerDocumentStyleData. r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:26 -0500 - rev 327982
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 3, gecko piece. Add a default ComputedValues member to PerDocumentStyleData. r=bholley
f230c3fb62f5d4635ef5ccafaaf5258932a587fa: Bug 1298588 part 2, gecko piece. Pass through an nsPresContext to the PerDocumentStyleData constructor. r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:26 -0500 - rev 327981
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 2, gecko piece. Pass through an nsPresContext to the PerDocumentStyleData constructor. r=bholley
82ae3ed4c30cab84ad51baeb53f03c0e4732b26e: Bug 1298588 part 1. Make StyleStructContext work with a const nsPresContext. r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:26 -0500 - rev 327980
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1298588 part 1. Make StyleStructContext work with a const nsPresContext. r=bholley
50c889c86cb89df0f39514e67ed87d5df29f5f9b: Bug 1326301. Put the global allocated by SimpleGlobalObject in the system zone, so we don't create tons of zones when we're converting JSON to dictionaries many times over. r=mccr8
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 14:52:26 -0500 - rev 327979
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1326301. Put the global allocated by SimpleGlobalObject in the system zone, so we don't create tons of zones when we're converting JSON to dictionaries many times over. r=mccr8
d506d3c193c90dc85d57519f8d822c3919b12322: Bug 1319660 - 3. Add test for correctly adjusting last node in content iterator; r=masayuki
Jim Chen <nchen@mozilla.com> - Wed, 04 Jan 2017 14:46:10 -0500 - rev 327978
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1319660 - 3. Add test for correctly adjusting last node in content iterator; r=masayuki Add a test for the previous patch that makes sure querying selected text in an edge case works correctly.
93353b53a706c7dc9b559d6224fd7f1f4ca50ccb: Bug 1319660 - 2. Use previous node instead of sibling when adjusting last node; r=masayuki r=smaug
Jim Chen <nchen@mozilla.com> - Wed, 04 Jan 2017 14:46:10 -0500 - rev 327977
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1319660 - 2. Use previous node instead of sibling when adjusting last node; r=masayuki r=smaug nsContentIterator in pre mode adjusts its last node if the node is a childless node like <br>. However, right now it's using GetPrevSibling, which can lead to error in some edge cases such as: <p></p><div><br></div> In this case, if the last node is <br> with offset 0, GetPrevSibling will return <p> because <p> is <br>'s parent's previous sibling, and the last node will be set to <p>. However, the correct last node in this case is <div>, because <br> with offset 0 refers to the position to the left of <br>, which is <div> with offset 0. In this case, PrevNode returns the correct <div> value, so we should set the last node to the result of PrevNode. For the first node, for a childless node in pre mode, GetNextSibling and NextNode are the same, so there is no bug in this case. Nevertheless, this patch changes the call to NextNode to be consistent with calling PrevNode for the last node.
9a7c2edd54b8dd6c3d6471560ac1b096b2955536: Bug 1319660 - 1. Don't take shortcut if old replacement ranges don't match; r=esawin
Jim Chen <nchen@mozilla.com> - Wed, 04 Jan 2017 14:46:10 -0500 - rev 327976
Push 31160 by philringnalda@gmail.com at Thu, 05 Jan 2017 02:33:44 +0000
Bug 1319660 - 1. Don't take shortcut if old replacement ranges don't match; r=esawin The block at [1] is a shortcut we take when we reconcile Java text changes with Gecko text changes. However, we only checked that the new ranges are the same, i.e. that the new Gecko text is the same as the new Java text. We should also be checking that the old ranges are the same, i.e. that the replaced Gecko text is the same as the replaced Java text. [1] https://dxr.mozilla.org/mozilla-central/rev/bbbd2f7539f224a482cc6d2dd10e6a5f31c8baf3/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoEditable.java#1233
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip