Commit Graph

52900 Commits

Author SHA1 Message Date
Kan-Ru Chen
6a947f6166 Bug 1081858 - Part 4. Implement segment break transformation rules. r=jfkthame
MozReview-Commit-ID: BcOm4LVWGzW
2016-10-27 14:52:22 +08:00
Kan-Ru Chen
fc31e05aaa Bug 1081858 - Part 1. Fix aText off-by-one indexing. r=jfkthame
MozReview-Commit-ID: 6LAlEntU6C7
2016-10-27 14:52:21 +08:00
Phil Ringnalda
4012e61cc3 Merge m-i to m-c, a=merge
MozReview-Commit-ID: CysKZsvYf69
2016-10-26 18:40:50 -07:00
Wes Kocher
dcffb6b66c Backout revision 111c1227f51e (bug 1243846) for test_intersectionobservers.html failures on android a=backout CLOSED TREE
--HG--
extra : histedit_source : deadf3597a7fdb80b5836c4588516dfb4a06445b%2C5de29fcbccbf12173908822681f6f789186bd3bf
2016-10-27 14:16:10 -07:00
David Anderson
f81c22020e Parse reftest conditions based on content gfx settings instead of chrome. (bug 1313260, r=mattwoodrow)
--HG--
extra : rebase_source : ff41b3a780ba0fee569e46ff9798c436a8a87c98
2016-10-27 18:52:51 -07:00
Tobias Schneider
aa61833e3d Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
--HG--
extra : rebase_source : de93bbd5bdecddc2cbf30b57de0fabfe1e4806c3
2016-10-26 22:04:00 -04:00
Adam Velebil
33caf18ccc Bug 1313565 - Convert NS_STYLE_ORIENT_* to enum class ; r=manishearth,xidorn
MozReview-Commit-ID: LHT6Aa2ojlf

--HG--
extra : rebase_source : cad726aee8e14d7ae60b899a76fcd26edb608507
2016-10-28 06:17:20 +02:00
Adam Velebil
389406c473 Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; r=manishearth,xidorn
MozReview-Commit-ID: 7I7Z4q7mLtC

--HG--
extra : rebase_source : 23ce3fddb26424aa42aea93cfdf6fc123926fe18
2016-10-29 10:51:05 +02:00
Adam Velebil
9260566b60 Bug 1313565 - Convert NS_STYLE_USER_MODIFY_* to enum class ; r=manishearth,xidorn
MozReview-Commit-ID: IA4bGLgRxd6

--HG--
extra : rebase_source : 6632c53a96df170e8604d65b351f7ee2717ec9ec
2016-10-23 22:41:49 +02:00
Ben Kelly
0983850a63 Bug 1303167 P6 Rename new suspend and freeze methods to final names. r=smaug 2016-10-26 10:20:16 -07:00
Ben Kelly
bf0ca72f77 Bug 1303167 P2 Use new window suspend and freeze methods. r=smaug
* * *
Bug 1303167 P2 interdiff 0001 Review feedback
2016-10-26 10:20:15 -07:00
Sebastian Hengst
3110d249d5 Backed out changeset c55a20f1422b (bug 1243846) for failing modified test test_intersectionobservers.html. r=backout 2016-10-26 18:49:08 +02:00
Sebastian Hengst
5187549cd1 Backed out changeset fd1d01c7a9e2 (bug 1081858) for failing reftest segment-break-transformation-1.html on Windows XP. r=backout 2016-10-26 18:49:07 +02:00
Sebastian Hengst
552e6ad9a9 Backed out changeset 5044bee3df13 (bug 1081858) 2016-10-26 18:49:07 +02:00
Tobias Schneider
e7229ba450 Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
--HG--
extra : rebase_source : fed18f84d17be6f8d1a6196d3a0b6c66f005fa8b
extra : histedit_source : 2d2579bba67ba6bb1857ecbf92a1ab4a21e0d81e
2016-10-12 20:15:16 -07:00
Cameron McCormack
3be9ff068c Bug 1311921 - Store base and relative URIs explicitly in nsStyleImageRequests for comparison purposes, rather than use css::ImageValues. r=bholley
MozReview-Commit-ID: 5aArKCI7Rhx

--HG--
extra : rebase_source : 15d2d9fc2a715bbc8438da814ce68d1a119898fc
2016-10-28 14:34:33 +08:00
Boris Chiou
5284058486 Bug 1313554 - Use brace-initialization to ShearArray. r=hiro
MozReview-Commit-ID: 9dT7bpGpCEC

--HG--
extra : rebase_source : 6769a3802d67af4b082c0e1271add2c4f9af786b
2016-10-28 11:11:36 +08:00
Jeremy Chen
bef3029fdb Bug 1313083 - Remove unused line layout debug flags. r=TYLin
MozReview-Commit-ID: 1OeiGqDdNii

--HG--
extra : rebase_source : 59dbac169fd9fd3aac22b90b3300860dc167c9a9
2016-10-26 23:15:36 +08:00
Jeremy Chen
3cc6a60250 Bug 1313083 - Fix REALLY_NOISY_REFLOW line layout debug flag. r=TYLin
We might miss this while introducing writing-mode APIs to nsLineLayout in
Bug 789096.

MozReview-Commit-ID: IrW8fEXbM2s

--HG--
extra : rebase_source : c856309ae1539060e54d9c717f9cab3de3f090af
2016-10-26 23:15:36 +08:00
Jeremy Chen
c4fb070a5c Bug 1313083 - Fix NOISY_BLOCKDIR_ALIGN line layout debug flag. r=TYLin
1. frame was mis-renamed to mFrame in Bug 1277129.
2. frameWM should've been removed in Bug 1094914.

MozReview-Commit-ID: qMv6L2vbrV

--HG--
extra : rebase_source : e6dcfef4cd53ab7cb0920d56074623204001b83a
2016-10-26 23:15:35 +08:00
Hiroyuki Ikezoe
4999550c29 Bug 1311196 - Part 3: Adjust fill mode to fill forwards for all animations on the compositor. r=birtles
MozReview-Commit-ID: DsIrWoxci0X

--HG--
extra : rebase_source : 559edb1756cf13b2677cabcc18321825c9fd8e4c
2016-10-26 17:19:38 +09:00
Carsten "Tomcat" Book
9031c83f32 Merge mozilla-central to autoland 2016-10-26 17:14:27 +02:00
Phil Ringnalda
0a5faee022 Merge m-c to autoland 2016-10-25 22:08:13 -07:00
Phil Ringnalda
8cf1367dd8 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FnnOWQ3xKPi
2016-10-25 22:03:31 -07:00
Phil Ringnalda
c28ca54cca Merge autoland to m-c, a=merge
MozReview-Commit-ID: IwOWQT0vnYa
2016-10-25 21:57:34 -07:00
Xidorn Quan
1fa27577d0 Bug 1310123 - Move values of static constants in nsStyleStruct to the header. r=mats
MozReview-Commit-ID: J5Fp0iAEnkg

--HG--
extra : rebase_source : b8366ff6b14493f53c0aa8880850adcad7495983
2016-10-25 17:25:10 +11:00
Karl Tomlinson
38d111e1e2 bug 1312658 annotate 1174332-1.html failure since outline -moz-focusring from bug 582951 r=dao a=KWierso
MozReview-Commit-ID: FVbioOcc1Im

--HG--
extra : amend_source : 0c170fe75d61d11944827334c6a07a951090b2ff
extra : transplant_source : vI%CDlF%7C%E9%7B%0F%7F%3D%01%A6%5B%A2%1A4%0F%E4%B0
2016-10-25 18:42:26 +13:00
Carsten "Tomcat" Book
1895ce466b Backed out changeset eb2606332cb8 (bug 1198381) 2016-10-25 12:32:54 +02:00
Carsten "Tomcat" Book
59a29b8b1c merge mozilla-inbound to mozilla-central a=merge 2016-10-25 10:31:03 +02:00
Wes Kocher
951194ee45 Backed out 6 changesets (bug 1299435) for windows reftest failures a=backout
Backed out changeset 0d587a1cab8f (bug 1299435)
Backed out changeset 3ab9d3cb13aa (bug 1299435)
Backed out changeset 1ed742f88f49 (bug 1299435)
Backed out changeset 51ad497c7ac2 (bug 1299435)
Backed out changeset 06ca6acef0a2 (bug 1299435)
Backed out changeset ebd4625e101a (bug 1299435)

--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.inc => gfx/skia/skia/src/animator/SkCondensedDebug.cpp
rename : gfx/skia/skia/src/animator/SkCondensedRelease.inc => gfx/skia/skia/src/animator/SkCondensedRelease.cpp
2016-10-24 16:45:46 -07:00
Xidorn Quan
a899c1a9ac Bug 1312338 part 2 - Use nsACString to pass string parameters in binding functions. r=manishearth
MozReview-Commit-ID: BRKZBQJCrMQ

--HG--
extra : source : c0a7498ea402f1db4aca1c05508f577bacf21f0c
2016-10-25 10:19:45 +11:00
Lee Salzman
e7bb8b8512 Bug 1299435 - followup - fix Android fuzz for Skia m55. r=me 2016-10-24 17:01:26 -04:00
Eric Rahm
fe17c07cae Bug 1311191 - Part 2: Convert |inIDOMUtils.getCSSStyleRules| to |nsIArrayExtensions|. r=heycam
This converts |getCSSStyleRules| to return an |nsIArrayExtensions| instead of
an |nsISupportsArray|. |nIArrayExtensions| still provides the iteration
mechanisms -- |Count| and |GetElementAt| -- that add-ons expect so they should
not be affected.

MozReview-Commit-ID: ZdrFrbclX8
2016-10-24 13:24:28 -07:00
Lee Salzman
af0242407d Bug 1299435 - part 5 - adjust fuzz for Skia m55 update. r=mchang
MozReview-Commit-ID: I58xWEmBARK
2016-10-24 15:22:28 -04:00
Carsten "Tomcat" Book
b46ba94f25 Merge mozilla-central to mozilla-inbound 2016-10-25 12:36:02 +02:00
Cameron McCormack
6e3f0feaaa Bug 1312331 - Build up list of applicable rules in reverse to avoid quadratic time array manipulations. r=erahm
MozReview-Commit-ID: HAjtxQVZo8X
2016-10-24 02:59:00 +02:00
Carsten "Tomcat" Book
31bdfd3ad3 Merge mozilla-central to mozilla-inbound
--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.cpp => gfx/skia/skia/src/animator/SkCondensedDebug.inc
rename : gfx/skia/skia/src/animator/SkCondensedRelease.cpp => gfx/skia/skia/src/animator/SkCondensedRelease.inc
2016-10-25 10:46:44 +02:00
Michelangelo De Simone
144c0a5d23 Bug 1309719 - Remove DOM/telephony and related code. r=ehsan+251051
MozReview-Commit-ID: Gv3vnyH4Csi

--HG--
extra : rebase_source : 6267f92bc9104bace982297474dc978a06dff5ba
2016-10-12 15:19:09 -07:00
Phil Ringnalda
130ddd8a8e Merge m-c to autoland 2016-10-25 18:58:17 -07:00
Lee Salzman
a352fb08e0 Bug 1299435 - part 5 - adjust fuzz for Skia m55 update. r=mchang
MozReview-Commit-ID: I58xWEmBARK
2016-10-24 22:41:53 -04:00
Jessica Jong
e732e68921 Bug 1310076 - Add 'datetime-local' to the list of valid types attributes for <input>. r=smaug 2016-10-24 03:35:00 +02:00
Xidorn Quan
0e7a21831d Bug 1311598 part 4 - Split binding types from ServoBindings.h into ServoBindingTypes, and merge ServoBindingHelpers into it. r=heycam
MozReview-Commit-ID: CKvBMOapqlI

--HG--
extra : rebase_source : 83531296b4b8a8a9c54f03953cab2a48e8c6cbad
extra : source : e1c6c680a4718619e1a4cbecd84cccac4101d69b
2016-10-24 20:16:46 +11:00
Xidorn Quan
131121fc77 Bug 1311598 part 3 - Add include ServoBindings.h to files need it. r=heycam
MozReview-Commit-ID: 3fI0bt4p8Jd

--HG--
extra : rebase_source : 86fa88f15183d1503c92044afca3e86649ec2523
extra : source : 5acc7cffb73234e2664c31f8283fa8a50f0be1b5
2016-10-24 20:16:46 +11:00
Xidorn Quan
a7771e9c76 Bug 1311598 part 2 - Declare Servo_GetStyle* functions in nsStyleContext.h. r=heycam
MozReview-Commit-ID: 5i3rX4ateH3

--HG--
extra : rebase_source : f541b11b9eeb5b76be99277300faf3cbfc777eca
extra : source : c600b8ff90d4d9f6e5a4aefcc4230842da22615e
2016-10-24 20:16:46 +11:00
Jeremy Chen
aee90be343 Bug 1286468 followup - Fix naming issues.
MozReview-Commit-ID: C2PDA4R5k5F
2016-10-24 15:01:25 +08:00
Mats Palmgren
57faec6e4d Bug 1312295 - Change ReflowInputFlags to use uint32_t since we'll need more than 16 bits here. r=dholbert 2016-10-24 03:54:54 +02:00
Michelangelo De Simone
8641036d15 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN

--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Ryan VanderMeulen
a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Adam Velebil
e7dddd42f0 Bug 1312173 - Convert NS_STYLE_USER_INPUT_* to an enum class; r=manishearth,xidorn
MozReview-Commit-ID: sYiJrZryrA

--HG--
extra : rebase_source : dbb7bae56bea6203176097af8de119cae0a6391c
2016-10-23 00:08:18 +02:00
Jeremy Chen
d11d8fe851 Bug 1286468 - Trim trailing whitspaces in nsBlockFrame.h and nsBlockFrame.cpp. r=TYLin
MozReview-Commit-ID: JDgfzmGcb1J

--HG--
extra : rebase_source : 1f4f6dd8a49cfe8ba7829bf09bf20fd06abbc0f5
2016-10-22 19:41:05 +08:00
Jeremy Chen
349eabf2f7 Bug 1286468 - Rename line related functions in nsBlockFrame. r=TYLin
1. Rename these functions to agree with Mozilla coding style.
2. Use singular naming instead of plural naming since each of these functions
returns an iterator pointing to a singular line.
3. Rename line() and rline() to BeginLineFrom() and RBeginLineFrom(), which
shall improve the readability.

MozReview-Commit-ID: txZjVnv9Yb

--HG--
extra : rebase_source : b4dae99ab7bf751bd9974616f8f8e6dfe6248fc2
2016-10-22 19:41:05 +08:00
Jeremy Chen
a670e3349a Bug 1286468 - Rename line related typedefs in nsBlockFrame. r=TYLin
MozReview-Commit-ID: Cz9R3D4NzMc

--HG--
extra : rebase_source : 19da1e2a58abedf61fddd9c8e314830cf81a4602
2016-10-22 19:41:04 +08:00
Jeremy Chen
10d4cdde8e Bug 1286468 - Remove the old vertical alignment coding style. r=TYLin
MozReview-Commit-ID: Ocg21HcL9R

--HG--
extra : rebase_source : e36782a703f238722257e7fc989cbc8f7df43792
2016-10-22 19:41:03 +08:00
Markus Stange
c143496596 Bug 1312130 - Remove nsDisplayMathMLCharBackground and use nsDisplayBackgroundColor / Image instead. r=mattwoodrow
MozReview-Commit-ID: 4htHnUIGyk3

--HG--
extra : rebase_source : d3959d1f8084c0ab73aa56d179a277ec1516ad4a
2016-10-21 21:13:28 -04:00
Markus Stange
0f52e39563 Bug 1312123 - Remove some unused display item types. r=mattwoodrow
MozReview-Commit-ID: 1gDkqppF4R2

--HG--
extra : rebase_source : 507a5362a882b9301ae8add1d6448e0c5a503780
2016-10-21 17:19:49 -04:00
Andrew Halberstadt
c7c5495b4a Bug 1311723 - Look for mozinfo.json in the correct place when running interactive loaners, r=armenzg
MozReview-Commit-ID: K8fqlo0x4Oc

--HG--
extra : rebase_source : dbc88b48244f3f98b4f64fe12c57bb6e4fb119dc
2016-10-21 12:24:17 -04:00
Manish Goregaokar
1feab4fa75 Bug 1311959 - Remove marker-offset; r=tromey,xidorn
MozReview-Commit-ID: 72Fse0z1BiY

--HG--
extra : rebase_source : 45743ae282b861fc84f3462d1e49abde9ca0997f
2016-10-21 15:34:46 +05:30
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