Commit Graph

44912 Commits

Author SHA1 Message Date
dvander@alliedmods.net
2598315589 Don't try to async scroll frames that have less than one pixel of scrollability. (bug 1126090 part 7, r=kats) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
f1c8e08cdd Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
87a19022de Wait for all paints to flush before synthesizing scroll events. (bug 1126090 part 5, r=smaug) 2015-03-06 14:26:59 -08:00
Botond Ballo
88d6362e57 Bug 914666 - Exclude the frame borders from the composition bounds. r=tn 2015-02-25 17:08:40 -05:00
L. David Baron
ba8f91bca8 Bug 1140134 - Don't skip the rest of the properties in an animation after hitting one that we shouldn't apply. r=dholbert
Both sets of new tests pass with the patch, but without the patch the
"top is animating" test fails.
2015-03-06 13:35:45 -08:00
Boris Zbarsky
1be2f186e5 Bug 1140216. Remove asserts that stuff that we never create is not null, since it clearly is null. r=jwatt 2015-03-06 16:33:30 -05:00
L. David Baron
7e86e9f582 Bug 1139640 test: Add mochitest for DOM properties for CSS properties. r=heycam 2015-03-05 18:02:16 -08:00
L. David Baron
65d9b1427e Bug 1139640: Change DOM property for -moz-osx-font-smoothing to match standard camel-casing algorithm. r=jdaggett 2015-03-05 18:02:16 -08:00
Kearwood Gilbert
e8de79897a Bug 969250 - Part 2: Tests for scroll snapping for scrollbars. r=roc
--HG--
extra : rebase_source : 49c4fed77484bc7041266a2233d2e0e359138dcb
2014-02-17 15:47:29 +13:00
Kearwood (Kip) Gilbert
bcb7c7d431 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc
--HG--
extra : rebase_source : df2b831d2cad8210b6c92122aa701fc21335ae6d
2015-03-03 17:40:00 +01:00
Miranda Emery
9a8cf9a686 Bug 945584: Part 9 - Tests for scroll snapping (v4 Patch) r=roc
--HG--
extra : rebase_source : aded0319deb520ff998fc5b86565d932dbc0fcaa
2014-02-04 14:54:23 +13:00
Kearwood (Kip) Gilbert
5e7a1dc4a2 Bug 945584: Part 7 - Implement Scroll Snapping for Autoscroll, r=roc
- Triggering scroll snapping at the end of an autoscroll.
- This enables text selection to be unencumbered by scroll snapping, while
  restoring the scroll position to a valid snapping position when the drag
  operation is completed.

--HG--
extra : rebase_source : 94c76d5bfe9059b73b49560089de4ca3d139e239
2015-02-19 16:00:53 -08:00
Kearwood (Kip) Gilbert
8d1fcc4892 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)

--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
467260920d Bug 945584: Part 5 - Implement ScrollVelocityQueue (v4 Patch), r=roc
- Implemented ScrollVelocityQueue class to calculate the velocity of a scroll
  when given periodic samples of scroll position.
- Added BasePoint::Clamp to simplify code.

--HG--
extra : rebase_source : 1fc779b8075eb7dae97c5b0f6b9bbf9fc073db71
2015-02-19 15:51:08 -08:00
Kearwood (Kip) Gilbert
5ded4eb336 Bug 945584: Part 3 - Enable cancellation of OSX synthesized mousewheel scrolling events (v2 Patch),r=roc
- Mouse wheel events synthesized by OSX for momentum scrolling can now
  be interrupted by DOM triggered and CSS scroll snapping triggered scroll
  events for consistent behavior with the scrolling and fling gestures
  in the APZC.

--HG--
extra : rebase_source : 261d1f1b03bb29f722d04e0c48b0212d1c69cd1b
2014-02-04 14:54:22 +13:00
Kearwood (Kip) Gilbert
2d11a5911a Bug 945584: Part 2 - Add CSS scroll snapping attributes to ScrollbarStyles (v10 Patch),r=mstange
- ScrollbarStyles now carries additional variables to support new
  CSS scroll snapping attributes:
  - scroll-snap-type / scroll-snap-type-x / scroll-snap-type-y
  - scroll-snap-points-x / scroll-snap-points-y
  - scroll-snap-destination
  - (scroll-snap-coordinate does not apply to the scroll container)
- Simplified the constructor and operator== for ScrollbarStyles.

--HG--
extra : rebase_source : 91377588f8ae6b00f5ec0198000251820d4d2f85
2014-02-04 14:54:22 +13:00
Kearwood Gilbert
c9e0efb870 Bug 945584: Part 1 - Style support for scroll snapping attributes, r=cam
- Implemented style support for new attributes:
  - scroll-snap-type
  - scroll-snap-type-x
  - scroll-snap-type-y
  - scroll-snap-points-x
  - scroll-snap-points-y
  - scroll-snap-destination
  - scroll-snap-coordinate

--HG--
extra : rebase_source : 0a9a79c7d139a3c752f55395c697f23004d6ef34
2014-02-04 14:54:22 +13:00
Ehsan Akhgari
49cd9f3da4 Bug 1097242 - Make sure contenteditable -moz-user-select styles can be overridden by web pages; r=dbaron 2015-03-05 09:55:37 -05:00
Ehsan Akhgari
49c4a9f564 Bug 1127140 - Run the tests for bug 989012 with the touch caret disabled 2015-03-05 09:53:22 -05:00
Alexandre Lissy
c00c1b9f7a Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron 2015-03-04 10:12:00 +01:00
Jeremy Chen
938b6f9559 Bug 1138839 - Part2 - Fix naming issue in marionette test for selection carets. r=automatedtester 2015-03-03 02:03:00 +01:00
Jeremy Chen
9feed0ea5e Bug 1138839 - Part1 - Marionette test for selecting text inside an iframe. r=automatedtester 2015-03-03 01:58:00 +01:00
Kartikaya Gupta
4d07356198 Bug 1139153 - Rip out the unneeded layout.async-containerless-scrolling.enabled pref. r=tn 2015-03-05 06:04:03 -05:00
David Zbarsky
4ce52c1ab4 Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond 2015-03-05 04:13:05 -05:00
Cameron McCormack
eff3f9d4c4 Bug 1139723 - Turn on expensive style struct assertions for 1136010-1.html, and fix pref name typo. r=dbaron 2015-03-05 14:46:18 +11:00
Cameron McCormack
d5e5e2b7ad Bug 1139272 - Allow expensive style context assertions to be enabled with a pref. r=dbaron 2015-03-05 12:48:45 +11:00
Markus Stange
f1805dbbb2 Bug 913443 - Add some tests. r=roc
--HG--
extra : rebase_source : fba9fab73e132a6ba1f39f252a8310ab085cf53e
2015-03-04 14:50:13 -05:00
Markus Stange
094adf661f Bug 913443 - Remove duplicated argument variables. r=roc
--HG--
extra : rebase_source : 6d0b1d34c6924a332cee831b92f083c0669a7e52
2015-03-04 12:08:28 -05:00
Markus Stange
27e19b0136 Bug 913443 - Recycle PaintedLayers as soon as possible. r=roc
This means layers are assigned bottom-to-top.

--HG--
extra : rebase_source : 9754de60da630de59d83c2fa9b01d48c0ff13eb2
2015-03-04 00:18:47 -05:00
Markus Stange
d2e50e0e0b Bug 913443 - When determining the layer to recycle, only consider layers that have display items in common with the layer we need. r=roc
--HG--
extra : rebase_source : de75c55e2937363843def273206310a786232582
2015-03-04 00:21:00 -05:00
Markus Stange
fcc59b48af Bug 913443 - Delay PaintedLayer recycling until PopPaintedLayerData(). r=roc
Once we're smarter about recycling the right layer, we can't decide on a layer
as soon as we encounter its first display item. We might need to have to look
at all of the assigned display items. This change makes that requirement
explicit.

--HG--
extra : rebase_source : 743deff9257c2da3b87d7f929465e09ea33859c0
2015-03-03 21:32:08 -05:00
Markus Stange
ea7ef16627 Bug 913443 - Add a display item buffer for PaintedLayerData so that we can assign items without needing to know the actual Layer. r=roc
--HG--
extra : rebase_source : f6a699f1cd57b8980a84e91870a28247d1f07ea9
2015-03-04 00:21:55 -05:00
Markus Stange
4d0928d52d Bug 913443 - Change the order of these calls. r=roc
The calls above don't need access to the PaintedLayer, but the ones this change
is moving down do. This change just makes it more obvious that we're free to
move the calls to an even later point.

--HG--
extra : rebase_source : e63bbc37a634e84e28a86e765f50927a63fbce2f
2015-03-03 17:21:42 -05:00
Markus Stange
9fcb811dd6 Bug 913443 - Move IsWidgetLayerManager() check out of UpdateCommonClipCount. r=roc
UpdateCommonClipCount accesses the PaintedLayerData's mLayer field in order to
get the layer manager. We want to be able to call UpdateCommonClipCount when
mLayer is null.

--HG--
extra : rebase_source : d2964e3e390e0cd564469dee2bf691e76be07cf2
2015-03-03 17:00:55 -05:00
Markus Stange
253c09b332 Bug 913443 - Remove unused aItemVisibleRect argument. r=roc
--HG--
extra : rebase_source : 57c555b1e7c3aafa0ea1659cdb00b4daba0e1723
2015-03-03 16:57:30 -05:00
Markus Stange
3c736ea719 Bug 913443 - Break CreateOrRecyclePaintedLayer up even more. r=roc
--HG--
extra : rebase_source : 925d0803b07ff088297327b9082cbb1ff84ecb61
2015-03-02 19:25:13 -05:00
Markus Stange
4215086d34 Bug 913443 - Extract layer hint calculation. r=roc
--HG--
extra : rebase_source : eee7b00b69b46e106865911e58a0b06a8643980e
2015-03-02 19:24:18 -05:00
Markus Stange
09230009c4 Bug 913443 - Break up CreateOrRecyclePaintedLayer into more parts. r=roc
--HG--
extra : rebase_source : d02edc77f41f0192f17d756e70e6e5c447c420bd
2015-03-02 18:43:58 -05:00
Markus Stange
5f382d9022 Bug 913443 - Remove some #ifdefs. r=roc
This function will be split up into more functions, and carrying along the
#ifdefs throughout those would be a pain.

--HG--
extra : rebase_source : 19902be9ca536f515dee62bb110c02ccb9e7f954
2015-03-02 18:29:12 -05:00
Markus Stange
d867421498 Bug 913443 - Remove mention of the word ThebesLayer in a comment. r=roc
--HG--
extra : rebase_source : 08a2bc7ce404129b47b0e3e51187926fc3298cee
2015-03-02 18:19:12 -05:00
Cameron McCormack
5ca39a7a39 Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 18:06:29 +11:00
Alexandre Lissy
c87d8ae9ed Bug 1138444 - Add Mulet detection for reftests. r=jgriffin
--HG--
extra : rebase_source : 5b50f02fe229b8d0dfaaba3924061dc6b985f3b8
2015-03-03 03:20:00 -05:00
Chris Manchester
dc928c0e88 Bug 1109183 - Fix imports of the marionette client and remove spurious entry from sys.path provided by mach. r=ahal
--HG--
extra : rebase_source : 1c6579dfd5cd44973a74b5c0f81b14fca6f170d4
2015-03-03 17:37:19 -08:00
Ethan Lin
a4f6df37a6 Bug 1125750 - Add auto test to detect error when using mOuter to check overflow area of a scrollable frame. r=dbaron
--HG--
extra : rebase_source : 25d3b279293a57d0e61dd16e0ddfc1a8086194fa
2015-03-03 17:46:00 +01:00
Ethan Lin
f9723b32cf Bug 1125750 - Check the overflow region direction to avoid unnecesary reflow for scrollable frame. r=dbaron
--HG--
extra : rebase_source : f95ce49ad13e9c26ad225d5135d9dd545485b6e8
2015-02-08 18:57:00 +01:00
Carsten "Tomcat" Book
6b5f4b3d7d Backed out changeset bc9e6089b8e1 (bug 1136010) for Android 4.0 Assertions 2015-03-04 13:28:31 +01:00
Cameron McCormack
070d9fd69a Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 21:57:46 +11:00
Carsten "Tomcat" Book
2a141107db Backed out changeset 4916ccff311d (bug 1135907) for crashtest failures 2015-03-04 08:41:06 +01:00
Cameron McCormack
7c9ab125c2 Bug 1138788 - Allow CSSParserImpl::SetURLValue assertion to succeed when under IsValueValidForProperty, even with no sheet principal. r=dholbert 2015-03-04 18:00:09 +11:00
David Anderson
0bb7465334 Inactive subframes-in-subframes add event regions to the wrong layer. (bug 1139213, r=tn)
--HG--
extra : rebase_source : c4dc2b13f0b48aa45cbdc6e6f3ed8766dd063265
2015-03-03 21:20:50 -08:00
Cameron McCormack
3d4a394d35 Bug 1137031 - Do not stop restyling when TryStartingTransitiosn gives us a new style context. r=dbaron
It is not correct to stop restyling by leaving the old style context on
the frame and returning eRestyleResult_Stop when TryStartingTransition
provides a new, without-animations style context.  This is at least
because the new new style context could have different styles from the
old new style context.
2015-03-04 16:08:00 +11:00
David Anderson
ed57682ba9 Clamp displayports to the maximum texture size. (bug 1135907, r=kats,tn)
--HG--
extra : rebase_source : aeeec3a63cdd62dcd8118192f307aa72be28f640
2015-03-03 11:14:18 -08:00
Xidorn Quan
f6bca779b7 Bug 1133624 - followup add fuzzy maxdiff on CLOSED TREE 2015-03-04 14:41:48 +11:00
Xidorn Quan
543cbfa069 Bug 1138092 - Add sanity check before checking ruby-align in TextAlignLine. r=dbaron
--HG--
extra : source : a799c7cadf0dbb3efccee3076987acdc0fdabc79
2015-03-04 13:04:11 +11:00
L. David Baron
da27c29b8c Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
--HG--
extra : transplant_source : %E16mjh%96Y%AB%96%23%A3%BDCF%F6%8D%95%BF%FE%BC
2015-03-03 17:03:19 -08:00
Xidorn Quan
1d23917104 Bug 1133624 - Add lang-specific ruby rules to ua.css. r=dbaron
--HG--
extra : source : 8247c6276ff08a34c830b75376e7e68f15e1e7a2
2015-03-04 13:00:53 +11:00
Wes Kocher
01e006a903 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
6541acdb04 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Jonathan Kew
4e2dd5586a Bug 1138527 part 2 - Reftest for application of font inflation to ruby. r=roc
--HG--
extra : source : e02aa7d49bcc8a1efcfb6a54460e66207fa5bd5a
2015-03-03 16:06:36 +11:00
Xidorn Quan
e7dadd8f81 Bug 1138527 part 1 - Make ruby annotations have the same font inflation as its containing ruby frame. r=roc
--HG--
extra : source : d4f7098b00f88131e2a45a80ce09e6995eb44ed3
2015-03-03 16:06:36 +11:00
Jonathan Kew
6d037e9793 Bug 1136521 - Don't try to use the ascent when placing a frame whose block-direction doesn't match the line's. r=smontagu 2015-03-03 16:39:45 +00:00
Jonathan Kew
6f66e94af6 Bug 1123284 - pt 2 - Fix Get{Min,Pref}ISize in nsLeafBoxFrame for vertical mode. r=smontagu 2015-03-03 16:38:49 +00:00
Jonathan Kew
8eae56249b Bug 1123284 - pt 1 - Make nsTextBoxFrame somewhat aware of vertical writing mode, to allow <input type=file> to display properly. r=smontagu 2015-03-03 16:38:31 +00:00
Mason Chang
a9182f7264 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Anish
df7d9b1c0e Bug 1135091 - convert remaining SpecialPowers.setBoolPref to pushPrefEnv, p=anishchandran94@gmail.com, r=jmaher, mwargers 2015-03-03 08:46:35 -05:00
Jonathan Kew
32df2d8718 Bug 1138353 - Correct the directionality of vertical-align dimensions in cases where line- and flow-relative coordinate directions differ. r=smontagu 2015-03-03 12:25:17 +00:00
Jonathan Kew
15ddbee866 Bug 1134744 - Reftest for baseline of radio button and checkbox. r=smontagu 2015-03-03 12:25:17 +00:00
Jonathan Kew
4c781f24a6 Bug 1134744 - Fix baseline for form controls when line is inverted relative to block dir. r=smontagu 2015-03-03 12:25:17 +00:00
Boris Zbarsky
edd402d841 Bug 1137984. When parsing attribute selectors, treat EOF as ']' any place ']' is allowed. r=dbaron 2015-03-03 07:12:00 -05:00
Boris Zbarsky
07d483677a Bug 1135764. Make sure XSLT transform results have a document timeline so things like transitions will work. r=smaug 2015-03-03 07:12:00 -05:00
Jim Mathies
9f9b260354 bug 1127794 - With remote content calculate and store plugin geometry updates prior to the end of the shadow layer transaction. r=roc 2015-03-02 05:01:58 -06:00
Botond Ballo
6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Botond Ballo
08a367dfcc Bug 1136914 - Don't lose scale from parent document when descending into subdocument. r=tn
--HG--
extra : rebase_source : 9df0d3585a615b8869c134571aaf5b55812b1592
2015-02-27 15:36:31 -05:00
Xidorn Quan
f34ad1a424 Bug 1137889 part 2 - Move around definitions in counterstyles.css to match the order in spec for clarity. r=jfkthame
--HG--
extra : source : ee47504645ec8729a6a56326e7f7fc16a39fbc18
2015-03-03 08:32:58 +11:00
Xidorn Quan
abdb0668e1 Bug 1137889 part 1 - Update predefined counter style name table to match the spec. r=jfkthame
--HG--
extra : source : b264c92249fcf713fde635b41aaa190884177636
2015-03-03 08:32:58 +11:00
Mason Chang
d13101a581 Bug 1134459. Don't scroll reftests until the page finishes loading. r=seth 2015-03-02 13:27:46 -08:00
Ehsan Akhgari
4a241b25eb Attempt to fix bug 1137717 by focusing the test frame 2015-03-02 16:06:08 -05:00
Wes Kocher
a78a7eb043 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Mats Palmgren
ddf90708d1 Bug 1137723 - Don't call ::IsBoxWrapped(this) with the current mParent intact b/c IsBoxWrapped uses GetParent() and it may have been destroyed while this frame is still sitting an overflow list waiting to be lazy re-parented. r=roc 2015-03-02 13:59:29 +00:00
Fabrice Desré
fa7df3a41f Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi,mshal 2015-02-26 13:51:20 -08:00
Ryan VanderMeulen
9e25960569 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-02-27 13:23:30 -05:00
Wes Kocher
229490154a Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Ms2ger
e705bd4203 Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré
26484e0481 Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi 2015-02-26 13:51:20 -08:00
Kartikaya Gupta
abb77fea1d Bug 1137232 - Fix dumping of client layers so it doesn't get truncated. r=dvander
DONTBUILD because NPOTB
2015-02-26 15:57:42 -05:00
Daniel Holbert
c928a4cf50 Bug 1107378 - Part 4: Add mochitest for our CSS unprefixing functionality. r=dbaron 2015-02-26 12:07:08 -08:00
Daniel Holbert
9bd3f234d9 Bug 1107378 - Part 3: In cases where we're unprefixing, treat "display:-webkit-box" as "display: flex" (& same for "-moz-box" if we previously saw "-webkit-box"). r=dbaron 2015-02-26 12:07:07 -08:00
Daniel Holbert
2e3b8890c2 Bug 1107378 - Part 2: Make the CSS Parser call out to the unprefixing service, when it detects a vendor-prefixed property name (if pref is enabled). r=dbaron 2015-02-26 12:07:06 -08:00
Daniel Holbert
b855d11507 Bug 1107378 - Part 1: Create a JS-implemented "CSS Unprefixing Service" that can convert certain -webkit prefixed CSS to an unprefixed form. r=dbaron 2015-02-26 12:07:05 -08:00
Wes Kocher
cc0d195b68 Backed out 4 changesets (bug 1107378) as a last grasped straw to figure out the m-dt bustage on a CLOSED TREE
Backed out changeset 44144b892414 (bug 1107378)
Backed out changeset 5a8d5e8ff524 (bug 1107378)
Backed out changeset 960037d0fc98 (bug 1107378)
Backed out changeset 23fb39cb0f97 (bug 1107378)
2015-02-26 23:35:25 -08:00
Botond Ballo
986201d30d Bug 1071018 - Work around an assertion (will be fixed properly in bug 1036967). r=kats
--HG--
extra : rebase_source : bf3688474e8f7164941bb55f6ec099881c2fa21d
2015-02-25 18:30:46 -05:00
Daniel Holbert
04fdf02f68 Bug 1107378 part 4: Add mochitest for our CSS unprefixing functionality. r=dbaron 2015-02-26 12:07:08 -08:00
Daniel Holbert
3685d087a3 Bug 1107378 part 3: In cases where we're unprefixing, treat "display:-webkit-box" as "display: flex" (& same for "-moz-box" if we previously saw "-webkit-box"). r=dbaron 2015-02-26 12:07:07 -08:00
Daniel Holbert
6e8f218fc4 Bug 1107378 part 2: Make the CSS Parser call out to the unprefixing service, when it detects a vendor-prefixed property name (if pref is enabled). r=dbaron 2015-02-26 12:07:06 -08:00
Daniel Holbert
1ca91c67a2 Bug 1107378 part 1: Create a JS-implemented "CSS Unprefixing Service" that can convert certain -webkit prefixed CSS to an unprefixed form. r=dbaron 2015-02-26 12:07:05 -08:00
Markus Stange
90e3d46535 Bug 961887 - Add some reftest fuzz. 2015-02-25 15:36:27 -05:00
Anish Chandran
a58e64d193 Bug 1135383 - Convert Marionette unit tests to use SpecialPowers.pushPrefEnv. r=jmaher, r=mwargers 2015-02-25 19:31:36 +01:00
Daniel Holbert
7bbef2cd90 Bug 1135200: Hook up nsCSSParser's pref-backed bool variables in a startup method. r=heycam 2015-02-26 09:02:19 -08:00
Ehsan Akhgari
f5032448f3 Bug 1132768 - Consider non-editable regions in contenteditable elements as user-select:all even if the editable region doesn't have the focus; r=roc 2015-02-26 09:18:27 -05:00
Kartikaya Gupta
2ccb1ce2ad Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Kartikaya Gupta
4ebb7ef7d1 Bug 1130455 - Remove the mozasyncpanzoom attribute. r=roc
This attribute used to force APZ to be used on content processes even if the
overall APZ pref was false. However, this has a couple of problems, which cancel
each other out:
- If the pref is false, the APZ machinery is never created, and so it's
  impossible to have content processes "using" APZ.
- The reftest harness checks for the pref and ignores mozasyncpanzoom when
  evaluating the "asyncPanZoom" condition in reftest manifests.
Therefore, any reftests which were skip-if(!asyncPanZoom) would never run unless
the pref was set, and in those cases the mozasyncpanzoom attribute would not be
needed at all, as APZ is already enabled with the pref.
However, the mozasyncpanzoom attribute would cause some parts of the child
process code to behave as though APZ was enabled, which is incorrect. Removing
this attribute and relying solely on the pref corrects that.
2015-02-26 08:47:00 -05:00
Ting-Yu Lin
eacb4adcf8 Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
chiajung hung
46866d6824 Bug 1129249 - Expose the element id in Gecko profiler for Restyle. r=dholbert r=benwa 2015-02-25 23:16:00 +01:00
Xidorn Quan
584fa0b43b Bug 1135954 part 2 - Make GetUniqueStyleData private and remove no longer used unique cases. r=heycam
--HG--
extra : source : 5d884b04b432946c1a7185e6dbd5db4819c3b9bb
2015-02-26 16:18:15 +11:00
Xidorn Quan
b11baf4acb Bug 1135954 part 1 - Create empty border/padding style struct for rbc/rtc. r=heycam
--HG--
extra : source : 036de96aecb8a5e2c40e4d722b689c3db81583b7
2015-02-26 16:18:15 +11:00
Kartikaya Gupta
92986059d4 Bug 1136803 - Properly remove the force-dtc override flag on retained layers when listeners are removed. r=botond 2015-02-25 13:36:19 -05:00
Kartikaya Gupta
934d955071 Bug 1134493 - Ensure we don't set the force-empty-hit-region flag when a subdocument has mozpasspointerevents. r=botond 2015-02-25 13:36:19 -05:00
Markus Stange
511a39c19d Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc
--HG--
extra : rebase_source : 7b5877bc9336e3b01ec43732a5697fba7994c465
2015-02-25 11:47:22 -05:00
Markus Stange
6d5ecb7b01 Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc
--HG--
extra : rebase_source : 21afe457b330919ba98705c39cd12e44734244cc
extra : source : 97c8184c30588f83147d1abe9ac66696ae35fd7a
2015-02-20 14:46:09 -05:00
Markus Stange
f56803507c Bug 961887 - Refactor mVisibleAboveRegion management. r=roc
--HG--
extra : rebase_source : fc3b37cdce3cfce091e3552d2a2fc4d0d7c16fad
extra : source : f02c5c1f77048fabaf45c2f7626f900157ee47f7
2015-02-18 17:37:19 -05:00
Mats Palmgren
8c27917737 Bug 1134531 - Remove nsTextFrame::DidSetStyleContext which only contained a (now obsolete) wallpaper. r=heycam 2015-02-24 18:35:30 +00:00
Mats Palmgren
5db9cb8bc7 Bug 969756 - Add a test. 2015-02-24 18:35:30 +00:00
John Schoenick
a11862a8ae Bug 1136379. Clean up the nsPluginHost API a bit. r=bzbarsky 2015-02-25 11:36:39 -05:00
Boris Zbarsky
a7d78c82c0 Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug 2015-02-25 10:26:51 -05:00
Ting-Yu Lin
8c97b329f6 Bug 1136735 - Ignore events if there's no SelectionCarets elements. r=ehsan
XUL has no CanvasFrame. Hence no SelectionCarets elements.
SelectionCarets should ignore the events if it cannot get its elements.
2015-02-25 18:48:00 -05:00
Carsten "Tomcat" Book
fac9e15494 Backed out changeset ed12a3822cb9 (bug 1132768) for mochitest-oop-1 test failures
--HG--
extra : rebase_source : 25acbb70ac1aadeeaef466974c2a0f16de7a5fb1
2015-02-25 15:49:55 +01:00
Kartikaya Gupta
6e2b17d2de Bug 990907 - Don't add text-overflow markers while being actively scrolled by APZ. r=mstange,tn 2015-02-25 09:33:00 -05:00
Kartikaya Gupta
9aa660ca7b Bug 990907 - Have DLBI pick up changes in the char-clip on text frames. r=mstange,mattwoodrow 2015-02-25 09:32:28 -05:00
Kartikaya Gupta
53bf04f021 Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn 2015-02-25 09:32:09 -05:00
Ehsan Akhgari
2f1041889b Bug 1132768 - Consider non-editable regions in contenteditable elements as user-select:all even if the editable region doesn't have the focus; r=roc 2015-02-25 07:35:33 -05:00
David Burns
7bdd33bd0a Bug 1107336: Update layout tests to use new Marionette Driver; r=jgriffin
--HG--
extra : rebase_source : 1a84494081492b97fe7d4c8ebb0c130e1c59fb29
2015-02-23 14:43:37 +00:00
David Burns
eed0db3148 Bug 1107336: Update b2g desktop ref test runner to use new Marionette Driver; r=ahal
--HG--
extra : rebase_source : a7d25f417045a2c382124c29b017f176d9ecf0f5
2015-02-23 14:42:39 +00:00
Jonathan Watt
6c3e865ef2 Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam 2015-02-17 22:01:54 +00:00
Timothy Nikkel
f1d154f17c Bug 1102896. Save and restore the subpixel AA settings of the draw target when drawing an inactive layer manager so they don't get clobbered. r=mattwoodrow 2015-02-24 22:59:43 -06:00
Benoit Girard
b732d605b0 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats
--HG--
extra : rebase_source : 500ab9ab5bd860a434a02c51ced6a0834897eab8
2015-02-18 15:27:40 -05:00
Wes Kocher
84d0eb7968 Backed out 3 changesets (bug 961887) for reftest failures on a CLOSED TREE
Backed out changeset 1684d29858e1 (bug 961887)
Backed out changeset 97c8184c3058 (bug 961887)
Backed out changeset f02c5c1f7704 (bug 961887)
2015-02-24 17:32:37 -08:00
Timothy Nikkel
4776d9215a Bug 1134293. Report the bounds of a tree body as needing component alpha and support disable component alpha in the text it might draw if asked. r=roc 2015-02-24 17:51:25 -06:00
Markus Stange
9b0240a85b Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc 2015-02-24 14:35:46 -05:00
Markus Stange
2e52d4648c Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc 2015-02-20 14:46:09 -05:00
Markus Stange
98769b80dc Bug 961887 - Refactor mVisibleAboveRegion management. r=roc 2015-02-18 17:37:19 -05:00
Ryan VanderMeulen
ec8d7510c3 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Jonathan Watt
9d8a4a932c Bug 1073379, part 4 - Rework the CSS animations event dispatch code to handle startTime shifting the animations back in time. r=dholbert 2015-02-13 15:58:33 +00:00
Chris Lord
a7f6ea8515 Bug 1132728 - Don't draw focus rings on b2g. r=fabrice,bz 2015-02-18 15:40:14 +00:00
Ting-Yu Lin
c4e7cf937e Bug 1135992 - Fix non-unified build failed in nsLayoutUtils.cpp. r=botond 2015-02-24 02:16:00 -05:00
David Parks
72b5e35b57 Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
Carsten "Tomcat" Book
c161ee575d Merge mozilla-central to mozilla-inbound 2015-02-24 13:25:15 +01:00
Carsten "Tomcat" Book
6eece0b459 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
pchang
052ba27385 Bug 1023190 - Fix extra horizontal line when draw background image with repeat-x mode, r=roc 2015-02-24 14:18:40 +08:00
Jonathan Kew
302b3ccc09 Bug 1135361 - Reftest for ruby positioning in justified vertical text. r=xidorn 2015-02-24 10:17:47 +00:00
Xidorn Quan
728e9e7a08 Bug 1135361 - Fix position of ruby annotation in vertical-rl mode when justification is applied to the base. r=jfkthame
--HG--
extra : source : 9e051be10b37ed8c189bcae17fe8cb95b490d661
2015-02-24 14:46:29 +11:00
Mason Chang
fbd9897745 Bug 1133526. Only enable vsync compositor or refresh driver if hardware vsync is enabled. r=kats 2015-02-23 12:04:11 -08:00
Phil Ringnalda
fdc2ff6cb9 Back out 21e812742b52 (bug 1134598) for unexpected assertions 2015-02-22 15:56:44 -08:00
Phil Ringnalda
8a3d1b3f0e Merge m-c to m-i 2015-02-22 15:17:42 -08:00
Xidorn Quan
582c62bbd6 Bug 1135432 - Suppress line break after text run which ends in ruby. r=jfkthame
--HG--
extra : source : 31da0b2e765e139be3c7fc69b77929323f53000e
2015-02-23 08:55:04 +11:00
Jonathan Kew
5ebaf083e5 Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-22 21:51:05 +00:00
Jonathan Kew
296fd42516 Bug 1134534 - Reftest for fieldset legend with opposing directionality. r=smontagu 2015-02-22 21:48:53 +00:00
Jonathan Kew
257908aa03 Bug 1134534 - Convert writing mode if necessary before applying positioning to fieldset legend. r=smontagu 2015-02-22 21:48:28 +00:00
Jonathan Kew
3a5e09980e Bug 1134216 - Reftest for automatic hyphenation with text-transform. r=smontagu 2015-02-22 19:39:38 +00:00
Jonathan Kew
986898ce38 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
Phil Ringnalda
6dcfd648be Merge f-t to m-c, a=merge 2015-02-22 10:43:56 -08:00
Jonathan Watt
513fc5ff83 Bug 1135913, part 4 - Unify SVGTextFrame's NotifyBeforeSelectionDecorationLine and NotifySelectionDecorationLinePathEmitted callbacks. r=heycam 2015-02-04 13:51:22 +00:00
Jonathan Watt
9dd15de828 Bug 1135913, part 3 - Unify SVGTextFrame's NotifyBeforeDecorationLine and NotifyDecorationLinePathEmitted callbacks. r=heycam 2015-02-03 20:00:18 +00:00
Jonathan Watt
deaaf27b4e Bug 1135913, part 2 - Separately handle non-selected and selected text. r=heycam 2015-02-03 19:36:15 +00:00
Jonathan Watt
05962ce5a4 Bug 1135913, part 1 - Simplify nsCSSRendering::DecorationLineToPath to not require a context. r=heycam 2015-02-03 14:34:14 +00:00
Jonathan Kew
a48d5dee38 Bug 1135622 - The number-control.css stylesheet should be treated as a UA sheet when loaded, so that the inline-size property is recognized. r=heycam 2015-02-24 09:44:26 +00:00
Kartikaya Gupta
53a4b66a34 Bug 1102427 - Ensure scroll parents of an active scrollframe are layerized. r=tn 2015-02-24 01:24:04 -08:00
Aaron Klotz
040621b98e Bug 1115437: Part 2 - Update layout reftests to be compatible with asynchronous plugin initialization; r=roc
--HG--
extra : rebase_source : 77e24041ced152ff1e82c98ab943f9282f2aca7d
2015-01-27 14:44:06 -07:00
Mats Palmgren
79b7449ed8 Bug 969756 - Back out the test b/c of orange. 2015-02-22 04:57:16 +00:00
Xidorn Quan
43a12a680a Bug 1135426 - Prevent buffer overflow at CJKIdeographicToText. r=mats
--HG--
extra : source : 3d1c34d201358c871a3123727bc655f1e24864e9
2015-02-22 14:34:49 +11:00
Jesse Ruderman
9eeb7dc0d8 Bug 970710 - crashtest. 2015-02-22 02:41:59 +00:00
Mats Palmgren
7bb4ebd804 Bug 969756 - Add a code comment and a test. r=cam 2015-02-22 02:41:58 +00:00
Abhishek Arya
94652fe96d Bug 961859 - crashtest. 2015-02-22 02:41:58 +00:00
Atte Kettunen
1240a0d52b Bug 947158 - crashtest. 2015-02-22 02:41:58 +00:00
Tyson Smith
eea1887f17 Bug 930381 - crashtest. 2015-02-22 02:41:58 +00:00
Jesse Ruderman
bee3226652 Bug 419352 - crashtest. 2015-02-22 02:41:58 +00:00
Ryan VanderMeulen
fd0387315e Merge inbound to m-c. a=merge 2015-02-21 16:40:27 -05:00
dominique vincent
ef75e137d9 Bug 1126989 - Detect not readable links to pop up the zoomed view. r=kats, r=mcomella 2015-02-07 12:17:12 +01:00
Nathan Froyd
096d149883 Bug 1135075 - move generation of nsStyleStructList.h to GENERATED_FILES; r=mshal
We can't completely eliminate the Makefile.in here, because we still
need the INSTALL_TARGETS bits to export the generated header, but we can
at least get rid of a lot of the Makefile.in.
2015-02-20 09:51:28 -05:00
Wes Kocher
88f34ca973 Backed out 8 changesets (bug 1129078, bug 1128722) for mochitest-5 failures
Backed out changeset f7eff607655a (bug 1128722)
Backed out changeset 801b3abc0de8 (bug 1128722)
Backed out changeset 275d27c2dba0 (bug 1129078)
Backed out changeset 9830ab1a2028 (bug 1129078)
Backed out changeset ce5cb876af9a (bug 1129078)
Backed out changeset c199ff86c77f (bug 1129078)
Backed out changeset 38b1b039f14d (bug 1129078)
Backed out changeset c8a99ee97313 (bug 1129078)
2015-02-20 12:24:25 -08:00
Markus Stange
8ada7e4943 Bug 1134311 - Get rid of the draw region and always only use the visible region. r=roc 2015-02-18 13:01:40 -05:00
Matt Woodrow
c2394710e5 Bug 1087956: Fix clipping of position:fixed layers inside displayports. r=roc 2015-02-20 10:55:28 -08:00
Mats Palmgren
7ffa9baa18 Bug 1128722 - part 2, tests. 2015-02-20 17:34:21 +00:00
Mats Palmgren
7c8decc2c6 Bug 1128722 - part 1, Call SetDirection as soon as we decide it needs to change. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren
96e5bf231f Bug 1129078 - part 6, Test suite for ordinary multi-range selections (non-generated ranges). 2015-02-20 17:34:21 +00:00
Mats Palmgren
0a533f22ed Bug 1129078 - part 5, Test suite for multi-range selections involving user-select:none.
--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/base/tests/Ahem.ttf
2015-02-20 17:34:21 +00:00
Mats Palmgren
fc4bb2216e Bug 1129078 - part 4, Add AutoPrepareFocusRange stack objects on paths to TakeFocus that sets up mAnchorFocusRange (and possibly removes mIsGenerated ranges) based on what operation the user is performing. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren
a895b6ecaf Bug 1129078 - part 3, Add a mIsGenerated bit to ranges that ExcludeNonSelectableNodes created due to user-select:none. Also, return the index to the range we want to be the new mAnchorFocusRange, based on the Selection direction. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren
da07886215 Bug 1129078 - part 2, Refactor nsFrameSelection::MoveCaret slightly. r=smaug 2015-02-20 17:34:21 +00:00
Mats Palmgren
c4f38570ce Bug 1129078 - part 1, Remove the chunk that bug 739396 added to Selection::Extend. r=smaug 2015-02-20 17:34:21 +00:00
Jonathan Kew
09e06bd652 Bug 1131013 followup - make the vertical-bidi reftest more robust across platform/font differences. r=smontagu
DONTBUILD since this test directory is not yet enabled.
2015-02-20 09:52:16 +00:00
Bill McCloskey
ceab1ef58e Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
Timothy Nikkel
adf5931715 Bug 1132371. Allow opacity items that only contain one item that paints (and others that don't) to flatten away as well. r=mattwoodrow
The optimization that allows opacity items that only contain one item (which can fold the opacity into it's own drawing) to flatten away will never apply when we have layer event region items. This is because opacity generates a stacking context and we always push a new layer event regions item for a stacking context. So if we want to keep this optimization we need to extend to to at least two items. Layer event regions items have empty bounds, which allows the non-overlapping test to pass for layer event region items. Although it will work with any non-overlapping items.
2015-02-19 19:04:09 -06:00
Xidorn Quan
a5435b8759 Bug 1134783 - Fix ruby-align problem on annotation when it has different align with its base. r=roc
--HG--
extra : source : 01382cc28e956490cb6b69d430ad1ac12c7a27b2
2015-02-20 13:45:49 +13:00
Xidorn Quan
016af04e89 Bug 1134667 - Check length of text run before checking line break in reflow of ruby base container. r=jfkthame
--HG--
extra : source : a79687b00c94ffc33eb74b291a1a1e8fe339edc5
2015-02-20 13:43:35 +13:00
Jeremy Chen
d78ba333be Bug 1131948 - Part 3: Test caret visibility in multi-range text. r=dburns 2015-02-19 07:18:00 -05:00
Jeremy Chen
b1bfdeff8c Bug 1131948 - Part 2: Separate multiple line test cases from test_selectioncarets.html. r=dburns 2015-02-19 07:14:00 -05:00
Jeremy Chen
a95f54063b Bug 1131948 - Part 1: Add content non-editable marionette tests. r=dburns 2015-02-19 07:06:00 -05:00
Xidorn Quan
35914b5175 Bug 1134069 part 2 - Move ruby inlinize blocks reftests to w3c-css/submitted. r=dbaron
--HG--
rename : layout/reftests/css-ruby/inlinize-blocks-1-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-001-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-1.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-001.html
rename : layout/reftests/css-ruby/inlinize-blocks-2-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-002-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-2.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-002.html
rename : layout/reftests/css-ruby/inlinize-blocks-3-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-003-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-3.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-003.html
rename : layout/reftests/css-ruby/inlinize-blocks-4-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-004-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-4.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-004.html
rename : layout/reftests/css-ruby/inlinize-blocks-5-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-005-ref.html
rename : layout/reftests/css-ruby/inlinize-blocks-5.html => layout/reftests/w3c-css/submitted/ruby/ruby-inlinize-blocks-005.html
extra : source : 0d58cf4097ca4fc3ef917a88202a128d156de97c
2015-02-19 22:54:05 +13:00
Xidorn Quan
9e984bddba Bug 1134069 part 1 - Move ruby autohiding reftests to w3c-css/submitted. r=dbaron
--HG--
rename : layout/reftests/css-ruby/autohiding-1-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-001-ref.html
rename : layout/reftests/css-ruby/autohiding-1.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-001.html
rename : layout/reftests/css-ruby/autohiding-2-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-002-ref.html
rename : layout/reftests/css-ruby/autohiding-2.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-002.html
rename : layout/reftests/css-ruby/autohiding-3-ref.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-003-ref.html
rename : layout/reftests/css-ruby/autohiding-3.html => layout/reftests/w3c-css/submitted/ruby/ruby-autohide-003.html
extra : source : 027c19d2d80767e22cdf281d69932714b8599545
2015-02-19 22:54:05 +13:00
Xidorn Quan
3ae70c4475 Bug 1134206 part 2 - Reset zeroEffectiveSpanBox when ruby adjust the line spacing. r=roc
--HG--
extra : source : 62abc49c38c25c3b0e00558b5eacc46c32470487
2015-02-19 22:39:19 +13:00
Xidorn Quan
5b4a640a88 Bug 1134206 part 1 - Remove mZeroEffectiveSpanBox flag from PerSpanData. r=roc
--HG--
extra : source : 63758b6ca39d69218c04b9ecb081a78ba2f87b2e
2015-02-19 22:39:19 +13:00
L. David Baron
b00c25a4fd Bug 1133439 patch 2 - Distinguish animation-only SMIL restyles based on eRestyle_StyleAttribute_Animations in RestyleManager::PostRestyleEvent. r=birtles 2015-02-19 21:22:05 +13:00
L. David Baron
3f721f200d Bug 1133439 patch 1 - Split eRestyle_StyleAttribute into eRestyle_StyleAttribute and eRestyle_StyleAttributeAnimations. r=birtles 2015-02-19 21:22:05 +13:00
Masayuki Nakano
98a0635a7e Bug 1119609 part.15 Fix new orange of test_menulist_keynav.xul because it's caused by timeout of incremental search in menu r=smaug+enn 2015-02-19 15:50:20 +09:00
Masayuki Nakano
019965a1f6 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Xidorn Quan
a45876ed84 No bug - Fix some meta data of submitted w3c-css reftests. DONTBUILD
--HG--
extra : source : 1125d4e8beb8c7d9281435be6078c2b83ce2f4ad
2015-02-22 00:48:05 +13:00
Xidorn Quan
ed7affec6f Bug 1134432 part 6 - Add reftest for intrinsic isize calculation of ruby. r=dbaron
--HG--
extra : source : e90d1efb6f1af343420e3d8727b9e9cce20c3254
2015-02-22 00:39:33 +13:00
Xidorn Quan
512d11bc20 Bug 1134432 part 5 - Fix line breaks for intrinsic min isize calculation of ruby base container. r=dbaron
--HG--
extra : source : 3b7aded59fa24bebcf3751120732567e032336dc
2015-02-22 00:39:33 +13:00
Xidorn Quan
d783de7692 Bug 1134432 part 4 - Move line break checking code to an independent method for reuse. r=dbaron
--HG--
extra : source : 3f1500fbe87002df02ccdf374ac61d3ebda52431
2015-02-22 00:39:33 +13:00
Xidorn Quan
0ef0398b3c Bug 1134432 part 3 - Move a function upwards for reuse. r=dbaron
--HG--
extra : source : 3a9753cdec03709d2620e6926093ba63dff61411
2015-02-22 00:39:33 +13:00
Xidorn Quan
e69dae05cd Bug 1134432 part 2 - Fix basic inline min/pref isize calculation of ruby frames. r=dbaron
--HG--
extra : source : 8a18d6dbbac5c01907664eb114338f3afc7353f5
2015-02-22 00:39:33 +13:00
Xidorn Quan
aa1900b93a Bug 1134432 part 1 - Suppress break inside ruby when calculating intrinsic isize. r=dbaron
Breaks during reflow have been suppressed in bug 1098272.

--HG--
extra : source : c1b5405bd585ac8e89b577dc59ef8bb2dfe8270e
2015-02-22 00:39:33 +13:00
Daniel Holbert
c5a272f4f7 Bug 1135181: Remove unnecessary 'nsresult' return value from nsCSSRuleProcessor::Startup(), since it always succeeds. r=heycam 2015-02-20 22:31:09 -08:00
Mats Palmgren
d73b668aa4 Bug 1128722 - part 2, tests. 2015-02-21 04:27:59 +00:00
Mats Palmgren
ef6dcefc77 Bug 1128722 - part 1, Call SetDirection as soon as we decide it needs to change. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren
ff536e5a24 Bug 1129078 - part 6, Test suite for ordinary multi-range selections (non-generated ranges). 2015-02-21 04:27:59 +00:00
Mats Palmgren
20b80ccdae Bug 1129078 - part 5, Test suite for multi-range selections involving user-select:none.
--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/base/tests/Ahem.ttf
2015-02-21 04:27:59 +00:00
Mats Palmgren
04fed0b7a5 Bug 1129078 - part 4, Add AutoPrepareFocusRange stack objects on paths to TakeFocus that sets up mAnchorFocusRange (and possibly removes mIsGenerated ranges) based on what operation the user is performing. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren
bd4f1d7ffe Bug 1129078 - part 3, Add a mIsGenerated bit to ranges that ExcludeNonSelectableNodes created due to user-select:none. Also, return the index to the range we want to be the new mAnchorFocusRange, based on the Selection direction. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren
47968fcda0 Bug 1129078 - part 2, Refactor nsFrameSelection::MoveCaret slightly. r=smaug 2015-02-21 04:27:59 +00:00
Mats Palmgren
fe6b8e52d4 Bug 1129078 - part 1, Remove the chunk that bug 739396 added to Selection::Extend. r=smaug 2015-02-21 04:27:59 +00:00
Cameron McCormack
40b914bc13 Bug 1134379 - Cancel old AnimationPlayer when redirecting a transition. r=birtles 2015-02-19 11:52:36 +11:00
L. David Baron
debfad6d05 Bug 1131812 patch 2 - Don't do ratio scaling when applying min/max-width/height for images without an intrinsic ratio. r=dholbert
This is because the rules in the table in section 10.4 of CSS 2.1 only
apply when width and height are auto (which we already tested) and when
the image has an intrinsic ratio (which we did not).

I had hoped to simplify the code further, but there are tricky ordering
dependencies that make it hard to do.  (In particular, in the branches
for one dimension auto and one non-auto, the non-auto dimension is
computed first.)
2015-02-19 13:49:52 +13:00
L. David Baron
0c32af1f51 Bug 1131812 patch 1 - Add reftests for sizing of replaced elements. r=dholbert 2015-02-19 13:49:52 +13:00
L. David Baron
71e196bb22 Bug 1133392 - Make handling of nsChangeHint_UpdateSubtreeOverflow iterate continuations, as all change hint handling needs to. r=mats
The test fails without the patch (missing underline on "an underline")
and passes with the patch (where the underline is present, and aligned
with the non-displaced text).
2015-02-19 13:49:52 +13:00
L. David Baron
e2185eac72 Bug 1133375 - Condition starting (or cancelling) CSS transitions on the combined duration, rather than delay and duration both being exactly 0. r=birtles
The two count mochitests fail without the patch (the value tests pass,
though they exist partly just to flush); all tests pass with the patch.
2015-02-19 13:49:51 +13:00
John Daggett
cd667506b0 Bug 1135567 - disable printing reftests that fail with downloadable font cache disabled. r=m_kato 2015-02-24 11:50:09 +09:00
John Daggett
034c374a09 Bug 1135567 - disable svg-glyph-mask.svg reftest due to crash. r=m_kato 2015-02-24 11:49:10 +09:00
Xidorn Quan
c84a17a9c6 Bug 1134667 - Add crashtest for this heap-buffer-overflow bug. r=dholbert
--HG--
extra : source : 67cb1e198aba3ee74bc0b2d4094ed47b80ad8d3d
2015-02-24 08:54:58 +11:00
Ryan VanderMeulen
fe6e64f262 Backed out changeset 45d4cc092de1 (bug 1134598) for WinXP reftest leaks. 2015-02-23 12:37:04 -05:00
Jonathan Kew
2574fff814 Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Carsten "Tomcat" Book
3507284f26 Backed out changeset e37d57033b13 (bug 1134598) for breaking reftests 2015-02-23 11:52:33 +01:00
Jonathan Kew
b2ce448be4 Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Nicholas Nethercote
6731149c55 Bug 1127201 (attempt 2, part 2) - Remove remaining uses of NS_ABORT_IF_FALSE. r=Waldo.
For the poisoning in nsPresArena.cpp I made it print out the details, because
that seems useful. For the other I simply removed the printing of the
unexpected value because that seems less important; we have countless
assertions like that elsewhere in the codebase that don't print the unexpected
value.

--HG--
extra : rebase_source : 34bb135d34c67db8c1db1742a53ea84e472083c6
2015-02-09 17:05:37 -08:00
Jonathan Kew
2947df1147 Bug 1105644 - Update reftests for improved handling of capitalized words. r=smontagu 2015-02-16 10:52:38 +00:00
Geoff Brown
855e467da1 Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
David Parks
31f835e4bf Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
Maksim Lebedev
4a533d3199 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Maksim Lebedev
0002fc671c Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-20 02:12:00 -05:00
Ryan VanderMeulen
821fa5dd2b Bug 1120410 - Adjust the fuzz for 413361-1.html a bit more.
--HG--
extra : rebase_source : a91324212529b65f177bc1454de505e1972602e6
2015-02-27 14:19:02 -05:00
Alessio Placitelli
deb826f3fb Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Carsten "Tomcat" Book
a4471f613c Backed out changeset a36c441817d8 (bug 1105644) 2015-02-18 14:48:11 +01:00
Jonathan Kew
d8f78481ae Bug 1105644 - Update reftests for improved handling of capitalized words. r=smontagu 2015-02-18 09:25:57 +00:00
Xidorn Quan
af2bbac201 Bug 1133697 part 3 - Make ruby text frame not continue text run. r=roc
--HG--
extra : source : b9d1f775565347a2bc506b163b91b5c522e0a366
2015-02-18 17:20:02 +13:00
Xidorn Quan
46ca97ae38 Bug 1133697 part 2 - Scan ruby texts instead of their container for building text run. r=roc
--HG--
extra : source : 2c39dfb432eea53185ed28c5790cf472bf09abf8
2015-02-18 17:20:02 +13:00
Xidorn Quan
860930550d Bug 1133697 part 1 - Remove aForFrame check in BuildTextRuns. r=roc
The only caller of BuildTextRuns passes |this| as |aForFrame|, which must
never be nullptr, hence it's safe to remove the checks there.

--HG--
extra : source : 140bf27dd11cb63815bb558e4b8dc37dfc918132
2015-02-18 17:20:02 +13:00
Alexandre Lissy
6a7427dbba Bug 1128986 - Update gaia_lock_screen.js. r=jgriffin 2015-02-03 10:49:00 -05:00
Jonathan Kew
80b4e23133 Bug 1082017 - Add writing-mode to prerequisites for line-height and font (shorthand) tests, because vertical vs horizontal mode may result in different line metrics. r=dbaron 2015-02-17 22:34:25 +00:00
Cameron McCormack
635933d3f8 Bug 1127198 - Part 4: Clear cached structs only after we have fully processed a restyle. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack
b561d4e5ae Bug 1127198 - Part 3: Crashtest. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack
a61236bccd Bug 1127198 - Part 2: Assert if we clear cached structs on a style context still used by a frame. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack
e25c935827 Bug 1127198 - Part 1: Add a DEBUG-only count of frames that use a style context. r=dbaron 2015-02-18 09:28:53 +11:00
Cameron McCormack
c11c432b20 Bug 1125391 - Re-enable bug 931668 optimizations. r=dbaron 2015-02-18 09:28:53 +11:00
Robert Longson
886bc07e58 Bug 1129854 - markers not oriented correctly for degenerate beziers. r=jwatt 2015-02-17 22:15:15 +00:00
David Anderson
a287bcbe50 Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
Ryan VanderMeulen
cc5672087d Merge m-c to inbound. a=merge 2015-02-17 14:27:23 -05:00
Ryan VanderMeulen
cd46520185 Merge inbound to m-c. a=merge 2015-02-17 14:24:51 -05:00
Gabriele Svelto
fafc282f1a Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05:00
Carsten "Tomcat" Book
08fafcb3e2 merge mozilla-inbound to mozilla-central a=merge 2015-02-16 15:59:56 +01:00
Ting-Yu Lin
565ac9a109 Bug 1096185 - Part 3 - Fix function redefinition in test_selectioncarets.py. r=automatedtester 2015-02-11 23:33:00 +01:00
Ting-Yu Lin
97d46f9e72 Bug 1096185 - Part 2 - Change hit test in tilt mode. r=automatedtester
Due to the caret images changed, we need to change this test
accordingly.

It's sufficient to perform hit tests only targeting the left edge of the
left tilted caret and the right edge of the right tilted caret. It also
reduces the running time of the tests.

It's sad that we cannot retrieve the CSS style of the carets from ua.css
directly. We need to copy them to the test file by hand.
2015-02-12 01:05:00 +01:00
Ting-Yu Lin
a14bf9a83b Bug 1096185 - Part 1 - Adjust caret size and shadow. r=roc
The size of the images is enlarged by 1.5x. The CSS rules in ua.css are
changed accordingly.
2015-02-11 19:55:00 +01:00
Morris Tseng
e205f3b0b8 Bug 1120750 - Part 5: Fix non-unified build bustage. 2015-02-12 21:05:50 -05:00
Ryan VanderMeulen
7f45ab0034 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-02-13 12:24:27 -05:00
Ian Wills
cd4b0dff75 Bug 1055933 - Fix Imagemaps Style in nsComputedDOMStyle.cpp. r=bz 2015-02-12 17:27:00 +01:00
L. David Baron
91d13e7a1d Back out changeset 6849669e696e (bug 1130645) for Android robocop failures.
The first failure in rc1 was:
TEST-UNEXPECTED-FAIL | testAxisLocking | PaintExpecter - blockUtilClear timeout
and the first failure in rc2 (API9) or rc3 (API11) was:
TEST-UNEXPECTED-FAIL | testPanCorrectness | PaintExpecter - blockUtilClear timeout
2015-02-16 18:22:56 +13:00
L. David Baron
52aec10e19 Bug 992077 patch 5 - Remove implementation of OverflowChangedTracker::CHILDREN_AND_PARENT_CHANGED. r=mats
This simplifies the API of the OverflowChangedTracker.
2015-02-16 16:34:29 +13:00
L. David Baron
a1282d848c Bug 992077 patch 4 - Stop using OverflowChangedTracker::CHILDREN_AND_PARENT_CHANGED for the overflow area updates dealing with absolutely positioned elements contained by relatively positioned table parts. r=mats
The old code here was also updating overflow areas on more frames than
needed.  (Using CHILDREN_CHANGED on positionedPart itself causes test
failures because positionedPart's overflow area doesn't change in the
overflow updating process, so no overflow change is propagated to the
parent; it's the parent that actually needs the update.)
2015-02-16 16:34:29 +13:00
L. David Baron
5a3d7683d5 Bug 992077 patch 3 - Stop using OverflowChangedTracker::CHILDREN_AND_PARENT_CHANGED for the UpdateOverflow and related hints. r=mats
This makes UpdateOverflow hint handling (which definitely did previously
need CHILDREN_AND_PARENT_CHANGED) and handling of related hints (which I
believe never actually needed CHILDREN_AND_PARENT_CHANGED) use the
CHILDREN_CHANGED hint in the overflow changed tracker, since use of
CHILDREN_AND_PARENT_CHANGED is no longer needed following the
introduction of the UpdateParentOverflow hint in patch 2.
2015-02-16 16:34:29 +13:00
L. David Baron
9cb83cbc59 Bug 992077 patch 2 - Use nsChangeHint_UpdateParentOverflow for changes to the top, right, bottom, and left properties. r=mats
These are the properties currently using UpdateOverflow where dynamic
changes of the properties do not affect the element's own overflow
areas, but instead affect the element's influence on its parent's
overflow areas.
2015-02-16 16:34:29 +13:00
L. David Baron
f6a6550205 Bug 992077 patch 1 - Add nsChangeHint_UpdateParentOverflow hint so that we can reduce unnecessary UpdateOverflow calls for top/right/bottom/left changes, and reduce unnecessary propagation to the parent for UpdateOverflow hints for changes that actually affect the element's overflow. r=mats
This cleans up after bug 984226, which introduced
CHILDREN_AND_PARENT_CHANGED to deal with the facts that:

 (1) most properties whose changes yield UpdateOverflow style hints
     imply that an element's overflow area may have changed, and
     propagation to ancestors can stop without updating the element's
     parent if the element's own overflow area didn't change.

 (2) a few properties whose changes yield UpdateOverflow style hints
     actually don't change the overflow area of the element on which the
     property changed, but instead change that element's overflow area
     on the element's parent.

Having two separate hints means that we don't have to do the extra work
of always updating the parent's overflow area (when the child's overflow
area didn't actually change) for the properties in category (1), and we
don't have to do extra work of updating the element's own overflow area
for properties in category (2).
2015-02-16 16:34:29 +13:00
David Anderson
c7b2d63a3a Make sure XUL windows have a top-level APZC. (bug 1130645, r=roc) 2015-02-12 17:49:10 -08:00
David Zbarsky
4da70f1fe2 Bug 1125040: Use LayoutDeviceIntPoint for mMouseDownRect r=botond 2015-02-15 13:52:28 -05:00
Mats Palmgren
6bf6bbe5d8 Bug 1133243 - Fix compilation problem hidden by unified sources. r=heycam 2015-02-15 18:45:48 +00:00
Wes Kocher
b0b2e34da7 Merge m-c to inbound a=merge 2015-02-13 18:11:59 -08:00
Robert Longson
e05352fc8e Bug 1130888 - SVG text on path fill color does not render properly when preceded by RTL text. r=heycam 2015-02-13 20:15:27 +00:00
Krzysztof Mioduszewski
d0cf1485e0 Bug 879861 - Part 5: Build support for SecureElement feature. r=gps 2015-02-11 10:09:00 -05:00
Andrew McCreight
31ba9aaed9 Bug 1131199, part 2 - Make PLDHashtInitEntry infallible. r=froydnj
Also, drop the unused table argument.
2015-02-11 09:46:40 -08:00
Ryan VanderMeulen
999b92a3a5 Backed out 12 changesets (bug 1107336) for Marionette harness bustage on a CLOSED TREE.
Backed out changeset 5075f0063d70 (bug 1107336)
Backed out changeset 9ef91d4fcf3b (bug 1107336)
Backed out changeset 995911340bf7 (bug 1107336)
Backed out changeset 4817d3cd3810 (bug 1107336)
Backed out changeset dad798a5e595 (bug 1107336)
Backed out changeset 4f60c437140c (bug 1107336)
Backed out changeset f92a5c6256fa (bug 1107336)
Backed out changeset 399a436c6e5f (bug 1107336)
Backed out changeset 0d04801bb2f0 (bug 1107336)
Backed out changeset 60d9d4d20971 (bug 1107336)
Backed out changeset 9c4b171c23be (bug 1107336)
Backed out changeset a07bb95eb209 (bug 1107336)

--HG--
rename : testing/marionette/driver/marionette_driver/application_cache.py => testing/marionette/client/marionette/application_cache.py
rename : testing/marionette/driver/marionette_driver/by.py => testing/marionette/client/marionette/by.py
rename : testing/marionette/driver/marionette_driver/date_time_value.py => testing/marionette/client/marionette/date_time_value.py
rename : testing/marionette/driver/marionette_driver/decorators.py => testing/marionette/client/marionette/decorators.py
rename : testing/marionette/driver/marionette_driver/errors.py => testing/marionette/client/marionette/errors.py
rename : testing/marionette/driver/marionette_driver/expected.py => testing/marionette/client/marionette/expected.py
rename : testing/marionette/driver/marionette_driver/geckoinstance.py => testing/marionette/client/marionette/geckoinstance.py
rename : testing/marionette/driver/marionette_driver/gestures.py => testing/marionette/client/marionette/gestures.py
rename : testing/marionette/driver/marionette_driver/keys.py => testing/marionette/client/marionette/keys.py
rename : testing/marionette/driver/marionette_driver/marionette.py => testing/marionette/client/marionette/marionette.py
rename : testing/marionette/driver/marionette_driver/selection.py => testing/marionette/client/marionette/selection.py
rename : testing/marionette/driver/marionette_driver/wait.py => testing/marionette/client/marionette/wait.py
2015-02-11 12:15:22 -05:00
David Burns
0e1a4d2088 Bug 1107336: selection tests imports for marionette; r=jgriffin
--HG--
extra : rebase_source : b8d709390daaf3027e0ba6a933a915110cf299ca
extra : source : 5a2e085824ae4e61687730c89575c259fdaa9468
2015-01-09 21:42:06 +00:00
Jonathan Kew
1a2d11d466 Bug 1119475 followup - Add test files that were accidentally omitted when landing the patches above.
DONTBUILD because these tests are not yet enabled on trunk anyway.
2015-02-17 13:58:56 +00:00
Xidorn Quan
7a45cae684 No bug - Mark css-ruby/line-breaking-1 a known assertion for windows. r=dbaron
--HG--
extra : amend_source : bbb6a15a603bad14ae410db9a01ddc93fbb361b6
2015-02-18 00:52:10 +13:00
Xidorn Quan
c414b32e6d No bug - Fix fuzzy in reftest css-ruby/float-handling. CLOSED TREE 2015-02-17 21:24:08 +13:00
Xidorn Quan
c74b073155 Bug 1055676 part 5 - Reftests for ruby-align. r=roc
--HG--
extra : source : ba7069cb559ce1be1a8f8cbeb7412db280497019
2015-02-17 18:01:49 +13:00
Xidorn Quan
08163561ed Bug 1055676 part 4 - Expand ruby boxes in respect of ruby-align. r=roc
--HG--
extra : source : b10ac646968af93ea53d8006a5fc5ccbdc358f45
2015-02-17 18:01:49 +13:00
Xidorn Quan
2701e5f8de Bug 1055676 part 3 - Adjust justification gap assigning algorithm for ruby-align. r=roc
--HG--
extra : source : 875a16b52371b7a3fad4fb1447abbf4a65d877e4
2015-02-17 18:01:49 +13:00
Xidorn Quan
6622361f7b Bug 1055676 part 2 - Move inter-frame justification assignment to an independent function. r=roc
--HG--
extra : source : 8e0084f1fcc9daba3780cbef92b73d6234ad5180
2015-02-17 18:01:49 +13:00
Xidorn Quan
20d97976e8 Bug 1055676 part 1 - Parse and compute ruby-align property. r=heycam
--HG--
extra : source : 1045566a325c979c076a4c1fe490046734e408db
2015-02-17 18:01:49 +13:00
Kartikaya Gupta
829d36ca44 Bug 1131840 - Add an EventRegionsOverride flag to force an empty hit region. r=roc,botond 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
7fd26daa4a Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
Xidorn Quan
1f651d328a Bug 1132008 part 4 - Fix reftests which rely on the old rtc sizing method. r=dbaron
--HG--
extra : source : b856985e95d7bd2cf2f8f403e65511f44409f2a9
2015-02-17 14:25:18 +13:00
Xidorn Quan
c734dc18d4 Bug 1132008 part 3 - Remove unused code in nsLineLayout. r=dbaron
This code was originally introduced in bug 1055665 part 3.

--HG--
extra : source : a784dd2fe15b67f5e9f0ea380db1bfb6d65ad211
2015-02-17 14:25:18 +13:00
Xidorn Quan
63cd3802b6 Bug 1132008 part 2 - Sync bounds of <rt>s in line layout. r=dbaron
--HG--
extra : source : cd29b50ebcc6839c63acbaf9cab4893103967eda
2015-02-17 14:25:18 +13:00
Xidorn Quan
c914c4063c Bug 1132008 part 1 - Calculate bsize of rtc according to its children. r=dbaron
--HG--
extra : source : e07fd183c24ea7133faa62bc5837e6d30589f05e
2015-02-17 14:25:18 +13:00
Xidorn Quan
e1df1707b5 Bug 1133617 - Reftest Analyzer: Use process_log() directly instead of log_pasted() for log from url or param. r=dbaron DONTBUILD
--HG--
extra : source : feda36730b72911921c9806ca897c512a4d82e1f
2015-02-17 14:05:23 +13:00
Cameron McCormack
ef65737426 Bug 1131994 - Part 4: Don't fail test_value_computation.html on min-{block,inline}-size:calc(-1%). r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack
aa0740851b Bug 1131994 - Part 3: Fix bad invalid_values in property_database.js for max-{block,inline}-size. r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack
f701da6ef7 Bug 1131994 - Part 2: Fix logical axis and offset property computed value lookup in tests. r=dbaron 2015-02-17 11:36:36 +11:00
Cameron McCormack
972516292a Bug 1131994 - Part 1: Support border-block-{start,end} shorthands in Declaration::GetValue. r=dbaron 2015-02-17 11:36:36 +11:00
L. David Baron
43c2cd3af5 Bug 960465 patch 22 - Remove implementation of nsRestyleHint_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:06 +13:00
L. David Baron
8c28244fab Bug 960465 patch 21 - Replace one use of nsRestyleHint_ChangeAnimationPhase with nsRestyleHint_AllHintsWithAnimations so that we can remove the rest. r=birtles 2015-02-17 11:15:06 +13:00
L. David Baron
04535c3f75 Bug 960465 patch 20 - Allow pseudo-elements for style attribute replacement in RuleNodeWithReplacement. r=birtles
I confirmed that we're actually using this codepath by manually testing
<input type=color>:  it works with the patch, but if I comment out the
call to nsHTMLCSSStyleSheet::PseudoElementRulesMatching from
nsStyleSet::RuleNodeWithReplacement, then the color swatch breaks, which
proves that we're depending on the code.

I think I included this in the queue because it is needed for patch 22,
although I've forgotten the full reasoning.
2015-02-17 11:15:05 +13:00
L. David Baron
82ec6020a1 Bug 960465 patch 19 - Remove users of eRestyle_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:05 +13:00
L. David Baron
6475962f36 Bug 960465 patch 18 - Remove aElementOrPseudoElement parameter to ReparentStyleContext (added in bug 1057129). r=birtles 2015-02-17 11:15:05 +13:00
L. David Baron
bc26f211f6 Bug 960465 patch 17 - Remove separate animation and non-animation phases of restyling. r=birtles
Note that this means that when we start transitions, we post restyles
that are processed during the current restyling operation, rather than
in a later phase.  This depends on patch 11, which makes the transition
manager skip style changes that it posts while starting transitions, to
ensure that this doesn't lead to an infinite loop.  This also depends on
patch 16, which only consumes restyle data for the primary frame, to
ensure that the animation restyles posted are processed properly.  It
also depends on patch 14, which makes us retain data on finished
transitions, to avoid triggering extra transitions on descendants when
both an ancestor and a descendant transition an inherited property, and
the descendant does so faster.

This fixes a known failure in layout/style/test/test_animations.html and
test_animations_omta.html (as visible in the patch).  I believe this is
because this patch changes us to compute keyframe values for animations
on top of a style context *with* animation data rather than one without,
which means what we're computing them on top of changes each time.  (The
purpose of patch 3 was to avoid this in the case where avoiding it
matters, i.e., implicit 0% and 100% keyframes.)
2015-02-17 11:15:05 +13:00
L. David Baron
7695d1eb3f Bug 960465 patch 16 - Only consume restyle data for the primary frame. r=birtles
This is needed for patch 17, which removes restyling phases, so that
when the transition manager posts a restyle to undo the covering done by
the cover rule, that restyle doesn't get consumed by an inner frame.
2015-02-17 11:15:04 +13:00
L. David Baron
8e1599d76b Bug 960465 patch 15 - Switch debugging user of IsProcessingAnimationOnlyStyleUpdate() to InAnimationOnlyStyleUpdate() so that I can remove the former. r=birtles 2015-02-17 11:15:04 +13:00
L. David Baron
824c76c900 Bug 960465 patch 14 - Retain finished transitions until the next style change or until removed from transition-property. r=birtles
Note that this increases memory use for completed transitions since we
don't throw away the data when the transitions complete.  That said,
this matches what we do for CSS Animations, and it's needed (once we
switch to the new rules for starting transitions) to maintain the
invariant that unrelated style changes don't trigger transitions.

The storage issues could be optimized in the future if it turns out to
be a problem, but I think that's unlikely, given that we'll never store
more than one for any element+property combination.
2015-02-17 11:15:04 +13:00
L. David Baron
0eb562a497 Bug 960465 patch 13 - Remove the cover rule code, which became unused in the previous patch. r=birtles 2015-02-17 11:15:04 +13:00
L. David Baron
fbd52317d1 Bug 960465 patch 12 - Instead of using the full style covered by the cover rule as the parent style for descendents when we've tried starting transitions, use the after-change style. r=birtles
This switches to the new rules for how transitions start on descendants
when also starting on ancestors.
2015-02-17 11:15:03 +13:00