Shih-Chiang Chien
90ec406aed
Bug 1335888 - disable native theming for a mochitest's input field, so its click targets can be predictable. r=dholbert
...
MozReview-Commit-ID: 7NZwSG0grz
--HG--
extra : rebase_source : 2bdb9c4d36de84a6024c46d33c63f7db5ff8f224
2017-02-02 11:42:51 +08:00
Jonathan Watt
28ad9afcfa
Bug 1058040, part 11 - Convert DrawImage/DrawImageInternal's SVGImageContext param from pointer to Maybe<>. r=dholbert
2017-01-11 01:48:29 +00: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
Emilio Cobos Álvarez
222cfd4e2c
Bug 1209697: Part 2, Cache flex measuring reflows to avoid exponential behavior. r=dholbert
...
MozReview-Commit-ID: 8vcLUvASEFM
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
--HG--
extra : rebase_source : e0341ceaf269a6d0ed44fb6a82fff90956192073
2017-01-06 15:34:16 +01:00
Ting-Yu Lin
83efb1089f
Bug 1334227 - Early return in unimplemented shape-outside cases. r=xidorn
...
MozReview-Commit-ID: 8l6C9LsLpJI
--HG--
extra : rebase_source : 3e91fd201d9483ce21cb4087aecbaf0a30a0a29a
2017-02-02 11:53:06 +08:00
Markus Stange
5e1d11e580
Bug 1298218 - Add a workaround for root scroll frame container layer scrolling. r=tnikkel
...
Root frame containers really throw a wrench into the whole system.
MozReview-Commit-ID: 9066vWMYxxr
--HG--
extra : rebase_source : 7e79c1ffa1a327e0ee9f780885e2fae02b8846ed
2017-01-27 17:38:55 +01:00
Markus Stange
748d7621c9
Bug 1298218 - Create nsDisplayFixedPosition if the element has a scrolled clip. r=mattwoodrow
...
MozReview-Commit-ID: Kvqs6YkeGZ
--HG--
extra : rebase_source : 306bb47a24d382cc88afb6c0a2181653270d26a2
2016-08-24 16:34:31 -04:00
Markus Stange
068d452b3e
Bug 1298218 - Save and restore the combined clip for the "top layer". r=tnikkel
...
MozReview-Commit-ID: IRfB85gVyWB
--HG--
extra : rebase_source : 15cfdd7f2f09e3a3d09887ef9858f1e28b90c94f
2017-01-27 17:33:53 +01:00
Markus Stange
6efd7c73b1
Bug 1298218 - Use DisplayItemClipChain for tracking clips on display items. r=mattwoodrow,tnikkel
...
This is the bulk of the changes.
- DisplayItemScrollClip is removed. Instead, we will have 1) ActiveScrolledRoot
and 2) DisplayItemClipChain.
- ActiveScrolledRoot points to a scroll frame and allows traversing up the
scroll frame chain.
- DisplayItemClipChain is a linked list of clips, each clip being associated
with the ActiveScrolledRoot that moves this clip.
- Each display item has an ActiveScrolledRoot and a clip chain.
- nsDisplayItem::GetClip returns the item of the clip chain that scrolls with
the item's ASR. The separation between "regular clip" and "scroll clips"
mostly goes away.
- Tracking clips in the display list builder's clip state happens very
similarly to how regular clips used to be tracked - there's a clip chain for
content descendants and a clip chain for containing block descendants. These
clip chains are intersected to create the combined clip chain.
- There are strict rules for the ASR of a container item: A container item's
ASR should be the innermost ASR which the item has finite clipped bounds with
respect to.
- At some point in the future, ASRs and AGRs should be reunified, but I haven't
done that yet, because I needed to limit the scope of the change.
MozReview-Commit-ID: KYEpWY7qgf2
--HG--
extra : rebase_source : c727f6300a35463750639e165bfa37374c06b851
2017-01-31 17:07:35 -05:00
Markus Stange
0d3bb285fe
Bug 1298218 - Back out bug 1284586. r=tnikkel
...
MozReview-Commit-ID: FGNKyDcoEyF
--HG--
extra : rebase_source : d1f73117513424e7da21d16162e14a3aba79ba70
2016-08-19 18:17:36 -04:00
Markus Stange
6e2cece750
Bug 1298218 - Add the ability to know whether a background image is fixed before creating the display item. r=mattwoodrow
...
With the ActiveScrolledRoot changes, we will need to set up different state on
the display list builder prior to creating the nsDisplayBackgroundImage item.
MozReview-Commit-ID: CgeffVPccfj
--HG--
extra : rebase_source : e2e1481a2e9df8becf56b969f151915694d62a8d
2016-08-19 19:36:57 -04: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
Cameron McCormack
95f75d80be
Bug 1324647 - stylo: Downgrade "Need to flush before destroying!" assertion since it occurs frequently. r=me
...
MozReview-Commit-ID: AOUnCyG4I2O
2017-01-31 23:36:29 +08:00
Cameron McCormack
e64744beef
Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
...
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 23:36:21 +08:00
Cameron McCormack
946b5c3633
Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
...
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08:00
Neerja Pancholi
fc19ad11b3
Bug 1166147 - Part1: Ignore writing mode while printing header and footer r=dholbert
...
MozReview-Commit-ID: Kesy6LG2KNe
--HG--
extra : rebase_source : d8c2b8b3b5aa1079152d68e8297aef9df2ea9ec9
2017-01-19 11:45:30 -08:00
Cameron McCormack
9c4ea5685f
Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
...
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze
bdc1ffa608
Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws.
2017-01-30 08:10:22 +01:00
Cameron McCormack
7805d4716e
Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
...
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Mats Palmgren
0d8685f315
Bug 1334403 - Make <caption> inline size stretch again for table flex items. r=dholbert
2017-01-29 04:02:59 +01:00
Wes Kocher
18e735dcef
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: EfMOcZbAiSe
2017-01-27 16:39:29 -08:00
Wes Kocher
7cd28f7e5d
Merge inbound to central, a=merge
...
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Bobby Holley
fd04f8fa75
Bug 1334358 - Stop using CreateAnonymousFrames for combo box creation. r=bz
2017-01-27 16:13:33 -08:00
Gijs Kruitbosch
8faf5c08a8
Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
...
MozReview-Commit-ID: 1Xxt72jYdm7
--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Boris Chiou
8a0ed49b88
Bug 1324691 - Part 3: Support AnimationsWithDestroyedFrame for ServoRestyleManager. r=heycam
...
MozReview-Commit-ID: 4cQ6PoieLLG
--HG--
extra : rebase_source : 6f0ca88a379ca9ce73488ae0b68b2b8a43469509
2017-01-27 12:45:46 +08:00
Boris Chiou
8941b09399
Bug 1324691 - Part 2: Move AnimationsWithDestroyedFrame into RestyleManagerBase. r=hiro
...
Both ServoRestyleManager and RestyleManager need AnimationsWithDestroyedFrame,
so move it to the base class.
MozReview-Commit-ID: BswoDYm0gS1
--HG--
extra : rebase_source : 7c5aad5189ad425b0dcefab12d465d579704030d
2017-01-26 17:05:53 +08:00
Bobby Holley
0d6e9dc9ff
Bug 1334247 - Add an explicit hook for the nsComboboxControlFrame case, and eliminate nsIAnonymousContentCreator::CreateFrameFor. r=bz
2017-01-26 15:33:06 -08:00
Emilio Cobos Álvarez
1c87f99407
Bug 1334075: Part 2, mark some methods in nsTextFrame as final to avoid virtual calls. r=xidorn
...
MozReview-Commit-ID: FBhjFSNviBL
2017-01-26 15:43:12 +01:00
Emilio Cobos Álvarez
ad0b4ef8b2
Bug 1334075: Part 1, Reformat nsTextFrame.h to match coding style. r=xidorn
...
MozReview-Commit-ID: FLgExDFFPXW
2017-01-26 15:43:06 +01:00
Ting-Yu Lin
9e98795aca
Bug 1333685 - Eliminate CircleShapeInfo, and use EllipseShapeInfo for circle(). r=dbaron
...
The difference between CircleShapeInfo's constructor and EllipseShapeInfo's
is the computation of the radii. Therefore, this patch creates a factory
function to distinguish that, so shape-outside: circle() could be
implemented by using EllipseShapeInfo.
MozReview-Commit-ID: 9ZBQu8zCSrM
2017-01-26 14:21:29 +08:00
Florian Quèze
be4dbae285
Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws.
2017-01-27 10:51:02 +01:00
Ting-Yu Lin
88f22bd389
Bug 1333366 Part 2 - Update legacy NS_SIDE usage and document. r=mats
...
Delete the "or 0 for no movement in that direction" from the CanAdjustEdges
document in nsMenuPopupFrame.h because the only caller in nsResizerFrame.cpp
never passes 0 to it.
MozReview-Commit-ID: 3A5A8O4MDn1
--HG--
extra : rebase_source : 3a961f9195d7887f8abb5c31ae9ec088f78a2626
2017-01-24 18:41:56 +08:00
Ting-Yu Lin
3cfff373f7
Bug 1333366 Part 1 - Update document related to Corner and HalfCorner. r=mats
...
MozReview-Commit-ID: 4wnjQOvploH
--HG--
extra : rebase_source : f300a44b190377e8217e5070f2d01261f54f5d22
2017-01-24 18:37:05 +08:00
Ting-Yu Lin
587b378e1d
Bug 1326406
Part 6 - Make CircleShapeInfo inherit from EllipseShapeInfo. r=dbaron
...
MozReview-Commit-ID: H0UgT6P6c7K
--HG--
extra : rebase_source : c78b150708644baf09dcd182659eeeb108f6f7da
2017-01-23 17:19:32 +08:00
Ting-Yu Lin
0807932a97
Bug 1326406
Part 5 - Update document about float manager's coordinate space. r=dbaron
...
MozReview-Commit-ID: LJVqs49CSqQ
--HG--
extra : rebase_source : a012fd57664e6a58358eb18feab664958f15340c
2017-01-23 16:37:07 +08:00
Ting-Yu Lin
6e5dfe2a8e
Bug 1326406
Part 4 - Implement shape-outside: ellipse(). r=dbaron
...
MozReview-Commit-ID: t1gaoKNbNp
--HG--
extra : rebase_source : e52d4f935d5865fd034def6c46d914c61db36f19
2017-01-23 17:18:07 +08:00
Ting-Yu Lin
3cda6f7ed5
Bug 1326406
Part 3 - Add ShapeInfo::Translate() for moving the origin of ShapeInfo. r=dbaron
...
Instead of manually adding (aLineLeft, aBlockStart) when creating a shape,
add Translate() to let the shapes implement their only way to move their
origin. FloatInfo could then move the shapes after they're created.
MozReview-Commit-ID: ApZBHnkng74
--HG--
extra : rebase_source : 10da425372e4e26b0da506059befc99e1c47a39d
2017-01-23 17:17:37 +08:00
Wes Kocher
a65c1b1dfe
Merge inbound to central, a=merge
...
MozReview-Commit-ID: BeGxZAeguBr
2017-01-24 16:08:16 -08:00
Morris Tseng
1928a5fc22
Bug 1328494 - Convert nsDisplayBullet to layer. r=mattwoodrow
...
MozReview-Commit-ID: 8cDvUfwJqUF
2017-01-24 16:53:42 +08:00
Phil Ringnalda
403a7be2db
Backed out changeset 9b9e53e7eee7 (bug 1326686
) for causing frequent failures in test_scroll_snapping_scrollbars.html
...
--HG--
extra : rebase_source : 7e4a4cd87bcbb88c566b708881190f1b4c1dd964
2017-01-24 07:42:44 -08:00