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

49726 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano 6181d95afb Bug 1256589 part.4 Move the implementation of PreventDefault() and add PreventDefaultBeforeDispatch() from dom::Event to WidgetEvent r=smaug
mDefaultPreventedByChrome is hacky. When PresShell handles Escape key events in fullscreen mode, it prevents default of every Escape key events and dispatch it only into chrome. After that, it check mDefaultPreventedByChrome if at least one call of preventDefault() occurred in chrome. Therefore, if we shouldn't set both mDefaultPreventedByChrome and mDefaultPreventedByContent to true before dispatching an event. This the reason why we need a special method, PreventDefaultBeforeDispatch() is needed for setting only mDefaultPrevented to true.

MozReview-Commit-ID: BPSq68GnWw6

--HG--
extra : rebase_source : f2f963afeba6994cc090efedebc29c0d9334c96d
extra : source : 1012dc095cc1b7236991a7befdbfbf174dc1c1af
2016-03-22 16:26:27 +09:00
Masayuki Nakano 2748ab1e88 Bug 1256589 part.3 Move the implementation of StopCrossProcessForwarding() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: KXeVxCJ05Mo

--HG--
extra : rebase_source : 2f8d49412e32eec4a0a8f599984d057637f491a1
extra : source : a68c4bb4878612d61425d87a47b4eca78f271240
2016-03-22 16:01:46 +09:00
Masayuki Nakano 963976b46d Bug 1154183 part.1 Move shortcut/access key candidate list creators from nsContentUtils to WidgetKeyboardEvent r=smaug
MozReview-Commit-ID: Ied6qEUc2Kz
2016-03-18 11:22:37 +09:00
Mats Palmgren 28c2af15f6 Bug 1258308 - Reftests. 2016-03-22 22:49:57 +01:00
Mats Palmgren c42a275582 Bug 1258308 - Lookup the frame (continuation) associated with aParentNode/aOffset instead of assuming it's always the primary frame (follow-up from bug 1237236). r=ehsan 2016-03-22 22:49:57 +01:00
Daniel Holbert 1c58c1673f Bug 1257661: Make the CSS parser accept "display:-webkit-inline-box" as an alias for "display:inline-flex". r=heycam
(We already map "display:-webkit-box" to "display:flex" in this way. This is just extending that existing support to cover the inline version.)

MozReview-Commit-ID: F7gH3QMSmn0

--HG--
extra : rebase_source : f97703f074ccdb5d97ad16c282be4d24c1fb0eff
2016-03-17 16:11:28 -07:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Markus Stange 04177e1aa2 Bug 1209100 - Back out bug 1165185 on inbound.
MozReview-Commit-ID: JqohyXNvjiU

--HG--
extra : rebase_source : c2165d279a6ca57a3439ebbfc081961369a42124
2016-03-21 16:16:52 -04:00
Geoff Brown 3c73a0f0ec Bug 1257948 - More Android test manifest cleanup; r=jmaher 2016-03-22 07:22:43 -06:00
Carsten "Tomcat" Book 5d83e31d04 merge mozilla-inbound to mozilla-central a=merge 2016-03-22 12:14:15 +01:00
Roman Lopez f069d11783 Bug 1255006 - Ensure the displayport rect takes priority over a suppressed-margins displayport. r=kats 2016-03-21 21:56:44 -04:00
Kartikaya Gupta 4d67824b9e Bug 1257491 - Ensure that if the peek-messages code modifies the displayport, we schedule a repaint. r=BenWa
MozReview-Commit-ID: Chg4JAopxT7
2016-03-21 17:32:49 -04:00
Nick Alexander e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Ting-Yu Lin 22224242ba Bug 1249556 - Implement toggling details by keyboard. r=smaug
The user can switch to the main <summary> by tab key, and toggle the
<details> by either 'space' key or 'enter' key.

'return' key is handled with 'keypress', and the 'space' key is handled
with 'keyup' like the HTMLInputElement.

MozReview-Commit-ID: HE6IduUGCpj

--HG--
extra : rebase_source : 34598d95f35bf6b5bd927457ee09e42eb6ec0a68
2016-03-19 20:37:09 +08:00
Ryan VanderMeulen a9e8ebe0a8 Bug 1254831 - Don't expect the test to pass on unaccelerated runs. 2016-03-18 23:13:41 -04:00
Seth Fowler 56dbbf45cc Bug 1257315 (Part 2) - Release old visible regions info when new info is available or a layers ID is no longer used. r=botond 2016-03-18 18:38:57 -07:00
Seth Fowler d8b3579dd9 Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Wes Kocher d19c0a23f3 Backed out 2 changesets (bug 1223736) for reftest failures in mask-layer-transform.html CLOSED TREE
Backed out changeset 1982db677df6 (bug 1223736)
Backed out changeset 5813dbb50356 (bug 1223736)

MozReview-Commit-ID: HrnSIGPovea
2016-03-18 16:44:09 -07:00
Wes Kocher 8d3fbe0177 Backed out 3 changesets (bug 1209273) because something from this push appears to have broken Windows mochitests CLOSED TREE
Backed out changeset 9c6650c7e237 (bug 1209273)
Backed out changeset fb8b3ab41c82 (bug 1209273)
Backed out changeset 6e2e6b0c7d8e (bug 1209273)

MozReview-Commit-ID: J9WSL2CjoGJ
2016-03-18 15:48:00 -07:00
Tobias Schneider 6aaedb0ef9 Bug 1209273 - Part 2: Force printing background if color-adjust: exact. r=dbaron
--HG--
extra : rebase_source : 04792cd32f613f9cd91fe3d132abd4023e1d83d3
2016-03-08 09:44:00 -05:00
Tobias Schneider efc1d13a5a Bug 1209273 - Part 1: Support for color-adjust CSS property. r=dbaron
--HG--
extra : rebase_source : f90e6beb86dd92456b569829078be734273e3beb
2016-03-10 10:51:00 -05:00
Matt Woodrow 793fb1224d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Sebastian Hengst 3fe374d601 Backed out changeset b40d8bae66f1 (bug 1254831) for failing modified tests. r=backout 2016-03-18 21:31:25 +01:00
Benoit Girard 65e8237702 Bug 1257369 - Suppress the DisplayPort when scrolling via nsSliderFrame. r=kats
MozReview-Commit-ID: 8I3UfWlkdPq

--HG--
extra : rebase_source : 25b496ff5f3be9187cb8727982eaa094f85a0d1f
2016-03-18 14:46:54 -04:00
Benoit Girard 3b9e88cb17 Bug 1256373 - Simplify mMaybeHitRegion. r=tnikkel
MozReview-Commit-ID: 1Px20e5EWRj

--HG--
extra : rebase_source : 231205ce5e501ba96ec38fedbb6503c73cec82bc
2016-03-16 15:27:19 -04:00
Jesse Ruderman 75d474c228 Bug 1233191 part 3 - crashtest. 2016-03-18 19:52:08 +01:00
Mats Palmgren dd08684969 Bug 1233191 part 2 - Remove anon flex item sanity checks that the frame constructor now does instead. r=dholbert 2016-03-18 19:52:08 +01:00
Mats Palmgren 62b5045e23 Bug 1233191 part 1 - Implement sanity checks on the flex/grid container child frame list. Remove the anon grid item sanity checks that the frame constructor now does instead. r=dholbert 2016-03-18 19:52:08 +01:00
Ryan VanderMeulen e093d8dae2 Revert bug 1252630 because it proved to be way more hassle than it's worth. 2016-03-18 14:21:12 -04:00
Ryan VanderMeulen dc7a3eb933 Bug 1254831 - Don't expect the test to pass on unaccelerated runs.
--HG--
extra : rebase_source : 17f183ca713bba7c2975ec52333b1098c8757699
2016-03-18 13:49:46 -04:00
Kyle Machulis 869a7a0a24 Bug 1171182 - Browser Zoom Query for NPAPI; r=bsmedberg r=jaas 2016-03-18 10:50:50 -07:00
Bas Schouten 847be1fa4d Bug 1251431 - Part 2: Do not apply the device transform when drawing to an already intermediate surface. r=jwatt
MozReview-Commit-ID: 5DCEvQJK3Us
2016-03-18 14:47:12 +01:00
Carsten "Tomcat" Book df1c1cc556 Backed out changeset ceb8532131fb (bug 1223736) for reftest failures
--HG--
extra : rebase_source : 9c5aaf093345f7bfff7f305ceabcd5f04a237da4
2016-03-18 09:58:39 +01:00
Matt Woodrow 66a2278a0a Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Xidorn Quan af785a12fd Bug 968761 - Treat nested calc() as plain parenthesis. r=dbaron
MozReview-Commit-ID: Lwd56FaaDWx

--HG--
extra : rebase_source : f57ac5695e6e06c568ff4cb54304a2fd5716fc41
2016-03-03 10:05:37 +08:00
Robert O'Callahan be8e355f36 Bug 1242172. Invalidate intrinsic ISizes that depend on viewport BSize when the viewport is resized. r=dbaron
MozReview-Commit-ID: INEHo7ghGyz
2016-02-29 18:49:34 +13:00
Matt Woodrow dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Kartikaya Gupta 8f157afb9e Bug 1256727 - Don't allow paint-skipping on pages with scroll-linked effects. r=mstange
MozReview-Commit-ID: I05EXDWOt6b
2016-03-17 15:43:17 -04:00
Mats Palmgren 734065f500 Bug 1237236 - Reftests to check caret position after collapsing a selection to the end of a line. 2016-03-17 17:27:56 +01:00
Mats Palmgren 1ef2b15815 Bug 1237236 - When collapsing the selection to the end of textframe that ends in a significant newline then set mHint to CARET_ASSOCIATE_AFTER so that the caret is rendered at the start of the next line if any. r=ehsan 2016-03-17 17:27:56 +01:00
Mats Palmgren 3128937295 Bug 1248371 - [css-grid] Require that each track has a definite min- or max-sizing function when the track list contains a repeat(auto-fill/fit) track. r=dholbert 2016-03-17 17:27:55 +01:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Geoff Brown fd1e09d12b Bug 1251013 - Update AndroidVersion annotations in test manifests - reftests; r=jmaher 2016-03-17 10:00:47 -06:00
Ryan VanderMeulen b52013801e Bug 1254831 - Annotate some mfrac reftests as passing on Win8 e10s. r=jkitch
--HG--
extra : rebase_source : c0c9609b5c2c23f5a6a7b891eb55dd39bf2abe2e
2016-03-17 09:25:21 -04:00
Jonathan Hao 7bee2c98a0 Bug 1235572 - Enforce SRI if content signature is enforced r=francois
* * *
[mq]: sri_fix

MozReview-Commit-ID: 8vY9J4j3Eog
* * *
[mq]: loadInfo

MozReview-Commit-ID: EZ8BUfCOXO6
* * *
[mq]: add-logs

MozReview-Commit-ID: 1jeyTq9nvlW

--HG--
extra : transplant_source : %8Dj%12f%16%F5%12%8E%FE%7C%02%274%2A%A0a%C8%CB2P
2016-03-16 11:13:26 +08:00
Cameron McCormack 7cc115e18c Bug 1256210 - Part 3: Remove agent sheet by the end of test_additional_sheets.html. r=dbaron 2016-03-17 13:17:10 +11:00
Cameron McCormack 3f7c51c2ae Bug 1256210 - Part 2: Convert test_additional_sheets.html and test_addSheets.html to mochitest-plain. r=dbaron
--HG--
rename : layout/style/test/chrome/additional_sheets_helper.html => layout/style/test/additional_sheets_helper.html
rename : layout/style/test/chrome/test_addSheet.html => layout/style/test/test_addSheet.html
rename : layout/style/test/chrome/test_additional_sheets.html => layout/style/test/test_additional_sheets.html
2016-03-17 13:17:10 +11:00
Cameron McCormack 69e11e6d9e Bug 1256210 - Part 1: Factor out getting of services in test_additional_sheets.html. r=dbaron
MozReview-Commit-ID: GuODc7fnYVj
2016-03-15 18:38:07 +11:00
Sotaro Ikeda 0a065a8dfa Bug 1245552 - Align MaskLayer surface to 4 r=mattwoodrow 2016-03-16 18:54:38 -07:00
Brian Birtles 38e9dfee9e Bug 1245260 - Ignore redundant calls to RestyleManager::IncrementAnimationGeneration; r=dbaron
While processing restyles and starting transitions, we may trigger
a call to EffectCompositor::UpdateCascadeResults which may, in turn, call
EffectCompositor::RequestRestyle with RestyleType::Layer, which ultimately
results in a call to RestyleManager::IncrementAnimationGeneration().

Typically, nsTransitionManager::StyleContextChanged compares the animation
generation on its collection with that of the restyle manager and uses this
to ignore the restyle that it generates. However, given the sequence of events
above, that check may no longer help since the restyle manager's animation
generation will be out of step. As a result,
nsTransitionManager::StyleContextChanged will fail to ignore a subsequent
and redundant restyle. With certain combinations of content, this can mean that
restyles are posted in such a manner than an infinite cycle of restyles ensues.

This patch causes RestyleManager to ignore calls to IncrementAnimationGeneration
when it is already processing restyles such that the animation generation is
only ever updated once per restyle. This makes the check for a matching
animation generation in nsTransitionManager::StyleContextChanged work as
expected, preventing us from generating needless transitions which can produce
this endless loop.

MozReview-Commit-ID: 9HYDrknKPAI

--HG--
extra : rebase_source : f7d9f251d20805fcb4d0d9be04d4343336e69836
2016-03-16 15:05:10 +08:00
Mike Hommey 0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
L. David Baron fef3d844c0 Bug 1256745 - Cancel the DidPaint timer in SetShell(nullptr). r=mattwoodrow
MozReview-Commit-ID: KwtJD4AywX1
2016-03-16 13:47:41 -07:00
Ryan VanderMeulen 282499897a Bug 1254826 - Annotate bug441782-3.html as passing on WinXP. r=ehsan
--HG--
extra : rebase_source : 28d9aaa8191708fe146dc6aee23edebc8477e24f
2016-03-16 14:26:03 -04:00
Ryan VanderMeulen eff7a39713 Bug 1254832 - Update annotation to only expect failure on hardware-accelerated builds. r=me 2016-03-16 12:00:33 -04:00
Xidorn Quan b377ad08c2 Bug 1257099 - Normalize the path of extensions for reftest. r=jmaher
MozReview-Commit-ID: 7nTx3uniJik

--HG--
extra : rebase_source : 4d757211c4fda9953a5817ad5e037b4b70994636
2016-03-16 14:26:27 +08:00
Xidorn Quan 0fb001761f Bug 1256257 - Clear Win10 intro page url for reftest. r=jmaher
MozReview-Commit-ID: 3iJ8QVSNaKx

--HG--
extra : rebase_source : af532bdaf1c9fa66fff5dd530cf9639ed9bab63d
2016-03-16 14:27:25 +08:00
Nicholas Nethercote a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Mike Shal 49c5290021 Bug 1256033 - Remove layout/style/test/Makefile.in; r=glandium
The css_properties.js rule can be converted into gen-css-properties.py,
which we can install with TEST_HARNESS_FILES instead of the
mochitest.ini manifest.


MozReview-Commit-ID: F7nf71ORWsS
2016-03-11 19:28:02 -05:00
Ryan VanderMeulen be834fd775 Bug 1254832 - Annotate tree-row-outline-1.xul as failing on Win8 e10s. r=dbaron 2016-03-15 17:05:44 -04:00
Markus Stange e41f4e8c1a Bug 1255068 - Do not allow empty transaction transform changes if the scroll position has changed since the last paint. r=kats, r=mattwoodrow
MozReview-Commit-ID: 7exuhuf3HTJ

--HG--
extra : rebase_source : b131cdc68e07ab8dfdc6ae56caa24cc0ced5102e
2016-03-11 16:09:16 -05:00
Kartikaya Gupta 531a753e23 Bug 1255856 - Don't allow paint-skipping if there are windowed plugins on the page. r=mstange,jimm
MozReview-Commit-ID: BzQcUrSqCr5
2016-03-15 15:12:11 -04:00
Ryan VanderMeulen 30ac772d08 Bug 1157716 - Add a bit more fuzz for Windows unaccelerated reftest jobs. r=kats
--HG--
extra : rebase_source : fa62e19a13a0e1a678a9b8e169c3aef8825f5719
2016-03-15 12:11:10 -04:00
Timothy Nikkel 4bb3f55591 Bug 1209780. Mark some DrawResult's as unused in layout/svg. r=seth
We want to turn on the static analysis so no new violations are introduced. Fixing these is not straight forward.
2016-03-21 16:15:19 -05:00
Matt Woodrow 4bbe4fd01d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-22 09:06:58 +13:00
Boris Chiou efe45f15d3 Bug 1249219 - Part 3: Replace Pair<Element*, CSSPseudoElementType> with NonOwningAnimationTarget. r=birtles
--HG--
extra : rebase_source : 35e69a293cdb7a25ce579dbb453289ed3521e7e2
2016-03-21 16:49:50 +08:00
Mason Chang 7c8ee2c76a Bug 1207332. Update split-opacity-layers-1.html reftest fuzing on os x. r=me 2016-03-21 11:19:04 -07:00
Mason Chang b7563f899e Bug 1207332. Part 3: More skia os x reftest fuzzing. r=lsalzman 2016-03-21 09:04:07 -07:00
Mats Palmgren f482a337c2 Bug 1258147 - Reftests with display:contents and ortogonal writing-mode. 2016-03-21 16:56:07 +01:00
Mats Palmgren 725f3ced29 Bug 1258147 - Pierce through display:contents style context ancestors when looking for CB context to compare our writing-mode to. r=jfkthame 2016-03-21 16:56:07 +01:00
Ryan VanderMeulen a2634713e0 No bug - Add reftest annotations for Win10.
--HG--
extra : rebase_source : 45682f4ce6dcd4c28bdaaf90ee2a5a6a59c83a8b
2016-03-21 00:28:43 -04:00
Ryan VanderMeulen be3bbfc784 No bug - Re-enable some disabled reftests on e10s.
--HG--
extra : rebase_source : d3c1489372f7be7baf4dc0282c9f37a82fe2e685
2016-03-21 00:28:43 -04:00
Jonathan Kew 5a67b554ba Bug 1238243 followup - Mark test 1238243-2.html as random on OS X 10.6, due to dependency on available fonts. 2016-03-21 12:54:33 +00:00
Xidorn Quan 60bcaa5c0b Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
MozReview-Commit-ID: 6xrHYbgHGVd

--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan 8acf32453c Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
MozReview-Commit-ID: 4KMLCz6wQHQ

--HG--
extra : rebase_source : 08964aef3b335163985dd6818b4a6ae3a4e34fce
2016-03-17 12:07:47 +08:00
Xidorn Quan f4ef02b391 Bug 1257121 part 1 - Use struct for passing some params of font metrics. r=jfkthame
MozReview-Commit-ID: FTJlYS3bbTa

--HG--
extra : rebase_source : f3df5f8ebe3f223abc62dc1ae1bf5f7830d63ab8
2016-03-21 11:59:36 +08:00
Jonathan Kew 80e600e39f Bug 1140413 - Mark subsuper-fallback.html test as random on Android (as well) due to bug 1139269. (manifest annotation, no review) 2016-03-21 07:29:06 +00:00
Jonathan Kew 7a88338d98 Bug 1238243 - Reftests involving possibly-ignorable hangul choseong filler. r=xidorn 2016-03-21 07:27:53 +00:00
Daniel Holbert 00d43c6f13 Bug 1257938 part 3: Remove support for the "layout.css.sticky.enabled" pref (so we'll unconditionally support "position: sticky"). r=corey
MozReview-Commit-ID: 9jYcXkUvi8S
2016-03-20 23:06:53 -07:00
Daniel Holbert 42d59af359 Bug 1257938 part 2: Remove separation between test_position_sticky.html & its helper-file, now that it doesn't need to tweak a pref. r=corey
MozReview-Commit-ID: 7aUlaBP1OK
2016-03-20 23:06:42 -07:00
Daniel Holbert 0a77fd87dd Bug 1257938 part 1: Adjust automated tests to assume position:sticky is unconditionally supported. r=corey
MozReview-Commit-ID: IfQatzWq7q5
2016-03-20 23:05:34 -07:00
Ehsan Akhgari a36acab5c8 Bug 1256178 - Drop the moz prefix from the MozCSSKeyframeRule and MozCSSKeyframesRule interfaces; r=bzbarsky 2016-03-15 10:23:01 -04:00
L. David Baron 544ca9b3aa Bug 1253189 followup - Also skip ch-unit-001 because it fails on OS X 10.10. 2016-03-15 06:13:34 -07:00
Xidorn Quan 20196ad4ea Bug 1253189 followup - Update skip.list to match the directory name on CLOSED TREE
--HG--
extra : amend_source : c94fcb2622e379a02beb4bff32b5a8eb5a2cfce1
2016-03-15 18:35:21 +08:00
Xidorn Quan 1502dabf39 Bug 1253189 part 5 - Import reftests of css-values. r=dbaron
MozReview-Commit-ID: DgYTyHV9Leu

--HG--
extra : rebase_source : 4949c0dd79a44f3450d6d858522a736109eca5e8
2016-03-03 18:28:23 +08:00
Xidorn Quan 5252f60461 Bug 1253189 part 4 - Add skip.list for skipping imported tests. r=dbaron
MozReview-Commit-ID: 3TpjZRy8rS9

--HG--
extra : rebase_source : 329c5e89d54a33f114d09d69c8d6960e4f15a233
2016-03-03 18:27:18 +08:00
Xidorn Quan 66f45c7a3d Bug 1253189 part 3 - Update existing received w3c reftests. r=dbaron
MozReview-Commit-ID: 2ixqFjX7yT1

--HG--
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-001-ref.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-001-ref.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-001.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-001.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-002.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-002.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-003.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-003.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-004.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-004.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-005.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-005.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-006.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-006.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-007.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-007.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-008.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-008.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-009.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-009.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-010.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-010.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-011.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-011.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-012.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-012.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-013.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-013.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-014.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-014.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-015.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-015.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-016.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-016.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-017.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-017.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-018.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-018.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-019.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-019.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-020.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-020.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-021.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-021.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-022.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-022.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-023.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-023.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-024.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-024.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-025.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-025.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-026.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-026.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-027-ref.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-027-ref.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-027.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-027.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-028.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-028.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-029.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-029.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-030.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-030.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-031.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-031.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-032.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-032.html
rename : layout/reftests/w3c-css/received/css3-conditional/at-supports-033.html => layout/reftests/w3c-css/received/css-conditional-3/at-supports-033.html
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-001.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-001.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-002.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-002.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-003.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-003.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-004.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-004.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-005.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-005.xml
rename : layout/reftests/w3c-css/received/css3-namespace/prefix-006.xml => layout/reftests/w3c-css/received/css-namespaces-3/prefix-006.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-block.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-block.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-generic.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-1.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-2-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2-generic.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-2.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-3.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-3.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-5.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-5.xml
rename : layout/reftests/w3c-css/received/css3-namespace/ref-lime-6.xml => layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-6.xml
rename : layout/reftests/w3c-css/received/css3-namespace/scope-001.xml => layout/reftests/w3c-css/received/css-namespaces-3/scope-001.xml
rename : layout/reftests/w3c-css/received/css3-namespace/scope-002.xml => layout/reftests/w3c-css/received/css-namespaces-3/scope-002.xml
rename : layout/reftests/w3c-css/received/css3-namespace/support/fail.css => layout/reftests/w3c-css/received/css-namespaces-3/support/fail.css
rename : layout/reftests/w3c-css/received/css3-namespace/support/scope-002a.css => layout/reftests/w3c-css/received/css-namespaces-3/support/scope-002a.css
rename : layout/reftests/w3c-css/received/css3-namespace/support/scope-002b.css => layout/reftests/w3c-css/received/css-namespaces-3/support/scope-002b.css
rename : layout/reftests/w3c-css/received/css3-namespace/support/syntax-007.css => layout/reftests/w3c-css/received/css-namespaces-3/support/syntax-007.css
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-001.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-001.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-002.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-002.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-003.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-003.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-004.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-004.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-005.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-005.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-006.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-006.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-007.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-007.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-008.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-008.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-009.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-009.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-010.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-010.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-011.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-011.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-012.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-012.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-013.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-013.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-014.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-014.xml
rename : layout/reftests/w3c-css/received/css3-namespace/syntax-015.xml => layout/reftests/w3c-css/received/css-namespaces-3/syntax-015.xml
extra : rebase_source : 940bc5d26d31dc0b1bc4ac2d96d7146b7e658443
2016-03-03 17:18:42 +08:00
Xidorn Quan c40fc92658 Bug 1253189 part 2 - Update import-tests.py script to work on the current repo. r=dbaron
MozReview-Commit-ID: 7u2tzEEOQSg

--HG--
extra : rebase_source : 0a0530a881207af87a82ef64cde3f80fa19bbd13
2016-03-03 18:24:46 +08:00
Xidorn Quan e788386f59 Bug 1253189 part 1 - Make import-tests.py compatible with Windows. r=dbaron
MozReview-Commit-ID: DdnXqUOm2bC

--HG--
extra : rebase_source : 461609bee3f7dfe086629dfbd1f8da42c65ed6d7
2016-03-03 18:30:35 +08:00
Chris H-C 018094dbaa Bug 1249664 - Save the combobox's dropped-down state across frame reconstruction. r=dbaron
We already restore the scroll-position state of the list control frame (via
nsHTMLScrollFrame), so the combobox control frame needs to add a suffix to
its state key so it doesn't overlap.

MozReview-Commit-ID: Eq0X0FCOciZ

--HG--
extra : rebase_source : 3d4b1a555f980ffaad59fbcbb72370117013812c
2016-03-10 14:21:05 -05:00
Chris H-C b72448dbf9 Bug 1249664 - Save dropped-down state in nsPresState. r=dbaron
nsComboboxControlFrame will need some place to store its dropped-down state.
Instead of using nsISupportsPRBool and SetStateProperty, just add a bool.

MozReview-Commit-ID: CEnshCbqEV1

--HG--
extra : rebase_source : 6c4cef994ef85a1de2ff3aa40ad70bb150af9d09
2016-03-10 14:02:13 -05:00
Chris H-C 550ae0a515 Bug 1249664 - Make stateful frames responsible for their own keys r=dbaron
nsFrameManager::CaptureFrameStateFor generates keys for stateful frames that
only take into account the document and element. This precluded saving pieces
of information coming from different frames responsible for the same element.

MozReview-Commit-ID: 29x3Gj66wAy

--HG--
extra : rebase_source : 9f6fc24ce88009b31dae9fc37bb2187cad8164f2
2016-03-10 10:14:37 -05:00
Timothy Nikkel 5263f50634 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats 2016-03-14 22:59:02 -05:00
L. David Baron 8c5857d870 Bug 1256500 - Root style contexts before calling ApplyStyleFixups. r=heycam
MozReview-Commit-ID: 8P4AyTCvhmW
2016-03-14 20:26:53 -07:00
Morris Tseng 0f88c1a15b Bug 594933 - Part 2: Add support for calc() to line-height. r=dbaron
--HG--
extra : commitid : ISfJfHKpK5Z
2016-03-15 10:37:37 +08:00
Morris Tseng 99b819272d Bug 594933 - Part 1: Let calc() supports number. r=dbaron
--HG--
extra : commitid : HWZIwem6z6u
2016-03-15 10:37:37 +08:00
Gregory Szorc 873147d1fb Bug 1256509 - Disable C4577 to unblock compilation on VS2015; r=poiru
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warning occurs in 3rd party ICU
code. So I'm not sure what my options are for fixing this.

MozReview-Commit-ID: 2MIqvI3qCsZ

--HG--
extra : rebase_source : cbb3b14a1e6fd47aeb9e4ce915cddd0b78ce90cf
2016-03-14 18:03:39 -07:00
Gregory Szorc 72230d9b94 Bug 1256505 - Disable C4312 to unblock compilation on VS2015; r=poiru
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: 70QwT9y6eb2

--HG--
extra : rebase_source : afc1eb71d11241819a4e2d2219e699c081f0c4af
2016-03-14 17:56:28 -07:00
Daniel Holbert feb302c132 Bug 1255276 part 2: Make nsSVGAnimatedTransformList remember its previous HasTransform() value, so we can detect attr changes which are effectively creating the attr. r=longsonr 2016-03-14 17:37:36 -07:00
Kartikaya Gupta ab65d99c4e Bug 1254273 - Align the displayport to a max of 256 pixels even if the layer is larger. r=BenWa
MozReview-Commit-ID: CLghUMWkJU8
2016-03-14 15:02:43 -04:00
Kartikaya Gupta b3806e256d Bug 1216924 - Don't align to tiles (either real or virtual) if displayport suppression is enabled. r=BenWa
MozReview-Commit-ID: 15XWTTM0tZI
2016-03-14 14:07:31 -04:00
L. David Baron 89ad8d0c53 Bug 1142531: Check more bits in nsStyleContext::MoveTo assertion. r=heycam
MozReview-Commit-ID: 455suOkmdj7
2016-03-14 10:27:05 -07:00
L. David Baron a1dea9b4fc Bug 1251797 - Don't fault struct out of rule tree if all of the potential physical property destinations already have a winning value in the cascade. r=heycam
I believe this is useful for cases like having logical properties in the
UA style sheet that are commonly overridden (e.g., margins on lists).

MozReview-Commit-ID: KxojbfMYq0f
2016-03-14 10:27:05 -07:00
L. David Baron 19b419056a Bug 1145218 followup - Properly parenthesize macro argument. No review.
MozReview-Commit-ID: EZ5zX4L6z6W
2016-03-14 10:27:05 -07:00
L. David Baron c54f49142c Bug 649142 followup: Correct #undef. No review.
MozReview-Commit-ID: BjkVBufjlBQ
2016-03-14 10:27:04 -07:00
Benoit Girard a08807e27f Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
MozReview-Commit-ID: K5PTxUqU9E6

--HG--
extra : rebase_source : 6d9e35b27e2fd37c1df513dd856b48c181f3150f
2016-03-14 11:50:55 -04:00
Mats Palmgren 13ebd582e0 Bug 1256190 - Tweak tests to fix intermittent orange. r=me 2016-03-14 06:56:00 -04:00
Mats Palmgren 9f5f38e8d7 Bug 1256040 - Follow-up fix for nsGridContainerFrame.h/cpp compile errors in non-unified build. r=me 2016-03-13 09:12:00 -04:00
Mats Palmgren c71ca081ec Bug 1256040 - Bustage fix. r=me 2016-03-13 00:47:41 +01:00
Mats Palmgren 7f3197f8cc Bug 1256040 - Fix some nsGridContainerFrame.h/cpp compile errors in non-unified build. r=dholbert 2016-03-13 00:30:36 +01:00
Ryan VanderMeulen da1885e860 Merge inbound to m-c. a=merge 2016-03-12 15:23:38 -05:00
malayaleecoder c10c9a9612 Bug 1252368 - Move resource files in layout/style/ into layout/style/res/ directory. r=nalexander
MozReview-Commit-ID: HdF06H2gJYY

--HG--
rename : layout/style/arrow-left.gif => layout/style/res/arrow-left.gif
rename : layout/style/arrow-right.gif => layout/style/res/arrow-right.gif
rename : layout/style/arrow.gif => layout/style/res/arrow.gif
rename : layout/style/arrowd-left.gif => layout/style/res/arrowd-left.gif
rename : layout/style/arrowd-right.gif => layout/style/res/arrowd-right.gif
rename : layout/style/arrowd.gif => layout/style/res/arrowd.gif
rename : layout/style/counterstyles.css => layout/style/res/counterstyles.css
rename : layout/style/forms.css => layout/style/res/forms.css
rename : layout/style/html.css => layout/style/res/html.css
rename : layout/style/noframes.css => layout/style/res/noframes.css
rename : layout/style/noscript.css => layout/style/res/noscript.css
rename : layout/style/number-control.css => layout/style/res/number-control.css
rename : layout/style/plaintext.css => layout/style/res/plaintext.css
rename : layout/style/quirk.css => layout/style/res/quirk.css
rename : layout/style/ua.css => layout/style/res/ua.css
rename : layout/style/viewsource.css => layout/style/res/viewsource.css
extra : rebase_source : c56048e17a72c75a456556ee2111841184a92edf
2016-03-11 00:57:34 +05:30
Carsten "Tomcat" Book e070379821 merge mozilla-inbound to mozilla-central a=merge 2016-03-11 16:50:43 +01:00
Carsten "Tomcat" Book 80bad564c7 merge fx-team to mozilla-central a=merge 2016-03-11 11:51:28 +01:00
Seth Fowler c963068948 Bug 1255362 - Null-check GetContainer() before using it in image-related ConfigureLayer() methods. r=mstange a=Tomcat 2016-03-11 15:12:07 +08:00
Daisuke Akatsuka cb51780a6e Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles 2016-03-09 14:14:20 +09:00
Bobby Holley abd6123240 Bug 1252611 - Hoist IsComplete/SetComplete into StyleSheet. r=dholbert 2016-03-10 22:18:59 -08:00
Bobby Holley 0ff743226a Bug 1252611 - Add a method to get the StyleSheetInfo for a given StyleSheet. r=dholbert
One of the annoying things about sharing algorithms on the superclass here is that
certain members live on StyleSheet and others live on StyleSheetInfo (a situation
resulting from the split between CSSStyleSheet and CSSStyleSheetInner). This allows
us to write general algorithms on StyleSheet that touch members on StyleSheetInfo
without paying the price of virtual dispatch.
2016-03-10 22:18:57 -08:00
Bobby Holley 3293dd162c Bug 1252611 - Hoist mDocument into StyleSheet. r=dholbert 2016-03-10 22:18:56 -08:00
Phil Ringnalda 3ceef3ef63 Back out 2 changesets (bug 1209273) for devtools failures in browser_css_autocompletion.js
Backed out changeset 85f7dbb76c15 (bug 1209273)
Backed out changeset 1901109091be (bug 1209273)
2016-03-10 21:32:50 -08:00
Kartikaya Gupta a8f43cb473 Bug 1253860 - Don't update the scrollbar unless we're actually painting. r=mstange
MozReview-Commit-ID: 3JIcp2NFwRn
2016-03-09 22:57:15 -05:00
Kartikaya Gupta 2c7a5f6eaf Bug 1253860 - Skip paints for main thread scrolls if we can ask APZ to handle the scrolling for us. r=mstange
MozReview-Commit-ID: LqugzganLru
2016-03-09 22:57:15 -05:00
Kartikaya Gupta 0415065a38 Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Blake Kaplan 2797f17920 Bug 1255235 - Enable this already-passing test. rs=bz 2016-03-09 17:01:54 -08:00
Matt Woodrow 5f414f7d68 Bug 1220466 - Avoid doing unnecessary layer building work for inactive layers. r=mstange 2016-03-10 13:56:52 +13:00
Matt Woodrow 6ff9f85978 Bug 1220466 - Don't build event region display items for pseudo stacking contexts, unless they are also an AGR. r=mstange 2016-03-10 13:55:00 +13:00
Tobias Schneider 6b4432e4a6 Bug 1250674 - Don't print header/footer if larger than user defined margins. r=dbaron
--HG--
extra : rebase_source : 778ef2680cd72a5aa0056861f0d9214de698e78d
2016-02-23 13:55:00 -05:00
Tobias Schneider 74df504068 Bug 1209273 - Part 2: Force printing background if color-adjust: exact. r=dbaron
--HG--
extra : rebase_source : d244c149e2b5e79082b77864fc7b6aaa912a687d
2016-03-08 09:44:00 -05:00
Tobias Schneider 9cfd13fa3d Bug 1209273 - Part 1: Support for color-adjust CSS property. r=dbaron
--HG--
extra : rebase_source : 72919e863a59f76d24fbae31870463025aee7a40
2016-03-10 10:51:00 -05:00
Shih-Chiang Chien d06a3c964a Bug 1255262 - convert test_selection_preventDefault.html to mochitest. r=smaug.
MozReview-Commit-ID: IPZKEA6082n

--HG--
extra : rebase_source : 47761c512e502cf8e0c73f3b9e03699e33f6b35d
2016-03-10 11:11:41 +08:00
Kartikaya Gupta 3e180de2ca Bug 1242690 - Make sure that synthetic mouse events have a reasonable guid so that the callback transform can get unapplied properly. r=botond
MozReview-Commit-ID: FYnSEGAZLyO
2016-03-10 18:25:49 -05:00
Robert O'Callahan 005e370b1f Bug 1203417. Propagate error result from PaintTableFrame. r=seth
MozReview-Commit-ID: 4rRkHXUl9iE
2016-02-13 09:30:27 +13:00
Timothy Nikkel 66444437b6 Bug 1209780. Propagate the use of MOZ_MUST_USE DrawResult in nsTablePainter. r=seth 2016-03-09 17:56:35 -06:00
Timothy Nikkel cafdb616d3 Bug 1209780. Propagate the use of MOZ_MUST_USE DrawResult in nsTreeBodyFrame::PaintText. r=seth 2016-03-09 17:56:35 -06:00
Trevor Saunders a879c2430c bug 1253265 - make some nsRestyleHint operators constexpr r=dholbert 2016-03-09 18:01:58 -05:00
Kyle Machulis fde34a472d Backout 6397f46b0628 and c6be87916507 (Bug 1171182) due to windows mochitest failures 2016-03-09 14:49:39 -08:00
Kartikaya Gupta 30f39f0a24 Bug 1205473 - Add a state bit to optimize building event regions. r=mattwoodrow
MozReview-Commit-ID: CPSgChJc92L
2016-03-09 17:29:41 -05:00
Ehsan Akhgari 9a3b4db938 Bug 1254991 - Port test_bug348681.html to mochitest-plain so that it runs under e10s; r=mrbkap 2016-03-09 16:41:51 -05:00
Ehsan Akhgari aeb1803db1 Bug 1254985 - Port test_scroll_selection_into_view.html to mochitest-plain so that it runs under e10s; r=mrbkap
--HG--
rename : layout/base/tests/chrome/scroll_selection_into_view_window.html => layout/base/tests/scroll_selection_into_view_window.html
2016-03-09 16:41:51 -05:00
Markus Stange 48d21a14da Bug 1221094 - Reduce the size of the layers in this reftest so that they don't get lowres tiles.
MozReview-Commit-ID: 4BY1F9u5we1

--HG--
extra : rebase_source : 7df323cf2cb943542c48fb8b219e66f0e29c3096
2016-03-09 12:08:34 -05:00
Markus Stange 0dc2cf176e Bug 1221094 - Detect scrollability (for using tiled layers) through container layers. r=mattwoodrow
MozReview-Commit-ID: 6Z8pniahhbP

--HG--
extra : rebase_source : e5464e4d77b41e227c1577b6a11d312c066e9291
2016-03-08 14:43:32 -05:00
Markus Stange a0ae168e8d Bug 1221094 - Don't mutate local mParameters with stuff that we only want to pass somewhere else. r=mattwoodrow
MozReview-Commit-ID: FV0HxrrWfHW

--HG--
extra : rebase_source : 91b31f7613bfcdec44f75100516ab39b33e7de61
2016-03-08 14:43:15 -05:00
Kyle Machulis 75e71bb508 Bug 1171182 - CSS Zoom Query for NPAPI; r=jaas r=bsmedberg 2016-03-09 11:55:21 -08:00
Mark Capella aa9ca8ef90 Bug 1252802 - Web page scrolls when dragging caret in editable, r=snorp 2016-03-10 18:06:13 -05:00
Ryan VanderMeulen 1d983e67fb Bug 1175546 - Add fuzz for a couple reftests that started to permafail on Linux32 PGO with the GCC version bump. r=me 2016-03-12 11:22:53 -05:00
Mats Palmgren 70b192860d Bug 1255877 - Fix intermittent failure. r=me 2016-03-12 05:01:00 -05:00
Xidorn Quan b8db274b17 Bug 1255659 part 2 - Add 'fullscreen' tag to tests which ever put window into fullscreen. r=smaug
MozReview-Commit-ID: EBynEGbpYQU

--HG--
extra : rebase_source : 1f777ff519e602403486d24e739b252a2dfc8428
2016-03-11 10:45:00 +08:00
Neil Deakin 038b1390a7 Bug 1246659, enable browser_bug453896.js in e10s, r=mconley 2016-03-09 09:11:56 -05:00
Matt Woodrow b954395165 Bug 1251527 - Don't override visible regions for background-attachment:fixed. r=mstange
--HG--
extra : rebase_source : ed4d7bd065a75bc04ff515d1a8f94592ff777419
2016-03-09 17:35:48 +13:00
Ryo Motozawa d812d0d4c6 Bug 1244635 - Part4 Add enddelay tests in layout/style/test r=hiro
MozReview-Commit-ID: EUvAdiPudgZ

--HG--
extra : rebase_source : 91bf3aef8f5ea8da1b990b6363d7ab40bddb2aae
2016-03-08 10:31:40 +09:00
Brian Birtles c9d3c84ee0 Bug 1239945 part 8 - Add GetOrCreateAnimationCollection; r=dholbert
Rather than passing around a bool flag to indicate if we should be creating
an AnimationCollection when none is found, it would be a lot easier to read
if we simply introduce a separate method for this.

MozReview-Commit-ID: 6bg8jGoH5pL
2016-03-09 12:55:39 +09:00
Brian Birtles 065446fdcd Bug 1239945 part 7 - Move GetAnimationCollection to AnimationCollection; r=dholbert
By moving GetAnimationCollection to AnimationCollection itself, we can remove
a bunch of virtual methods on the animation managers, simplify call sites,
and provide better type safety by ensuring a correspondence between element
property names and concrete animation types.

One change in behavior, however, is that in doing this we can no longer
add any newly-created AnimationCollection to the corresponding manager's linked
list of collections inside GetAnimationCollection. Instead we take a bool
outparam to indicate if a new collection was created and leave managing the
linked list to the manager. This is just a temporary measure, however, since
by the end of this patch series will will eliminate this linked list altogether
along with this flag.

MozReview-Commit-ID: 1jsc4QcmVDg
2016-03-09 12:55:39 +09:00
Brian Birtles dd4f27f03e Bug 1239945 part 6 - Templatize AnimationCollection based on the concrete type of Animation stored; r=dholbert
This patch templatizes the type of Animation stored in an AnimationCollection.
This allows us to remove a number AsCSSAnimation() calls in nsAnimationManager.

This patch also removes the AnimationPtrArray typedef. In its place we
introduce OwningCSSAnimationPtrArray and OwningCSSTransitionPtrArray but we
don't use these as widely. There was some comment previously that the typedefs
in animation code make it hard to read, particularly when these typedefs don't
make it clear if the data type is an owning reference or not.

In doing this we need to templatize CommonAnimationManager as well and move the
implementation of its (few) methods to the header file. We may be able to
remove the need for templatizing CommonAnimationManager later in this patch
series depending on how we ultimately decide to handle the lifetime of
AnimationCollection objects.

CommonAnimationManager::GetAnimationCollection is a bit messy but this will be
significantly tidied up in subsequent patches in this series.

MozReview-Commit-ID: 3ywatY53pRR
2016-03-09 12:55:39 +09:00
CJKu 9799fb0aaa Bug 1243734 - Part 5. Add MOZ_ENABLE_MASK_AS_SHORTHAND compile flag; r=ted r=dbaron
MozReview-Commit-ID: 8KbrEXnJqlp
2016-03-09 11:15:09 +08:00
Ting-Yu Lin cc904bb3cc Bug 1253989 Part 6 - Refactor open_test_html(). r=mtseng
MozReview-Commit-ID: 2VY1GnVF7Jx

--HG--
extra : rebase_source : 679d21e1fad9227cb89a62ee0d3d593948affcc0
2016-03-08 22:45:47 +08:00
Ting-Yu Lin 337ddd8206 Bug 1253989 Part 5 - Remove touch caret and selection carets naming. r=mtseng
- To avoid confusion, call the blinking cursor (nsCaret) "cursor" so that
  AccessibleCaret can be called caret for short.
- Add second_caret_location() as a helper function, and use it in
  selection mode tests.

MozReview-Commit-ID: IKN6KuR92HE

--HG--
extra : rebase_source : c247ad6b61bc1b1cc3c4d8784584e19d9ef5c1ea
2016-03-08 22:45:47 +08:00
Ting-Yu Lin 22302ef765 Bug 1253989 Part 4 - Rename AccessibleCaret test files. r=mtseng
Remove "touch caret" and "selection carets" from file names and titles.

MozReview-Commit-ID: KqjYE7tiqXd

--HG--
rename : testing/marionette/harness/marionette/www/test_touchcaret.html => testing/marionette/harness/marionette/www/test_carets_cursor.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_iframe.html => testing/marionette/harness/marionette/www/test_carets_iframe.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_longtext.html => testing/marionette/harness/marionette/www/test_carets_longtext.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multipleline.html => testing/marionette/harness/marionette/www/test_carets_multipleline.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multiplerange.html => testing/marionette/harness/marionette/www/test_carets_multiplerange.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets.html => testing/marionette/harness/marionette/www/test_carets_selection.html
extra : rebase_source : 1af82b4e59c409109025684553aa0ff780eec947
2016-03-08 22:45:47 +08:00
Ting-Yu Lin 732119fb5b Bug 1253989 Part 3 - Use @parameterized to rewrite selection mode tests. r=mtseng
* Inline some of the open_*_html methods since they're called only once.
* Save test running time by finding the elements needed in tests instead
  of find all of the elements in open_*_html methods.
* Remove test_long_press_to_select_non_selectable_word() since it's
  covered by test_focus_not_changed_by_long_press_on_non_selectable().
* Use hyphen for element ids.
* Replace "left" and "right" caret by "first" and "second" caret,
  respectively.

MozReview-Commit-ID: Ey5m5zO3HYc

--HG--
extra : rebase_source : c94b84ced75560ce1167cda35ee94dd4cc81ee4d
2016-03-08 22:21:31 +08:00
Ting-Yu Lin b40db974b8 Bug 1253989 Part 2 - Use @parameterized to rewrite cursor mode tests. r=mtseng
Remove _test_touch_caret_hides_after_receiving_wheel_event() completely
since it was a test only for touch caret, which is a leftover in bug
1221459.

MozReview-Commit-ID: 4szwuG6t5SF

--HG--
extra : rebase_source : 85a201d76016da65f14cd2cc0a641c342e266904
2016-03-08 22:21:31 +08:00
Ting-Yu Lin 33799d733f Bug 1253989 Part 1 - Remove tests for accessiblecaret preference off. r=mtseng
I don't feel these tests are helpful. It's unlikely that someone will
accidentally turn on AccessibleCaret on desktop platforms without being
noticed. Remove these tests also reduces the test running time.

MozReview-Commit-ID: 33RQQSy77gZ

--HG--
extra : rebase_source : 5cd7fd77a48f07ee137d8140481ea6210070d139
2016-03-08 22:21:30 +08:00
Ryan VanderMeulen a3835b03c5 Bug 1253849 - Tweak some reftest annotations.
--HG--
extra : rebase_source : 449d1c23f7c0041f6114376694ef71845b792ffb
2016-03-08 21:23:17 -05:00
Wes Kocher 71aa3b8d31 Backed out changeset e7e01671e85f (bug 1253977) for windows reftest failures in focusring-1.html CLOSED TREE
MozReview-Commit-ID: 8j0fD5taR6z

--HG--
extra : histedit_source : 61897e005185864102170fe7a1c1f950eb88a379%2C36fe84b9a97141d65b1b282ca2b5c205b33f499b
2016-03-08 16:07:00 -08:00
Markus Stange 836fcb72ef Bug 1248913 - Make nsDisplayBlendContainer active or inactive based on its contents. r=mattwoodrow
MozReview-Commit-ID: GN0084Rrmlm

--HG--
extra : rebase_source : e11f0bd9385244d01a824c3ed327653495020df7
2016-03-08 14:39:07 -05:00
Markus Stange 46dbf6fc7d Bug 1248913 - Remove mCanBeActive and second nsDisplayBlendContainer constructor. r=mattwoodrow
MozReview-Commit-ID: Jcrip22bW5k

--HG--
extra : rebase_source : a2601fd33f6ec7cafa6902abb2ece13d4b0a9428
2016-03-08 14:38:22 -05:00
Markus Stange 08e56286e7 Bug 1248913 - Build nsDisplayBlendMode items for background-blend-mode. r=mattwoodrow
MozReview-Commit-ID: 72IzlcgHFtd

--HG--
extra : rebase_source : fdc3fd31176e1177e04b224c9206858437ef7806
2016-03-08 14:22:36 -05:00
Markus Stange 623ad9afd8 Bug 1248913 - Let nsDisplayBackgroundImage specify the background blend mode. r=mattwoodrow
This is needed because blending for nsDisplayBackgroundImage items will soon
happen outside of nsDisplayBackgroundImage::Paint, it will be done by an
nsDisplayBlendMode item that wraps the nsDisplayBackgroundImage item.

MozReview-Commit-ID: 20cILOGVFEG

--HG--
extra : rebase_source : 306725c99a1cd8d450149482817b8b51bc660908
2016-03-08 16:54:09 -05:00
Markus Stange 5485807971 Bug 1248913 - Rename nsDisplayMixBlendMode to nsDisplayBlendMode. r=mattwoodrow
We're going to use it both for background-blend-mode and for mix-blend-mode.

MozReview-Commit-ID: 6zKCDSkLspc

--HG--
extra : rebase_source : 81b4691d2b74e56c634bdf08f85636ba2abbf486
2016-03-05 17:04:02 -05:00
Markus Stange 14975d0ba1 Bug 1248913 - Add a constructor argument to nsDisplayMixBlendMode that lets you specify the blend mode. r=mattwoodrow
MozReview-Commit-ID: 9MqjLKjRmeh

--HG--
extra : rebase_source : 11ebc2d8fa1939ba079bdf09e916d3da1e68d6d7
2016-03-05 16:39:25 -05:00
Markus Stange cd7fa4800f Bug 1248913 - nsDisplayListBuilder doesn't need to know what blend modes it contains, just whether it contains any. r=mattwoodrow
MozReview-Commit-ID: 5yQcGnXBKKp

--HG--
extra : rebase_source : 176c96a0b5d67a539e8f7e0c72e4ee541cbf1686
2016-03-05 12:46:14 -05:00
Mats Palmgren 35503fb698 Bug 1254000 - [css-grid] Enable Grid container properties in UA sheets to avoid warnings in the console. r=dholbert 2016-03-08 23:03:26 +01:00
Mats Palmgren 195015a265 Bug 1253977 part 2 - Reftests. 2016-03-08 23:03:26 +01:00
Mats Palmgren dec5bab458 Bug 1253977 part 1 - Update focus state on combobox frame destruction/construction properly. r=tn 2016-03-08 23:03:26 +01:00
Mats Palmgren 0524303c83 Bug 1253529 part 2 - [css-grid] Remove the 'grid-template' shorthand. r=dholbert 2016-03-08 23:03:26 +01:00
Mats Palmgren 552f99f2a9 Bug 1253529 part 1 - [css-grid] Replace uses of the 'grid-template' shorthand with 'grid'. 2016-03-08 23:03:26 +01:00
Nathan Froyd 777c075f0e Bug 1253010 - part 3 - create all nsIDateTimeFormat instances directly; r=smontagu 2015-12-05 11:03:27 -05:00
Markus Stange 301cb40329 Bug 1247854 - Apply the correct scroll clips to the nsDisplayTransform and nsDisplayPerspective of a scrolled perspective item. r=mattwoodrow
I've decided to fix this in a very explicit way. The only "magic" part that's
left is how we decide that the AGR of the perspective item is outside the
scrolled frame (and I'm not sure myself how that works).

I didn't want to change what scroll clips we set on what items, because the
scroll clip really belongs on the perspective item, because that's the item
that needs to be clipped, and it should also be the item that should be
scrolled if it weren't for the fact that APZ wouldn't know that it should
apply the perspective transform before the APZ transform.

MozReview-Commit-ID: BBw8VPohQI4

--HG--
extra : rebase_source : 9e11441af2b5dab93a5908236e153fc6cd2c3d8b
extra : histedit_source : 7b3dd75afa92346856765284be48df5618821326
2016-02-26 01:29:41 +01:00
Markus Stange 6260202cb6 Bug 1238564 - Get rid of cross stacking context parent scroll clip. r=mattwoodrow
MozReview-Commit-ID: JthSGAb5Kp3

--HG--
extra : rebase_source : cd00795753547f31b4d205d0d4b8b82b37d0bb75
extra : histedit_source : f867f175155d7aa3fa70bdbbd10119bd8310384d
2016-03-04 14:49:35 -05:00
Markus Stange 57c501e338 Bug 1238564 - Don't do another pass over the display list to figure out ancestor scroll clips. r=mattwoodrow
MozReview-Commit-ID: BgySqVGG43R

--HG--
extra : rebase_source : 752d726fbc238b783b8e41b7bcd2b6735c4d3739
extra : histedit_source : 0684a2b440de008fb24c7f82b270b9d69b6d77c5
2016-03-05 11:27:54 -05:00
Markus Stange 197419db4f Bug 1238564 - Include mIsAsyncScrollable information in DisplayItemScrollClip::ToString. r=roc
MozReview-Commit-ID: 7R38KtIjM5q

--HG--
extra : rebase_source : a23156202612ba4331f167f209eaa5c61d7dd402
extra : histedit_source : 488e2fdbc97a8c15aaa1bdbcceadaebc10976a3f
2016-02-24 16:23:32 +01:00
Markus Stange 668ec29ed6 Bug 1238564 - When building a fixed/sticky display item, don't restore the clip until we're ready to build that item so that inner items aren't unnecessarily clipped. r=roc
This isn't really about regular clips, it's about scroll clips. If the inner
item has an unnecessary scroll clip (one that's already on the parent), this can
cause the inner item's bounds to be larger than necessary because, after the
first patch in bug 1238564, it will include the whole bounds of async-scrollable
scroll frames.
Also, if e.g. the inner item is an opacity item, and it has a scroll clip that's
not just the innermost ancestor scroll clip of all of its children, then
FrameLayerBuilder's mContainerBounds == mAccumulatedChildBounds assertion can
fail if the opacity item gets flattened away, because the child bounds won't
have been enlarged for the scroll clip.

There must be a better way to do the clip resetting in
nsFrame::BuildDisplayListForStackingContext - the code is not pretty at all.
But I'd rather get the tests passing first before we figure out how to clean it
up.

MozReview-Commit-ID: E1DdpN546va

--HG--
extra : rebase_source : ecf4774a47978fb0aa5ebde9346cf464ebc60ab6
extra : histedit_source : 9395ca5f74413d887df3b7fa54cad726742dca30
2016-02-23 18:22:21 +01:00
Markus Stange 0636b4dae1 Bug 1238564 - Set the innermost possible scroll clip on opacity items during creation. r=mattwoodrow
Always use an ancestor scroll clip of all direct children, or the original
scroll clip if the children don't share the same scroll clip tree.
Unfortunately this requires another pass over the stacking context display list.

Also, fix clips, scroll clips and creation order of blend items:
If a clipped mix-blend-mode item contains absolute / fixed positioned items,
those items should not be clipped, same for blend container items.
When a transform item contains blend modes, create the blend container inside
the transform.

Don't do tree comparisons on scroll clips from different scroll clip trees.
If the inner scroll clip is nullptr, because it was cleared, it will look like
it's the ancestor of the outer non-nullptr scroll clip.

These changes don't look very related, but it was very hard to get tests passing
with only some of the changes and not the others, and after having spent two
weeks on this patch I'm not thrilled about going back and checking exactly which
change was necessary to fix which test failure.

MozReview-Commit-ID: IKGciUBrdNa

--HG--
extra : rebase_source : e570f16ecedd80cba16051f0e1ac66764bc95815
extra : histedit_source : fcfbcbc254aaf93594d9d80c117d6ec945805993
2016-03-04 15:05:58 -05:00
Markus Stange cff7a4ce84 Bug 1238564 - Allow constructing nsDisplayWrapList with a given scroll clip. r=roc
MozReview-Commit-ID: 59FqPndU9mr

--HG--
extra : rebase_source : 3ce68bd42b034820421f1c31e649978f5e88adb7
extra : histedit_source : 3c76c77f38c9b2d5bbd85c4e5a820612f945b96f
2016-02-26 13:38:12 +01:00
Markus Stange fe4bbe304b Bug 1238564 - Anticipate async scrolling when computing the scroll clipped bounds of a display list. r=roc
This makes sure that for example the bounds of an opacity item are not empty if
the opacity item contains a scroll frame whose contents are currently scrolled
offscreen but still inside that scroll frame's display port.

On its own, this changeset causes test failures due to missed optimizations
because the bounds of many opacity items are now too large. That's because of
the way we're setting scroll clips on opacity items at the moment: Even if the
opacity is inside a scroll frame, we're currently only setting that scroll
frame's scroll clip on the opacity item's contents, not on the opacity item
itself, because the opacity item might also contain other items that are not
scrolled by this scroll frame.
The next patch in this bug will make us only do that when necessary.

MozReview-Commit-ID: 9TtcJ7eQE7U

--HG--
extra : rebase_source : 51cab60bd27e1a7e3c2d6b8d791b79fe3b3baa94
extra : histedit_source : ba421898e442d08f7f711d13f71a693c34d908bb
2016-02-22 16:17:16 +01:00
Markus Stange fd02c2dffd Bug 1192910 - Stop triggering repaints when the displayport margins change without the displayport changing. r=kats
MozReview-Commit-ID: K1g6sNlZdRk
2016-03-07 16:27:41 -05:00
Kartikaya Gupta 392b122471 Bug 1253690 - Don't let a changing displayport cause invalidation and mess with the intent of the test. r=mstange
MozReview-Commit-ID: 3EcWfWQHuk3
2016-03-08 11:03:43 -05:00
Nathan Froyd 694927c993 Bug 1254551 - remove tabs in FrameLayerBuilder.cpp; r=me
DONTBUILD because whitespace-only changes are totally safe, right?
2016-03-07 15:50:35 -05:00
Sebastian Hengst 1c0df4dae0 Backed out changeset 8abae7731417 (bug 1192910) for OS X 10.10 opt R-e10s bustage. r=backout 2016-03-08 14:43:43 +01:00
Markus Stange cf4896ee92 Bug 1192910 - Stop triggering repaints when the displayport margins change without the displayport changing. r=kats
MozReview-Commit-ID: K1g6sNlZdRk
2016-03-07 16:27:41 -05:00
Sebastian Hengst c3651e35dd Backed out changeset 3ad367f04970 (bug 1242781) for reftest failures. r=backout 2016-03-08 12:43:19 +01:00
Sebastian Hengst fe62e82fdc Backed out changeset 4a56c6dc4c7e (bug 1192910) for permafailing R-e10s on OS X 10.10. r=backout 2016-03-08 11:07:39 +01:00
Shing Lyu 0fc7aee5e1 Bug 1242781 - Add 1 appunit in BRFrame::AddInlinePrefISize to match the 1 appunit added during reflow. r=dbaron 2016-03-08 16:06:50 +08:00
Sebastian Hengst 6c3f333103 Backed out changeset 2bd6d33ad128 (bug 1242781) for reftest failures. r=backout 2016-03-08 10:48:15 +01:00
Shing Lyu 4099eeaee2 Bug 1242781 - Add 1 appunit in BRFrame::AddInlinePrefISize to match the 1 appunit added during reflow. r=dbaron 2016-03-08 16:06:50 +08:00
Xidorn Quan b022cd37f8 Bug 1251995 part 7 - Use struct to pass params for nsTextFrame::Paint*Shadow functions. r=jfkthame
MozReview-Commit-ID: 5Wa9U0Ile4L

--HG--
extra : source : 95464b236e0e5c52495445a94301791a25668094
2016-03-08 15:56:18 +08:00
Xidorn Quan 40f8859cc1 Bug 1251995 part 6 - Use struct to pass params for nsTextFrame::PaintText* functions. r=jfkthame
MozReview-Commit-ID: NTEUm8TY8N

--HG--
extra : source : d1f1d14ddf9df26f07a28a36e54216b8ad6ff5fb
2016-03-08 15:56:18 +08:00
Xidorn Quan e1002ffcb3 Bug 1251995 part 5 - Unify units of dirty rect used for painting text frame. r=jfkthame
MozReview-Commit-ID: BK7j6y7lBV3

--HG--
extra : source : 4403438493793ddfa7356cab2438d050f8a66da1
2016-03-08 15:56:18 +08:00
Xidorn Quan 8ade98d572 Bug 1251995 part 4 - Use struct to pass params for nsTextFrame::DrawText* functions. r=jfkthame
MozReview-Commit-ID: LYshkPDrqYl

--HG--
extra : source : 5de24f7944a12e0d20ca83b4b2eceeaf56fc5efd
2016-03-08 15:56:18 +08:00
Xidorn Quan 1a5d64446b Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : source : e6a45ca0a21666b4e01c217e0bb42772e4dd918f
2016-03-08 15:56:18 +08:00
Xidorn Quan b3ea3fa801 Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : source : bd88a2e478e23edf1845f724a32fef908c8cc007
2016-03-08 15:56:18 +08:00
Xidorn Quan ab357753a9 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : source : d14cafc0e378ab7356c32a0b469ed783244aa48b
2016-03-08 15:56:18 +08:00