Jonathan Watt
d47675ca22
Bug 1016680, part 1 - Report the memory used by RuleCascadeData::mKeyframesRuleTable. r=dholbert
...
--HG--
extra : rebase_source : 97bd8b0ddef514e9eb218eac783c3af892a8014e
2014-06-11 11:20:50 +01:00
Simon Montagu
16bbd0f24e
Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame
2014-06-11 02:45:31 -07:00
Jonathan Watt
f2c9f69fad
Bug 989230 reftest - Test that gradient spreadMethod=reflect works. r=longsonr
2014-06-11 10:38:44 +01:00
Ryan VanderMeulen
8c33e2b23c
Bug 1023472 - Disable test_bug935876.html on Android for perma-failing when pushed to a different chunk.
...
CLOSED TREE
2014-06-10 14:54:46 -04:00
Ting-Yu Lin
f912c3b2a5
Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas
...
Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.
Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py
Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
2014-06-11 06:28:00 -04:00
Ting-Yu Lin
16c27c8766
Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas
...
* Extract those caret manipulating functions in test_touchcaret.py to
selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
2014-06-11 03:02:00 -04:00
Giovanni Sferro
b7a2ac3cac
Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz
...
--HG--
rename : layout/style/nsICSSRuleList.cpp => layout/style/CSSRuleList.cpp
rename : layout/style/nsICSSRuleList.h => layout/style/CSSRuleList.h
2014-06-09 22:11:00 -04:00
John Daggett
9a6d05aa32
No bug. Add Fira Sans to reftest fonts, no effect on build. r=me
2014-06-11 16:32:53 +09:00
Jonathan Watt
e6f41c18a9
Bug 1016680, part 4 - Explicitly initialize members in nsFrameManagerBase's ctor rather than using memset. r=bz
2014-06-12 20:25:33 +01:00
Ryan VanderMeulen
1c3ae110f7
Merge m-c to inbound on a CLOSED TREE.
2014-06-12 14:56:35 -04:00
Ryan VanderMeulen
3ed2bbef13
Backed out changesets d0ee7053aaf3 and c83f17cd74be (bug 727125) for B2G reftest failures.
...
CLOSED TREE
2014-06-12 14:45:40 -04:00
Daniel Holbert
4820eab88b
Bug 1024084: Clean up forward declarations and #includes in nsFrameManager.h and nsFrameManagerBase.h. r=jwatt
2014-06-12 10:09:31 -07:00
Susanna Bowen
995cc74fd1
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-09 15:00:00 -04:00
Susanna Bowen
ab5183111a
Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
...
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.
The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-06 11:32:00 -04:00
Xidorn Quan
dc0ffd85cb
Bug 966166 - Part 6: Tests for @counter-style. r=jfkthame, r=davidb
2014-06-11 21:14:00 -04:00
Xidorn Quan
66f043f77b
Bug 966166 - Part 5: Move computation code with minor changes. r=dbaron
...
In addition to moving the code, this patch also:
* changes the square character from U+25AA to U+25FE to match the spec
* changes all the generating functions from using append to using assign
* removes negative handling from CJKIdeographicToText since it is no longer used there
* fixes indentation and naming conventions
* changes buffer size in DecimalToText
2014-06-11 21:13:00 -04:00
Xidorn Quan
25d22122bf
Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron
2014-06-11 21:12:00 -04:00
Xidorn Quan
837f68f5fc
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Xidorn Quan
482d688b23
Bug 966166 - Part 2: Computation of counter style. r=dbaron
2014-06-11 21:11:00 -04:00
Xidorn Quan
ab361e10f1
Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz
2014-06-11 21:10:00 -04:00
Gijs Kruitbosch
0eebfebe6c
Bug 467442 - take transforms into account for popup placement, r=bz,f=tnikkel
2014-06-09 12:40:48 +01:00
Geoff Brown
fbb7bd8495
Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3, again, for intermittent failures
2014-06-10 09:44:02 -06:00
Geoff Brown
477d664685
Bug 982917 - Broaden expected assertion range for layout/forms/crashtests/378413-1.xhtml; r=dholbert
2014-06-10 09:44:01 -06:00
Geoff Brown
859ec9814d
Bug 1021998 - Broaden expected assertion range for layout/generic/crashtests/1015563-1(2).html; r=dholbert
2014-06-10 09:44:01 -06:00
Geoff Brown
24c80e356b
Bug 982958 - Change expected assertion range for layout/generic/crashtests/798020-1.html on Android; r=dholbert
2014-06-10 09:44:01 -06:00
Jonathan Watt
d6e530fc8e
Bug 1018324 - Remove inIFlasher. r=roc
2014-06-10 07:02:21 +01:00
Cameron McCormack
e7c8e1f024
Bug 1017798 - Part 3: Crashtest. r=bzbarsky
2014-06-06 17:51:25 +10:00
Cameron McCormack
6b817440b4
Bug 1017798 - Part 1: Make AncestorFilter and the TreeMatchContext style scope list include ancestors from following ShadowRoots up to the light tree. r=bzbarsky
2014-06-06 15:22:55 +10:00
Nathan Froyd
10bcb1367a
Bug 1022785 - disable android snippets for reftests/crashtests/jsreftests; r=jmaher
2014-06-09 13:37:21 -04:00
Kartikaya Gupta
a7844bf3d0
Bug 1018387 - Update various variables and comments to reflect the fact that the values are in layer pixels and not layout device pixels. r=Cwiiis
2014-06-09 14:02:39 -04:00
Ed Morley
50941b0b48
Backed out changeset 00c2ba04f8d4 (bug 879475)
2014-06-09 11:27:58 +01:00
"Kan-Ru Chen (陳侃如)"
473118ca3c
Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-09 16:49:12 +08:00
Neil Rashbrook
c16e751e37
Bug 1018324 Add scrollElementIntoView to inIDOMUtils as inIFlasher is going away r=roc
2014-06-09 08:35:13 +01:00
Ryan VanderMeulen
59aa388e2e
Merge inbound to m-c. a=merge
2014-06-08 22:10:12 -04:00
Daniel Holbert
df276175e6
Bug 1021992: Drop decl for never-defined function 'NS_NewVideoFrame'. r=cpearce
2014-06-08 15:36:58 -07:00
Ting-Yu Lin
047804b5f4
Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
...
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.
Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.
Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-07 08:49:00 -04:00
Ryan VanderMeulen
611ba29905
Bug 891840 - Disable test_pixel_lengths.html on all platforms for intermittent crashes.
...
CLOSED TREE
2014-06-07 01:08:16 -04:00
Botond Ballo
64ebf81674
Bug 1014280 - Add a background color attribute to scrollable ContainerLayers. r=tn,BenWa
...
--HG--
extra : source : dff750e410e5f4e1ed019527ea17f37e53dd8fe6
2014-06-06 16:50:20 -04:00
Ryan VanderMeulen
490eb67b9f
Bug 981477 - Mark menclose-6 reftests as random on B2G OOP.
2014-06-08 13:08:10 -04:00
Gijs Kruitbosch
cad933f41c
Bug 467442 - take transforms into account for popup placement, r=bz,f=tnikkel
...
--HG--
extra : rebase_source : fd3acd246c9bee79feba59ac382048848b059866
2014-06-09 12:40:48 +01:00
Simon Montagu
7cc694ded9
Mark line after a preformatted newline as dirty during bidi resolution. Bug 1015128, r=mats
2014-06-11 08:57:25 -07:00
Simon Montagu
ad53e2769d
Back out wallpaper patch from bug 1007067 in favour of real fix from bug 1015128, r=mats
2014-06-11 08:57:24 -07:00
Markus Stange
71f375bf75
Bug 1023464 - Add support for the --setpref argument to mach reftest. r=gps
2014-06-11 14:44:42 +02:00
Daniel Holbert
87cff0b293
Bug 1024875: Make reflow-related functions in nsFlexContainerFrame return void, now that Reflow returns void. r=mats
2014-06-13 08:37:02 -07:00
Benoit Girard
ef93ef1973
Bug 1024742 - show will-change on the display list dump. r=mattwoodrow
2014-06-13 11:32:15 -04:00
Nathan Froyd
7fdd1535f9
Bug 1024588 - turn off useragent updates for tests, to avoid hitting the network; r=jmaher
2014-06-12 15:14:43 -04:00
Ting-Yu Lin
7a620dbe4c
Bug 1020261 - Part 2: Enable touch caret sanity test on B2G. r=mdas
2014-06-12 23:02:00 -04:00
Ting-Yu Lin
b97f8e986a
Bug 1020261 - Part 1: Fix touch event handling for touch caret. r=roc
...
For touch events generated by marionette, the touch id is not started
from 0. Therefore, instead of getting the event position of touch id 0
directly in HandleTouchDownEvent(), we should loop over all the touch
ids to get their positions.
2014-06-12 22:58:00 -04:00
John Daggett
fd3b4d1345
Bug 1022481 - add reftest for no doc fonts case. r=heycam
2014-06-13 10:32:54 +09:00
John Daggett
7618bcb5ee
Bug 1022481 - handle -moz-fixed in the no doc fonts case correctly. r=heycam
2014-06-13 10:32:27 +09:00
"Kan-Ru Chen (陳侃如)"
da1abf1e93
Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:39 +08:00
Brian Birtles
c03d7ecfc6
Bug 1004365 part 5 - Add tests for zero-duration animations; r=dholbert
2014-06-11 14:19:08 +09:00
Brian Birtles
dc9a1323de
Bug 1004365 part 4 - Make nsAnimationManager.cpp no longer skip zero-duration animations; r=dholbert
2014-06-11 14:19:08 +09:00
Brian Birtles
4c93a95f0f
Bug 1004365 part 3b.2 - Make ElementAnimation::GetComputedTimingAt handle zero-duration animations; r=dholbert
...
This patch adjusts GetComputedTimingAt to set the time fraction and current
iteration fields of the output computed timing correctly for animations with
zero iteration duration. Care must be taken to handle cases such as animations
that have zero duration but repeat infinitely.
The code is significantly re-arranged to more closely align with the naming and
algorithms defined in Web Animations.
A couple of tests in test_animations.html have been tweaked to account for
floating-point error. This is not because the new code is less precise but
actually the opposite. These tests fall on the transition point of step-timing
functions. The new code uses the closest possible floating-point representation
of these times which happens to cause them to fall on the opposite side of the
transition point.
For example, in evaluating a point 3s into a reversed interval the old code
would give us an intermediate time fraction of:
0.29999999999999982
When we reverse that by subtracting from 1.0 we get: 0.70000000000000018
With the code in this patch we get an intermediate time fraction of:
0.29999999999999999
When we reverse that by subtracting from 1.0 we get: 0.69999999999999996
Hence we fall on the opposite side of the transition boundary.
2014-06-11 14:19:08 +09:00
Brian Birtles
d53dba2b6a
Bug 1004365 part 1 - Make active duration calculation handle zero-duration animations; r=dholbert
...
This patch also makes ElementAnimation::ActiveDuration a static method that
takes timing parameters as an argument. This is so that this method can be
used within ElementAnimations::GetComputedTimingAt (a static method) in a
future patch.
We could also make ActiveDuration() a method of AnimationTiming. I suspect
this logic belongs together in ElementAnimation however.
In a future patch we could also add the active duration to the ComputedTiming
struct which would simplify the only other place this is currently used
which is ElementAnimations::GetEventsAt.
2014-06-11 14:19:07 +09:00
Wes Kocher
71d8b72158
Merge m-c to inbound
2014-06-10 18:55:47 -07:00
Geoff Brown
2bd4d26543
Bug 982915 - Use different expected assertion range for layout/base/crashtests/898913.html on Android; r=dholbert
2014-06-10 19:10:10 -06:00
Geoff Brown
97114eee1e
Bug 982961 - Use different expected assertion range for layout/generic/crashtests/847209.html on Android; r=dholbert
2014-06-10 19:10:10 -06:00
William Chen
4ea70e9814
Bug 1022741 - Use CrossShadowCurrentDoc() in Element::UpdateState. r=smaug
2014-06-10 14:41:31 -07:00
Botond Ballo
c16d71e95b
Bug 1022381 - Enforce that strongly-typed geometric classes are used with a proper coordinate system tag type. r=kats
2014-06-10 12:43:52 -04:00
Markus Stange
72326bff2d
Bug 1021420 - Ensure that scrollable layers get a view ID created for them. r=tnikkel
2014-06-10 22:29:32 +02:00
Wes Kocher
62217765cf
Merge inbound to m-c a=merge
2014-06-11 18:46:34 -07:00
Wes Kocher
22e15a91dd
Merge inbound to m-c a=merge
2014-06-11 18:23:43 -07:00
William Chen
b8d5cf1bda
Bug 992521 - Part 5: Bind native anonymous content to null document when node is contained by a ShadowRoot. r=smaug
2014-06-07 01:42:55 -07:00
William Chen
58073b9833
Bug 992521 - Part 4: Make PresShell events work when not in document, but contained by a ShadowRoot with a host in document. r=smaug
2014-06-07 01:42:54 -07:00
William Chen
9809c3f60f
Bug 992521 - Part 2: Make styles work when not in document, but contained by a ShadowRoot with a host in document. r=smaug
2014-06-07 01:42:54 -07:00
William Chen
ae48fcf9e0
Bug 992521 - Part 1: Remove "in document" flag on ShadowRoot and its descendants. r=smaug
2014-06-07 01:42:53 -07:00
Ehsan Akhgari
861dfcddf0
Bug 1013662 - Fix bad implicit conversion constructors in MFBT; r=froydnj,Waldo
2014-06-06 23:17:06 -04:00
Timothy Nikkel
8e59857367
Bug 1002992. Part 6. Rename ExpandRect to ExpandToNearlyVisibleRect. r=addressingreviewcomment
2014-06-06 21:23:22 -05:00
Timothy Nikkel
2e36cf9bcd
Bug 1002992. Part 5. Use a custom frame tree walker to find visible and almost visible images instead of using the heavier weight display list infrastructure. r=mats
...
This is about 3 or 4 times faster.
2014-06-06 21:23:21 -05:00
Timothy Nikkel
06bdd741e0
Bug 1002992. Part 4. Factor out the code that gets the presshell to use for painting of subdocuments. r=mats
2014-06-06 21:23:21 -05:00
Timothy Nikkel
1cdc28fb3b
Bug 1002992. Part 3. Don't build the caret when building a display list for image visibility. r=mats
...
It's not needed and complicates things.
2014-06-06 21:23:21 -05:00
Timothy Nikkel
736743701d
Bug 1002992. Part 2. Handle display ports and ignore viewport scrolling for image visibility display lists the same way we do for painting display lists. r=mats
2014-06-06 21:23:20 -05:00
Timothy Nikkel
c30a91f325
Bug 1002992. Part 1. Don't bother to do text-overflow clipping when building display lists for image visibility. r=mats
...
It's not important to do and simplifies things.
2014-06-06 21:23:20 -05:00
Daniel Holbert
158690f0fb
Bug 1018449: Don't opportunistically stretch flex items to container's cross-size if the container is multi-line. r=mats
2014-06-06 15:55:58 -07:00
Markus Stange
8f35b18308
Bug 944938 - Pass scroll events to the APZC tree manager on the async event thread. r=smichaud
2014-06-07 00:49:59 +02:00
Jonathan Kew
1e15f90fb6
backout changeset 48b74ab18f92 (bug 1018034) due to MS Sans Serif regression with Thai system locale (see bug 1020826).
2014-06-06 22:41:07 +01:00
Ryan VanderMeulen
e0544d6dae
Merge inbound to m-c. a=merge
2014-06-06 17:18:45 -04:00
Ed Morley
51a5e8d0e0
Merge mozilla-central and b2g-inbound
2014-06-06 19:12:21 +01:00
Ed Morley
0eb1c45071
Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails
2014-06-06 18:14:43 +01:00
Ed Morley
c8921909d3
Bug 1021644 - Disable forms/test/test_bug961363.html since it fails if run in a different mochitest chunk; CLOSED TREE
2014-06-06 11:40:06 +01:00
Wes Kocher
d48f2e62a4
Merge b2g-inbound to m-c a=merge
2014-06-05 18:49:36 -07:00
Ting-Yu Lin
ba201061d5
Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
...
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.
Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.
Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-04 06:21:00 -04:00
Ms2ger
67f40acbc2
Bug 1018778 - Part b: use more early returns in nsDocumentViewer::SyncParentSubDocMap; r=roc
2014-06-06 10:06:25 +02:00
Ms2ger
d008d6e04d
Bug 1018778 - Part a: use nsPIDOMWindow::GetDoc in nsDocumentViewer::SyncParentSubDocMap; r=roc
2014-06-06 10:06:25 +02:00
Jeremy Poulin
4c8dd6d4b2
Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley
...
--HG--
rename : netwerk/base/public/nsINetworkSeer.idl => netwerk/base/public/nsINetworkPredictor.idl
rename : netwerk/base/public/nsINetworkSeerVerifier.idl => netwerk/base/public/nsINetworkPredictorVerifier.idl
rename : netwerk/base/src/Seer.cpp => netwerk/base/src/Predictor.cpp
rename : netwerk/base/src/Seer.h => netwerk/base/src/Predictor.h
rename : netwerk/test/unit/test_seer.js => netwerk/test/unit/test_predictor.js
2014-06-03 13:37:46 -07:00
Carsten "Tomcat" Book
bb57f1b6e5
Backed out changeset 58541e1f52d2 (bug 1007743)
2014-06-04 08:55:33 +02:00
William Chen
405db531dd
Bug 1007743 - Update flattened tree to correctly handle nodes distributed into Shadow DOM insertion points. r=smaug
2014-06-03 16:09:41 -07:00
Ryan VanderMeulen
43644abf3f
Merge m-c to inbound on a CLOSED TREE.
2014-06-03 17:51:31 -04:00
Ryan VanderMeulen
0f33814e01
Merge m-c to b2g-inbound. a=merge
...
--HG--
rename : dom/telephony/gonk/TelephonyProvider.js => dom/telephony/gonk/TelephonyService.js
2014-06-03 15:22:54 -04:00
Boris Zbarsky
d4d7efbc2b
Bug 1016063. Don't include the fake classnames XUL tree pseudo-elements have when calculating style rule specificity. r=heycam
2014-06-03 11:38:38 -04:00
Vicamo Yang
546cc64d56
Bug 927320 - 1/2: rename TelephonyProvider to TelephonyService. r=aknow
...
--HG--
rename : dom/telephony/gonk/TelephonyProvider.js => dom/telephony/gonk/TelephonyService.js
rename : dom/telephony/gonk/TelephonyProvider.manifest => dom/telephony/gonk/TelephonyService.manifest
rename : dom/telephony/ipc/TelephonyIPCProvider.cpp => dom/telephony/ipc/TelephonyIPCService.cpp
rename : dom/telephony/ipc/TelephonyIPCProvider.h => dom/telephony/ipc/TelephonyIPCService.h
rename : dom/telephony/nsIGonkTelephonyProvider.idl => dom/telephony/nsIGonkTelephonyService.idl
rename : dom/telephony/nsITelephonyProvider.idl => dom/telephony/nsITelephonyService.idl
2014-06-03 22:15:25 +08:00
Susanna Bowen
ea8bb7483d
Bug 1019287 - Use accessor instead of private variable in ifdef'ed logging code. r=dholbert
2014-06-02 16:26:00 -04:00
Kartikaya Gupta
61975fc2a5
Bug 1019888 - Log canvas background color when dumping display items. r=tn
2014-06-03 16:21:39 -04:00
Botond Ballo
fc6b4a01b8
Bug 1019766 - Avoid including gfxPrefs.h from nsLayoutUtils.h. r=kats
...
--HG--
extra : rebase_source : de931f7f1fae64e8f59ae923aaf07c2742f372e0
2014-06-03 14:13:05 -04:00
Andrea Marchesini
5cd12928e4
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-06-03 15:36:46 +01:00
Mats Palmgren
2d2ff74e34
Bug 1015844 - part 2, Add a call to ReflowOverflowContainerChildren() to reflow abs.pos. overflow containers. r=roc
...
nsColumnSetFrame puts true overflow containers on the principal child list
(which may then get pushed to the overflow list), but overflow containers
for abs.pos. children still go on the kOverflowContainersList and
kExcessOverflowContainersList lists as usual.
2014-06-03 14:17:14 +00:00
Mats Palmgren
cb0c5f1260
Bug 1015844 - part 1, Only force the search to normal flow child lists for true overflow containers. r=roc
2014-06-03 14:17:14 +00:00
Markus Stange
4afbfc077b
Bug 1018461 - Allow active scrolling inside SVG. Should give a big tscrollx win. r=roc
2014-06-03 15:55:58 +02:00
Markus Stange
508c4ef238
Bug 1018464 - Make ContainerState::FindOpaqueBackgroundColorFor look through holes in display items. r=roc
...
--HG--
extra : rebase_source : 69d82381327e1114a6264d5ed360dd16aca39166
2014-06-03 14:50:42 +02:00