Граф коммитов

46541 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 3dc492a257 Bug 1181765. Remove uses of mozRequestAnimationFrame from layout tests. r=bkelly 2015-07-14 15:28:58 -04:00
Michael Layzell 72b02534d8 Bug 1165263 - Part 4: Update reftest runners to support new moz_hosts schema, r=dbaron 2015-07-14 15:06:36 -04:00
Michael Layzell d9e4072585 Bug 817007 - Part 2: Update reftests due to removal of <file> magic host, r=ehsan 2015-07-14 15:06:32 -04:00
Alex Henrie 38880220ff Bug 941858 - Do not scale down elements passed to setDragImage. r=roc
--HG--
extra : rebase_source : de65096c15c4c4b22c8ae3a18143942e36adb3d9
2015-07-11 10:15:19 -06:00
Carsten "Tomcat" Book 4d0773212e merge mozilla-inbound to mozilla-central a=merge 2015-07-14 12:23:09 +02:00
Mark Capella 84709d90d5 Bug 1121515 - Error tapping empty listitem in a <select> box, r=roc, wesj 2015-07-13 20:15:47 -04:00
Botond Ballo 9eadc95b3f Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Ting-Yu Lin 0f7cdb8a2e Bug 1183085 - Correct a typo in FrameLayerBuilder.h; r=roc
--HG--
extra : commitid : GtPZikTdQJe
extra : rebase_source : 4d4962230ef5cb7c05d1d24ad8bba6cd852a4e9f
2015-07-13 21:44:11 +08:00
Ting-Yu Lin 4517e0f01c Bug 1183085 - Update description for nsDisplayList methods; r=roc
AppendNewToTop and AppendNewToBottom do not return
NS_ERROR_OUT_OF_MEMORY now.

--HG--
extra : commitid : 1w49sx2aF6k
extra : rebase_source : b992c3c9733dd8236aafe9e03c69a6dbe68946f9
2015-07-13 21:44:11 +08:00
Ting-Yu Lin ee58dd8b5f Bug 1183085 - Correct argument name for BuildContainerLayerFor; r=roc
--HG--
extra : commitid : 76wnnET4HQx
extra : rebase_source : bd2cbf256cd3286db66685b01baca6af87420eb3
2015-07-13 21:44:11 +08:00
Ting-Yu Lin a74415002c Bug 1183085 - Correct the name for nsDisplayItem; r=roc
--HG--
extra : commitid : CDookJ6mja8
extra : rebase_source : b3fdef67d383e669053687bf7df3bad2efeb27ad
2015-07-13 21:44:11 +08:00
Cameron McCormack c896fb268a Bug 1182964 - Replace use of nsTHashtable::EnumerateEntries with nsTHashtable::Iterator in layout/{style,svg}/. r=njn 2015-07-14 10:13:32 +10:00
Boris Zbarsky 786a11f445 Bug 1183896. Don't assume that relatively positioned table cells actually have positioned offsets computed, because in the case of position:sticky they don't. r=dholbert 2015-07-16 17:53:52 -04:00
Wes Kocher ab4dcf759a Merge m-c to fx-team, a=merge 2015-07-15 16:44:38 -07:00
Florian Quèze 1b4b660dd8 Bug 1184045 - Enable region specific search defaults, r=markh. 2015-07-15 21:17:35 +02:00
Jonathan Kew 68793c3765 Bug 1131451 followup - Remove one more bidi-in-vertical-mode hack that is no longer required. r=dholbert 2015-07-16 21:04:06 +01:00
Frédéric Wang 729b7b3747 Bug 1177765 - Make nsIMathMLFrame expose the fence and separator properties of operators. r=karlt 2015-07-16 05:41:00 -04:00
Michael Layzell 5f6646bf5e Bug 1165263 - Part 4: Update reftest runners to support new moz_hosts schema, r=dbaron 2015-07-16 14:49:57 -04:00
Michael Layzell 54c96b6816 Bug 817007 - Part 2: Update reftests due to removal of <file> magic host, r=ehsan 2015-07-16 14:49:49 -04:00
Andrew Halberstadt 2be5ff0c10 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
Victor Porof 8f1e61795d Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrew Comminos 30dab5df6c Bug 1182632 - Fuzz GTK3 widget reftests that composite differently. r=mstange 2015-07-10 14:11:00 -04:00
Neil Deakin bf46cf123d Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
Neil Deakin 8e50272316 Bug 1177000, only consider popups of the same type when determining whether a popup shouldn't reopen, this allows dropdown buttons in popup to reopen properly, r=neil 2015-07-13 06:07:49 -04:00
Birunthan Mohanathas 0a94911232 Bug 1167418 - Follow-up: Fix bustage 2015-07-12 23:46:04 -07:00
Birunthan Mohanathas 12630feebd Bug 1167418 - Check AppendElement call in MediaQueryList. r=heycam
This preemptively silences an unused result warning.
2015-07-12 23:19:12 -07:00
Birunthan Mohanathas 4b68fd3eeb Bug 1167418 - Use nsTArray instead of FallibleTArray in MediaQueryList. r=heycam
We already use the mozilla::fallible parameter when we want fallibility so
this doesn't actually change anything.
2015-07-12 23:19:12 -07:00
Michael Layzell 976a3a695b Bug 1182744 - Make MaskLayerImageKey::mLayerCount and its mutators private. r=dholbert 2015-07-12 21:13:42 -07:00
Michael Layzell 155069d388 Bug 1073219 - Use a simple RAII struct instead of nsRefPtr to manage mLayerCount for MaskLayerImageKey. r=dholbert 2015-07-12 21:09:57 -07:00
Timothy Nikkel 85d58a7d97 Bug 1176156. Make sure images are asked to decode if we are drawing the alt feedback instead of the image. r=seth
The Draw() call on the image would normally kick off decoding, but we don't do that if we are drawing the alt feedback instead.
2015-07-12 19:10:07 -05:00
Xidorn Quan 33c1455032 Bug 1181890 - Center children of ruby content frame if necessary after the bidi reposition. r=jfkthame
--HG--
extra : source : db370ccfe5334eae5c4397a8ababab12f0794099
2015-07-13 09:32:15 +10:00
Xidorn Quan d441030372 Bug 1179939 - Avoid crash if we destroy the pres context during flushing style or layout. r=roc
--HG--
extra : source : 07bd43449a372800137d3e82ff1064196e23ea70
2015-07-13 09:32:04 +10:00
Andrew Comminos 0daec1f639 Bug 1174248 - Apply RTL resizer failure only to GTK2. r=karlt 2015-07-09 10:15:00 +02:00
Michael Layzell b8f6b461c9 Bug 1181323 - Move nsSVGRenderingObserver's isupports/refcounting decl to subclasses, since one subclass (nsSVGFilterReference) already has its own redundant copy of the decl. r=dholbert
--HG--
extra : rebase_source : 25559d56eeab9249fcbf5112bb4b578bd9e96eb3
2015-07-09 20:32:00 +02:00
Andrea Marchesini db14826639 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book c07e36b612 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Andrea Marchesini 3050bc370c Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan f23d866f51 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)

--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini bbb0a11f31 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Jonathan Kew e084d68099 Bug 1182160 - part 2 - Enable vertical writing-mode portion of ua-style-sheet-* tests involving tables. r=heycam 2015-07-10 10:57:00 +01:00
Jonathan Kew 858787cb30 Bug 1182160 - part 1 - Enable vertical writing-mode portion of ua-style-sheet-input-number testcase. r=heycam 2015-07-10 10:56:58 +01:00
Hiroyuki Ikezoe 56a826cd0a Bug 1181905 - Animation::IsPlaying should check playbackRate != 0 to stop playing on compositor animation. r=bbirtles 2015-07-09 20:54:00 +02:00
Wilmer Paulino 381dd720a9 Bug 1081362 - Change nsStyleBasicShape pointer to an nsRefPtr, to avoid leak in unexpected case. r=dholbert 2015-07-09 10:56:31 -04:00
Wes Kocher e09f38deeb Merge m-c to inbound, a=merge 2015-07-09 18:06:22 -07:00
Wes Kocher 2c7068c994 Merge inbound to central, a=merge 2015-07-09 18:01:25 -07:00
Jonathan Kew cf4ecafdcf Bug 1175094 - Include borderPadding in the combobox's containerWidth, so that dropdown arrow is positioned correctly in RTL. r=smontagu 2015-07-09 19:50:30 +01:00
Jonathan Kew e4abf3e07a Bug 1182008 - Fix inconsistencies between testcases and reference files in (currently-failing) vertical float-in-rtl reftests. r=smontagu 2015-07-09 19:50:30 +01:00
Ryan VanderMeulen f416bf7777 Merge m-c to fx-team. a=merge 2015-07-09 13:53:46 -04:00
Timothy Nikkel 4e55eafd08 Bug 1176081. Add a pref to control drawing of the image loading place holder icon and border, and disable it. r=seth
The loading icon and border is a little too intrusive.
2015-07-09 19:13:31 -05:00
Andrew Comminos 80e2ee982d Bug 1180234 - Fuzz box-shadow bounds reftest when using GTK. r=mstange
--HG--
extra : rebase_source : ccad7e2fd6ab0fe3f94abd17e323cec300c32ef6
2015-07-08 14:06:00 +02:00
Tim Taubert 90b163c879 Bug 834830 - Add nsISelectionController.SELECTION_URLSTRIKEOUT to enable striking out parts of the URL in the URL bar r=roc 2015-07-08 15:45:21 +02:00
Benoit Girard 31cb6e3f30 Bug 1103106 - Change will-change to be first-come, first-served. r=roc
--HG--
extra : transplant_source : %1E%93%D4%3A%9C%BD%AE%3EI%C1C%A6%E5%E6%E7E2%1C%EE%EF
2015-07-06 16:32:53 -04:00
Kyle 5b8548c41e Bug 1178971 - Added function to draw dashed table borders to replace loop currently used to individually draw each dash. r=mstange
--HG--
extra : rebase_source : cd89c11cbf33b21487e5196326faacbc78895257
extra : histedit_source : ae2dccf178acf4968157ee251a30d7832706cd0e
2015-07-03 15:22:22 -04:00
Kyle 4b077fd12e Bug 1178971 - Changed line snapping behaviour depending on even/odd-ness of stroke width. r=mstange
--HG--
extra : rebase_source : bddeb31d488b74337889a874f7f60b47bf65ed2a
extra : histedit_source : 0dee20bd92d1f656bd8b97d06acf6b99febc7a02
2015-07-07 14:56:23 -04:00
Xidorn Quan 7e8beb711d Bug 1180443 - Consider whitespace collapse when calculating intrinsic isize of ruby. r=dbaron
--HG--
extra : source : f3bc6f334e57602ee8be8d9fd32f87c3d0af7db3
2015-07-09 16:05:26 +10:00
Julien Pagès addba42d69 Bug 1091274 - Move leak log functions out of automationutils and into mozbase. r=jgriffin 2015-07-03 07:04:22 +02:00
Cameron McCormack 9835a50961 Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron 2015-07-08 15:57:31 +10:00
Jonathan Kew 73a500479f Bug 1177690 - part 3 - Reftests for bevelled corners on collapsed table border. r=dholbert 2015-07-08 09:07:52 +01:00
Jonathan Kew f851061a41 Bug 1177690 - part 2 - Tidy up the use of DrawTableBorderSegment similarly in BCInlineDirSeg::Paint. r=dholbert 2015-07-08 09:07:52 +01:00
Jonathan Kew 83ad3b3e8e Bug 1177690 - part 1 - Bevel the correct ends of horizontal collapsed-border segments in vertical-rl writing mode. r=dholbert 2015-07-08 09:07:52 +01:00
Jonathan Kew 2d07dec2df Bug 1177690 - part 0 - Tidy up some erratic whitespace. r=dholbert 2015-07-08 09:07:52 +01:00
Carsten "Tomcat" Book f5a2bf64b3 Backed out changeset 42e80a07acd6 (bug 1177563) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : 4a68bf83cc2939f899b0c6f92efa58e3d5aab6a2
2015-07-08 09:44:16 +02:00
Karl Tomlinson 35bc476ed2 Bug 888164 - additional logging to debug bug 888164. r=karlt
--HG--
extra : rebase_source : 9c9b4155890a756819980b3e4ec978f63488c4bf
2015-07-08 14:39:48 +12:00
Cameron McCormack dc7071d1b8 Bug 1163257 - Only fail test_bug1160724.xul if we get a console warning about parsing 'transform'. r=dbaron 2015-07-08 16:53:45 +10:00
Cameron McCormack 6170b6835d Bug 1099448 - Don't accept box properties with invalid calc() or rgb() etc. function values. r=dbaron 2015-07-08 16:28:03 +10:00
Cameron McCormack f086e12dcb Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron
--HG--
extra : rebase_source : 119e78e4798a8044531f6fa288be7a0fc3ce9e43
2015-07-08 15:57:31 +10:00
Nicholas Nethercote f976bf5495 Bug 1179071 - Merge RemovingIterator into Iterator. r=froydnj.
The original motivation for the Iterator/RemovingIterator split was that
PLDHashTable Checker class would treat them differently. But that didn't end up
happening (see bug 1131308). So this patch merges them. This is a small code
size win now but it will become bigger when I add iterators to nsTHashTable and
nsBaseHashtable.

The only complication is that PLDHashTable::Iter() is now non-const, which is
a problem if you use it in a const method. So I added PLDHashTable::ConstIter()
which is used in just two places. It's a bit of a hack -- effectively a
const_cast -- but I don't think it's too bad.
2015-07-06 22:02:26 -07:00
Cameron McCormack 0cfecb2513 Bug 1118103 - Swap the aliasing direction of -moz-margin-start <-> margin-inline-start etc. r=dbaron 2015-07-03 12:22:56 +10:00
Masatoshi Kimura 6c8654865c Bug 1176496 - Drop support for -moz-prefixed gradients. r=dbaron 2015-07-10 00:57:50 +09:00
Markus Stange c0c566b251 Bug 1178382 - Ignore overflow: -moz-hidden-unscrollable on <select size=n> listboxes. r=roc
forms.css sets overflow: -moz-hidden-unscrollable on all select elements.
ApplyOverflowClipping in nsFrame.cpp applies overflow clips that are not managed by scroll frames.
nsCSSFrameConstructor::ConstructSelectFrame creates an nsListControlFrame for listbox select elements.
nsListControlFrame is an nsHTMLScrollFrame.
As a result, the clip as applied twice - once by the nsHTMLScrollFrame, and then again by ApplyOverflowClipping.
Adding an exception for nsListControlFrame to ShouldApplyOverflowClipping gets rid of the double clip.
But we still need to apply the clip when calculating the frame's visual overflow rect, so we add the
list box frame type to the list of special-cased frames in UnionBorderBoxes.

--HG--
extra : rebase_source : d334647f84e5ebda2e7121c772e3b1ecec0d23a4
2015-07-06 17:57:37 -04:00
Seth Fowler 8f92f8c5b0 Bug 1177587 - Detect use of <img> elements for animation and use sync decoding to reduce flicker. r=tn 2015-07-07 14:00:08 -07:00
Timothy Nikkel 4a1f20e40a Bug 1114526. Add reftest. 2015-07-07 13:22:29 -05:00
Ryan VanderMeulen de7e734bc6 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-07 13:38:10 -04:00
Ryan VanderMeulen 67ce0a43c0 Merge b2g-inbound to m-c. a=merge 2015-07-07 13:25:39 -04:00
Hiroyuki Ikezoe 8763061ac2 Bug 1175751 - Apply playback rate to compositor animations. r=bbirtles 2015-07-06 19:05:00 +02:00
Cervantes Yu 5dfad47413 Bug 1180644: Fix crashes after enabling OOP on B2GDroid. r=snorp 2015-07-06 19:18:20 +08:00
Brian Birtles 3c2d6db2da Bug 1179111 part 5 - Remove Name() methods; r=jwatt
--HG--
extra : source : 22cafa2fd162a3cbe9af7fd13a92fd82cd3a2315
2015-07-01 15:19:04 +09:00
Brian Birtles f6547354f0 Bug 1179111 part 2 - Implement CSSTransition.transitionProperty; r=smaug, r=jwatt
--HG--
rename : dom/animation/test/css-transitions/file_effect-name.html => dom/animation/test/css-transitions/file_csstransition-transitionproperty.html
rename : dom/animation/test/css-transitions/test_effect-name.html => dom/animation/test/css-transitions/test_csstransition-transitionproperty.html
extra : source : 4eb184faf92c77013d5f8ce8968cff837910b6cf
2015-07-01 12:27:48 +09:00
Brian Birtles 6d8dd99dd0 Bug 1179111 part 1 - Implement CSSAnimation.animationName; r=smaug, r=jwatt
--HG--
rename : dom/animation/test/css-animations/file_effect-name.html => dom/animation/test/css-animations/file_cssanimation-animationname.html
rename : dom/animation/test/css-animations/test_effect-name.html => dom/animation/test/css-animations/test_cssanimation-animationname.html
extra : source : 144276fd40a14a560991baa2f5e7c45ce0e25042
2015-07-01 12:15:42 +09:00
Brian Birtles cc59f02cc9 Bug 1178186 part 1 - Add CSSAnimation and CSSTransition interfaces; r=smaug
--HG--
extra : source : 1e1ccffd51b824fb6b229def4ddb7cb1d8889bb6
2015-06-30 10:00:39 +09:00
Timothy Nikkel d5e3df046e Bug 1114526 - Make sure that CSS image invalidation also notifies rendering observers even if the image isn't visible (because the rendering observers might be visible). r=mattwoodrow
There is no retained rendering data for non-visible images, so FrameLayerBuilder::IterateRetainedData never calls it's callback, the callback is the only thing that calls nsSVGEffects::InvalidateDirectRenderingObservers. We need to call nsSVGEffects::InvalidateDirectRenderingObservers always.
2015-06-25 13:46:00 -04:00
Simon Montagu 40033a0fc8 Bug 1180178: Add writing-mode and logical coordinates to frame dumps, r=jfkthame 2015-07-07 06:37:30 -07:00
Jonathan Kew e467a5abeb Bug 1181087 - part 2 - Remove the unused physical setter methods on logical-coordinate classes. r=smontagu 2015-07-07 14:20:09 +01:00
Jonathan Kew 07b0efa156 Bug 1181087 - part 1 - Eliminate the few callers of physical-coordinate setters on the logical-coordinate geometry classes. r=smontagu 2015-07-07 14:20:09 +01:00
Jonathan Kew 1316bd356f Bug 1180643 - Fix the SetY() method on LogicalPoint to update the correct field. r=smontagu 2015-07-07 14:20:09 +01:00
Carsten "Tomcat" Book 0a19d00b4f Backed out changeset 1e1ccffd51b8 (bug 1178186) for suspicion of causing bc2 test failures on OSX browser_bug427559.js 2015-07-07 14:22:33 +02:00
Carsten "Tomcat" Book e059e2e009 Backed out changeset 144276fd40a1 (bug 1179111)
--HG--
rename : dom/animation/test/css-animations/file_cssanimation-animationname.html => dom/animation/test/css-animations/file_effect-name.html
rename : dom/animation/test/css-animations/test_cssanimation-animationname.html => dom/animation/test/css-animations/test_effect-name.html
2015-07-07 14:21:46 +02:00
Carsten "Tomcat" Book e24e15fa2a Backed out changeset 4eb184faf92c (bug 1179111)
--HG--
rename : dom/animation/test/css-transitions/file_csstransition-transitionproperty.html => dom/animation/test/css-transitions/file_effect-name.html
rename : dom/animation/test/css-transitions/test_csstransition-transitionproperty.html => dom/animation/test/css-transitions/test_effect-name.html
2015-07-07 14:21:42 +02:00
Carsten "Tomcat" Book 297c2b6a58 Backed out changeset 22cafa2fd162 (bug 1179111) 2015-07-07 14:21:33 +02:00
Dragana Damjanovic 7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Cameron McCormack f0182854d3 Bug 1179675 - Make FontFaceSet.cpp compile as part of UNIFIED_SOURCES. r=jdaggett
--HG--
extra : rebase_source : acd9fa6faefc58b30ce8f9393451620b5e09f427
2015-07-02 00:45:00 +02:00
Robert O'Callahan eb45a4e195 Bug 1143575. Enable passing test. r=cpearce
--HG--
extra : commitid : EjNqB3dXW48
extra : rebase_source : df7bca7cb8eb2072467216e2bec571e6e0401a20
2015-07-06 17:19:49 +12:00
Robert O'Callahan 68954a66d8 Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.

--HG--
extra : commitid : 7atVkOgdEhG
extra : rebase_source : caaba6a708ed267368df44609fb047abde9c3ca1
2015-07-06 15:02:26 +12:00
Robert O'Callahan 15642eb711 Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical
--HG--
extra : commitid : B1BZNvKIQFf
extra : rebase_source : 927c9aa549a863aeba97c0e5a4cb6cf87194669a
2015-03-27 12:07:53 +13:00
Olli Pettay e99787e9bc Bug 1144418 - target events for text nodes in shadow dom to the nearest element in the flattened tree. r=wchen
--HG--
extra : rebase_source : 81de26ea74c76b33bd6727297957e42c4441fb43
2015-07-07 01:56:10 +03:00
Brian Birtles cd06229252 Bug 1179111 part 5 - Remove Name() methods; r=jwatt
--HG--
extra : commitid : JT0oaGODGja
extra : rebase_source : e0ff11f1f482599e5e2b7b0eac6cfbb71fd0e34b
2015-07-01 15:19:04 +09:00
Brian Birtles 9785afa349 Bug 1179111 part 2 - Implement CSSTransition.transitionProperty; r=smaug, r=jwatt
--HG--
rename : dom/animation/test/css-transitions/file_effect-name.html => dom/animation/test/css-transitions/file_csstransition-transitionproperty.html
rename : dom/animation/test/css-transitions/test_effect-name.html => dom/animation/test/css-transitions/test_csstransition-transitionproperty.html
extra : commitid : KNo4iwHLjhE
extra : rebase_source : 822b3be05ae47e34812d2df5e5ece11aa87d66a8
2015-07-01 12:27:48 +09:00
Brian Birtles 32835b13f5 Bug 1179111 part 1 - Implement CSSAnimation.animationName; r=smaug, r=jwatt
--HG--
rename : dom/animation/test/css-animations/file_effect-name.html => dom/animation/test/css-animations/file_cssanimation-animationname.html
rename : dom/animation/test/css-animations/test_effect-name.html => dom/animation/test/css-animations/test_cssanimation-animationname.html
extra : commitid : 76TxEcxKHRn
extra : rebase_source : d9a582b36112a18854cd291915329a6325754056
2015-07-01 12:15:42 +09:00
Brian Birtles e298fe6b44 Bug 1178186 part 1 - Add CSSAnimation and CSSTransition interfaces; r=smaug
--HG--
extra : commitid : K0U17zTMtAz
extra : rebase_source : e3b2dc3c503144763efe41ef71b9dc3793b3172f
2015-06-30 10:00:39 +09:00
Seth Fowler 11328ae7f5 Bug 1177604 - Stop delaying the load event for XUL images until the image is decoded. r=tn 2015-07-06 17:11:11 -07:00
Cameron McCormack 6ab982c427 Bug 1180083 - Avoid shadowing info() in test_property_database.html. r=dbaron 2015-07-07 09:50:53 +10:00
Jeff Muizelaar 17bc6ec388 Bug 1180966. Remove code that made no sense. r=mstange
Borders are rarely a single app unit tall and this code is
from long long ago (bug 41262)

--HG--
extra : rebase_source : 7e2d5a70649ddfb7ab6da8ea26efd6da85ba3f1f
2015-07-06 15:39:42 -04:00
Ehsan Akhgari 57a5698c57 Bug 1178745 follow-up: Mark overridden ComputeScrollClip() methods as override 2015-07-05 21:26:51 -04:00
Jonathan Kew e93a33b701 Bug 1180166 - Ensure all elements of tableBorderReset[] are properly initialized. r=dholbert 2015-07-05 20:27:53 +01:00
Phil Ringnalda e1b3bafbc3 Back out 0642a5722c59 (bug 1178382) for OS X reftest failures in 825999.html 2015-07-03 19:44:39 -07:00
Phil Ringnalda 900c693e30 Merge m-c to m-i 2015-07-03 19:15:06 -07:00
Phil Ringnalda 8c831d6371 Merge f-t to m-c, a=merge 2015-07-03 18:55:10 -07:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Kevin Wern c4068c3470 Bug 1120683 - Properly handle unapplying 3D projective transforms throughout APZ code. r=botond
Whenever the inverse of a 3D projective transform is applied to a point, only use the result if it has a positive w-coordinate.

When transforming by a matrix that we know should be 2D, assert to that effect.

Transformations of rectangles (as opposed to points) remain to be audited.

--HG--
extra : source : a183e31473fcca0d20e2331fdbd93b8cc0cee824
2015-07-03 15:06:26 -04:00
Markus Stange 4e59bfd404 Bug 1178382 - Ignore overflow: -moz-hidden-unscrollable on <select size=n> listboxes. r=roc
forms.css sets overflow: -moz-hidden-unscrollable on all select elements.
ApplyOverflowClipping in nsFrame.cpp applies overflow clips that are not managed by scroll frames.
nsCSSFrameConstructor::ConstructSelectFrame creates an nsListControlFrame for listbox select elements.
nsListControlFrame is an nsHTMLScrollFrame.
As a result, the clip as applied twice - once by the nsHTMLScrollFrame, and then again by ApplyOverflowClipping.
Adding an exception for nsListControlFrame to ShouldApplyOverflowClipping gets rid of the double clip.

--HG--
extra : amend_source : e6c8e548e31b3f1740f2c32a3aaff560f72d3427
2015-07-03 20:11:51 -04:00
Markus Stange 82596d83f7 Bug 1174959 - Increase android fuzzing for box-decoration-break-with-outset-box-shadow-1.html. r=BenWa
--HG--
extra : commitid : G21PRWckxFe
2015-07-03 16:02:05 -04:00
dominique vincent 6edc702182 Bug 1176453 - Do not increment the cluster counter for input elements with label. r=kats 2015-07-02 21:16:25 +02:00
Mark Capella 09193b0cda Bug 720050 - Update reftests to notice we pass now \o/, r=margaret 2015-07-03 02:08:06 -04:00
Markus Stange 69ce2d9220 Bug 1178745 - Respect scroll clips when flattening. r=roc
--HG--
extra : rebase_source : 40f024056c16347cf5796db799968ae35f9d6044
extra : histedit_source : e899d8fdd75fbe0833bf7c543fcd5bea011d9315
2015-07-02 17:04:14 -04:00
Markus Stange f6421a8bb7 Bug 1178745 - Move some code around. r=roc
--HG--
extra : rebase_source : 6f8745922fcaeeafdae0567ebf09ba4c6e94e254
extra : histedit_source : 100bb968f25534e0db9592f93b7fc593cfe9ccb2
2015-07-02 17:00:17 -04:00
Markus Stange c15627a716 Bug 1178745 - Add an nsIScrollableFrame API for getting the scroll clip. r=roc
--HG--
extra : rebase_source : 8f2b62b0ce23dcfece6984d89a774a96453ecb6e
extra : histedit_source : 586e99a17ecbb86dc243568cee1ebf1d24f37717
2015-07-02 16:42:10 -04:00
Markus Stange 472ba62ba8 Bug 990974 - Treat carets in async scrolled scrollframes differently from non-caret content. r=roc
This makes those caret display items not share a layer with any other display items, and uses a different async scroll frame clip for that layer.

--HG--
extra : rebase_source : f01cd0343ea3e672b1d696a4e4e8924d070cc23d
extra : histedit_source : 14cefb8c1c9834d02a095e52e463add8a56a8625
2015-07-02 15:02:34 -04:00
Markus Stange f259a1f135 Bug 990974 - Give PaintedLayerDataTree a generic way of restricting a PaintedLayer to exactly one display item. r=roc
--HG--
extra : rebase_source : fd6c029196ccbc5d1c59f327a17b637e12e47076
extra : histedit_source : 1d145fcd038e769dfe1498fe5e4c13247d409ef4
2015-07-01 22:08:20 -04:00
Markus Stange 77820dcba1 Bug 990974 - Add a flag to ComputeFrameMetrics so that a different clip can be returned for the caret and non-caret content. r=roc
--HG--
extra : rebase_source : a00358c3191c49c21ad2ad9b1e1a8d5d47285672
extra : histedit_source : 64aafcbf2d8fa32610fe8a30c916dbbe1b4f9283
2015-07-02 13:42:34 -04:00
Markus Stange 5fef3abfd9 Bug 990974 - When using display ports, don't clip the painted contents to the content box clip. r=roc
Store the content box clip on mAncestorClip, and store a different clip for the caret on mAncestorClipForCaret.
In a future patch, those clips will be selectively applied to the right layers.

--HG--
extra : rebase_source : e87e63a7ba5e963b7e3b22b5d93dc8c473a6a905
extra : histedit_source : b0e2193cf73222e51ed641e84ccaea8001e47324
2015-07-03 14:06:15 -04:00
Markus Stange a3ed6807fa Bug 990974 - Slightly change how the caret clip works. r=roc
Instead of looking at the caret's rect and determining whether we should clip it
to the real content box clip or not at all, we just always clip it, but to a
slightly bigger rect. In the cases that the caret was completely visible before,
it'll still be completely visible with this change. However, in the cases that we
did decide to clip before this patch, the result can be slightly different now:
Before this patch, whenever the caret was partially clipped, it was partially
clipped to the true content clip rect, but with this patch, the caret can be
partially clipped to the slightly larger clip rect.

--HG--
extra : rebase_source : 645afe6474f28a6e10abfeb63172fb480116a6f7
extra : histedit_source : 110328d864d45660335121c8cf7a5994dfea81b8
2015-07-03 14:02:09 -04:00
Julien Pagès 3af2d87e17 Bug 1091284 - Remove systemMemory, environment from automationutils. r=jgriffin
--HG--
extra : commitid : BHwyu2fUyFY
extra : rebase_source : 152496df202df4355268cb54987a587eddbe6ddc
2015-07-01 22:00:07 +02:00
Jonathan Kew 2d27acf85f Bug 1179285 - Give text-combine-upright its own pref, separate from writing-mode (vertical-text), so that we can keep it disabled until we actually have a layout implementation backing the CSS property. r=dbaron 2015-07-02 13:27:33 +01:00
Matt Woodrow deee4bd9e9 Bug 1177149 - Don't force an invalidation for transform origin changes. r=dbaron
--HG--
extra : rebase_source : a4d7d4bcdf73cc342855d257fc433963c1a31d23
2015-07-02 13:47:05 -04:00
Lee Salzman 55553857ba Bug 771367 - Refactor GetAnimationContent and GetAnimationCollection into CommonAnimationManager to hide atom and pseudo-element voodoo. r=bbirtles
--HG--
extra : rebase_source : 4dd7ccea70aeb26850055388e6a8ec1aa90e5347
2015-07-01 14:43:13 -04:00
Lee Salzman 317af90588 Bug 771367 - Update test_animations_omta.html to support testing pseudo-elements. r=dbaron
--HG--
extra : rebase_source : 659f839d709a4955d7351c1200e6dcbf527c0c51
2015-07-01 12:08:30 -04:00
Lee Salzman 1201a3f336 Bug 771367 - Support compositor animation for pseudo-elements. r=dbaron
--HG--
extra : rebase_source : 9276e835dbc75aaaab718a871ed4eaa7c8389867
2015-07-01 11:55:51 -04:00
Xidorn Quan e71f015f03 Bug 1168705 part 1 - Add mechanism for dispatching events with refresh driver tick. r=roc,khuey
--HG--
extra : source : 78c7ef9ca558520a50fa57492ad714922080459d
2015-07-02 19:12:31 +10:00
L. David Baron 2122830122 Bug 1176969 followup - Reorganize the timing of the reftest to make it more reliable.
I confirmed that animate-preserve3d-child.html still fails without the
original patch in the bug.

--HG--
extra : transplant_source : %2Bqq%E3%28f%BC%CF%E0%02%205.%14V%ABX%F1%87%1B
2015-07-01 23:00:25 -07:00
Xidorn Quan 5ce6110994 Bug 1175485 part 3 - Remove unused operators, typedefs and IteratorTraits. r=waldo
--HG--
extra : source : c1d3256e987c25935cc8bd321c413a1e0c7586b3
2015-07-02 13:31:07 +10:00
Xidorn Quan f15e97fc12 Bug 1175485 part 1 - Allow inner iterator of ReverseIterator deref to any type, and change IntegerIterator, EnumeratedRange, and nsFrameList::Iterator to return value type instead of a reference. r=roc,waldo
--HG--
extra : source : 1e932a13595a1d3862f171e7e7435422d890fbf0
2015-07-02 13:31:07 +10:00
Markus Stange 020bfc17f8 Bug 1148582 - Include the rounded clip of the async scrolled scroll frame in its mAncestorClip.
--HG--
extra : rebase_source : 77813db37ceb9abaa3c1c28f0eb98f8425f88fc0
extra : source : aff9ea7ce4fe01d4737aa6c6c059567cdbc6ba06
2015-06-22 01:38:23 -04:00
David Anderson 16262c38a8 Bug 1148582 - Recycle mask layers attached to FrameMetrics. r=mattwoodrow
--HG--
extra : rebase_source : f74699e5c40598ca8b7aa0163897c74524e32419
extra : source : be49031960aa935f2f0d6fa594251c9e1fa12536
2015-06-21 12:28:10 -04:00
David Anderson 55a0f8ee25 Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
--HG--
extra : rebase_source : 9bf7a73b14e40972b3a5824b2f1344b7770ab789
extra : source : 745366787bcae737c0aec908554db2a3ec288908
2015-06-21 12:27:31 -04:00
David Anderson 506195b315 Bug 1148582 - Factor mask layer creation out of ContainerState::SetupMaskLayer. r=mstange
--HG--
extra : rebase_source : 22768360af5dd3befaee32dd2b27bd5168b9ac04
extra : source : b40d5e2bc9d77bc84edf31ca0faba8adee9b07c2
2015-06-20 19:47:57 -04:00
Jonathan Kew 22e8319b8c Bug 1177076 followup - Some of the tests are a bit fuzzy on Android. 2015-07-03 14:57:18 +01:00
Jonathan Kew 10c35d8218 Bug 1177076 - patch 4 - Reftests for logical and physical caption-side placement. r=dholbert 2015-07-03 11:37:50 +01:00
Jonathan Kew 5c409d64bb Bug 1177076 patch 3 - Change the initial value of 'caption-side' from 'top' (physical) to 'block-start' (logical). r=heycam 2015-07-03 11:37:44 +01:00
Jonathan Kew ba52e7e4da Bug 1177076 patch 2.1 - Annotate vertical-table-specified-width-2.html because it will assert in FinishReflowChild() due to unconstrained containerWidth. r=dholbert 2015-07-03 11:37:40 +01:00
Jonathan Kew a5d7c41309 Bug 1177076 patch 2 - Convert nsTableOuterFrame to work with logical coordinates. r=dholbert 2015-07-03 11:37:33 +01:00
Jonathan Kew 4ebe732ab7 Bug 1177076 patch 1 - Add logical values for the caption-side property (though not yet handled by layout code). r=heycam 2015-07-03 11:37:25 +01:00
Cameron McCormack e5fd8052c4 Bug 1179078 - Recover from parse errors inside image values in border-image properly. r=dholbert 2015-07-01 16:42:31 +10:00
L. David Baron fc7277702f Bug 1176969 followup - Mark test as random for now until I have a chance to rewrite it. 2015-06-30 22:34:16 -07:00
Jan Gerber c186adf8ce Bug 1178215 - update update.py for new libvpx r=rillian
libvpx dropped vpx_mem_set_functions,
only use it if an external libvpx
is used and still has it.

update update.py
add vpx_dsp_rtcd.h
rebase disable_pthread_on_mingw.patch
add vp9_filter_restore_aligment.patch
drop msvc2015.patch
2015-06-29 23:06:04 +02:00
Markus Stange f1b62506d9 Back out bug 1148582 for static analysis bustage. 2015-07-01 01:20:59 -04:00
Markus Stange 3ae4a5d71f Bug 1148582 - Include the rounded clip of the async scrolled scroll frame in its mAncestorClip. 2015-06-22 01:38:23 -04:00
David Anderson 833a90534d Bug 1148582 - Recycle mask layers attached to FrameMetrics. r=mattwoodrow 2015-06-21 12:28:10 -04:00
David Anderson c29b4c6dfa Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
David Anderson 82c9790c78 Bug 1148582 - Factor mask layer creation out of ContainerState::SetupMaskLayer. r=mstange 2015-06-20 19:47:57 -04:00
L. David Baron 96d67742c7 Bug 1176969 followup - Increase error amounts for intermittent fuzzy-if(cocoaWidget). 2015-06-30 21:35:30 -07:00
Jan de Mooij 2c2b7af49c Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
L. David Baron a5a8af226c Bug 1176969 followup - Annotate new reftests as intermittently fuzzy on Mac.
--HG--
extra : rebase_source : 24444f90ceaf97286ae2db8617040adcfc9edb30
2015-06-30 15:34:23 -07:00
Ryan VanderMeulen 2777e1cf4a No bug - Add more fuzz to 3 tests on Android.
CLOSED TREE
2015-06-30 16:39:17 -04:00
Maksim Lebedev 0424a6662e Bug 1151152 - Change behavior when pointer is dragged out of the document. r=smaug
--HG--
extra : rebase_source : b5fd5840d91bbc064c22476ca54349221be26955
extra : source : 9b51e066a4e6d912ddc7fa4a1f65633bae9beebf
2015-06-15 10:27:00 -04:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Kartikaya Gupta e2ee7534b5 Bug 1178842 - Fix unified build for nsDisplayList.cpp when a new file is added to layout/base. r=mstange 2015-06-30 14:49:03 -04:00
Kartikaya Gupta a1c0e2c5c3 Bug 1178833 - Fix for unified builds when a new file is added to layout/base. r=mstange 2015-06-30 14:49:03 -04:00
L. David Baron 38a633181f Bug 1176969 - Disable OMT animation for any frame in a preserve-3d scene rather than only frames whose parent and child are in a preserve-3d scene. r=mattwoodrow
frame->Preserves3D() is whether the frame's parent has transform-style:
preserve-3d, which means that the frame is part of the same 3-D scene as
its parent.  frame->Preserves3DChildren() is whether the frame itself
has transform-style: preserve-3d, which means that the frame is part of
the same 3-D scene as its children.

Neither of these are valid cases for doing off-main-thread (OMT)
animation because all of the layers in a preserve-3d scene are currently
siblings of each other, rather than preserving ancestor/descendant
relationships.  This means that it's not valid to animate transform of
the parent on the compositor because the compositor animation won't
update any of its children that have layers.  Likewise, it's not valid
to animate transform of the child on the compositor because the code
that sends transform information to the compositor doesn't handle the
accumulation of transforms needed to get the "right" transform for the
child (i.e., with the transforms of its ancestors up to the top of the
3-D scene merged in).

This means that we do OMT animation for slightly fewer cases with the
patch than we did without the patch.  This means it's pretty low risk in
terms of correctness, although there's a chance it might regress
performance on one of the (somewhat limited) set of cases where the
optimization was valid.  (Bug 779598 covers doing OMT animation for
preserve-3d cases, and depends on the work ongoing in bug 1097464.)

The animate-preserve3d-parent.html reftest doesn't fail without the
patch, since something seems to invalidate in the test; it was testing
the testcase that showed correct behavior when the mouse was moving, so
this isn't incredibly surprising (although that invalidation from mouse
movement is itself worth debugging).  The animate-preserve3d-child.html
test does fail without the patch, though.

(With an initial transform of none instead of the 30deg transform, both
tests also show an invalidation bug without the patch.)
2015-06-30 11:29:55 -07:00
Kartikaya Gupta 02166f70f9 Bug 1177651 - Add areas covered by MozMousePixelScroll listeners to the dispatch-to-content region. r=dvander 2015-06-30 06:43:08 -04:00
Kartikaya Gupta 26766c4f1e Bug 1178060 - Ensure that if there is a document-level apz-aware event listener on a subdocument, we build the nsDisplaySubdocument item to hold that information. r=tn 2015-06-30 06:43:07 -04:00
Tom Klein 9020fa5cde Bug 1178159 - Ignore stroke-linecap:"square" on circle and ellipse. r=longsonr 2015-06-29 20:19:00 +02:00
Michael Layzell 7a3f88beaa Bug 1167406 - Mark nsRootPresContext::RunWillPaintObservers::mPresContext as MOZ_NON_OWNING_REF. r=dbaron
--HG--
extra : rebase_source : 86a4d3a30240c7d00a0c65a66c968e66cb2ab5e8
2015-06-17 11:48:00 +02:00
Jonathan Kew 4f0102e602 Bug 1178250 - Don't call ConsiderChildOverflow until the child has been placed in the right location when reflowing a vertical-rl table. r=dholbert 2015-06-30 10:14:19 +01:00
L. David Baron e9742befac Bug 1122526 patch 4 - Use the nearest widget size as the maximum size for an animated layer, in case it's a popup larger than the toplevel window. r=roc 2015-06-29 16:46:17 -07:00
L. David Baron fdfacfe99e Bug 1122526 patch 3 - Correctly account for transform:none when finding maximum scale for a transform animation. r=roc
The patch works by not handling transform:none specially at all, which
will lead to a scale of 1 (instead of the current 0).

This is the patch that actually fixes the original problem reported in
bug 1122526.  This patch also fixes bug 1165196.
2015-06-29 16:46:17 -07:00
L. David Baron 0f46845bc4 Bug 1122526 patch 2 - Only do OMTA transform scale choosing for layers that are for transform display items. r=roc
This fixes the scaling choice when we have more than one layer for the
same element, e.g., because it animates both transform and opacity.
2015-06-29 16:46:16 -07:00
L. David Baron 1f96bf7014 Bug 1122526 patch 1 - Factor in the scale from ancestors when computing scale for layer with OMT animation of transform. r=roc 2015-06-29 16:46:16 -07:00
Daniel Holbert cb57b1ad8c Bug 1177925: Use range-based "for" loops for nsFrameList iteration, in various places in layout. r=tn 2015-06-29 13:02:21 -07:00
Ryan VanderMeulen 83b7f52ded Backed out changeset 9b51e066a4e6 (bug 1151152) for various pointerevent test failures. 2015-06-29 11:44:36 -04:00
Maksim Lebedev 4f1073592a Bug 1151152 - Change behavior when pointer is dragged out of the document. r=smaug
--HG--
extra : rebase_source : 0221301df72b72092091911b93604dc0c9373e93
2015-06-15 10:27:00 -04:00
Jonathan Kew 070c34dfa8 Bug 1165172 followup - Mark tests as fuzzy on OS X in addition to Windows. 2015-06-29 12:36:22 +01:00
Lee Salzman 4142e9be13 Bug 633097 - Fix jittering animated text by disallowing flattening into a container layer that has animated text. r=mwoodrow 2015-06-26 18:13:50 -04:00
Jonathan Kew e82df6e366 Bug 1165172 - Tests from Gérard Talbot for table row progression in vertical writing-modes. r=smontagu 2015-06-29 09:27:25 +01:00
Jonathan Kew 5c8a98c5b6 Bug 1165168 - Tests from Gérard Talbot for border-spacing in vertical writing-modes. r=smontagu 2015-06-29 09:24:39 +01:00
Simon Montagu eea8e28d88 Add fuzz to three reftests on Android. No bug. 2015-06-29 10:40:19 +03:00
Simon Montagu 3f24dbbfbb Bug 1178059: fix a pair of failing reftests from bug 1173958 by forcing a div to align like a td, r=jfkthame 2015-06-29 10:16:28 +03:00
Jonathan Kew b923a85dd4 Bug 1173958 followup - A few of the tests have a pixel of fuzz on B2G. no_r=orange 2015-06-28 07:30:44 -04:00
Jonathan Kew 3907cf90fa Bug 789788 - Revise the don't-use-document-fonts option so that it will prefer generics (as configured in prefs) but ignore the 'cursive' and 'fantasy' values, but may still use page-specified fonts if necessary for fallback (e.g. icon fonts). r=dbaron 2015-06-27 22:23:05 -07:00
Jonathan Kew 4adea587cc Bug 1178062 - Mark additional svg/*-conditions-* tests as random on Mulet. no_r=orange 2015-06-27 21:19:24 -07:00
Jonathan Kew f629a06d91 Bug 1178062 - Mark conditions-05.svg as random on Mulet. no_r=orange 2015-06-27 21:12:57 -07:00
Simon Montagu 4aacce208f Tests for bug 1173958. r=jfkthame 2015-06-26 08:13:12 -07:00
Simon Montagu fa16a00d09 Bug 1173958: whitespace and bracing changes to make FixedTableLayoutStrategy conform to local style, r=jfkthame 2015-06-26 09:03:12 -07:00
Simon Montagu dc5f8159fe Bug 1173958: convert FixedTableLayoutStrategy to logical coordinates, r=jfkthame 2015-06-26 08:58:22 -07:00
Jonathan Kew 6da0d4638a Bug 1157569 - Reftests for vertical-mode table with border-collapse. r=dholbert 2015-06-27 11:16:40 -07:00
Jonathan Kew 0cb8df0560 Bug 1157569 - Followup to address review nits (renamings, comment updates) from parts 13 and 14. 2015-06-27 11:16:18 -07:00
Jonathan Kew d22a7ebb8c Bug 1157569 - part 14 - Finish conversion of border-collapse code in nsTableFrame to logical coordinates. r=dholbert 2015-06-27 11:16:10 -07:00
Jonathan Kew f9a52f8a25 Bug 1157569 - part 13 - More conversion of physical to logical terminology in border-collapse calculations. r=dholbert 2015-06-27 11:16:03 -07:00
Daniel Holbert dcf322f0a1 Bug 1177927 followup: use . instead of -> to call method on nsFrameList, to fix compile error. 2015-06-27 03:30:36 -07:00
Daniel Holbert 3a2da5fce0 Bug 1177927: Use nsFrameList::GetLength() instead of manual iteration to count pages in nsPrintEngine. r=tn 2015-06-27 03:07:30 -07:00
Cameron McCormack 7dfb435bf7 Bug 1072102 - Part 2: Tests. r=jdaggett 2015-06-27 11:41:10 +10:00
Cameron McCormack 55dbc6f840 Bug 1072102 - Part 1: Implement FontFaceSet load and check. r=jdaggett,bzbarsky 2015-06-27 11:41:10 +10:00
Cameron McCormack 69b3f6b78a Bug 1163879 - Remove FontFaceSet::mUnavailableFontFaces. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack d6783fa6d1 Bug 1161413 - Part 7: Test Font Loading API in a display:none iframe. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack 5b21df1652 Bug 1161413 - Part 6: Update test assertion annotations. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack 42cdaef960 Bug 1161413 - Part 5: Cancel font loads on FontFaceSet destruction. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack e32a5afe7f Bug 1161413 - Part 4: Move FontFaceSet ownership from nsPresContext to nsIDocument. r=smaug 2015-06-27 11:39:54 +10:00
Cameron McCormack 26d865db92 Bug 1161413 - Part 3: Only reflow from the font face loader if we have a pres context. r=jdaggett 2015-06-27 11:39:54 +10:00