Iris Hsiao
53e5ead7ef
Backed out changeset a44640701558 (bug 1323912)
2017-01-04 21:47:16 -05:00
Iris Hsiao
c8e876e89c
Backed out changeset c868ab532766 (bug 1323912)
2017-01-04 21:47:12 -05:00
Iris Hsiao
f3fabb8956
Backed out changeset 71c136b30a4d (bug 1323912)
2017-01-04 21:47:08 -05:00
Mats Palmgren
51a67d7f24
Bug 1328095 - [writing-mode] Make JoinBoxesForVerticalSlice use logical coordinates (and rename it JoinBoxesForBlockAxisSlice accordingly). r=jfkthame
2017-01-04 21:35:19 +01:00
cku
c834e9f24d
Bug 1323912 - Part 3. Pass opacity in gradient-mask painting path. r=mstange
...
MozReview-Commit-ID: E2RdOHGoia8
--HG--
extra : rebase_source : 5242b694dc33121fc10fa1933a8168f0aa444723
2017-01-04 01:05:05 +08:00
cku
adab9bea9f
Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
...
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.
MozReview-Commit-ID: EMkLnG3YXA1
--HG--
extra : rebase_source : 080a843b34cc1ca27831310d474243b4066f59f2
2017-01-03 13:53:22 +08:00
cku
e36c492419
Bug 1323912 - Part 1. Rename PaintBackground to PaintStyleImageLayer. r=mstange
...
MozReview-Commit-ID: GWuII34t0j7
--HG--
extra : rebase_source : f74e9d242e2ef505790575cd12e0a58cc07ec44f
2017-01-03 11:57:13 +08:00
Xidorn Quan
97d13f46a3
Bug 1303241 part 2 - Make GetVisitedDependentColor use style structs directly. r=dbaron
...
I think there are three advantages of this change:
1. removes some dependencies from layout / painting code to pre-computed
value stuff in the style system;
2. makes it easier to audit usage of specific fields in style structs
(which is probably a side effect of the first one);
3. potentially improves performance since it doesn't go through the
unnecessary general logic in ExtractComputedValue.
Also, combined with the part before, we get a unified list for visited-
dependent properties so that we can ensure the assertion here and the
style difference calc code are consistent.
MozReview-Commit-ID: 5B9aN7CfRgI
--HG--
extra : rebase_source : ac80eaea2474b9ec4b47b1cc9a5bdd2e61f6ec4d
2016-12-31 00:57:37 +11:00
Daniel Holbert
ae86e90d47
Bug 1326579: Add some needed includes in layout/painting, to preemptively fix unified bustage. r=xidorn
...
MozReview-Commit-ID: G8Ax9cVtOFP
--HG--
extra : rebase_source : 43e1d274e169bb8139d3ac867791aa638a2ea33f
2016-12-31 16:35:41 -08:00
Xidorn Quan
c26fcf05e4
Bug 1326209 part 2 - Change background-color to use complex color. r=dholbert
...
MozReview-Commit-ID: 1n3TC3CVY7U
--HG--
extra : rebase_source : 6b402a2493f58d114a9898a4d556587fdc98a9ee
2016-12-30 02:03:29 +11:00
Xidorn Quan
70cf8ed908
Bug 1326209 part 1 - Make nsCSSRendering::DrawTableBorderSegment take nscolor for background color. r=dholbert
...
MozReview-Commit-ID: sSPtxzIf9H
--HG--
extra : rebase_source : 7d0f60f14f63ddba840037e12637ab9b56b6a6fe
2016-12-30 01:58:13 +11:00
Timothy Nikkel
937a0a32fb
Bug 1325297. Use the return value of StartDecoding to determine if an image finished decoding during painting. r=aosmond
...
This saves us from having to do another paint for an image that is already decoded.
2016-12-19 19:01:53 -06:00
cku
2e82af6e3a
Bug 1311270 - Part 8. Add assertion for margin-box.
...
MozReview-Commit-ID: FEkEf3ps83k
--HG--
extra : rebase_source : b1c1deb914ba23f74953670e8e79cc0d3ba635c4
2016-11-30 15:51:05 +08:00
cku
ad2eb9a55d
Bug 1311270 - Part 7. Rename local variable in GetImageLayerClip and ComputeImageLayerPositioningArea.
...
GetImageLayerClip and ComputeImageLayerPositioningArea are used by both
background and mask layer. Rename local variables to reveal this fact.
MozReview-Commit-ID: FjScl95eWJg
--HG--
extra : rebase_source : cad013dabea9af3f5636f894f867ff913d004cce
2016-11-24 17:23:01 +08:00
cku
cf0d863191
Bug 1311270 - Part 6. Handle mask-origin.
...
MozReview-Commit-ID: EGuK4TIy7wp
--HG--
extra : rebase_source : d9925011bd36dc82dccdb9ffb8fdcb7c085ccc33
2016-11-24 02:52:44 +08:00
cku
786cafedab
Bug 1311270 - Part 5. Handle rendering of mask-clip:fill-box/stroke-box/view-box.
...
MozReview-Commit-ID: JhInquHEgmy
--HG--
extra : rebase_source : bfd590b7897c7b1eebda7b642afcdd0bddb3faea
2016-11-23 18:23:32 +08:00
cku
8ac56b97a3
Bug 1311270 - Part 4. Handle rendering of mask-clip:no-clip.
...
MozReview-Commit-ID: 42n7ywfrc3P
--HG--
extra : rebase_source : 74732dd4185f554e226c712738592448df215798
2016-11-23 02:36:04 +08:00
cku
286c728e90
Bug 1311270 - Part 3. Replace {bg|mask}-origin/{bg|mask}-clip constants by StyleGeometryBox.
...
MozReview-Commit-ID: DYokhDa9fFQ
--HG--
extra : rebase_source : a187c3f9519efb8b031913ce0dbf643c05232fa2
2016-11-22 15:30:01 +08:00
Ethan Lin
21706065db
Bug 1303623 - Part4. Rendering changes. r=heycam
...
MozReview-Commit-ID: AXKoabclfz9
--HG--
extra : rebase_source : f4d9d5c7f18fdc40bd87f661b0e0a15e02a0d084
2016-10-19 15:49:57 +08:00
Andi-Bogdan Postelnicu
ddf6d94c25
Bug 1323186 - ensure the result of the operation is floating point. r=mattwoodrow
...
MozReview-Commit-ID: 59Cn494rh5l
--HG--
extra : rebase_source : dcdc06ed9db24029375d5a9cda5df032c1df3f92
2016-12-13 16:11:22 +02:00
Matt Woodrow
8203047d48
Bug 1319626 - Part 3: Refactor nsCSSRendering border painting so callers can access the border renderer. r=mstange
...
--HG--
extra : rebase_source : 8ce157b743e13578a6ae06fc58f40e4b58c75241
2016-11-24 18:11:30 +13:00
Carsten "Tomcat" Book
87a18ea3a2
Backed out changeset 72e731f1198a (bug 1319626)
2016-11-24 17:02:29 +01:00
Carsten "Tomcat" Book
61849e269d
merge mozilla-inbound to mozilla-central a=merge
2016-11-24 16:41:59 +01:00
Matt Woodrow
e81509efa8
Bug 1319626 - Part 3: Refactor nsCSSRendering border painting so callers can access the border renderer. r=mstange
2016-11-24 18:11:30 +13:00
Ting-Yu Lin
754b6c9659
Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
...
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"
MozReview-Commit-ID: 9T0ORsqM6nP
--HG--
extra : rebase_source : 884ad96104c6e9cf6c8b3145d2d3a071ecccfe6a
2016-11-18 18:12:25 +08:00
Ting-Yu Lin
c9cfd878cb
Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
...
This patch is written with the help of the following script.
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "css::Side" "Side"
MozReview-Commit-ID: DPV6vivpPUp
--HG--
extra : rebase_source : 9c4f66dc9d2b26c89a4517fba4ff9c5db413411b
2016-11-18 16:28:38 +08:00
Ehsan Akhgari
aca985efab
Bug 1318805
- Move the code for the Web Painting module to layout/painting; r=mattwoodrow
...
This will help make it clearer that this code lives in a different
module for contributors.
--HG--
rename : layout/base/ActiveLayerTracker.cpp => layout/painting/ActiveLayerTracker.cpp
rename : layout/base/ActiveLayerTracker.h => layout/painting/ActiveLayerTracker.h
rename : layout/base/BorderCache.h => layout/painting/BorderCache.h
rename : layout/base/BorderConsts.h => layout/painting/BorderConsts.h
rename : layout/base/DashedCornerFinder.cpp => layout/painting/DashedCornerFinder.cpp
rename : layout/base/DashedCornerFinder.h => layout/painting/DashedCornerFinder.h
rename : layout/base/DisplayItemClip.cpp => layout/painting/DisplayItemClip.cpp
rename : layout/base/DisplayItemClip.h => layout/painting/DisplayItemClip.h
rename : layout/base/DisplayItemScrollClip.cpp => layout/painting/DisplayItemScrollClip.cpp
rename : layout/base/DisplayItemScrollClip.h => layout/painting/DisplayItemScrollClip.h
rename : layout/base/DisplayListClipState.cpp => layout/painting/DisplayListClipState.cpp
rename : layout/base/DisplayListClipState.h => layout/painting/DisplayListClipState.h
rename : layout/base/DottedCornerFinder.cpp => layout/painting/DottedCornerFinder.cpp
rename : layout/base/DottedCornerFinder.h => layout/painting/DottedCornerFinder.h
rename : layout/base/FrameLayerBuilder.cpp => layout/painting/FrameLayerBuilder.cpp
rename : layout/base/FrameLayerBuilder.h => layout/painting/FrameLayerBuilder.h
rename : layout/base/LayerState.h => layout/painting/LayerState.h
rename : layout/base/MaskLayerImageCache.cpp => layout/painting/MaskLayerImageCache.cpp
rename : layout/base/MaskLayerImageCache.h => layout/painting/MaskLayerImageCache.h
rename : layout/base/PaintTracker.cpp => layout/painting/PaintTracker.cpp
rename : layout/base/PaintTracker.h => layout/painting/PaintTracker.h
rename : layout/base/nsCSSRendering.cpp => layout/painting/nsCSSRendering.cpp
rename : layout/base/nsCSSRendering.h => layout/painting/nsCSSRendering.h
rename : layout/base/nsCSSRenderingBorders.cpp => layout/painting/nsCSSRenderingBorders.cpp
rename : layout/base/nsCSSRenderingBorders.h => layout/painting/nsCSSRenderingBorders.h
rename : layout/base/nsDisplayItemTypes.h => layout/painting/nsDisplayItemTypes.h
rename : layout/base/nsDisplayItemTypesList.h => layout/painting/nsDisplayItemTypesList.h
rename : layout/base/nsDisplayList.cpp => layout/painting/nsDisplayList.cpp
rename : layout/base/nsDisplayList.h => layout/painting/nsDisplayList.h
rename : layout/base/nsDisplayListInvalidation.cpp => layout/painting/nsDisplayListInvalidation.cpp
rename : layout/base/nsDisplayListInvalidation.h => layout/painting/nsDisplayListInvalidation.h
2016-11-21 20:01:15 -05:00