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

52893 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 23a915d778 Merge m-c to autoland on a CLOSED TREE. a=merge 2016-10-21 17:15:38 -04:00
Ryan VanderMeulen 75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Ryan VanderMeulen 5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Daniel Holbert d2f9598859 Bug 1311865: Refactor the grid "same sides" code into a simpler WritingMode::ParallelAxisHasSamePolarity() utility function. r=mats
MozReview-Commit-ID: G9FRriSlZaG

--HG--
extra : rebase_source : 6ecceaf0c8e21778787c567b6a7c2e4591c92283
2016-10-20 17:45:07 -07:00
Ting-Yu Lin 7c761e8be7 Bug 1309445 - Convert FrameConstructionItemList::mItems to use mozilla::LinkedList. r=dholbert
The major change to the Iterator is due to the fact that the end of a
LinkedList is represented by nullptr.

Also delete the type conversion functions which are no longer needed.

MozReview-Commit-ID: 2lYtFW9pSon

--HG--
extra : rebase_source : c822e937679e57a9f2d3ab034e5147fc3aea9e8e
2016-10-18 15:50:27 +08:00
Michelangelo De Simone 07411b2cc6 Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA

--HG--
extra : rebase_source : a178eee07034fb2aa1415b64bec1946230fd1c5e
2016-10-17 17:26:51 -07:00
Xidorn Quan c04bd7aa0e Bug 1304556 part 2 - Use AutoLineCursorSetup to optimize pre-render innerText query. r=dbaron
MozReview-Commit-ID: G0I4MPSeV38

--HG--
extra : rebase_source : 98cfe28ac10d4ba6b38a00ae1b1d0f8ccff16452
2016-10-21 11:53:12 +11:00
Xidorn Quan 93217168b7 Bug 1304556 part 1 - Add AutoLineCursorSetup RAII class for local line cursor setup. r=dbaron
MozReview-Commit-ID: G5xeCkxsm8N

--HG--
extra : rebase_source : 2da555d2ae07336bedfcc79944b77931748bcc7a
2016-10-21 12:41:52 +11:00
Ting-Yu Lin a8da0f6a97 Bug 1311277 Part 3 - Use LinkedList's move assignment in FCItemIterator::AppendItemsToList. r=froydnj
MozReview-Commit-ID: LLF519q9gcG

--HG--
extra : rebase_source : 161f0583f6b3e9d61532f29bc68d9c78daa5d6cb
2016-10-19 13:56:12 +08:00
Jared Wein 43af4edf06 Bug 1311450 - Only show the 'touch' padding for the select dropdown when opened via touch. r=mconley,smaug
MozReview-Commit-ID: 521oAj1NzX7

--HG--
extra : rebase_source : c6e72987cfd0c237269ff7f203d47f1e21652e85
2016-10-20 12:45:39 -04:00
Karl Tomlinson 5f87884f3a bug 1094845 enable vertical writing mode textarea resizer tests r=jfkthame
MozReview-Commit-ID: 3hrKRa5FIDM

--HG--
extra : rebase_source : 2e7008778e058c1977604b79017441c486fb37ce
2016-10-20 17:46:30 +13:00
Wes Kocher e12c1e7155 Backed out changeset 9b715399e585 (bug 1310123) for build failures a=backout CLOSED TREE 2016-10-25 16:54:45 -07:00
Mantaroh Yoshinaga cf59836bae Bug 1287983 part 6 - Integrate ElapsedTimeToTimeStamp function to the Animation class. r=birtles
MozReview-Commit-ID: 43AGaTYQoqn

--HG--
extra : rebase_source : 728380db2c6f3e035d05b6c746d2c0f08a1369b7
2016-10-19 15:16:52 +09:00
Mantaroh Yoshinaga ed9cb5c860 Bug 1287983 part 5 - Clarify the function name of creating transition. r=hiro
MozReview-Commit-ID: AW5qD8uBQxf

--HG--
extra : rebase_source : 5cc8b81bec1db0b40b420bc539f03f6307879cb0
2016-10-19 15:16:52 +09:00
Mantaroh Yoshinaga 7cf9216ef7 Bug 1287983 part 3 - Add transitionstart/transitionrun test. r=birtles
Specification is as follow.
https://drafts.csswg.org/css-transitions-2/#eventdef-transitionevent-transitionstart

MozReview-Commit-ID: 1RXlhrQzdko

--HG--
extra : rebase_source : 93f3f0cc59a6570cd5001337e10c7b38aec90a77
2016-10-19 15:16:52 +09:00
Mantaroh Yoshinaga b4aef51ba4 Bug 1287983 part 2 - Add transitionstart/transitionrun event handling. r=birtles
The specification of CSS-Transition event  is as follow:
https://drafts.csswg.org/css-transitions-2/#transition-events

MozReview-Commit-ID: CWgsRRLhnXp

--HG--
extra : rebase_source : 5687d30293c1a5dd2c8dd52b1a77d2b2b3e171a4
2016-10-19 15:16:51 +09:00
Xidorn Quan 88c0b5d425 Bug 1310123 - Move values of static constants in nsStyleStruct to the header. r=mats
MozReview-Commit-ID: J5Fp0iAEnkg

--HG--
extra : rebase_source : 51870f9798ba6e34ee809421589c09c1d5ec584f
2016-10-25 17:25:10 +11:00
Carsten "Tomcat" Book 2e7511ed5a merge mozilla-inbound to mozilla-central a=merge 2016-10-20 16:47:39 +02:00
Jessica Jong 41f4e7423a Bug 1304761 - add contextmenu event to the delayed event queue if it's suppressed. r=smaug 2016-10-19 01:58:00 +02:00
Hiroyuki Ikezoe e65ab6898b Bug 1311588 - Use longer duration to avoid failure on Android. r=boris
MozReview-Commit-ID: L3fgbQIg4ca

--HG--
extra : rebase_source : afc89a932a008afa98f163ada84c628b8eeac7d4
2016-10-20 12:43:21 +09:00
Phil Ringnalda d639192034 Merge m-c to autoland 2016-10-19 18:36:48 -07:00
Phil Ringnalda 3e17fd7779 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6ims5jd1FU5
2016-10-19 18:29:50 -07:00
Phil Ringnalda 7fd865b93f Merge autoland to m-c, a=merge
MozReview-Commit-ID: 3nuTAHtJkkD
2016-10-19 18:25:54 -07:00
Kartikaya Gupta 25d2167134 Bug 1310237 - Change skip-if(!asyncZoom) tests to skip-if(!Android) with zooming enabled. Also update the fuzziness checks to match current Android reftest results. r=tnikkel
MozReview-Commit-ID: 5gcBgzyOq7b

--HG--
extra : rebase_source : 76de7392dc0c38398a8536db2591e0cb699ccebf
2016-10-19 16:16:07 -04:00
Neil Deakin 918a9cbcbe Bug 1301673, use css pixels for the drag region, add each rectangle to the clip region so that tree drag feedback in drawn properly, r=tn 2016-10-19 15:01:39 -04:00
Neil Deakin 68ac95182c Bug 1301673, use device pixels for the supplied drag position and the computed dragrectangle, r=tn 2016-10-19 15:01:39 -04:00
Carsten "Tomcat" Book 036a7c4324 merge mozilla-inbound to mozilla-central a=merge 2016-10-19 17:02:38 +02:00
Mason Chang cd84eadb22 Bug 1258751: Delete the CoreGraphics backend. r=mstange 2016-10-18 23:22:44 -04:00
Phil Ringnalda 8377010e6a Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW

--HG--
rename : devtools/.eslintrc => devtools/.eslintrc.js
2016-10-18 19:45:02 -07:00
Phil Ringnalda 6c91017f20 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FA9OZyjP59N
2016-10-18 19:36:18 -07:00
Ehsan Akhgari c31db08864 Backout bug 1309867 for test failures 2016-10-18 11:35:07 -04:00
Bill McCloskey 3697917fc4 Bug 1309867 - Part 2: Lazily create FontFace::mLoaded; r=heycam 2016-10-18 09:39:27 -04:00
Ehsan Akhgari 225c6de9ba Bug 1309867 - Part 1: Create FontFaceSet's ready promise lazily; r=heycam
This should help avoid calling into the JS engine in the middle of
painting.
2016-10-18 09:39:27 -04:00
Mats Palmgren 115e333d54 Bug 1302541 part 6 - [css-grid] Add more reftests for percentage track sizes and grid-gaps. 2016-10-19 04:20:49 +02:00
Mats Palmgren 2c24c06a3b Bug 1302541 part 5 - [css-grid] Back-compute percentages when calculating the number of auto-fill/fit tracks. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren 5e3a5a5414 Bug 1302541 part 4 - [css-grid] Back-compute percentages for the intrinsic block size. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren a0ff5cb15a Bug 1302541 part 3 - [css-grid] Back-compute percentages for the intrinsic inline size. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren e54565d5d4 Bug 1302541 part 2 - [css-grid] Propagate track state bits and store the union of all tracks in each axis. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren 8b31c38aac Bug 1302541 part 1 - [css-grid] Add a track state bit for percentage min-sizing that is treated as 'auto'. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren 5c23ea1c25 Bug 1309407 - [css-grid] Reftest for track flex max-sizing with min/max-sizes. 2016-10-19 04:20:48 +02:00
Mats Palmgren 32e97d17ca Bug 1309407 - [css-grid] Apply min/max-sizes after stretching <flex> grid items with an indefinite CB size and re-run the algo with a definite size if the grid size changed. r=dholbert 2016-10-19 04:20:48 +02:00
Shing Lyu d2c96de863 Bug 1310117 - Implement Stylo CSS filter except url and drop-shadow. r=manishearth
MozReview-Commit-ID: HoF7KZdfuGe

--HG--
extra : rebase_source : 29f490a0e6055c538c1d5602bdc7f9c49088c88b
2016-10-17 14:16:16 +08:00
Markus Stange 0853911668 Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt
MozReview-Commit-ID: HwOJ8SFhkUq

--HG--
extra : rebase_source : d3c4e8568513a0bf08d308f9f88232b19442ebd2
2016-10-19 11:32:02 -04:00
Karl Tomlinson 1e28d876b7 bug 1309086 reftest annotation changes for move to Ubuntu 16.04 r=dholbert
"random" is used where the bug is likely in the test, or the test was already
random on other platforms because the feature was not complete.

"fails" is used where it looks like the bug is in the product, so that we know
to re-enable the test with the product is fixed.

MozReview-Commit-ID: FenLhua7tm8

--HG--
extra : rebase_source : f93e5a67036174fcc20ef9209c731b311190f362
2016-10-11 18:47:48 +13:00
Benjamin Smedberg fe7d577d2e Bug 1307445 part B - remove the gecko code that support :moz-type-unsupported and :moz-type-unsupported-platform, r=qdot
MozReview-Commit-ID: Dybppkfrb7E

--HG--
extra : rebase_source : 8dedfafb0edefa54b4a73a0f0204be46f989c87f
2016-10-06 13:25:56 -04:00
Markus Stange 6381db9b78 Bug 1310900 - Speed up ScrollFrameHelper::GetScrolledRect for the case where there is no overflow. r=mattwoodrow
MozReview-Commit-ID: 35CWyjlkfsg

--HG--
extra : rebase_source : 93fad406dfd71e71e893f79d9cbb56ef49a98388
2016-10-18 11:12:01 -04:00
Hiroyuki Ikezoe 5a20151f8c Bug 1310096 - Replace the wait for the second MozAfterPaint with rAF callback to avoid intermittent failure on Android. r=boris
MozReview-Commit-ID: AamMljHkbM4

--HG--
extra : rebase_source : ea018d81de4172a21e9089f688ab6d2624c6f4eb
2016-10-19 14:41:50 +09:00
Stone Shih 9e49f3a3ff Bug 1307388 - Fix intermittent poster-7.html reftest failed. r=smaug.
MozReview-Commit-ID: 21tXbmbekRL
2016-10-14 09:38:49 +08:00
Xidorn Quan 403c55a07b Bug 1309109 followup - Fix bustage.
MozReview-Commit-ID: 7n2YM7JjRlw
2016-10-18 16:11:15 +11:00
Xidorn Quan e49cb9930b Bug 1309109 part 7 - Remove the extra level of GeckoDeclarationBlock. r=manishearth,mystor
MozReview-Commit-ID: 2TzqrAWbaeD

--HG--
extra : source : fdd8dfc2cbe94dac981783c41c92188398c2f27f
2016-10-18 15:29:03 +11:00
Manish Goregaokar e110cbadab Bug 1309109 part 6 - Declare nullable strong borrowed ref type for RawServoDeclarationBlock. r=mystor
MozReview-Commit-ID: 2SDPK6lp4ue

--HG--
extra : source : 96f1ccc5f0b60b92d56de0ff75be011ac52cbb6f
2016-10-18 15:29:03 +11:00
Xidorn Quan 05ef8466c6 Bug 1309109 part 5 - Store ServoDeclarationBlock rather than RawServoDeclarationBlock in nsAttrValue. r=heycam
MozReview-Commit-ID: HWqgjwif1qF

--HG--
extra : source : cf3b1baff3d1d6233c72e32cf01cd28a2b344ebf
2016-10-18 15:29:03 +11:00
Xidorn Quan 9f07f8de0b Bug 1309109 part 4 - Add ServoDeclarationBlock class. r=heycam
MozReview-Commit-ID: 8I9sbt0oMhx

--HG--
extra : source : b039f929a98ad954d83fab930806dc3fd6ce9762
2016-10-18 15:29:03 +11:00
Xidorn Quan 00100a750f Bug 1309109 part 3 - Rename ServoDeclarationBlock to RawServoDeclarationBlock. r=heycam
So that the new subclass of DeclarationBlock could just be
ServoDeclarationBlock.

MozReview-Commit-ID: 55KgfmWmmyU

--HG--
extra : source : 27c55355da341fce112b15d966eb9b2fa2c8834b
2016-10-18 15:29:03 +11:00
Xidorn Quan dc967ae16a Bug 1309109 part 2 - Move immutable and container from css::Declaration to a new base class. r=heycam
MozReview-Commit-ID: 9gCrBrK70Z3

--HG--
extra : source : d8df818860eb827fecef2e03da27f18513e78179
2016-10-18 15:29:03 +11:00
Xidorn Quan 81f82ea36e Bug 1309109 part 1 - Change underlying type of StyleBackendType to uint8_t. r=heycam
MozReview-Commit-ID: B6TmOq6elfs

--HG--
extra : source : f7771920c448c382f215356275cb321a6943972e
2016-10-18 15:29:03 +11:00
Xidorn Quan 2e8b536eff Bug 1309868 part 5 - Use const pointer in C++ side for immutable borrowed reference. r=manishearth,heycam
MozReview-Commit-ID: 3aSOgckBtS7

--HG--
extra : source : 75117a5bef6ed1bd81864059f45429838686b2c7
2016-10-18 15:29:03 +11:00
Xidorn Quan be6a724c94 Bug 1309868 part 4 - Use mutable reference for Gecko_GetNextStyleChild. r=heycam
MozReview-Commit-ID: FIrh34PSOZy

--HG--
extra : source : 4ba2850ebc605a8e006f0331a06d59d515c115b2
2016-10-18 15:29:03 +11:00
Xidorn Quan fe470c1653 Bug 1309868 part 3 - Make NonOwningStyleContextSource store const ServoComputedValues. r=heycam
MozReview-Commit-ID: G84fYXLbQyt

--HG--
extra : source : 85ba0fdfc05ec11dd08eba5a1b1f6a9d7e8acd8f
2016-10-18 15:29:03 +11:00
Xidorn Quan 3c3f76a8e1 Bug 1309868 part 2 - Use const nsIContent pointer in some layout utils. r=heycam
MozReview-Commit-ID: 5GMave4FS48

--HG--
extra : source : 60d203eaa11b53f14a8c3736498f991d8e3615b1
2016-10-18 15:29:03 +11:00
Xidorn Quan 1cbd4cb699 Bug 1309868 part 1 - Use const nsIContent pointer in some DOM utils. r=bholley
MozReview-Commit-ID: H4g2VbWJUba

--HG--
extra : source : 77e67e5163ac9c450e18d4c4e5b690cee5d3f1a3
2016-10-18 15:29:03 +11:00
Neil Deakin 9214951d19 Bug 1305362, skip disabled menuitems in menulists on all platforms, r=ksteuber 2016-10-17 11:56:34 -04:00
Boris Chiou 304026cd9d Bug 1272549 - Part 9: Compute distance for mismatched transform lists. r=birtles
MozReview-Commit-ID: JJWcMgj88GX

--HG--
extra : rebase_source : 3f1c314a2bf9c7c12991fb3873738c79b0152ea9
2016-10-05 15:36:16 +08:00
Boris Chiou 6ce1d75c7f Bug 1272549 - Part 8: Compute distance for perspective transform function. r=birtles
MozReview-Commit-ID: IUL9RYuP82r

--HG--
extra : rebase_source : f179553814b74a61f886fefc7225f7cdfd299d7b
2016-10-03 16:04:24 +08:00
Boris Chiou 5e9077980f Bug 1272549 - Part 7: Compute distance for matrix and matrix3d. r=birtles
Decompose the 2d/3d matrix and calculate the Euclidean distance of
translate, scale, skew, quaternion, and perspective vectors.

MozReview-Commit-ID: 5nX9EeqvZi9

--HG--
extra : rebase_source : a15f2e4350e5c097eee8856a76244a81d589427a
2016-10-04 18:32:20 +08:00
Boris Chiou 17e5c4df16 Bug 1272549 - Part 6: Use enum class for shear in decomposition functions. r=birtles
MozReview-Commit-ID: 4exovhbjHI3

--HG--
extra : rebase_source : 99705c1bb2c980be06f7c662698241dde5ee9ab9
2016-10-12 12:36:58 +08:00
Boris Chiou c82cb7f0df Bug 1272549 - Part 5: Move decompose matrix to nsStyleTransformMatrix. r=birtles
Move Decompose2DMatrix and Decompose3DMatrix into nsStyleTransformMatrix
and remove some trailing spaces.

Both AddWeighted and ComputeDistance need Decompose2DMatrix and
Decompose3DMatrix on transform property, and both decomposition functions are
related to nsStyleTransformMatrix, so we move them into nsStyleTransformMatrix
to make StyleAnimationValue more concise.

MozReview-Commit-ID: 5aVK7971rDD

--HG--
extra : rebase_source : 75823b96a165ef65e3edfb00978b706d9db09393
2016-10-04 15:00:31 +08:00
Boris Chiou fe6b56e5e8 Bug 1272549 - Part 4: Compute distance for none and a valid transform list. r=birtles
Reuse AddTransformLists to get the identity transform functions to
replace none, and then treat them with another transform list as two matched
ones.

MozReview-Commit-ID: HwdBPCiUivg

--HG--
extra : rebase_source : 552ff668e2ac19dbfcfe2a37894b278f699f0c0b
2016-10-03 17:43:20 +08:00
Boris Chiou 9f7759999b Bug 1272549 - Part 3: Implement rotate3d with different direction axis. r=derf
Use quaternion vectors to calculate the distance of two rotate3d
functions.

MozReview-Commit-ID: LizbvRqzcuh

--HG--
extra : rebase_source : 6b852d1f66ba7d79708156119db63683900120fb
2016-10-11 15:15:22 +08:00
Boris Chiou 6d0881c481 Bug 1272549 - Part 2: Compute distance for basic 2d & 3d transform functions for matched transform lists. r=birtles
Implement these transform functions for matched transform lists:
1. translate3d
2. scale3d
3. skewXY (and skewX, skewY, skew)
4. rotateX, rotateY, rotateZ, rotate, and rotate3d with the same
   direction axis.

MozReview-Commit-ID: 94so7VGHqc8

--HG--
extra : rebase_source : d68488e3b6e87d72702c348fa0495a4d0c17ab85
2016-09-29 17:33:24 +08:00
Boris Chiou 29bd946764 Bug 1272549 - Part 1: Reorder some static functions. r=birtles
We also need these functions in ComputeDistance:
1. AddTransformTranslate
2. AddCSSValueAngle
3. TransformFunctionsMatch

So move them up.

MozReview-Commit-ID: 8mSFEOgUsLT

--HG--
extra : rebase_source : a58107f50e6636d4aeec93e086490cda09027ded
2016-09-29 17:51:55 +08:00
Bill McCloskey 9fd5d0bea3 Bug 1309867 - Part 2: Lazily create FontFace::mLoaded; r=heycam 2016-10-18 16:19:01 -07:00
Ehsan Akhgari 97a4ddfbdf Bug 1309867 - Part 1: Create FontFaceSet's ready promise lazily; r=heycam
This should help avoid calling into the JS engine in the middle of
painting.
2016-10-18 16:19:00 -07:00
JerryShih 98247421f3 Bug 1295456 - add the versioned spec link for css-color-4 reftest. r=dholbert
MozReview-Commit-ID: LPEdcod1roQ
2016-10-18 14:14:35 -07:00
Phil Ringnalda 435a27119b Merge m-c to m-i
MozReview-Commit-ID: 8nqgw9Q3gSY
2016-10-25 22:07:07 -07:00
Phil Ringnalda 93eb57bc06 Backed out 5 changesets (bug 1081858) for Android line-breaking reftest failures
Backed out changeset ac6306117c61 (bug 1081858)
Backed out changeset d9e96e907d0a (bug 1081858)
Backed out changeset 0dd35a1f895f (bug 1081858)
Backed out changeset ba420f595902 (bug 1081858)
Backed out changeset 44f9c7e8d124 (bug 1081858)

MozReview-Commit-ID: LV4YOozX3Ol
2016-10-25 20:38:20 -07:00
Bobby Holley 062d98f178 Bug 1292729 - Style text nodes on the main thread. r=heycam
MozReview-Commit-ID: CroFtWpuIrO
2016-10-25 20:10:04 -07:00
Phil Ringnalda 12c2e5d024 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: F1hQM51qoYN
2016-10-25 18:59:07 -07:00
Kan-Ru Chen 7366a10541 Bug 1081858 - Part 4. Implement segment break transformation rules. r=jfkthame
MozReview-Commit-ID: BcOm4LVWGzW
2016-10-26 08:37:04 +08:00
Kan-Ru Chen d2078995ea Bug 1081858 - Part 1. Fix aText off-by-one indexing. r=jfkthame
MozReview-Commit-ID: 6LAlEntU6C7
2016-10-26 08:37:03 +08:00
Andreas Farre 3aecf57375 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 6abd41c2de96b39004f1b2c3c740e81de570970c
2016-08-22 14:52:45 +02:00
Andreas Farre 1380385c69 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 4bdd578b654d05cab600489d30d859452d1bc888
2016-08-22 14:52:45 +02:00
Dão Gottwald 998303abfe Bug 582951 - Use CSS outline for checkbox and radio button focus indicator. r=dbaron,jimm 2016-10-22 08:28:53 +02:00
Jeff Muizelaar 9f0990afa0 Bug 1312014. Remove SVG_GLYPHS display item. r=jwatt
This doesn't seem to be used.
2016-10-21 22:37:43 -04:00
Sotaro Ikeda 5a134d6b42 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-18 10:09:00 -07:00
Kan-Ru Chen 5f5b342806 Bug 1081858 - Part 4. Implement segment break transformation rules. r=jfkthame
MozReview-Commit-ID: BcOm4LVWGzW
2016-10-26 19:15:28 +08:00
Kan-Ru Chen 0890493598 Bug 1081858 - Part 1. Fix aText off-by-one indexing. r=jfkthame
MozReview-Commit-ID: 6LAlEntU6C7
2016-10-26 19:15:26 +08:00
Cameron McCormack edea75cfba Bug 1291016 - Initialize irishMarkSrc. r=jfkthame
MozReview-Commit-ID: 31T9pXWdQRk
2016-10-20 05:01:57 +02:00
Phil Ringnalda 9b9c9ee29e Merge m-c to m-i
MozReview-Commit-ID: A38LFPPm6QL
2016-10-19 18:38:50 -07:00
Cameron McCormack 5948e5280e Bug 1310463 - Part 3: Add FFI functions for setting list-style-image. r=xidorn
MozReview-Commit-ID: LNK4UbfMfRk
---
 layout/style/ServoBindings.cpp | 60 +++++++++++++++++++++++++++++++++---------
 layout/style/ServoBindings.h   |  9 +++++++
 2 files changed, 57 insertions(+), 12 deletions(-)
2016-10-20 08:53:45 +08:00
Cameron McCormack 17f39f6df6 Bug 1310463 - Part 2: Simplify nsComputedDOMStyle::DoGetListStyleImage a little. r=xidorn
MozReview-Commit-ID: Kxbxu8mZcQs
---
 layout/style/nsComputedDOMStyle.cpp | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
2016-10-20 08:53:45 +08:00
Cameron McCormack e17f336f65 Bug 1310463 - Part 1: Make list-style-image use nsStyleImageRequest for storage. r=xidorn
MozReview-Commit-ID: ENTo2HNbBpN
---
 layout/style/nsRuleNode.cpp    |  8 ++++----
 layout/style/nsStyleStruct.cpp | 15 +++++++++++++--
 layout/style/nsStyleStruct.h   | 18 ++++++------------
 3 files changed, 23 insertions(+), 18 deletions(-)
2016-10-20 08:53:45 +08:00
Cameron McCormack 3b86d2992f Bug 1288302 - Part 6: Add FFI function to set nsStyleImageRequest values. r=xidorn
MozReview-Commit-ID: 448vAeDiKX7
2016-10-20 08:36:26 +08:00
Cameron McCormack 74fdb2a2bf Bug 1288302 - Part 5: Make nsStyleImage use nsStyleImageRequest. r=bholley
This makes background-image, mask-image and border-image settable
from Servo.

Since imgRequestProxy resolution in nsStyleImages can now happen later than
at computed value setting time, and that resolution can fail,
nsStyleImage::GetImageData() might now return null.  So all of the users of
nsStyleImage now null check its result.

MozReview-Commit-ID: FMRUrC3SfOs
2016-10-20 08:36:25 +08:00
Cameron McCormack 2cd316fd59 Bug 1288302 - Part 4: Perform final main thread work on style structs sourced from ServoComputedValues. r=xidorn
MozReview-Commit-ID: D6nQQ3yI4sx
2016-10-20 08:36:23 +08:00
Cameron McCormack 2216900ad3 Bug 1288302 - Part 3: Add nsStyleImageRequest. r=xidorn,bholley
MozReview-Commit-ID: F763Dv0Nfzp
2016-10-20 08:36:21 +08:00
Cameron McCormack 0387dc2875 Bug 1288302 - Part 2: Pass ImageTracker to style struct image tracking methods instead of nsPresContext. r=xidorn
MozReview-Commit-ID: AsGfXliHLRf
2016-10-20 08:36:16 +08:00
Cameron McCormack 9cc773db64 Bug 1288302 - Part 1: Make css::ImageValue constructable OMT. r=xidorn
MozReview-Commit-ID: 9J2E7VrCWJ1
2016-10-20 08:36:14 +08:00
Eric Rahm 1b5670be81 Bug 1311223 - Stop using nsISupportsArray for window args. r=froydnj
WindowWatcher allows for either nsIArray or nsISupports array to be passed in
for the arguments param. This converts all internal usage to nsIArray.

MozReview-Commit-ID: DQjtIkobik0
2016-10-19 16:23:57 -07:00
Kris Maglione a6c6580702 Bug 1294442: Part 1 - Allow calculating content size with constraints. r=smaug
MozReview-Commit-ID: 4AyootQ5icK

--HG--
extra : rebase_source : 8d2421263e7636c99cecd1f7cf9dda2da20be6f3
2016-10-19 13:10:18 -07:00
Carsten "Tomcat" Book c481713ead Merge mozilla-central to mozilla-inbound 2016-10-17 11:34:49 +02:00
Carsten "Tomcat" Book d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Jonathan Kew e6711537be Bug 1309582 - For text-transform:capitalize, apply capitalization after a literal newline as well as after a space character. r=m_kato 2016-10-17 08:53:15 +01:00
Jonathan Kew 0b5fcf0427 Bug 1309582 - Reftest for text-transform:capitalize with literal newlines in preformatted text. r=m_kato 2016-10-17 08:52:25 +01:00
John Dai 48b937b61e Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
MozReview-Commit-ID: 3gYTaRVcV0y

--HG--
rename : dom/base/CustomElementsRegistry.cpp => dom/base/CustomElementRegistry.cpp
rename : dom/base/CustomElementsRegistry.h => dom/base/CustomElementRegistry.h
rename : dom/webidl/CustomElementsRegistry.webidl => dom/webidl/CustomElementRegistry.webidl
2016-10-12 15:26:02 +08:00
JerryShih c6e555cb0b Bug 1295456 - Update Gecko tests for css-color-4 color function changes. r=dholbert
--HG--
extra : rebase_source : 8040d61d2a7130e3014676a78f75199509abd236
extra : histedit_source : f017c1ba5e2adeb810d95aaa15fd92cf1a9ec016
2016-10-16 03:15:36 +08:00
JerryShih 03fec15d6f Bug 1295456 - Use author-specified css color function name for css value serialization. r=dholbert
If the color is fully opaque, omit the 'a' suffix of color function name (e.g. just use 'rgb' or 'hsl').
Otherwise, show the original author-specified function name for serialization.

MozReview-Commit-ID: 4XgkvV2jDRC

--HG--
extra : rebase_source : 01151bc71e1158e206f924c7a1a51429a7d7f321
extra : histedit_source : 99cd9c8145a4166daba76b985417c2c22dff1fbf
2016-10-16 03:15:36 +08:00
JerryShih d2351f91bd Bug 1295456 - Add tests for css-color-4 color function changes. r=dholbert
MozReview-Commit-ID: 61aMI3ZkLGi

--HG--
extra : rebase_source : bfbfdc7a8dd1a9a7b86358fb3e855bcc1ce78422
extra : histedit_source : 0703740a5fd9248b43fa78c2aff85832740bd42c
2016-10-16 03:15:36 +08:00
JerryShih fcb391b776 Bug 1295456 - Remove now-unused single-arg ParseColorOpacity functions from nsCSSParser. r=dholbert
--HG--
extra : rebase_source : 8af5f29f98e0f0bfef2742133bf7c190d4e90848
extra : histedit_source : 67ae5d1a526da2128f8be461f483f99d87563029
2016-10-16 03:15:36 +08:00
JerryShih 158cde6c2f Bug 1295456 - Support <angle> value for hue component in CSS hsl() color function. r=dholbert
MozReview-Commit-ID: EYhbAEOlpLm

--HG--
extra : rebase_source : 3b898452000ea5f0f0f1819dac2d93d0a6d1c426
extra : histedit_source : a929cf0e25b0035218c4ea61abfc9135a05def15
2016-10-16 03:15:36 +08:00
JerryShih ce0369e892 Bug 1295456 - Change CSS color function hsl() to be an alias of hsla() and support css-color-4 comma-less expression. r=dholbert
MozReview-Commit-ID: 6jBTVVOxwiP

--HG--
extra : rebase_source : 797fb4704251f0587cce06f7e81f0a5c017b737e
extra : histedit_source : 826f4cf26314242e89cb503047c2757a27ec507f
2016-10-16 03:15:36 +08:00
JerryShih 7e52f68ada Bug 1295456 - Change CSS color function rgb() to be an alias of rgba() and support css-color-4 comma-less expression. r=dholbert
--HG--
extra : rebase_source : fcd36c9600d2b30e8e409351a84b015b45309c90
extra : histedit_source : b216feceadcf70bd9c0172eea6354308926993ff
2016-10-16 03:15:36 +08:00
JerryShih a0a437f47c Bug 1295456 - Support percentage opacity value in CSS color functions. r=dholbert
--HG--
extra : rebase_source : 79bf692da80a5ea861482e9bc021834f60b6d81a
extra : histedit_source : 384f41d812fecf511be8b319d91a687e9c02673d
2016-10-16 03:15:35 +08:00
Andrea Marchesini 9215b7b957 Bug 1307122 - Introducing a timeout for sync XHR when unload events are dispatched, r=smaug 2016-10-16 08:46:10 +02:00
Jorg K 4bb58198d9 Bug 1263357 - When the caret is placed after visible line break, associate caret with frame on the next line instead. r=mats
--HG--
extra : amend_source : a0068b0c841189204e07cc6c0a19f83d5dac8da3
2016-10-14 14:21:00 -04:00
Brad Werth 7ca77325f6 Bug 1235922 Part 5: Extend flexbox "align-content" reftests to test new "space-evenly" value. r=mats
MozReview-Commit-ID: BtQUxkAr0nH

--HG--
extra : rebase_source : 8b6462a2c8b3d3e00006464539803815f1fbd230
2016-10-15 12:25:23 -07:00
Brad Werth 76fb14b998 Bug 1235922 Part 4: Add support for "align-content: space-evenly" to flexbox layout. r=mats
MozReview-Commit-ID: 3ETuPrIURJ3

--HG--
extra : rebase_source : 95d4d7029660086b0bf6380b98efe57e11d4be83
2016-10-14 17:17:33 -07:00
Daniel Holbert 9b5c1b9026 Bug 1235922 Part 3: Extend flexbox "justify-content" reftests to test new "space-evenly" value. r=mats
MozReview-Commit-ID: JrUdzG5gWTU

--HG--
extra : rebase_source : 19ac9501b783ca13a023e4210f23d4b4788c9cd5
2016-10-11 14:30:13 -07:00
Daniel Holbert 9fd00fc1f2 Bug 1235922 Part 2: Add support for "justify-content: space-evenly" to flexbox layout. r=mats
MozReview-Commit-ID: 6Am15EIVAXH

--HG--
extra : rebase_source : f0500b5737f8834765707724c5204bc2ab5b40d1
2016-10-14 17:16:00 -07:00
Brad Werth 8bd396d59a Bug 1235922 Part 1: Introduce a helper-function to share code for justify-content and align-content space-around and space-between in flexbox layout. r=mats
MozReview-Commit-ID: tncRJiojh

--HG--
extra : rebase_source : 279c790926f89b1942069f8cc4eeb70fe58eaf65
2016-10-14 17:23:36 -07:00
cku 56d8d2bba8 Bug 1310171 - Correct svg x/y/width/height unit in svg mask test cases. r=mstange
MozReview-Commit-ID: JbwP2BxFxcU

--HG--
extra : rebase_source : dd01332e971d9e083ac93f2dfa30f5fe0dfd0c7f
2016-10-14 20:54:47 +08:00
Dhanesh B. Sabane a2ef7b10a8 Bug 1308137 - Remove code around IBMBIDI_SUPPORTMODE_*. r=xidorn
MozReview-Commit-ID: 96g2DBfpfX9

--HG--
extra : rebase_source : e8a299ab8ca6af6e93cf29ab9351282076e2aa1d
2016-10-16 18:05:17 +05:30
Wes Kocher 727d0de706 Merge m-c to inbound, a=merge CLOSED TREE 2016-10-14 14:51:44 -07:00
Wes Kocher 42083975b0 Merge inbound to central, a=merge 2016-10-14 14:40:49 -07:00
stefanh@inbox.com 3a689f8b9a Bug 1192053 - Implement NS_THEME_MAC_SOURCE_LIST_SELECTION and NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION. r=mstange. 2016-10-14 22:45:29 +02:00
stefanh@inbox.com 246a2ff0f8 Bug 1192053 - Add support for vibrant tree rows in nsTreeBodyFrame.cpp. r=mats. 2016-10-14 22:45:22 +02:00
Xidorn Quan ea2d289c2c Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
MozReview-Commit-ID: 5AXhsuvvrwe

--HG--
extra : source : 218d4c72938f74f16af22239a99fbdf0e4c621cf
2016-10-14 22:25:38 +11:00
Xidorn Quan 541b51df00 Bug 1292432 part 8 - Move XPCOM IDL methods which just call WebIDL methods to StyleSheet. r=heycam
MozReview-Commit-ID: 3xpdLGc6hqH

--HG--
extra : source : d156efabc47b4a2966a5972dec6755d40fcc624e
2016-10-14 22:25:38 +11:00
Xidorn Quan 2169694adb Bug 1292432 part 7 - Move other WebIDL methods to StyleSheet. r=heycam
MozReview-Commit-ID: J0tXKbZvcEq

--HG--
extra : source : c9cdb1228b36ffe102aad302f3c030c744c8fe26
2016-10-14 22:25:38 +11:00
Xidorn Quan acac5f6e5c Bug 1292432 part 6 - Make StyleSheet implement GetCssRules/InsertRule/DeleteRule. r=heycam
MozReview-Commit-ID: KD552jWZnA3

--HG--
extra : source : d53d77022ec76005a23977992eb03cae77e81706
2016-10-14 22:25:38 +11:00
Xidorn Quan 73c9f14ff1 Bug 1292432 part 5 - Unify completeness check and security check to StyleSheet. r=heycam
MozReview-Commit-ID: CmQ2Q9UrLAA

--HG--
extra : source : cb459bc28ecf5ee409374a715247b788831afd88
2016-10-14 22:25:38 +11:00
Xidorn Quan 727c0552af Bug 1292432 part 4 - Move SubjectSubsumesInnerPrincipal to StyleSheet. r=heycam
MozReview-Commit-ID: 1DItyq2QrDz

--HG--
extra : source : f3157f4296b9f32491189bfe2898bf2bfa5fb139
2016-10-14 22:25:38 +11:00
Xidorn Quan 03f63ec3b1 Bug 1292432 part 3 - Add WillDirty and DidDirty to StyleSheet. r=heycam
MozReview-Commit-ID: 17O1vYVxuCk

--HG--
extra : source : ea6b9576cccfce1bade7353f00ac668385a2af05
2016-10-14 22:25:38 +11:00
Xidorn Quan 28a773809d Bug 1292432 part 2 - Make StyleSheet inherit nsIDOMCSSStyleSheet. r=heycam
Some method impls are also moved from CSSStyleSheet to StyleSheet so
that they can be shared between the two subclasses.

The new interface methods added to ServoStyleSheet is currently left
unimplemented. They would be implemented in later patches.

MozReview-Commit-ID: 45wHT9BSHTK

--HG--
extra : source : f92bc0d37dbfce91334bff1ed2782489bcc8587a
2016-10-14 22:25:38 +11:00
Xidorn Quan d0964d7d45 Bug 1292432 part 1 - Make StyleSheet.mType be const. r=heycam
MozReview-Commit-ID: IdatjuERDK3

--HG--
extra : source : 8df6460d50803483d660d67214a3cfe85e920716
2016-10-14 22:25:38 +11:00
Stone Shih ba4920de67 Bug 1307707 - Part 2: [Pointer Event] Remove redundant member variable PointerCaptureInfo::mPrimaryState. r=masayuki
MozReview-Commit-ID: 4YoGKiAjxth

--HG--
extra : rebase_source : e742fd430b9e2203bbb82f43147bd7799fdac164
2016-10-14 10:16:39 +08:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Ehsan Akhgari 13850f4183 Bug 1309628 - Hide support for dispatching selection events on the contents of text controls behind a pref; r=mystor
This patch adds a pref to control whether we dispatch the selection
events for changes in the contents of input and textarea text controls.
The spec for this feature hasn't been written yet, and we need to exclude
this part of the selection API from the part we want to ship.
2016-10-13 16:52:07 -04:00
L. David Baron b0b5ff896a Bug 1307853 - Add web platform test (in mochitest suite). r=mats
This test failed with the initial (non-working) version of the patch,
and passes with the patch.

MozReview-Commit-ID: IPmd7Yh604Z
2016-10-13 11:41:52 -07:00
L. David Baron b2d6dd5976 Bug 1307853 - Set inline-resize flag when the content-box size is changing (in addition to border-box). r=mats
MozReview-Commit-ID: FjUwuQB8g5j
2016-10-13 11:41:52 -07:00
L. David Baron 562f8f0223 Update links pointing to my personal website (http -> https). No bug.
(Patch written entirely using a single sed command,
's,http://dbaron.org,https://dbaron.org,g' .)

MozReview-Commit-ID: 12JARDNn8H4
2016-10-13 11:41:51 -07:00
L. David Baron 5ed8356810 Some updates to the data for './mach file-info bugzilla-component' in layout/generic, partly for bug 1277129. No review.
MozReview-Commit-ID: 8gSfPy0eKIB
2016-10-13 11:41:51 -07:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Michael Layzell 7f30ef3465 Bug 1231923 - Enable selection events for documents with the System Principal, r=ehsan
MozReview-Commit-ID: J9UoI9Pdu48
2016-10-13 13:07:17 -04:00
Stone Shih ad4a2218e7 Bug 1307707 - Part 1: [Pointer Event] Refine pointer events related codes with modern our style. r=masayuki
MozReview-Commit-ID: 1aRwP7FsiB0

--HG--
extra : rebase_source : 9b63b22c4356d02ce3ae49996cdb10e53b9ab43c
2016-10-05 15:16:02 +08:00
Botond Ballo 4df075436c Bug 1293125 - Work around a layout issue that causes StickyScrollContainer::GetScrollRanges() to compute malformed rects. r=mstange
MozReview-Commit-ID: IClxdc8tfBh

--HG--
extra : rebase_source : 1be980c68b93244b1cf910335f3693c682c2ba22
2016-10-07 19:31:14 -04:00
Michelangelo De Simone d089be15c2 Bug 1306778 - Remove DOM/tv and related code. r=jst
MozReview-Commit-ID: 25Mch3xznlh

--HG--
extra : rebase_source : 8ed0967556ee709fb7ca00713d29049a4515f1c7
2016-09-30 16:38:03 -07:00
Julian Descottes 86fd0737d8 Bug 1308993 - aboutdebugging remove align-items: self-start;r=erahm
MozReview-Commit-ID: 7d054lVgwdt

--HG--
extra : rebase_source : 9c84df5b59f3fe0de661fc5485beb9cb33c25caa
2016-10-13 16:42:26 +02:00
Manish Goregaokar 6539d8d64f Bug 1309848 - Add bindings for constructing nsStyleQuoteValues; r=bholley,emilio
MozReview-Commit-ID: EjuzgZKMpPp

--HG--
extra : rebase_source : 75ee5c123b5a4754975c4568391c882ac149a01f
2016-10-13 17:15:01 +05:30
Kartikaya Gupta fa397ea897 Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel
If, within a single refresh driver tick, the scroll position is updated by JS
explicitly, and then subsequently also updated by a frame reconstruction, the
scroll origin from the former (nsGkAtoms::other) can get clobbered by the latter
(to nsGkAtoms::restore). The restore scroll origin is "weaker" in that it can
be ignored by the APZ code in some circumstances. This is undesirable because
it means the JS scroll update also gets ignored. This patch ensures that when
setting the scroll origin we don't do this clobbering of stronger origins with
weaker origins.

MozReview-Commit-ID: DA4EHp1Debu

--HG--
extra : rebase_source : 99fd1f91698a605792b2a622450f1ff31bc89101
2016-10-11 09:36:22 -04:00
Carsten "Tomcat" Book 802e7b16f9 merge mozilla-inbound to mozilla-central a=merge 2016-10-13 11:53:49 +02:00
Hiroyuki Ikezoe 9df227139a Bug 1223658 - Part 8: Drop nsLayoutUtils::HasActiveAnimationOfProperty. r=birtles
MozReview-Commit-ID: 3uI5wQoviqK

--HG--
extra : rebase_source : a0e81fb9e33e33fd9eefa42b12d777ddfd418965
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe 1aadd2a502 Bug 1223658 - Part 7: Reftests for checking stacking context when changing keyframe and target directly in delay phase. r=birtles
MozReview-Commit-ID: 5skSGbo7qp2

--HG--
extra : rebase_source : 5285b94d1183851514667d2512a0a1e3021a1c97
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe ca0f6e0ff5 Bug 1223658 - Part 5: Send animations to compositor even though it's in delay phase. r=birtles
To send animations to compositor in the delay phase we need to
modify Animation::IsPlaying returning true in the delay phase.

Note about background-position-in-delay.html:
After this patch, background-position animation also creates an active layer
from its delay phase.

Also note about test cases in test_animations_omta.html:
After landing bug 1279071, getOMTAStyle() returns the style value only
specified by animations, also in this patch we don't apply any opacity or
transform values in the delay phase, as a result we can't tell animating
value during delay phase on the compositor.

MozReview-Commit-ID: ILYKig3c08d

--HG--
extra : rebase_source : 5715c1f9ec43da3c8374f08cdca82e2ca29fe474
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe 949de6422d Bug 1223658 - Part 3: Consider fillMode in compositor thread as well. r=birtles
We need to consider fill mode in compositor thread as well as other properties
because pulling the animation back from the compositor thread is sometimes
delayed due to the main thread busyness.  In such situations, if there is
another animation running on the main thread on the same element, users can
easily notice a gap between both of animations.

MozReview-Commit-ID: 1i7YTWboira

--HG--
extra : rebase_source : 036ca7707d07200af7435e027607503cd03f547e
2016-10-14 19:14:11 +09:00
Hiroyuki Ikezoe d8ec730df8 Bug 1223658 - Part 2: Pass delay property to compositor. r=birtles
The check of negative elapsedDuration is basically no longer valid since
animation delay is not factored into start time any more.  But still we have
somtimes met negative elapsedDuration sice we use a previous vsync time stamp
for async animations to make the animations more sync.  This is not a problem
in most cases but makes two reftests intermitent failure because both of them
used steps(1, start), the steps(1, start) composed different results in the
before phase and in the active phase. To avoid this difference this patch
replace the steps(1, start) with steps(1, end).

Once we incorpolate playbackRate into GetCurrentOrPendingStartTime, we don't
need to call AnimationTimeToTimeStamp for deviding delay by playbackRate since
the time passed to AnimationTimeToTimeStamp does not contain delay any more.

MozReview-Commit-ID: IVE2IFfNgm0

--HG--
extra : rebase_source : 7cb42e57067c21451706bd89284016d996dc8b12
2016-10-14 19:14:01 +09:00
Michelangelo De Simone 42dd1f7367 Bug 1309723 - Remove DOM/voicemail and related code. r=Ehsan
MozReview-Commit-ID: JDSqQnYD6xL

--HG--
extra : rebase_source : 43008cd2eaf97d77d32a6faa9fb4854e3d1f29a8
2016-10-13 15:11:41 -07:00
Wes Kocher 524df273d6 Merge m-c to autoland, a=merge 2016-10-14 14:49:31 -07:00
Daniel Holbert 5ea7b37dd6 Bug 1090031: Apply CSS 'align-content' in flex containers if they *could* wrap (rather than if they *have* wrapped). r=mats
The spec says that single-line flex containers should stretch their one flex
line to the flex container's cross size, and should ignore 'align-content'.

Initially, the spec defined 'single-line' to include any flex container that
happens to have only 1 line (even if it's got 'flex-wrap:wrap' or
'wrap-reverse'). But later, the term 'single-line' was intentionally redefined
to *only* include flex containers that have 'flex-wrap: nowrap'.  So, instead
of checking the line-count, we should instead check 'flex-wrap', when deciding
whether to stretch our one line & ignore 'align-content'.


MozReview-Commit-ID: D2ZMIBS16ui

--HG--
extra : rebase_source : 835a64e0f9cdaa375f8e57f55ffe5b011525cbeb
2016-10-12 09:04:03 -07:00
Wes Kocher 5c9e53976d Backed out changeset 37e0c017b268 (bug 1090031) for reftest failures a=backout 2016-10-12 14:46:23 -07:00
Wes Kocher 2337995bb0 Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
Wes Kocher 2142de26c1 Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Wes Kocher 3770ad1b24 Merge inbound to m-c a=merge 2016-10-12 14:23:33 -07:00
Sebastian Hengst f1659f19b4 Backed out changeset 221d9d15395f (bug 1299715) for failing reftest clipPath-and-mask-on-outflowElement-01a.html on Windows 8 x64. r=backout 2016-10-12 18:02:18 +02:00
Sebastian Hengst 162bba7f14 Backed out changeset aad315d1eb89 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst 39f37cfc06 Backed out changeset bf2428d58601 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst 22483d098a Backed out changeset fa72646efc0a (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst ead934e26a Backed out changeset c53086907356 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst f984f3a888 Backed out changeset b91db6687d19 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst e1301411c3 Backed out changeset 4f0b13e4444a (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst 59477e6b56 Backed out changeset c9c910a1c399 (bug 1299715) 2016-10-12 18:02:17 +02:00
Sebastian Hengst e9833c971d Backed out changeset 7d5077078dca (bug 1299715) 2016-10-12 18:02:17 +02:00
Sebastian Hengst e3f99a78e1 Merge m-c to autoland to fix reftest failure. r=merge a=merge 2016-10-12 15:59:36 +02:00
Sebastian Hengst 8f0cecb6bc Merge m-c to mozilla-inbound to fix reftest failure. r=merge a=merge 2016-10-12 15:58:40 +02:00
Sebastian Hengst 4016945f8f Bug 1309533 - Annotate reftest 395107-2 as fuzzy which got triggered by rebucketing. r=dholbert a=Tomcat
MozReview-Commit-ID: 5ZNi1dcDL0T
2016-10-12 15:49:18 +02:00
Neil Deakin 97647daf2c Bug 1307793, pressing space when menulist is ofocused should perform incremental find select rather than open the menu, r=ksteuber 2016-10-12 09:18:08 -04:00
Neil Deakin 7f547cba15 Bug 1304243, scroll the current item into view when opening a menulist after it gets positioned so that it scrolls properly if the popup gets cropped, r=ksteuber 2016-10-12 09:18:05 -04:00
Carsten "Tomcat" Book 2844380bd4 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
rename : media/gmp-clearkey/0.1/gtest/TestClearKeyUtils.cpp => media/psshparser/gtest/TestPsshParser.cpp
rename : media/gmp-clearkey/0.1/gtest/moz.build => media/psshparser/gtest/moz.build
2016-10-12 12:01:48 +02:00
Sebastian Hengst 41711ac427 Bug 1307719 - Switch B2G-only test annotations in layout/reftests/bugs/reftest.list to Android and disable them until they get fixed. r=dholbert
MozReview-Commit-ID: B9w0EE3sAwF

--HG--
extra : rebase_source : efef2b3de6f7f6f2fab0979e39ef14f6ff12a4c4
2016-10-11 20:05:49 +02:00
Phil Ringnalda 6182caa3b9 Backed out 2 changesets (bug 1278136) for failures in no-stacking-context-opacity-removing-animation-in-delay.html
Backed out changeset 62cf4a7d6007 (bug 1278136)
Backed out changeset 5f2db29e67ca (bug 1278136)

MozReview-Commit-ID: K9WcZFjL2XB
2016-10-11 20:40:36 -07:00
Hiroyuki Ikezoe d7f92dae54 Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles
This patch introduces a new functions named HasEffectiveAnimationOfProperty.
This function checks that a given CSS property is overridden by !important
rules.
On the other hand, now KeyframeEffetReadOnly::HasAnimationOfProperty() does
just check that the effect has a given CSS property.  This is used to create
a stacking context because we should create a stacking context for opacity or
transform animations even if the property is overridden by !important rules.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-12 09:59:03 +09:00
Hiroyuki Ikezoe 5443b7cdf5 Bug 1278136 - Part 4: Tests to check stacking context for correct effect in cascading rule. r=birtles, bz
These tests aim to confirm that part 5 does not cause any regressons.
Adding this bunch of reftests makes a slight change in the result of
layout/reftests/bugs/395107-2.html on Android, so fuzzy-if was also
added for the test.

MozReview-Commit-ID: BtZ1OGiilmQ

--HG--
rename : layout/reftests/css-animations/no-stacking-context-animation-ref.html => layout/reftests/css-transitions/no-stacking-context-transition-ref.html
rename : layout/reftests/css-animations/stacking-context-animation-ref.html => layout/reftests/css-transitions/stacking-context-transition-ref.html
2016-10-12 09:59:02 +09:00
Brad Werth 5fcdb45cbd Bug 1306894 Part 2: Update the grid-container-baselines-004 reftest to exercise baseline alignment of flexboxes within grid containers. r=dholbert
MozReview-Commit-ID: 6BCnVO76Byu

--HG--
extra : rebase_source : 942cbdcddc5cfa1b996055b63b1f0629a1135de6
2016-10-11 13:30:37 -07:00
Brad Werth 35c396cb6a Bug 1306894 Part 1: Cache baseline from nsFlexContainerFrame::Reflow() for use in later calls to GetLogicalBaseline(). r=dholbert
MozReview-Commit-ID: JXUK8a0L1RZ

--HG--
extra : rebase_source : 9c4f885ac883429512073f38dfa1226058d8b8a5
2016-10-11 12:54:00 -07:00
Sebastian Hengst 2eca3212fe Backed out changeset e0f7328a3633 (bug 1307719) for untouched test 395107-2.html suddenly failing on Android debug. r=backout on a CLOSED TREE 2016-10-12 01:01:51 +02:00
Sebastian Hengst 6cb88bfbb4 Bug 1307719 - Switch B2G-only test annotations in layout/reftests/bugs/reftest.list to Android and disable them until they get fixed. r=dholbert
MozReview-Commit-ID: B9w0EE3sAwF

--HG--
extra : rebase_source : efef2b3de6f7f6f2fab0979e39ef14f6ff12a4c4
2016-10-11 20:05:49 +02:00
Neerja Pancholi 3b8232d2be Bug 1300895 - Unprefix CSS multi-column properties, but add back prefixed aliases via nsCSSPropAliasList.h r=dbaron
Also make necessary updates to tests like:
1. unprefixing in property_database.js and added new aliases there
2. unprefixing in test_transitions_per_property.html
3. update nsComputedDomStylePropertyList.h
4. update devtools' property database

MozReview-Commit-ID: B3kOFrM9EL

--HG--
extra : rebase_source : 93f82f91924e75bb00f9a74bc0644a33cca73bdf
2016-10-10 13:16:57 -07:00
Geoff Brown ead36921a9 Bug 927602 - Enable skipped font-matching reftests on Android; r=me 2016-10-11 13:48:38 -06:00
Neil Deakin 845dd33d01 Bug 1210328, compute correct flip state for popups, r=ksteuber 2016-10-11 14:13:36 -04:00
Neil Deakin 3ddf50388a Bug 1308233, fix assertion opening menulists in rtl, r=mstange 2016-10-11 14:13:36 -04:00
Jim Mathies 887ff1cdb0 Bug 1267106 - Reftest harness should check readyState and continue if the document state is 'complete'. r=jmaher
MozReview-Commit-ID: IiiVKXaHhuY

--HG--
extra : rebase_source : c0c1c4c1bf0827ecc5ee931eb9fddaec85772ae8
2016-10-11 09:53:43 -05:00
Olli Pettay 97b9917978 Bug 1308459 - Rename RefreshDriver::PresContext() to hint about its behavior, r=tnikkel
--HG--
extra : rebase_source : 50cf1fd7f1ee052e182ae3fa84ce8648e46143cd
2016-10-12 14:27:38 +03:00
Gijs Kruitbosch e097591200 Bug 1274633 - remove windows 10 welcome page, r=MattN
MozReview-Commit-ID: HI8mqzRmV45

--HG--
extra : rebase_source : 56b6c7f96185327776e988dc9f04928e2820a2b4
2016-09-28 16:53:46 +01:00
cku 3a2d8faf25 Bug 1299715 - Part 9. Test cases of clip-path and mask over an out-of-flow element. r=mstange
MozReview-Commit-ID: FV7N9OUnjZC

--HG--
extra : rebase_source : 855207e6f44b0387a65bdffa735cdd16d6b8f4e6
2016-10-06 00:35:31 +08:00
cku 3375efb41f Bug 1299715 - Part 8. Fix typo in comment of GetVisualOverflowRect. r=mstange
MozReview-Commit-ID: 6xKBK7jXEZ6

--HG--
extra : rebase_source : 46fb2bf97f9272eccaf244a69746819a4aba2df4
2016-10-07 15:15:44 +08:00
cku f00b30aac5 Bug 1299715 - Part 7. Correct clip region for mask surface. r=mstange
MozReview-Commit-ID: 1MZA9uxO9Oi

--HG--
extra : rebase_source : f0b635d4c945966b1e0bc3bd91b1911dcf81a6a6
2016-10-07 14:46:41 +08:00
cku faa1874701 Bug 1299715 - Part 6. Move ComputeMaskGeometry from nsSVGIntegrationUtils to nsDisplayMask. r=mstange
MozReview-Commit-ID: 4uLfaGDXGyE

--HG--
extra : rebase_source : 136a87f3b23578d6a3a2cf95474463edb6a53708
2016-10-11 13:12:00 +08:00
cku a31601cee7 Bug 1299715 - Part 5. Correct clip region for opacity surface. r=mstange
MozReview-Commit-ID: 1wiQKsHKJsg

--HG--
extra : rebase_source : d07c35615119fdae64c0bffd4cbd6290630fbc4e
2016-10-07 12:42:35 +08:00
cku 9cd308352d Bug 1299715 - Part 4. Correct clip region for clip-path mask surface. r=mstange
MozReview-Commit-ID: IOFOyS18yRm

--HG--
extra : rebase_source : b55a935500104c9a754dad8817d9bc3302944a5c
2016-10-06 14:55:55 +08:00
cku 74299516a8 Bug 1299715 - Part 3. Clip the target context by visible region of nsDisplayMask. r=mstange
MozReview-Commit-ID: HuqQBdY2M0O

--HG--
extra : rebase_source : bd1bf1b7fbbd6dd660f9f8d1609e5c6c6c07a368
2016-10-07 11:47:45 +08:00