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

13398 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 96054e12cc Bug 1324661 part 1. When recreating style contexts for elements in stylo, use the right frame (not the primary frame!) for tables. r=bholley,emilio
For a table, the primary frame is the table wrapper anonymous box.  That
anonymous box inherits style from its _child_ table frame, which is the frame that
has the actual style for the element.  So we want to use the stylo-computed
style for the table frame, and then compute an updated style for the table
wrapper too, because some things (like absolute positioning) are done for the
table wrapper anonymous box, not the table frame.
2017-02-17 14:52:39 -05:00
Tom Tromey d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey 3fc18f2e33 Bug 1060419 - make nsFrame.cpp use VsprintfLiteral, r=froydnj
MozReview-Commit-ID: 8g4E4mLj289

--HG--
extra : rebase_source : e8e8ef49694f8d6a6ff331ab25f5ab1f48ee48d9
2016-12-09 14:03:53 -10:00
Ravi Shankar 9f7341a8f1 Bug 1339765 - Replace NS_STYLE_GRID_TRACK_BREADTH_* with enum classes;r=heycam
MozReview-Commit-ID: BAMrykPhoIl

--HG--
extra : rebase_source : 025144924eb6270837d74adab5e72265b6d2f62a
2017-02-17 09:28:36 +05:30
Matt Woodrow ba6e966a12 Bug 1302071 - Part 1: Remove AddPresShellToInvalidateIfHidden since it doesn't appear to be necessary. r=tnikkel
We added this so that MozAfterPaint events would be delivered to hidden documents as part of bug 539356, but I don't remember what needed it.
It doesn't appear to be necessary for any tests any more, so let's just get rid of it

MozReview-Commit-ID: HcmIjstZyLQ

--HG--
extra : rebase_source : 3f58129b3b1588e5d39e00c157e4bdba1afeed0c
2017-02-17 11:49:29 +13:00
cam@mcc.id.au 35e68ba276 Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley
MozReview-Commit-ID: LO0t92orjWZ

--HG--
extra : rebase_source : 56611b57af30555f46e8d417f95690fb5d6ab115
2017-01-13 03:21:11 +00:00
Ting-Yu Lin e5836e823a Bug 1326407 Part 8 - Implement shape-outside: inset(). r=dbaron
The reftests have passed
layout/reftests/w3c-css/submitted/check-for-references.sh.

MozReview-Commit-ID: JZk1fo8SxgV

--HG--
extra : rebase_source : 5010c7e32bfe383c855ea5899f84860c4c747658
2017-02-16 10:51:49 +08:00
Ting-Yu Lin 859109777e Bug 1326407 Part 7 - Rename BoxShapeInfo to RoundedBoxShapeInfo. r=dbaron
The radii has been cached in the BoxShapeInfo in the previous part. Hence
the rename.

This class will be used to implement inset() in the next part, so the rect
stored isn't necessarily the rect of the <shape-box>. It could be the inset
rectangle. Therefore I rename mShapeBoxRect to mRect to avoid any confusion.

MozReview-Commit-ID: J0hpQDsbMyN

--HG--
extra : rebase_source : 76cf50e1819a586199934c29f46d467a1b86a9ec
2017-02-16 10:51:48 +08:00
Ting-Yu Lin 784cc9aee2 Bug 1326407 Part 6 - Cache the border radii in BoxShapeInfo. r=dbaron
The radii can be computed when creating BoxShapeInfo. No need to compute
them every time in the LineLeft() and LineRight().

MozReview-Commit-ID: GIDSLgickCT

--HG--
extra : rebase_source : 53bcb9bb89dc254119be00f6d091797bdbbec9af
2017-02-16 10:51:48 +08:00
Ting-Yu Lin 4f2dbe4c8e Bug 1326407 Part 5 - Rename ConvertPhysicalToLogical(). r=dbaron
Make the name and the order of arguments be consistent with the
ConvertPhysicalToLogical() method added in the previous part.

MozReview-Commit-ID: 1YARDzI3cyr

--HG--
extra : rebase_source : 41dfc4bf09610a5a38fed281d4a65157cf474503
2017-02-16 10:51:48 +08:00
Ting-Yu Lin 80b589bbdc Bug 1326407 Part 4 - Extract a function to convert a rect to float manager's logical coordinate. r=dbaron
MozReview-Commit-ID: Ag6V6XmlHIU

--HG--
extra : rebase_source : e47c6673a22c9e2de595e86a519c927546f68a96
2017-02-16 10:51:48 +08:00
Ting-Yu Lin be522fca9a Bug 1326407 Part 3 - Extract a function to compute <shape-box> rect. r=dbaron
MozReview-Commit-ID: HaiDqNgE25P

--HG--
extra : rebase_source : 9b92aa9f6c0007030a651b9bd598f301f8f3bb7a
2017-02-16 10:51:48 +08:00
Carsten "Tomcat" Book dacc230ad3 Merge mozilla-central to autoland 2017-02-15 12:59:23 +01:00
Carsten "Tomcat" Book ed3d8d8286 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Xidorn Quan 95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Jeff Walden cdee578059 Bug 1287006 - Don't pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer, in layout/-related code. r=bz
--HG--
extra : rebase_source : 94377970d6ec591044a10dab1aa5568e4a051837
2017-02-13 09:07:40 -08:00
Daniel Holbert 452a3b8454 Bug 1339609: Add #include for gfxPrefs.h to all source code that calls gfxPrefs APIs. r=jgilbert
MozReview-Commit-ID: GxWehmDYB3t

--HG--
extra : rebase_source : cd994e5c6abf777f77c5a708cbfb2f6afc49a44c
2017-02-14 14:01:59 -08:00
Ting-Yu Lin 744b2da832 Bug 1338443 followup - Fix comment indentation for nsFloatManager::mOld. r=me
Comment-only change. DONTBUILD.

MozReview-Commit-ID: Dci70Bqkbc0
2017-02-14 14:31:47 +08:00
Wes Kocher c8fa3242ab Merge m-c to inbound, a=merge
MozReview-Commit-ID: Lt0WpWkto4h
2017-02-13 17:07:33 -08:00
Cameron McCormack f63cdecde2 Bug 1297899 - Part 6: Move RestyleManagerHandle functionality into RestyleManager. r=bholley
MozReview-Commit-ID: 7lsti0bGzNr

--HG--
extra : rebase_source : 13c64026190afe5de25f540adb6deea9f518149f
2017-02-13 11:21:33 +08:00
Cameron McCormack eddea92878 Bug 1297899 - Part 3: Rename RestyleManager to GeckoRestyleManager and RestyleManagerBase to RestyleManager. r=bholley
MozReview-Commit-ID: fFTZKwmGJm

--HG--
extra : rebase_source : 42b99c8a9c5616999abae2d195d16547f1fbc80f
2017-02-13 11:21:32 +08:00
Cameron McCormack c041778642 Bug 1297899 - Part 1: Rename RestyleManager.{h,cpp} to GeckoRestyleManager.{h,cpp}. r=bholley
MozReview-Commit-ID: 1v0ufuGFtiD

--HG--
rename : layout/base/RestyleManager.cpp => layout/base/GeckoRestyleManager.cpp
rename : layout/base/RestyleManager.h => layout/base/GeckoRestyleManager.h
extra : rebase_source : 9e9432b1185697dc21eb23de93a09610a5a074bd
2017-02-13 11:21:30 +08:00
Ting-Yu Lin 81c35ddd7e Bug 1338443 Part 2 - Convert nsAutoFloatManager::mNew to use UniquePtr. r=dholbert
The life cycle of nsFloatManager managed by mNew is same as
nsAutoFloatManager, which lives only in nsBlockFrame::Reflow(). Therefore,
other nsFloatManager pointers are all non-owning ref to the
nsAutoFloatManager::mNew.

MozReview-Commit-ID: B34BOcsjE2X

--HG--
extra : rebase_source : 49e4adaf31537b4003ee1a3db315f3e8bd8b1a7f
2017-02-09 17:57:16 +08:00
Ting-Yu Lin 90c689bf56 Bug 1338443 Part 1 - Use ReflowInput's float manager in BlockReflowInput. r=dholbert
From the "NS_ASSERTION(mFloatManager)" statement in BlockReflowInput's
constructor, we know that BlockReflowInput's mFloatManager is always valid
and equals to aReflowInput.mFloatManager. Therefore, we could just use
ReflowInput's float manager in BlockReflowInput.

Due to the removal of BlockReflowInput's mFloatManager, the logic which
resets mFloatManager near the end of nsBlockFrame::Reflow() is removed as
well. It's safe because beyond that point, no other logic involves floats,
and |state| (i.e. BlockReflowInput) lives only on the stack.

MozReview-Commit-ID: 3dwXMnWkEI6

--HG--
extra : rebase_source : 7f9af1af10fd54456450b23bc0004dd5f15db4e4
2017-02-09 16:59:07 +08:00
Jesse Schwartzentruber 1b6fe7b4c5 Bug 1278080 - Crashtest. 2017-02-12 01:44:06 +01:00
Kartikaya Gupta 96c394d70c Merge m-c to graphics
MozReview-Commit-ID: AXRXwXgkOTv
2017-02-10 13:57:53 -05:00
Carsten "Tomcat" Book 3ed98bee2a merge mozilla-inbound to mozilla-central a=merge 2017-02-10 13:49:56 +01:00
Kartikaya Gupta 61bc491994 Merge m-c to graphics
MozReview-Commit-ID: Ejcj1CD87t3
2017-02-09 10:12:03 -05:00
Ryan Hunt 963025a5dd Merge m-c to graphics 2017-02-08 10:57:06 -06:00
Ryan Hunt 5e2990dc18 Merge m-c to graphics 2017-02-07 09:05:18 +00:00
Kartikaya Gupta 2c58155ac0 Merge m-c to graphics
MozReview-Commit-ID: EcjJhQuqDFI
2017-02-05 10:39:54 -05:00
Kartikaya Gupta bf7599ac75 Merge m-c to graphics
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Kartikaya Gupta 6580d884b2 Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Wes Kocher 30d9ef4d29 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D76dMYwFRUQ
2017-02-09 17:06:59 -08:00
Cameron McCormack 90e83367ae Bug 1334768 - stylo: Test expectation adjustments for for 2017-02-09 merge. r=me
MozReview-Commit-ID: AhvCAu3NYrb
2017-02-09 21:11:09 +08:00
Kartikaya Gupta 21e9123c56 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta 1c269ab364 Merge m-c to graphics
MozReview-Commit-ID: 7PVyxahE0p6
2017-01-31 09:04:18 -05:00
Cameron McCormack f7f9c5f69e Bug 1324647 - stylo: Downgrade "Need to flush before destroying!" assertion since it occurs frequently. r=me
MozReview-Commit-ID: AOUnCyG4I2O
2017-01-31 15:10:45 +08:00
Cameron McCormack 41bbd156cf Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 15:10:45 +08:00
Wes Kocher e95e4ed8b5 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: EznJuwqcCfw
2017-01-31 15:13:44 -08:00
Sebastian Hengst 2664cfc0a9 Backed out changeset 0d069e7395e9 (bug 1314045) for Windows build bustage: warning at Loader.cpp(1885). r=backout on a CLOSED TREE 2017-01-31 18:17:09 +01:00
Cameron McCormack 0ba5cf9cc4 Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 17:38:16 +01:00
Cameron McCormack 590058f927 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst ed5bd31f9b Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE 2017-01-31 17:32:12 +01:00
Sebastian Hengst 24430aff14 Backed out changeset 4787d54f7aa6 (bug 1314045) 2017-01-31 17:30:25 +01:00
Sebastian Hengst 82170bb7cf Backed out changeset 7771169d9f8a (bug 1324647) 2017-01-31 17:30:21 +01:00
Neerja Pancholi 2d0231a9be Bug 1166147 - Part3: Override GetWritingMode() and make it more robustly defer to root element, to avoid truncating printed vertical-WM docs. r=dholbert
MozReview-Commit-ID: IYM3gzf1CpS

--HG--
extra : rebase_source : fa8afc85a6f3139c3c8f296ed3a469a87020a746
2017-01-30 13:22:45 -08:00
Neerja Pancholi abfaf40d01 Bug 1166147 - Part2: Convert physical co-ordinates to logical co-ordinates for nsSimplePageSequenceFrame. r=dholbert
MozReview-Commit-ID: FAETDfZOyfh

--HG--
extra : rebase_source : 20593c80fca6ceba969f7a789c04b026bf3748ca
2017-01-29 23:30:05 -08:00
Kartikaya Gupta 445dea068b Merge m-c to graphics
MozReview-Commit-ID: Kv6GW5ElioD
2017-01-29 08:03:30 -05:00
Botond Ballo a98321305e Bug 1328658 - Notify main thread of a failed attempt to start an APZ scrollbar drag. r=kats,tnikkel
MozReview-Commit-ID: ERm1sVNfoKL

--HG--
extra : rebase_source : 0b57987a2a15533fad577dd2d363ec386f6bfeae
2017-01-27 18:02:22 -05:00