gecko-dev/layout
Ting-Yu Lin 5ebb40fc4c Bug 1311244 Part 6 - Add ShapeInfo and move <shape-box> impl to BoxShapeInfo. r=dbaron
Create ShapeInfo as a base class for implementing all the shapes. In this
design, we only need to create the correct subclass in FloatInfo's
constructor whenever shape-outside is used rather than manually branching on
StyleShapeSourceType and StyleBasicShape in all the methods like
LineRight(), LineLeft(), etc.

The concrete subclass of ShapeInfo could focus on implementing how its shape
influence the flow area by overriding the needed methods in ShapeInfo.

Move ComputeEllipseLineInterceptDiff() and XInterceptAtY() under the scope
of ShapeInfo so that they could be used by BoxShapeInfo and all the other
ShpapeInfo subclasses yet to come.

MozReview-Commit-ID: ETVc5FdGNha

--HG--
extra : rebase_source : 9a083ccd95fd7565112a45e30c15a91b97c7290f
2017-01-06 16:36:30 +08:00
..
base Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron 2017-01-06 16:36:05 +08:00
build Bug 1328651 - Move servo initialization/shutdown back to nsLayoutStatics.cpp. r=heycam 2017-01-08 17:42:29 -08:00
doc
forms Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me 2017-01-11 20:35:12 +08:00
generic Bug 1311244 Part 6 - Add ShapeInfo and move <shape-box> impl to BoxShapeInfo. r=dbaron 2017-01-06 16:36:30 +08:00
inspector Bug 1323618 - Allow locking off of psuedo-classes through inIDOMUtils. r=heycam 2017-01-12 12:10:07 -05:00
ipc Bug 1304598 Part 6 - Rename nsViewportFrame.h/cpp to ViewportFrame.h/cpp, and move exported header to mozilla/ subdir. r=dholbert 2016-11-30 11:14:29 +08:00
mathml Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me 2017-01-11 20:35:12 +08:00
media
painting Bug 1329411 - Correct wrong alpha value caused by the sixth patch in bug 1323912, and a test case. r=mstange 2017-01-09 10:41:42 +08:00
printing Bug 1324000: Use nsWeakFrame to hold nsIPageSequenceFrame member in nsPrintEngine. r=smaug 2017-01-09 08:26:31 +00:00
reftests Bug 1330630 - Use "reftest-wait" to fix reftest fail for 315920-26.html. r=jeremychen 2017-01-12 23:02:20 +08:00
style Bug 1330513- Check that mCSSValueList is null in case of filter and shadow in StyleAnimationValue::Add(). r=boris 2017-01-12 19:42:14 +09:00
svg Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron 2017-01-06 16:36:05 +08:00
tables Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me 2017-01-11 20:35:12 +08:00
tools Backed out changeset 5566e83980ed (bug 1313155) for mass build bustage a=backout CLOSED TREE 2017-01-12 14:16:52 -08:00
xul Bug 1330401 - Don't render explicit children of bound elements with no insertion points. r=bz 2017-01-11 21:08:03 -08:00
moz.build Bug 1318805 - Move the code for the Web Painting module to layout/painting; r=mattwoodrow 2016-11-21 20:01:15 -05:00