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

53540 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 45cec2ab70 Bug 1319626 - Part 4: Build BorderLayers if enabled. r=mstange
--HG--
extra : rebase_source : ed44e14cf38347bf9a18e69cb981f1187775a641
2016-11-24 18:11:30 +13: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 00e25fe58c Backed out changeset e6760c16df72 (bug 1319626) 2016-11-24 17:02:27 +01:00
Carsten "Tomcat" Book fc781d5a09 Backed out changeset 5e4dbaca50ef (bug 1319626) 2016-11-24 17:02:24 +01:00
Carsten "Tomcat" Book 61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Timothy Nikkel f54b06dd46 Bug 1317558. Make SurfaceFromElement ask for async image notifications because it can be called during painting. r=aosmond 2016-11-24 01:22:52 -06:00
Matt Woodrow 5e1a7b14aa Bug 1319626 - Part 5: Minimize visible region for border layers. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow 0a8102cacf Bug 1319626 - Part 4: Build BorderLayers if enabled. r=mstange 2016-11-24 18:11:30 +13: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
Matt Woodrow fe9753178e Bug 1318156 - Don't build nsDisplayTableFrame if it won't paint anything. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow f9af838c65 Bug 1318156 - Convert images into layers if we're forcing active layers. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow d77b5a17ca Bug 1318156 - Add an option to minimize empty area in PaintedLayers. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow f23176620b Bug 1318156 - Convert background colors into layers if we're forcing active layers. r=mstange 2016-11-24 18:11:29 +13:00
Matt Woodrow c49650f909 Bug 1317862 - Part 4: Remove unnecessary clip. r=mstange 2016-11-24 18:11:29 +13:00
Matt Woodrow 3de8001441 Bug 1317862 - Part 3: Build TextLayers if enabled. r=mstange 2016-11-24 18:11:29 +13:00
Cameron McCormack 5cd7f5c288 Bug 1319336 - Add some assertions and early returns to animation code to make stylo tests progress further. r=birtles
MozReview-Commit-ID: 14rghu0zYG1
2016-11-24 12:45:51 +08:00
Ting-Yu Lin 2705923138 Bug 1317588 Part 4 - Remove side bits defined in BorderConsts.h r=mats
Those bits are already defined as enum in gfx/2d/Types.h.

MozReview-Commit-ID: 8E81lW9WnAg

--HG--
extra : rebase_source : 959d723a7a223b08a4f0935f4cc4ff894cae1260
2016-11-21 11:56:35 +08: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
Ting-Yu Lin 3a4c674931 Bug 1317588 Part 1 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h. r=mats
Make them live with the definition of enum Side.

MozReview-Commit-ID: 5uJPxFPOj79

--HG--
extra : rebase_source : 566f1a680ae85b61b1af0f643f59a4d1ac7472d3
2016-11-18 15:25:33 +08:00
cku fd94212fce Bug 1319667 - Part 3. Test case for mask longhands on svg element. r=mstange
MozReview-Commit-ID: HF1NiNPfzQs

--HG--
extra : rebase_source : 16ad8f6db362520c7e6ecf949d8a7ed99877b3d5
2016-11-23 14:02:07 +08:00
cku 5ee6e3966a Bug 1319667 - Part 2. Move DrawResult from function parameter of PaintClipMask to the return value. r=mstange
Enlight by "Bug 1314536 - Part 1"

MozReview-Commit-ID: Iogdh7LWsWa

--HG--
extra : rebase_source : aacc88ac39551aeb5ffbb84a11580a0d2eec73cc
2016-11-24 00:08:13 +08:00
cku 6a4c5689f0 Bug 1319667 - Part 1. Allow mask longhands apply to SVG elements. r=mstange
Originally, we use the follwoing statement to determine whether generate mask
for an SVG element:
aUsage.shouldGenerateMaskLayer =
  maskFrames.Length() == 1 && maskFrames[0];

maskFrames[0] is not null only if that mask resource is an SVG-mask. That means
we will not generate mask for image mask to any SVG one.

MozReview-Commit-ID: 4QiifC6J0UR

--HG--
extra : rebase_source : aa90599fc4955c0eb6e5d9d10c168b8643c32e03
2016-11-23 13:51:36 +08:00
Boris Chiou f045a91867 Bug 1317178 - Pass the property name to Servo_DeclarationBlock_SerializeOneValue. r=birtles
In order to use single_value_to_css() in
Servo_DeclarationBlock_SerializeOneValue(), we need to pass the property name
and a flag for custom properties.

MozReview-Commit-ID: 5HfI2qOmPwP

--HG--
extra : rebase_source : 968468b3c9313c4ec3007ee9883075c8fc4ab769
2016-11-22 19:18:18 +08:00
Xidorn Quan 934b500aa8 Bug 1319994 - Use NS_ERROR for not-implemented CSS rules. r=heycam
MozReview-Commit-ID: 9E1ThQuqBf1

--HG--
extra : rebase_source : be254d83da1f1969f26b5e1f92a6df72323c7202
2016-11-24 16:28:28 +11:00
Alastor Wu 5d4571103c Bug 1301055 - part3 : modify test prefs. r=jwwang
On fennec we have the special workaround that is doesn't dispatch the "error" event when the error is
"MEDIA_ERR_SRC_NOT_SUPPORTED" because we will use an external app to open it.

But we don't want this behavior affect the tests we already have, so close the pref.

MozReview-Commit-ID: 9aoy1vnekvY

--HG--
extra : rebase_source : 9ac045b7595eadd36039bc6f42b32e4d3eac421b
2016-11-24 10:24:06 +08:00
Ting-Yu Lin 62055a1981 Bug 1316549 Part 4 - Use logical names for ComputeEllipseLineInterceptDiff(). r=dbaron
This patch is just renames. No logic change for the function.

MozReview-Commit-ID: K7w0YL3G3gu

--HG--
extra : rebase_source : d72ecdcb4d4455f4950c8673c81fbfc7c1b4f54c
2016-11-18 13:54:09 +08:00
Ting-Yu Lin ece375de5b Bug 1316549 Part 3 - Fix <shape-box> with border-radius in writing-mode. r=dbaron
The tests cases are designed based on the integer solution to the ellipse
equation (x/a)^2 + (y/b)^2 = 1, where x=36, y=32, a=60, b=40.

MozReview-Commit-ID: De2fXcb6ypP

--HG--
extra : rebase_source : a64f490ff41c020b84025266c0c255d93a158eea
2016-11-14 18:11:45 +08:00
Ting-Yu Lin 111246d956 Bug 1316549 Part 2 - Fix assertion failure: aRadiusY > 0 in FloatInfo::XInterceptAtY(). r=dbaron
We need to consider the case when only one of the four corner radius is
specified. The two reftests are added to test 'border-top-right-radius' and
'border-bottom-right-radius', respectively.

MozReview-Commit-ID: De2fXcb6ypP

--HG--
extra : rebase_source : 51da04a7a7d60d580b46d9ac8ed4bfd7e9666766
2016-11-14 18:11:45 +08:00
Ting-Yu Lin c7596e7d85 Bug 1316549 Part 1 - Fix LogicalSideForLineRelativeDir() for eLineRelativeDirLeft/Right. r=jfkthame
According to the spec, 6.4. Abstract-to-Physical Mappings,
line-left/line-right are equal to inline-start/inline-end when the direction
is the same. So we should use IsBlockLTR() instead of IsLineInverted().

https://drafts.csswg.org/css-writing-modes-3/#logical-to-physical

MozReview-Commit-ID: 7onE0SuHtdj

--HG--
extra : rebase_source : df0083ed7e28469a2343a8607840585e93502b80
2016-11-17 14:10:55 +08:00
Astley Chen 438b9ab220 Bug 1270406 - Remove :-moz-dir support. r=xidorn
MozReview-Commit-ID: HRBj6YF4hZS

--HG--
extra : rebase_source : 6375c14e9f2a79d3d84c8e929569fc818b137762
2016-11-22 23:05:18 +08:00
Botond Ballo b32f766ad0 Bug 1319892 - Turn the reftest for bug 735857 into a web platform reftest. r=mstange
MozReview-Commit-ID: FTnk8t72Wb9

--HG--
extra : rebase_source : 45f84bb4894b76715659aa1e077ae13a8d6fe269
2016-11-23 15:39:27 -05:00
Cameron McCormack ce08748113 Bug 1320423 - Null check cursor images to handled failed loads. r=dbaron
--HG--
extra : rebase_source : ccc18acf3ec30be54ebe2e2130d7bec55b857b16
2016-11-26 15:00:53 +08:00
Xidorn Quan b329a010de Bug 1319614 - Move Servo Arc types to a list file. r=manishearth
MozReview-Commit-ID: JiLwcmN7Oig

--HG--
extra : rebase_source : 45716e10101ae9e2192db9e8d27481f17d32310e
2016-11-23 11:35:55 +11:00
Ray Lin 016b9e5609 Bug 1313285 - remove nsVideoFrame::mBorderPadding. r=dholbert
MozReview-Commit-ID: Cz5JQqWxQWH

--HG--
extra : rebase_source : 74f61a716ae75e2dbbd2e6311abb2a6d503c34fd
2016-11-25 14:03:15 +08:00
Carsten "Tomcat" Book ad928dbca5 Merge mozilla-central to autoland 2016-11-23 16:45:11 +01:00
Xidorn Quan e1ee43ee63 Bug 1223561 - Support putting <table> into fullscreen. r=dbaron
MozReview-Commit-ID: 5ohJW9U65dr

--HG--
extra : rebase_source : 6354a9d2f351a926c8dfb97fac342f634364cf57
2016-11-22 16:31:56 +11:00
Iris Hsiao 11e8b7fb2a Backed out changeset 535f8682016b (bug 1223561) for test_fullscreen-api.html timeout 2016-11-23 16:53:03 +08:00
Phil Ringnalda 88d37d8841 Merge m-c to m-i
MozReview-Commit-ID: FbJhcY28dXi
2016-11-22 21:32:23 -08:00
Phil Ringnalda feef954874 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EDVoIcyWOhi

--HG--
rename : storage/test/test_AsXXX_helpers.cpp => storage/test/gtest/test_AsXXX_helpers.cpp
rename : storage/test/test_binding_params.cpp => storage/test/gtest/test_binding_params.cpp
rename : storage/test/test_mutex.cpp => storage/test/gtest/test_mutex.cpp
2016-11-22 20:03:03 -08:00
Jet Villegas b15cdf0759 Bug 1283302: Sets the default value for nglayout.initialpaint.delay to 5ms on desktop (stays 250 ms on Android) per user research conclusions. r=tn
MozReview-Commit-ID: LWfmMoBcbnL
2016-11-22 13:54:40 -08:00
David Anderson a6b6c59253 Mark RenderFrameParent as initialized even if it failed to message the remote compositor. (bug 1319310, r=billm)
--HG--
extra : rebase_source : 70f0600493abf57e98fed0dd4b4587c96f2e94ae
2016-11-22 13:01:08 -08:00
Daniel Holbert 2254890482 Bug 1319428: Remove unused file svgBindings.xml. r=jwatt
(r=jwatt was granted on an earlier instance of this bug. Carrying forward.)

MozReview-Commit-ID: pix2vCqOcz
2016-11-22 13:21:35 -08:00
Xidorn Quan d5356f5f67 Bug 1307357 followup 2 - Add AddRef/Release bindings to ServoBindingList.
MozReview-Commit-ID: 8U55TaPvAhs

--HG--
extra : amend_source : 6b5ec55ef9eb94e0bc93394dd862b03e1bb1af0a
2016-11-23 11:18:24 +11:00
Xidorn Quan 64618d07dd Bug 1307357 followup - Fix build failures.
MozReview-Commit-ID: 1apR3cVDjsC
2016-11-23 10:53:01 +11:00
Xidorn Quan 3646178578 Bug 1307357 part 7 - Implement ServoStyleRule::List. r=heycam
MozReview-Commit-ID: 1XRoc43RJKP

--HG--
extra : source : 9fb78fb599d0ac14d700a66fc297cba6991783e5
2016-11-23 10:26:20 +11:00
Xidorn Quan 4f4107f4b9 Bug 1307357 part 6 - Implement CSSStyleRule.style. r=heycam
MozReview-Commit-ID: 8Qvzc74wveE

--HG--
extra : source : 0661e153a0422bad7019724369e11200e92d9962
2016-11-23 10:26:20 +11:00
Xidorn Quan b30b5741f1 Bug 1307357 part 5 - Implement css text getters for ServoStyleRule. r=SimonSapin,heycam
MozReview-Commit-ID: 44bKwabU4eJ

--HG--
extra : source : f71cf6b7eb43202078462501da261a2b768a7610
2016-11-23 10:26:20 +11:00
Xidorn Quan caacda2881 Bug 1307357 part 4 - Add impl class of CSSStyleRule for stylo. r=heycam,manishearth
MozReview-Commit-ID: CNrvA0HuuL6

--HG--
extra : source : 0444c8f08953fe4d32ea6f6fa0ecf2c33eb97b05
2016-11-23 10:26:20 +11:00
Xidorn Quan e887e33696 Bug 1307357 part 3 - Implement CSSRuleList interface for stylo. r=heycam,manishearth
MozReview-Commit-ID: Ecnbj66yKOE

--HG--
extra : source : e2e51877116f4dde6bd054e9b6e681f3e7f4250b
2016-11-23 10:26:20 +11:00
Xidorn Quan dc820f67ee Bug 1307357 part 2 - Fix issues appear after adding file to unified source. r=heycam
MozReview-Commit-ID: 5FkisMn3LKq

--HG--
extra : source : 1f83f48485df328f516b95f0c72f190441959068
2016-11-23 10:26:20 +11:00
Xidorn Quan 9be0143f3a Bug 1307357 part 1 - Make css::Rule hold StyleSheet rather than CSSStyleSheet. r=heycam
MozReview-Commit-ID: JsJa4YqpCZy

--HG--
extra : source : b2ad813e35665e9bfede2753f19de3730869fc2f
2016-11-23 10:26:20 +11:00
Carsten "Tomcat" Book cf6fb9d85b Merge mozilla-central to autoland 2016-11-22 16:29:49 +01:00
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Jessica Jong 3f2c55024c Bug 1309587 - PreventDefault() on suppressed/delayed key events that are sent back to parent. r=smaug
--HG--
extra : rebase_source : 0762ef1284c063c9716a963bf40ff5cc82b48326
2016-11-21 06:55:00 -05: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
beachjar ef4af64194 Bug 1316597 Prevent immediate opening and closing of select dropdowns when anchored on selection r=enndeakin+6102
MozReview-Commit-ID: CkKTh2j2vZF

--HG--
extra : rebase_source : a8179773dbbf1074c0e7a5c1443275b2109f1307
2016-11-18 11:46:42 -05:00
Xidorn Quan 5c2af0823d Bug 1308848 - Not request style of comment node when checking valid sibling. r=bz
MozReview-Commit-ID: 6Sq8C2LUkpT

--HG--
extra : rebase_source : 2db641f09e66b7e5f1e6d48deb5bfb5fa9026948
2016-10-17 17:29:38 +11:00
Hiroyuki Ikezoe 598b376e51 Bug 1319072 - Don't assert even if coefficient is out of range [0, 1]. r=boris
MozReview-Commit-ID: 6TnuoNnHcSc

--HG--
extra : rebase_source : c112546cae35050f1c02cc09e3cff1cb5f9ac41b
2016-11-22 08:11:42 +09:00
Xidorn Quan 8f0f7a04c9 Bug 1315403 followup - Fix mochitest failure and lint error.
MozReview-Commit-ID: KKKCybofksU

CLOSED TREE
2016-11-22 13:59:47 +11:00
Conache Cristian 5d2a9d651a Bug 1315403-no whitespace between "!" and "important" in Declaration::AppendPropertyAndValueToString and Declaration::AppendVariableAndValueToStr, r=xidorn
MozReview-Commit-ID: BKGqEpn0utp

--HG--
extra : rebase_source : dab61f244d5ca7ec13603d55cbf091b9dd6400d7
2016-11-20 14:42:11 +02:00
Mike Conley 708db40f5d Bug 418833 - Bump fuzzyness on ua-style-sheet-checkbox-radio-1 reftest for Android. r=jrmuizel
I talked to mstange about this, and what might be happening here is that there's
a difference in rounding going on during (I think) rasterization. The change is
very small and not human-noticable, so I think taking this fuzzyness is worth
the cost considering the gain in functionality.

MozReview-Commit-ID: C0CPNrIdCDu

--HG--
extra : rebase_source : 1101651250d5593ee84c661d9b91c8c6edb7c531
2016-11-18 11:55:53 -05:00
Mike Conley a4fdeba2e9 Bug 418833 - Remove !important padding and border-radius rules for checkbox and radio form controls. r=tnikkel
MozReview-Commit-ID: 86X3PHxmKFg

--HG--
extra : rebase_source : fa55a2d4f585d62a48aeb190a29afa327ab1d4e9
2016-10-21 14:07:43 -04:00
Wes Johnston 5b987fba4a Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
MozReview-Commit-ID: HqyXXuYzjrE

--HG--
extra : rebase_source : 9d2c887e0bdef26b4b32b7b45c80ac456ea6ebd3
2016-11-03 16:54:49 -04:00
Carsten "Tomcat" Book 59bb309e38 merge mozilla-inbound to mozilla-central a=merge 2016-11-21 15:44:20 +01:00
Cameron McCormack 21cc93d13e Bug 1310560 - Part 3: Add FFI functions for setting cursor url() lists. r=xidorn
MozReview-Commit-ID: 7SYA5BPELPe

--HG--
extra : rebase_source : 089a1cbcbdbec1812d488ce18e9da5f8357e4f30
2016-11-21 14:34:17 +08:00
Cameron McCormack 1d9afbc1fb Bug 1310560 - Part 2: Remove unused EqualImages and EqualURIs functions. r=xidorn
MozReview-Commit-ID: 28nyrNMcxXq

--HG--
extra : rebase_source : 5593f9e6596b9c05fd2541908b4cecf05d1c0797
2016-11-21 14:34:15 +08:00
Cameron McCormack 5bb56a7bb5 Bug 1310560 - Part 1: Make cursor use nsStyleImageRequest for url() value storage. r=xidorn
MozReview-Commit-ID: JU76TS3kxbz

--HG--
extra : rebase_source : 37f9538fca48c6bf90495bf44582c192977658e7
2016-11-21 14:34:11 +08:00
Boris Chiou 239fc2d508 Bug 1286151 - Part 7: Make ComputeShapeDistance return the status. r=hiro
We should follow the rules used by other types - return false if computing
the distance is failed. So make ComputeShapeDistance and return the status
and let the last argument be the output distance.

MozReview-Commit-ID: CFoQhgyqILB

--HG--
extra : rebase_source : 353c42e54e554b0477e88ad8c1ee0d611e16618b
2016-11-17 11:52:41 +08:00
Boris Chiou 23b961ef60 Bug 1286151 - Part 4: Factor out ComputeSingleShadowSquareDistance. r=dholbert
Both eUnit_Shadow and the drop-shadow of eUnit_Filter needs to compute the
distance of two shadows, so we can factor out the implementation.

MozReview-Commit-ID: IGdxQWMXdE1

--HG--
extra : rebase_source : 9889c556c0cc007102a152859575cfe56830ca61
2016-11-15 11:58:16 +08:00
Boris Chiou 4dccb33bc5 Bug 1286151 - Part 3: Implement filter distance for the rest. r=hiro
MozReview-Commit-ID: EXBzvJ7PIwQ

--HG--
extra : rebase_source : 768c45a16d365952c46ba6124a37d6c4f3ae69ca
2016-11-10 17:25:10 +08:00
Boris Chiou ab8ac0bf92 Bug 1286151 - Part 2: Implement filter distance for drop-shadow. r=hiro
MozReview-Commit-ID: 5Ad0GiWGkJg

--HG--
extra : rebase_source : 3d3103bf976de199aed257e5f555d5f5158b20d3
2016-11-10 17:46:35 +08:00
Boris Chiou 1aaa8ce437 Bug 1286151 - Part 1: Implement filter distance for blur. r=hiro
MozReview-Commit-ID: 44EP55V8ldg

--HG--
extra : rebase_source : 16d23a8f7578b5b86a82916fc7088c4cb4b41cb8
2016-11-10 15:15:52 +08:00
Carsten "Tomcat" Book e0f46513b6 Merge mozilla-central to mozilla-inbound 2016-11-22 16:28:50 +01:00
Bob Owen 58e9c2a82f Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj 2016-11-22 14:06:46 +00:00
Phil Ringnalda 89e92b0c3b Merge m-c to autoland 2016-11-22 21:33:35 -08:00
Xidorn Quan b283046733 Bug 1223561 - Support putting <table> into fullscreen. r=dbaron
MozReview-Commit-ID: 5ohJW9U65dr

--HG--
extra : rebase_source : 3edab41eb85239cc765d7305b1a6083397d4a158
2016-11-22 16:31:56 +11:00
Botond Ballo 1a3f01bf7e Bug 1320200 - Propagate scroll-behavior on a text input to the anonymous scrollable <div> inside it. r=tnikkel
MozReview-Commit-ID: Cur3x41wAfU

--HG--
extra : rebase_source : 0db4979a2717d54da258dbd83c6be31fdb6c1537
2016-11-25 19:39:17 -05:00
Lee Salzman 2b779e5359 Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang
MozReview-Commit-ID: 5MERz8RmGUd
2016-11-21 13:17:09 -05:00
Lee Salzman 3d2a652e53 Bug 1250037 - part 1 - only blur one quadrant of a box-shadow and mirror it to the other quadrants. r=mchang
MozReview-Commit-ID: B4FSDmAMfXK
2016-11-21 13:16:59 -05:00
Wei-Cheng Pan 8915c51723 Bug 1046166 - Send userContent.css URL to content processes. r=dbaron,haik
MozReview-Commit-ID: 4NTxwYeFGSU

--HG--
extra : rebase_source : 194c526eaf3270cf71de16065d425d1bb13f5847
2016-07-21 18:57:35 +08:00
Sebastian Hengst 705e3df40e Backed out changeset cc04b61c9f23 (bug 1302470) 2016-11-20 20:31:31 +01:00
Mike de Boer 87e7094923 Bug 1302470 Part 2: Use a hit-test method to determine if the rect of a range is visible on the page or not to the eye, for use in find-in-page. r=mstange,smaug
MozReview-Commit-ID: 9P7gf0GcREv

--HG--
extra : rebase_source : 498fbc14d6b2e09b8dc7cfb6962b7698a6b38c52
2016-11-09 15:09:36 -08:00
cku 03916132bb Bug 1314536 - Part 3. Correct comment and add a test case for it. r=mstange
At the caller side of nsSVGMaskFrame::GetMaskForMaskedFrame(nsSVGIntegrationUtils
& nsSVGUtils), we do skip masked frame painting when this function return value
other then DrawResult::SUCCESS. So there is no need to return an empty surface
anymore.

And add a test case to verify it.

MozReview-Commit-ID: DHl6krJ1ABF

--HG--
extra : rebase_source : 46d653d4e35833e3e816d252ce3f08d2d8190602
2016-11-18 22:06:51 +08:00
cku 31495768f7 Bug 1314536 - Part 2. Implement MixModeBlender to simplify nsSVGUtils::PaintFrameWithEffects. r=mstange
MozReview-Commit-ID: JBlj7nApsbT

--HG--
extra : rebase_source : 470a6759cbd1725111c66f69fb32eab1653ec52e
2016-11-16 12:16:20 +08:00
cku f1ae46cbdd Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange
MozReview-Commit-ID: SkU6F5fJ9b

--HG--
extra : rebase_source : d25e8ab2bc0bc3efad78a04705c9aef40119f91f
2016-11-16 12:59:52 +08:00
Phil Ringnalda 7ab6adac90 Backed out 3 changesets (bug 1314536) for Android "'Pair' does not name a type" build bustage
Backed out changeset 16632b726b19 (bug 1314536)
Backed out changeset 2effc920decf (bug 1314536)
Backed out changeset b0aa89236bb2 (bug 1314536)
2016-11-18 18:48:49 -08:00
cku 5eb153c021 Bug 1314536 - Part 3. Correct comment and add a test case for it. r=mstange
At the caller side of nsSVGMaskFrame::GetMaskForMaskedFrame(nsSVGIntegrationUtils
& nsSVGUtils), we do skip masked frame painting when this function return value
other then DrawResult::SUCCESS. So there is no need to return an empty surface
anymore.

And add a test case to verify it.

MozReview-Commit-ID: DHl6krJ1ABF

--HG--
extra : rebase_source : a4e23896a84c5dd1b5df9c6e8505a2b32ee17b84
2016-11-18 22:06:51 +08:00
cku da105994e1 Bug 1314536 - Part 2. Implement MixModeBlender to simplify nsSVGUtils::PaintFrameWithEffects. r=mstange
MozReview-Commit-ID: JBlj7nApsbT

--HG--
extra : rebase_source : 4fec950a0469b92ac4bef0391a6d100497d3d24b
2016-11-16 12:16:20 +08:00
cku eee760be28 Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange
MozReview-Commit-ID: SkU6F5fJ9b

--HG--
extra : rebase_source : 129dc2d6abf5911ba42b459db20cfb54b83dfc0c
2016-11-16 12:59:52 +08:00
Brad Werth c973750b3d Bug 1304636 Part 4: Rename test_flexbox_min_size_auto.html to a more inclusive name. r=dholbert
MozReview-Commit-ID: B72Q8z5zvxc

--HG--
rename : layout/style/test/test_flexbox_min_size_auto.html => layout/style/test/test_computed_style_min_size_auto.html
extra : rebase_source : a30e6b5801425664ab359c862c3e4c0c615c9d63
2016-11-17 16:17:34 -08:00
Brad Werth bd30e23c19 Bug 1304636 Part 3: Update the existing test_flexbox_min_size_auto.html test to match new behavior. r=dholbert
MozReview-Commit-ID: 8jyaDttWF6e

--HG--
extra : rebase_source : 221e7d302cf30942b5b618f6c45503f0679b0845
2016-11-17 16:12:19 -08:00
Brad Werth 7e8c2c8166 Bug 1304636 Part 2: Make GetComputedStyle report 'auto' for min-height:auto flex/grid items. r=dholbert
MozReview-Commit-ID: BmMvny3HePe

--HG--
extra : rebase_source : c9f155bc550091d491fd25d71bb2ca8d2c42320d
2016-11-17 15:41:49 -08:00
Brad Werth 8796e8969d Bug 1304636 Part 1: Make GetComputedStyle report 'auto' for min-width:auto flex/grid items. r=dholbert
MozReview-Commit-ID: 3snktoHTohq

--HG--
extra : rebase_source : 2f8c4e62cf25bcb82ea52a8e984dc1dab0c00737
2016-11-18 13:47:30 -08:00
Botond Ballo d561ba2938 Bug 1318730 - Fire the ScrollInputMethod::MainThreadScrollbarTrackClick telemetry probe in the non-scrollToClick case as well. r=kats
MozReview-Commit-ID: EQRu1NwYQDM

--HG--
extra : rebase_source : 3c9b6a010ece1dfecdab0b6b90aefa7ded2bf2ea
2016-11-18 13:01:56 -05:00
Carsten "Tomcat" Book 866da9f9c6 merge mozilla-inbound to mozilla-central a=merge 2016-11-18 16:51:17 +01:00
Cameron McCormack 4406edcd3a Bug 1318238 - Clear all ServoNodeData during style set shutdown. r=bholley
MozReview-Commit-ID: 9MvBTAWeawC
2016-11-18 16:54:10 +08:00
Phil Ringnalda f55ce4a38c Merge m-c to autoland 2016-11-17 22:57:50 -08:00
Phil Ringnalda 8c9133d4c6 Bug 1067360 - disable layout/reftests/invalidation/test-image-layers.html for constant failures, a=nnoyance 2016-11-17 21:24:58 -08:00
Phil Ringnalda 61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Phil Ringnalda fb56c153d3 Bug 1067360 - also disable test-image-layers-multiple-displayitem.html, for starting to fail as soon as the prior test, test-image-layers.html, was disabled 2016-11-17 23:06:37 -08:00
Phil Ringnalda cba055b5fe Merge m-c to m-i
MozReview-Commit-ID: ICJOT8GTPT3
2016-11-17 22:57:10 -08:00
Phil Ringnalda e3b53628aa Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Sebastian Hengst fd08842ecf Backed out changeset 25840ab0d453 (bug 1250037) for assertion in Windows 8 x64 debug bc6 in browser_UITour.js. r=backout 2016-11-18 00:30:41 +01:00
Sebastian Hengst bf0af8baea Backed out changeset 5504280ce43c (bug 1250037) 2016-11-18 00:29:02 +01:00
Kris Maglione 08deb18ad0 Bug 1317101: Follow-up: Don't use remote-browser bindings for reftests.
MozReview-Commit-ID: AHGpFSOTaVz

--HG--
extra : rebase_source : e990ad11f3dccb287c006d46fad3caf0e6d1fd20
2016-11-16 17:47:19 -08:00
Neil Deakin 18dc1a098a Bug 1314251, close menulist on alt+up/down, r=ksteuber 2016-11-17 09:56:43 -05:00
Neil Deakin 74aa0c0079 Bug 1313131, don't wrap when using cursor navigation in menus onr dropdowns on Mac, or dropdowns on Windows, r=ksteuber 2016-11-17 09:56:43 -05:00
Carsten "Tomcat" Book 8a5fc639cc Backed out changeset 4ed7a34ea7ab (bug 1313131) 2016-11-17 15:42:45 +01:00
Carsten "Tomcat" Book 52809c6506 Backed out changeset 9af8f4f33471 (bug 1314251) 2016-11-17 15:42:43 +01:00
cku 67dee6966c Bug 1317636 - Part 6. Use PaintClipMask in nsSVGIntegrationUtils::PaintMask. r=mstange
MozReview-Commit-ID: 6CibljSTeNj

--HG--
extra : rebase_source : d37076092b8ead6349ec008d251909a73730db24
2016-11-16 19:04:59 +08:00
cku 64b11841c6 Bug 1317636 - Part 5. Fix identation. r=mstange
MozReview-Commit-ID: 84aJzl6LrDC

--HG--
extra : rebase_source : 10ce4c40b1346cbd7f66bc10556b7647141a44de
2016-11-17 15:15:43 +08:00
cku 2f769773d3 Bug 1317636 - Part 4. Use nsSVGUtils::DetermineMaskUsage. r=mstange
MozReview-Commit-ID: JUAof5JvU4j

--HG--
extra : rebase_source : 387567cd33837ab49f5002797bd329dda426d530
2016-11-17 15:11:34 +08:00
cku 6174d59e7e Bug 1317636 - Part 3. Implement ComposeExtraMask. r=mstange
CG is removed. By testing, D2D works fine with composing a mask by OP_IN mode.

MozReview-Commit-ID: Gs5rB6JachJ

--HG--
extra : rebase_source : 37cada77b33cd0f0265b0e1cb3e88ab8cc32e6e0
2016-11-17 12:42:14 +08:00
cku a4e8c8d584 Bug 1317636 - Part 2. Extract PaintFrameIntoMask from nsSVGClipPathFrame::PaintClipMask. r=mstange
MozReview-Commit-ID: LgrortpuwN5

--HG--
extra : rebase_source : 428c0de82eda1301f499a84e8d6f70e06a9541b2
2016-11-16 16:58:59 +08:00
cku e935229722 Bug 1317636 - Part 1. Implement nsSVGClipPathFrame::CreateClipMask and PaintClipMask. r=mstange
Simply split the code in nsSVGClipPathFrame::GetClipMask into two different
functions.

MozReview-Commit-ID: KMdVL3Wg8OC

--HG--
extra : rebase_source : 9a3e354378fe54bed26f8352450c423aa9b700b4
2016-11-17 14:50:35 +08:00
Phil Ringnalda ae361307c7 Merge m-c to autoland 2016-11-17 20:11:25 -08:00
Ethan Lin 8786032e84 Bug 1317403 - Check if draw rect is empty beforing creating drawtarget. r=mstange
--HG--
extra : rebase_source : 2535c5878c29eadfee019c33d245763503ca2237
2016-11-14 19:09:00 +01:00
Neil Deakin 28bb8afb89 Bug 1314251, close menulist on alt+up/down, r=ksteuber 2016-11-17 09:28:27 -05:00
Neil Deakin 3982f6a6c1 Bug 1313131, don't wrap when using cursor navigation in menus onr dropdowns on Mac, or dropdowns on Windows, r=ksteuber 2016-11-17 09:28:27 -05:00
Lee Salzman 8acbd8d04a Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang
MozReview-Commit-ID: 5MERz8RmGUd
2016-11-17 16:04:05 -05:00
Lee Salzman e79ff03dbb Bug 1250037 - part 1 - only blur one quadrant of a box-shadow and mirror it to the other quadrants. r=mchang
MozReview-Commit-ID: B4FSDmAMfXK
2016-11-17 16:03:59 -05:00
Vincent Lequertier 15d1386c74 Bug 1312155 - Move border-width constants out of nsPresContext; r=heycam 2016-11-16 10:11:00 +01:00
Carsten "Tomcat" Book 2c792af8f0 Merge mozilla-central to mozilla-inbound 2016-11-17 14:39:33 +01:00
Carsten "Tomcat" Book e0ff800a74 merge mozilla-inbound to mozilla-central a=merge 2016-11-17 14:34:44 +01:00
Phil Ringnalda 150481a1d0 Merge m-c to m-i
MozReview-Commit-ID: qtLxGnxKfu
2016-11-16 20:43:27 -08:00
Phil Ringnalda 62db1c9021 Mark 346774-1c.html as fuzzy as well, similar to the other reftests marked as such in bug 725119, a=whac-a-mole 2016-11-16 20:35:48 -08:00
Jeremy Chen 086d94490c Bug 1295788 - Remove layout.css.display-contents.enabled pref.
1. Remove the preference setting in reftest.list
2. Remove the preference guard in property_database.js
3. Remove the callback function of preference change
4. Remove the preference from all.js

MozReview-Commit-ID: 6aqYmhz6c9M
2016-11-17 10:52:51 +08:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Ehsan Akhgari 1488007b30 Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus 2016-11-17 08:30:21 -05:00
Ehsan Akhgari 9f297a22d4 Bug 1315146 - Avoid using the Web-facing Range methods in nsTextControlFrame::SetSelectionInternal(); r=baku
The Web-facing methods perform access checks which blow up when the
stars are aligned such that we run this code under a subject principal
that doesn't have access to the anchor node of the selection.
2016-11-17 08:24:09 -05:00
Hiroyuki Ikezoe 0ed742577b Bug 1304886 - Part 9: Accumulate mismatched transform list properly. r=boris
MozReview-Commit-ID: LTz4TkCsMbQ

--HG--
extra : rebase_source : d7213a0616fba5d4af393b3d7496a2b9a340c90e
2016-11-16 20:32:33 +09:00
Hiroyuki Ikezoe c661a36ecc Bug 1304886 - Part 8: Add Accumulate operator. r=boris,derf
MozReview-Commit-ID: Bzcn3IRSx6L

--HG--
extra : rebase_source : 854c39f38953a400407bcf976ebd68f25f4b6396
2016-11-16 20:32:33 +09:00
Hiroyuki Ikezoe 7edca15eba Bug 1304886 - Part 6: Make ProcessInterpolateMatrix template. r=boris
To avoid exposing the template ProcessInterpolateMatrix is left because it is
used in AddTransformFunctions in nsDisplayList.cpp.

MozReview-Commit-ID: D9KW7du5j04

--HG--
extra : rebase_source : afec2823ac615598ec965571f465ca2c6420a3cc
2016-11-16 20:32:32 +09:00
Hiroyuki Ikezoe d0c449e60d Bug 1304886 - Part 5: Make InterpolateTransformMatrix template to calculate accumulation. r=boris
InterpolateTransformMatrix renamed to OperateTransformMatrix.

MozReview-Commit-ID: 3IpkAIa3cBN

--HG--
extra : rebase_source : b3e705ff394d3fdfb3eb6727f8b732bba1238617
2016-11-16 20:32:32 +09:00
Hiroyuki Ikezoe 59b118b408 Bug 1304886 - Part 3: Move InterpolateTransformMatrix into nsStyleTransformMatrix. r=boris
MozReview-Commit-ID: 7GV6B7AwNcg

--HG--
extra : rebase_source : 41efbb5ffcc9c1ea63babedbb6d5f312bf49926e
2016-11-16 20:32:32 +09:00
Hiroyuki Ikezoe 5bc38856bd Bug 1304886 - Part 2: Factor out TransformFunctionListsMatch. r=boris
MozReview-Commit-ID: BhRkF6ClJjv

--HG--
extra : rebase_source : d8456e3903ea1e589d7740c919ad763ae7f39077
2016-11-16 20:32:32 +09:00
Hiroyuki Ikezoe ae9b44e039 Bug 1304886 - Part 1: Make StyleAnimationValue::Accumulate() infallible. r=birtles
MozReview-Commit-ID: 9ve3k6a3eAg

--HG--
extra : rebase_source : af536ae0bf9dc7ad26003422d971c3cbdb30e390
2016-11-16 20:32:26 +09:00
Phil Ringnalda b4becab6dc Merge m-c to autoland 2016-11-16 20:42:26 -08:00
Ting-Yu Lin 55e3c801ba Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh

--HG--
extra : rebase_source : 25e5a05a8a5a47642772da69f427631fa07e232d
2016-11-16 14:02:58 +08:00
Wes Kocher 609b9922f7 Merge m-c to autoland, a=merge 2016-11-16 17:29:05 -08:00
Andreas Farre 5ae81e4455 Bug 1313989 - Remove MutexAutoUnlock in nsThread::GetIdleEvent. r=froydnj,mattwoodrow
Rewrite VsyncRefreshDriverTimer::GetTimerRate to always use the cached
value of the vsync rate in VsyncChild to avoid processing events on
the main thread.

Since VsyncChild::GetTimerRate is called in VsyncRefreshDriverTimer's
constructor, that cached value is bound to be set soon. This should
make the period of time we need to guess in
VsyncRefreshDriverTimer::GetTimerRate very short.

MozReview-Commit-ID: 1bnHNXAP8jY

--HG--
extra : rebase_source : 5a731962d417c4b3352970b2adb92b5d31de021c
2016-11-10 10:01:51 +01:00
Botond Ballo cdbef9ee0c Bug 1316101 - Avoid excessive clamping in StickyScrollContainer::GetScrollRanges(). r=mstange
Excessive clamping can cause incorrect behaviour in the presence of negative
margins.

MozReview-Commit-ID: AkQEqcQpAxx

--HG--
extra : rebase_source : 33cde31c15608792299a1dbef475e0fe0936270d
2016-11-14 19:01:37 -05:00
Michelangelo De Simone 4b90783184 Bug 1317853 - Remove DOM/speakermanager and related code. r=jst
MozReview-Commit-ID: AHkMHalG99K

--HG--
extra : rebase_source : 7f0f47374d1208de97fad90ac9f3098dd5b2b330
2016-11-16 13:14:36 -08:00
Ehsan Akhgari 6bc448dc7b Mark 346774-1b.html as fuzzy as well, similar to the other reftests marked as such in bug 725119 2016-11-16 13:25:45 -05:00
Ehsan Akhgari 569f181508 Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book 3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Carsten "Tomcat" Book cfcaf71156 Backed out changeset f1ff6d4dca5f (bug 1311149) 2016-11-16 14:50:40 +01:00
Wes Kocher c2c5f83043 Backed out 3 changesets (bug 1271765) for win8 mochitest(5) failures a=backout
Backed out changeset 022a4a018996 (bug 1271765)
Backed out changeset 1d96f03289f8 (bug 1271765)
Backed out changeset 57317a080c99 (bug 1271765)
2016-11-15 10:50:59 -08:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Carsten "Tomcat" Book f28942ae47 Merge mozilla-central to autoland 2016-11-15 12:34:47 +01:00
Carsten "Tomcat" Book 8cfa5253e8 merge mozilla-inbound to mozilla-central a=merge 2016-11-15 12:26:41 +01:00
Jonathan Chan 64d13141fe Bug 1293743 - Part 4: Implement ParseVariant for VARIANT_INTEGER | VARIANT_CALC (i.e. pure-integer calc()s). r=dbaron,dholbert
MozReview-Commit-ID: 5vKgaH3dN5X

--HG--
extra : rebase_source : 7e7c3124cd51ad7e8daa09eb9a60ad83ec34ea79
2016-10-17 21:32:19 -04:00
Jonathan Chan cd3a5cd5c5 Bug 1293743 - Part 3: Add ReduceIntegerCalcOps, analogous to ReduceNumberCalcOps but for pure-integer calc()s. r=dholbert
MozReview-Commit-ID: GpvZ9Uce7QU

--HG--
extra : rebase_source : dd49d4f673aa47b4fb48d2da51e12d941db70bee
2016-10-17 20:49:19 -04:00
Jonathan Chan 982c8beddd Bug 1293743 - Part 2: Rename references to 'number' in CSSCalc and related code to coefficient. Introduce coefficient typedef. r=dholbert
"For each leaf in the calc() expression, ComputeCalc will call either
ComputeNumber (when the leaf is the left side of a Times_L or the right
side of a Times_R or Divided) or ComputeLeafValue (otherwise)."

A future patch in this series adds support for evaluating pure-integer calc()s.
We rename ComputeNumber to ComputeCoefficient and introduce a coefficient_type
typedef so that coefficients can be integers. We don't want to leave it as
'number' because that is confusing (e.g. CSS <number>s are float values).

We also rename NumbersAlreadyNormalizedCalcOps to
FloatCoeffsAlreadyNormalizedCalcOps, and expect AppendCoefficient in the
template given to SerializeCalc instead of AppendNumber.

This requires some renames in nsCSSValue and nsRuleNode.
I would split this into a separate 'fully-automated' patch, except that it's so
few renames and it feels bad to add the comments separately.

We also have to add |typedef float coeff_type| to two CalcOps implementations
in nsRuleNode because they multiply-inherit from two classes that define
coeff_type as float.

MozReview-Commit-ID: 1ZmBLsGr6hK

--HG--
extra : rebase_source : 219b97c65794c404680a36607506dde66b11e4f4
2016-10-17 20:49:17 -04:00
Jonathan Chan b746c93c2a Bug 1293743 - Part 1: Move nsCSSParser's ReduceNumberCalcOps to CSSCalc.h as mozilla::css::ReduceNumberCalcOps. r=dholbert
Bug 1273706 (Properties & Values) uses ReduceNumberCalcOps in nsRuleNode to
compute <number>-typed calc() expressions.

MozReview-Commit-ID: CsZkJBFOufm

--HG--
extra : rebase_source : 257bb56aa2c87f00ae809ee8e674d125c6112a73
2016-10-17 20:49:15 -04:00
Sebastian Hengst 9a38c0010b Backed out changeset 8243da10a171 (bug 1302470) 2016-11-17 17:49:46 +01:00
Mike de Boer 7ee955cbdc Bug 1302470 Part 2: Use a hit-test method to determine if the rect of a range is visible on the page or not to the eye, for use in find-in-page. r=mstange,smaug
MozReview-Commit-ID: 9P7gf0GcREv

--HG--
extra : rebase_source : b3565372bf9ab52a126f91795d54a2a22231f150
2016-11-09 15:09:36 -08:00
Ting-Yu Lin 7a0febcd1b Bug 1309467 Part 5 - Make flow area of <shape-box> values respect border-radius. r=dbaron
In GetFlowArea(), "Shrink our band's height if needed." computation was
moved to the end because we need to pass the unmodified |blockEnd| to
compute LineRight() and LineLeft().

Revamp OutsetBorderRadii() to allow negative margin to reduce the radius,
but not below zero. Also implement the cubic formula required by the spec.
https://drafts.csswg.org/css-shapes/#valdef-shape-box-margin-box

OutsetBorderRadii() is now tailored only for margin-box with border-radius,
so it might no longer be suitable for other scenarios.

MozReview-Commit-ID: HKxW7rp6sIA

--HG--
extra : rebase_source : d416433016304feefc9ed9dcd1c22f7f2f92e27e
2016-10-13 16:28:38 +08:00
Ting-Yu Lin 0bb55f9970 Bug 1309467 Part 4 - Implement <shape-box> values for shape-outside. r=dbaron
Per spec, float positioning and stacking is not affected by defining a float
area with a shape.
https://drafts.csswg.org/css-shapes/#relation-to-box-model-and-float-behavior

So all the call sites of GetFloatAvailableSpace() related to adding a
float are replaced by GetFloatAvailableSpaceForPlacingFloat().

<shape-box> with border-radius will be implemented in next part.

MozReview-Commit-ID: 1RXEeXDhdWo

--HG--
extra : rebase_source : 42cdb0c81b16168e4e30ee2261ceccb562e278cf
2016-10-12 16:06:25 +08:00
Ting-Yu Lin f55545b058 Bug 1309467 Part 3 - Move FloatInfo::mRect construction into FloatInfo's constructor. r=dbaron
In later parts, we need the aMarginRect to build rect for shape box.

MozReview-Commit-ID: LtwMxbsNu3u

--HG--
extra : rebase_source : eee35663458079026b14922499b566674b2680ac
2016-10-12 14:26:26 +08:00
Ray Lin 461915d273 Bug 1271765 - Part 1: Remove XUL specific reflow code of video control. r=dholbert
MozReview-Commit-ID: KFn3ga2Uqq2

--HG--
extra : rebase_source : 41195f234bd3bb845855e08a354ce110d3f5e8b8
2016-10-12 13:41:50 +08:00
Ray Lin 234b017f7f Bug 1271765 - Part 1: Remove XUL-specific reflow code of video control. r=dholbert
MozReview-Commit-ID: KFn3ga2Uqq2

--HG--
extra : rebase_source : f660cc62ed5b2c3a361568fde22491a5aed6c9f6
2016-10-12 13:41:50 +08:00
Ting-Yu Lin 91e0aadf9e Bug 1309467 Part 2 - Convert BandInfoType to an enum class. r=dbaron
Also exchange the order of the second argument |aBSize| and the third
argument |aBandInfo| for GetFlowArea() so that aBCoord and aBSize are
grouped together. And it'll be prettier to add ShapeInfo behind BandInfo
in later part.

MozReview-Commit-ID: cusdomjUyu

--HG--
extra : rebase_source : 8a7dca7179f1a05d380473d5d56d984bbe8aa97f
2016-10-12 13:26:17 +08:00
Ting-Yu Lin 679745ac84 Bug 1309467 Part 1 - Rename aBOffset to aBCoord in nsFloatManager::GetFlowArea(). r=dbaron
The header file and its documentation uses |aBCoord| so I change the
implementation for consistency.

MozReview-Commit-ID: 99mEUgUwcBV

--HG--
extra : rebase_source : 3ead203f6a325b26d96b2728ff28af74784effd7
2016-10-12 13:01:19 +08:00
Markus Stange 163908bf5a Bug 1315113 - Fix coordinate space confusion in gradient rendering code. r=mattwoodrow
MozReview-Commit-ID: 38Zk9qWNyoX

--HG--
extra : rebase_source : b62a8af0c774846043f7a819debfdb5340402600
2016-11-09 13:53:33 -05:00
Carsten "Tomcat" Book 5ad0e3405a Merge mozilla-central to autoland 2016-11-14 10:36:41 +01:00
Carsten "Tomcat" Book c7a033c3e2 merge mozilla-inbound to mozilla-central a=merge 2016-11-14 10:22:06 +01:00
Xidorn Quan d114d37233 Bug 1267515 part 3 - Add reftest for nested ruby. r=dholbert
MozReview-Commit-ID: DVlhN3S3Vca

--HG--
extra : rebase_source : 90a9932ec9b312ac2d17e7bccf41d8158bde14b0
2016-11-10 11:05:49 +11:00
Ting-Yu Lin e0ab7c2e17 Bug 1317203 - Change ReflowInputFlags to use bool : 1. r=mats
Based on bug 1294628 comment 8, I added spaces around the colon.

MozReview-Commit-ID: Dd4fvavMgmc

--HG--
extra : rebase_source : d99763461c764cc1a3c91c7c213bc8ac8c5cfbbc
2016-11-14 11:39:25 +08:00
Xidorn Quan a4a78e1951 Bug 1267515 part 2 - Place ruby annotations outside annotations from ruby descendants. r=dholbert
MozReview-Commit-ID: Gbo43pC5jqr

--HG--
extra : rebase_source : 893fe9d419be59679febe2de07bbd495ce23e609
2016-10-26 17:40:58 +11:00
Xidorn Quan b725f733a2 Bug 1267515 part 1 - Refactor ruby leadings into a helper RubyBlockLeadings struct. r=dholbert
MozReview-Commit-ID: IJAA9fHbCZd

--HG--
extra : rebase_source : 4166ebe1be89595f96da12e1e247cf1f0d536ddd
2016-11-10 11:10:42 +11:00
Stone Shih 6ec033ea44 Bug 1303704 Part1: [Pointer Event] Implement prevent default behavior of pointerdown. r=masayuki
MozReview-Commit-ID: AbO5cBjIwfJ

--HG--
extra : rebase_source : c11b3c0385c28665de20a8b69100ebc33e5b47de
2016-09-20 14:33:08 +08:00
Carsten "Tomcat" Book 17a7875e17 Merge mozilla-central to autoland 2016-11-17 14:46:26 +01:00
cku 1be66f55e2 Bug 1313898 - Part 5. SVG-mask/clip-path invalidation reftest. r=mstange
clip-path-invalidation-1a.html/mask-invalidation-2a.html:
  Verify the rendering result of changing scale transform of masked/clipped
  element on LAYER_INACTIVE path.
clip-path-invalidation-1b.html/mask-invalidation-2b.html:
  Verify the rendering result of changing scale transform of masked/clipped
  element on LAYER_ACTIVE path.
clip-path-invalidation-1c.html/mask-invalidation-2c.html:
  Verify the rendering result of changing the content of mask/clipPath element
  on LAYER_INACTIVE path.
clip-path-invalidation-1d.html/mask-invalidation-2d.html:
  Verify the rendering result of changing the content of mask/clipPath element
  on LAYER_ACTIVE path.

MozReview-Commit-ID: 1ZFgzAea8T8

--HG--
extra : rebase_source : 6e04c6521db5862595f3051e54d8aa853e6ac9d6
2016-11-15 14:41:19 +08:00
cku 49952e23ce Bug 1313898 - Part 4. Invalidation test for image-mask boxing model. r=mstange
MozReview-Commit-ID: JUQfZOTUDj

--HG--
extra : rebase_source : da9b20d83e0d9d059e4f5d82aa0dcf3e7c8b038c
extra : source : e335acfe14291795bbc570e0d76accddb7830e14
2016-11-09 16:26:44 +08:00
cku d793e6b462 Bug 1313898 - Part 3. Enable svg-image on mask layer. r=mstange
MozReview-Commit-ID: 87gjgioUVLx

--HG--
extra : rebase_source : 1babd6d832de29d827ca75eda1a8133b25fe767f
2016-11-15 17:10:22 +08:00
cku 92a1ecae0d Bug 1313898 - Part 2. Paint non-trivial clip-path onto mask layer. r=mstange
MozReview-Commit-ID: HJUwhqsJ42M

--HG--
extra : rebase_source : 503b69a17e69b24c88830ae866c6d8aecc7baeb2
2016-11-04 14:48:11 +08:00
cku a5ecc8e77c Bug 1313898 - Part 1. Re-implement CSSMaskLayerUserData invalidation detection. r=mstange
MozReview-Commit-ID: 6VE7plONyaS

--HG--
extra : rebase_source : e97b7d20b68e851751427e22c359039b5a5e3d97
2016-11-15 12:26:21 +08:00
Ehsan Akhgari 0e176830ff Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-15 23:21:28 -05:00
Ting-Yu Lin 4829a8d951 Bug 1309467 followup - Fix link to versioned css-shapes spec. r=me
Use https://drafts.csswg.org/css-shapes-1/ per bug 1309467 comment 31.

MozReview-Commit-ID: LGErWlbw4qV
2016-11-16 11:57:29 +08:00
Ehsan Akhgari cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Daniel Holbert 904c4d5efd Backed out changeset b2b359340a84 (bug 1283302) for causing talos regressions.
MozReview-Commit-ID: FloqgtgNZRZ
2016-11-15 15:03:51 -08:00
Mats Palmgren 99131f1777 Bug 1317351 - Reftest. 2016-11-15 19:31:14 +01:00
Mats Palmgren 7eb71d6d55 Bug 1317351 - Make CloneReflowInputWithReducedContentBox use logical coordinates, which avoids doing math on NS_UNCONSTRAINEDSIZE ComputedWidth() when it's an unconstrained block-size. r=jfkthame 2016-11-15 19:31:14 +01:00
Boris Zbarsky 784a52fd02 Bug 1317720. Use NeedsCallerType instead of NeedsSubjectPrincipal for DataTransfer.types. r=mystor 2016-11-15 12:46:32 -05:00
Boris Zbarsky 62e08b6904 Bug 1317367 part 4. Pass an explicit CallerType to HTMLInputElement::GetValueInternal. r=smaug
I'm not 100% sure that I'm being very consistent in my handling of
mFocusedValue, but since that's not used for file inputs, I don't think it
matters much...

A bigger problem is if people start using this caller type for things other than
file inputs.
2016-11-15 12:46:32 -05:00
Boris Zbarsky a59a621bb6 Bug 1317367 part 3. Pass an explicit CallerType to HTMLInputElement::SetValue at all callsites. r=smaug 2016-11-15 12:46:31 -05:00
Timothy Nikkel ed6c3f2ae9 Bug 1317551. Make the main image drawing path ask for async notifications. r=aosmond
We don't want sync notifications during painting.
2016-11-15 11:28:11 -06:00
David Anderson 9437bcb6b5 Add a gpuProcess variable to the reftest sandbox. (bug 1317441 part 2, r=mattwoodrow) 2016-11-14 15:02:02 -08:00
Sylvestre Ledru 3695654748 Bug 1317430 - Avoid a unnecessary copy by passing a const & in layout/ r=mstange
MozReview-Commit-ID: AmNDwwKl7RG

--HG--
extra : rebase_source : 45c06eddfd2c92959b819c614709c71b21b40e55
2016-11-15 17:30:59 +01:00
Andi-Bogdan Postelnicu c9ffc81e5a Bug 1316290 - Replace default bodies of special member functions with = default, in layout. r=dholbert
MozReview-Commit-ID: LJiBYdYD1S5

--HG--
extra : rebase_source : 5c00a817cb43e9bc1d692d6b28d2bb5a7e46e802
2016-11-09 15:35:40 +02:00
Andi-Bogdan Postelnicu 1cdf51faec Bug 1316290 - Use C++11's override and remove already-implied virtual where applicable, in /layout. r=dholbert
MozReview-Commit-ID: IBljzyZmWW4

--HG--
extra : rebase_source : ab396c8a45116ab54da7a90335b7913d70cd91bd
2016-11-09 15:37:59 +02:00
Andi-Bogdan Postelnicu 306c7fcc52 Bug 1316290 - Use 'auto' type specifier for some variable decls that are assigned to "new", in /layout. r=dholbert
MozReview-Commit-ID: hEBEzzmMlC

--HG--
extra : rebase_source : a383b450117c539cc42246d05c071c356402c1c5
2016-11-09 15:34:49 +02:00
Manish Goregaokar d39e71363d Bug 1317092 - Fix metadata for logical-to-physical-mapping-001; r=dbaron
MozReview-Commit-ID: HX65RbpAVRK

--HG--
extra : rebase_source : b801722e1a373a782075f1c046aabe2b83152aec
2016-11-12 16:13:14 -08:00
Michelangelo De Simone 84c6b489b3 Bug 1312800 - Remove dom/inputport. r=jst
MozReview-Commit-ID: BhvPV6lIWd3

--HG--
extra : rebase_source : 647c6531521c7317144c7bc436753be8c57f1327
2016-11-10 15:39:45 -08:00
Wes Kocher cee41d5b80 Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
Carsten "Tomcat" Book cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Thinker K.F. Li 338613b05c Bug 1230425 - Fix the test of transform of Combines3DTransformWithAncestors. r=mattwoodrow
--HG--
extra : rebase_source : 150571617831a4d1c67e21a3a6cd0fd6db3b522f
2016-11-10 06:00:00 -05:00
Xidorn Quan 7d3b1f4fdb Bug 1258916 part 8 - Change most uses of 'fn' to 'srcname' to make it clearer. rs=dbaron
MozReview-Commit-ID: HxHRj2He6cw

--HG--
extra : source : 4c340c7a64ac30b4b07c312729e0b6c8db8da7df
2016-11-11 21:35:38 +11:00
Xidorn Quan 0be8f38737 Bug 1258916 part 7 - Use the directory structure from upstream repo for test and reference files. r=dbaron
MozReview-Commit-ID: E9HCyCGMtqp

--HG--
rename : layout/reftests/w3c-css/received/css-conditional-3/background-lime.html => layout/reftests/w3c-css/received/css-conditional-3/reference/background-lime.html
rename : layout/reftests/w3c-css/received/css-multicol-1/multicol-basic-ref.html => layout/reftests/w3c-css/received/css-multicol-1/reference/multicol-basic-ref.html
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-block.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1-block.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1-generic.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-1.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-1.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2-generic.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-2-generic.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-2.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-2.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-3.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-3.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-5.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-5.xml
rename : layout/reftests/w3c-css/received/css-namespaces-3/ref-lime-6.xml => layout/reftests/w3c-css/received/css-namespaces-3/reftest/ref-lime-6.xml
rename : layout/reftests/w3c-css/received/css-values-3/200-200-green.html => layout/reftests/w3c-css/received/css-values-3/reference/200-200-green.html
rename : layout/reftests/w3c-css/received/css-values-3/all-green.html => layout/reftests/w3c-css/received/css-values-3/reference/all-green.html
rename : layout/reftests/w3c-css/received/css-values-3/ch-unit-001-ref.html => layout/reftests/w3c-css/received/css-values-3/reference/ch-unit-001-ref.html
rename : layout/reftests/w3c-css/received/css-values-3/vh_not_refreshing_on_chrome-ref.html => layout/reftests/w3c-css/received/css-values-3/reference/vh_not_refreshing_on_chrome-ref.html
rename : layout/reftests/w3c-css/received/css-multicol-1/ref-filled-green-100px-square.xht => layout/reftests/w3c-css/received/reference/ref-filled-green-100px-square.xht
extra : source : f2cca58157c5bbd7cfa54af98cfe8b32bc215f7b
2016-11-11 21:35:38 +11:00
Manish Goregaokar c34e67ff4d Bug 1314200 - stylo: support transform; r=heycam
MozReview-Commit-ID: 50YhZtjF3vH

--HG--
extra : rebase_source : 9aaf3f1bdd317c8c0e541a5ff6ff6d734a3e3f32
2016-10-31 16:30:43 -07:00
Gerald Squelart 0affeb4ab0 Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: LXiZTu87Ck6

--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Daisuke Akatsuka b0388916e5 Bug 1064937 - Part 1: CSS Animations and Transitions should support transitions/animations of non-interpolable properties. r=birtles,pbro
MozReview-Commit-ID: 4kMytRCKK79

--HG--
extra : rebase_source : 864b568a96b399231a1cb75742d8c428f5ee2c5c
2016-11-11 16:40:38 +09:00
Jet Villegas 246805dcfd Bug 1283302: Sets the default value for nglayout.initialpaint.delay to 5ms on desktop (stays 250 ms on Android) per user research conclusions. r=tn
MozReview-Commit-ID: LWfmMoBcbnL
2016-08-25 18:57:56 -07:00
Daniel Holbert 60c50c3f43 Bug 1316762: Add fuzzy annotation for box-sizing-replaced-003.xht on linux. r=neerja
MozReview-Commit-ID: PLCAeVOvb1
2016-11-10 16:50:25 -08:00
Wes Kocher bfd47fa62d Backed out changeset ff60dd49591d (bug 1283302) for linux64 debug reftest failures a=backout 2016-11-10 16:10:54 -08:00
Daniel Holbert 0bac0fe86b Bug 1269017 followup: Fix typo in <link rel="match"> reference metadata, in reftests for CSS Box Alignment of abspos grid children. (test-only)
This patch is only updating metadata inside of tests, so DONTBUILD.

MozReview-Commit-ID: DDOU4oAd64W
2016-11-10 11:25:01 -08:00
Jet Villegas 08cf6c2481 Bug 1283302: Sets the default value for nglayout.initialpaint.delay to 5ms on desktop (stays 250 ms on Android) per user research conclusions. r=tn
MozReview-Commit-ID: LWfmMoBcbnL
2016-08-25 18:57:56 -07:00
Carsten "Tomcat" Book f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Carsten "Tomcat" Book 4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
cku 62cf65bb77 Bug 1298774 - followup: fix compile error by disable mask-as-shorthand. r=me
MozReview-Commit-ID: 99is2akQI3k

--HG--
extra : source : 384181056c35c5c90d38926d5e9f928965eff9a4
2016-11-09 18:54:44 +08:00
Cameron McCormack b3db3c2002 Bug 1316247 - stylo: Handle restyles generated during change hint processing sooner. r=emilio
MozReview-Commit-ID: HpgJ94ifJ7e
2016-11-09 14:25:28 +08:00
Cameron McCormack ff10ad8bc2 Bug 1315889 - stylo: don't try to restyle elements that have been removed from the document. r=emilio
MozReview-Commit-ID: EiFS1KAKAj6
2016-11-08 16:24:34 +08:00
Cameron McCormack 1b5c96f9f7 Bug 1315894 - Clear dirty bits on entire subtree when stopping in RecreateStyleContexts due to no frame or ReconstructFrame hint. r=emilio
MozReview-Commit-ID: 5ch5gtOn0Zr
2016-11-09 14:25:58 +08:00
Keshav Prasad 8d534ac19c Bug 1314158 - Remove declaration of IsChromeSlow in nsPresContext.h. r=mstange
MozReview-Commit-ID: MXq75nKDQM

--HG--
extra : rebase_source : 2d22dc5aaf9d66f528067882eca5c5eb8b0e64f0
2016-11-04 16:46:30 -04:00
Jonathan Watt 9aad32cd64 Bug 1313386, part 2 - Make AutoPrintEventDispatcher::DispatchEventToWindowTree non-static. r=dholbert 2016-11-01 21:29:30 +00:00
Jonathan Watt fdc97b0759 Bug 1313386, part 1 - Clean up the beforeprint/afterprint event dispatching code. r=dholbert 2016-11-01 21:29:30 +00:00
Jonathan Watt 07c5338755 Bug 1313525 - Remove the nsIPrintOptions interface. r=mstange
--HG--
rename : widget/nsIPrintOptions.idl => widget/nsIPrinterEnumerator.idl
2016-10-28 00:31:14 +01:00
Carsten "Tomcat" Book 846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Matt Woodrow f880884b57 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Ethan Lin 24bda82351 Bug 1315353 - Part 2: Add testcase for border-image-repeat with SVG content. r=dbaron
--HG--
extra : rebase_source : 7ed0f7e6d37cd497ba1efb3876a0ee8f342ddca4
2016-11-08 11:46:46 +08:00
Ethan Lin dfc8522b08 Bug 1315353 - Part 1: Fix the wrong image size of border-image-repeat while the content is SVG. r=dbaron
--HG--
extra : rebase_source : 645cfd900a937bfe3356f5cdce607bc08bacf34b
2016-11-08 11:46:46 +08:00
Ting-Yu Lin 384e9e119b Bug 1291110 Part 4 - Use line BSize to query available space when updating nsLineLayout. r=dbaron
In nsBlockFrame::PlaceLine(), we query the float available space by
using the line's BSize(), which may cause the line to reflow again due
to available space shrunk.

The first issue lies in the second reflow. That is, we do not leverage
the line's BSize() computed in the first reflow to query the float
available space when updating the inline reflow engine in
BlockReflowInput::AddFloat(). So some tall inline elements could still
overlap the floats as in the first reflow.

To solve this, we cache current line's BSize so that it could be
used to update the inline reflow engine when redo the line.

Another issue is in nsBlockFrame::PlaceLine(). When determined whether
the available space is shrunk, we use the float manager's state *before*
placing the line. So if current line has floats, they're not considered.

To solve this, we use the current set of floats to get the float available
space for comparison, and leave the original aFloatAvailableSpace to provide
the information when redoing the line.

MozReview-Commit-ID: GqqNlphgxYS

--HG--
extra : rebase_source : e2c64ab1ac363c7a08e532dc043bee69d6455049
2016-08-22 19:42:37 +08:00
Ting-Yu Lin 8fa65e4f5d Bug 1291110 Part 3 - Enforce float available space never grow on either side. r=dbaron
This patch is based on bug 1291110 comment 29, but |aCanGrow| is preserved,
since the set of float available spaces we'll be testing in Part 4 are
difference from the one we enforced here.

MozReview-Commit-ID: LswbIaRukVR

--HG--
extra : rebase_source : 007d55fd867d052163ea5bb4222baf201fe30bcf
2016-11-08 15:20:58 +08:00
Ting-Yu Lin 76dba9d5d5 Bug 1291110 Part 2 - Rename availableSpaceHeight to availableSpaceBSize. r=dbaron
Rename to make the variable name consistent with the writing-mode
terminology used in PlaceLine().

MozReview-Commit-ID: AvhwHyHz7hV

--HG--
extra : rebase_source : bcec67d9959c1b881b4d287dbbab47dd0d6e0de9
2016-11-08 13:42:14 +08:00
Ting-Yu Lin bb1491fb5a Bug 1291110 Part 1 - Fix log and comment related to float. r=dbaron
MozReview-Commit-ID: ICUflMUOsD2

--HG--
extra : rebase_source : ccba872d056edcfb07095f3f2995492324394ab0
2016-08-22 19:41:53 +08:00
Ting-Yu Lin 5851f10c95 Bug 1316040 - Change target to non-target in test_caret_not_appear_when_typing_in_scrollable_content. r=mtseng
In this test, we assume the caret does not appear at the end of the input.
However in this case, self.actions.flick() will select all text within the
input, and then send_keys() will replace it with '!'. As a result, the final
content might varies on different platforms. Test the final content match
tho target_content might not be reliable.

To fix this, we instead assert that final content does *not* match the
non_target_content as the bug occurs.

MozReview-Commit-ID: 2YRN8W3PUXG

--HG--
extra : rebase_source : c63b631c609992fccf350d3088bba8e0621d9a55
2016-11-09 14:14:53 +08:00
Neerja Pancholi f5845ba7b6 Bug 1316430 - Add fuzzy annotation for reftests/details-summary/mouse-click-twice-float-details.html r=dholbert
MozReview-Commit-ID: 47XhcgMrOu6

--HG--
extra : rebase_source : 3cea0a9ec50dfc465bdf0eb1c87ba451a434024a
2016-11-09 13:15:27 -08:00
Neerja Pancholi 0f13b458fc Bug 1295466 - Use MozReftestInvalidate event in box-sizing-replaced-001.xht to avoid test failure when paint delay is reduced r=mstange
MozReview-Commit-ID: IXK2WwM3mrH

--HG--
extra : rebase_source : 2e8dd60536eeb9fdf708d8e2716b49a5f83f41ac
2016-11-07 16:32:48 -08:00
Neerja Pancholi 57478826a0 Bug 1315846 - Fix reftests with minor AA and layerization issues by replacing text with tall divs as placeholders r=dholbert
MozReview-Commit-ID: 4FB1MrQjGhE

--HG--
extra : rebase_source : fb0ecd03e167c3d815e7ae013366914bad278dbb
2016-11-08 13:34:09 -08:00
Neerja Pancholi 433e9d5892 Bug 1315834 - Add fuzzy annotation for layout/reftests/bugs/502447-1.html r=mstange
MozReview-Commit-ID: 4GNORDTwnQC

--HG--
extra : rebase_source : 5fdcd90ae5eb95248040f33616e580a85f0eb6b1
2016-11-07 17:00:45 -08:00
Neerja Pancholi 0919e111e2 Bug 1178202 - Use MozReftestInvalidate event in invalidate-1.html for landing Bug 1283302 r=mstange
MozReview-Commit-ID: G4Towoy0XpF

--HG--
extra : rebase_source : b6a7c996c6fb7b209d873748898219920b24fdb0
2016-11-02 18:14:22 -07:00
Matt Brubeck 9c2c0561df Bug 1292275 - Stylo: Fix crash after failed stylesheet load. r=heycam
Fixes a crash ServoStyleSet::AddDocStyleSheet caused by
ServoStyleSheet::RawSheet returning null.

MozReview-Commit-ID: BdDosompqTv

--HG--
extra : rebase_source : 0b46c9f9327eec0bac3bb2ca697198887948e2e6
2016-10-25 10:15:38 -07:00
Carsten "Tomcat" Book 6999313142 Merge mozilla-central to autoland 2016-11-09 16:42:13 +01:00
cku be2238288b Bug 1250490 - Part 6. Test case. r=mstange
MozReview-Commit-ID: 91Qidd0ADve

--HG--
extra : rebase_source : 2ca06137a909b76c81dacb74761f175650023687
2016-11-03 14:29:15 +08:00
cku efbebcc1a8 Bug 1250490 - Part 5. Use CreateBlendTarget/BlendToTarget. r=mstange
MozReview-Commit-ID: ERSXrcOW9PQ

--HG--
extra : rebase_source : 04f18848f51612e7d84570d026607e83aebf2366
2016-11-03 12:38:36 +08:00
cku dcbcec68cf Bug 1250490 - Part 4. Bring back CreateBlendTarget/BlendToTarget. r=mstange
MozReview-Commit-ID: DMSm5d2SI3j

--HG--
extra : rebase_source : a8108cd3088a5f530bded2e20c408f3b4787d658
2016-11-03 12:17:20 +08:00
cku 626b83ae89 Bug 1250490 - Part 3. Use DetermineMaskUsage in nsSVGUtils::PaintFrameWithEffects. r=mstange
MozReview-Commit-ID: 3CxHG0oB6f9

--HG--
extra : rebase_source : e13291f0c5277c1a10723be7a4665cf40b576947
2016-11-03 11:58:15 +08:00
cku 282a24594a Bug 1250490 - Part 2. Remove DetermineMaskUsage and ComputeOpacity from nsSVGIntegrationUtils. r=mstange
MozReview-Commit-ID: 4gHW7PyMNhd

--HG--
extra : rebase_source : 68507df64232ebef68535e85cc9934833a428456
2016-11-03 11:16:46 +08:00
cku 511431abbf Bug 1250490 - Part 1. Move DetermineMaskUsage and ComputeOpacity to nsSVGUtils. r=mstange
MozReview-Commit-ID: K06trG9nuvU

--HG--
extra : rebase_source : ad7651daa0752ba6c128853de19e758694705793
2016-11-03 11:08:06 +08:00
cku 8147e6d4e1 Bug 1314001 - Part 2. Draw mask by single opaque green. r=mstange
MozReview-Commit-ID: 12S5vBGYRpb

--HG--
extra : rebase_source : ef9bfa3251610732a0a6d2becb0e07737a40ac12
2016-11-04 12:25:33 +08:00
cku bb74527cff Bug 1234485 - Part 12. Extract PaintMaskSurface from GenerateMaskSurface. r=mstange
MozReview-Commit-ID: Bg4Kt6yCtNe

--HG--
extra : rebase_source : e13ce7753bede0e9edc58f8406c60d4120fbd329
2016-11-02 15:10:46 +08:00
cku 575b4ea688 Bug 1234485 - Part 11. Paint SVG mask on PaintedLayer before bug 1313877 fixed. r=mstange
MozReview-Commit-ID: C8XIZ4ttp1P

--HG--
extra : rebase_source : 71940c3ba9f3597e39c82c1b8ba39636dcf006b8
2016-10-30 02:55:24 +08:00
cku b146d87275 Bug 1234485 - Part 10. Paint mask onto mask layer when possible. r=mattwoodrow,mstange
MozReview-Commit-ID: GEMprzpfYw3

--HG--
extra : rebase_source : aa72a7b84ed21fae5638b5a83b2e739716537864
extra : intermediate-source : 6b90195d53da590b153c0ee7317767ae15ef6b16
extra : source : fcd9d758f37adb4d28f2fd72b458f1576e5cd2f8
2016-10-30 15:43:43 +08:00
cku bbd37411c6 Bug 1234485 - Part 9. Implement MaskLayerUserData::constructor & operator=. r=mstange
Move MaskLayerUserData member data setup code into assign operator to reduce
codes in CreateMaskLayer.

MozReview-Commit-ID: FKsM3OfWhvS

--HG--
extra : rebase_source : 1fc2f40615de048805e30133b0eecd4ef3d5ae92
2016-11-07 23:27:35 +08:00
cku fc22c48445 Bug 1234485 - Part 8. Implement ContainerState::SetupMaskLayerForCSSMask. r=mattwoodrow,mstange
MozReview-Commit-ID: Gu1u4WvL2Cy

--HG--
extra : rebase_source : 46788af208f0122747c0a8c90f308461c7a44f6d
2016-11-07 22:32:43 +08:00
cku 73c622f3dc Bug 1234485 - Part 7. Implement CSSMaskLayerUserData to store css positioned mask user data. r=mstange
MozReview-Commit-ID: JZVcAfipKYX

--HG--
extra : rebase_source : f123995c61dda5cc27d57d4d09bc829495923c47
2016-11-01 16:43:34 +08:00
cku 690ab041c6 Bug 1234485 - Part 6. Implement nsStyleImageLayers::operator=. r=mstange
nsStyleImageLayers::operator= is required by the next patch.
MozReview-Commit-ID: CE1j2qW9TIY

--HG--
extra : rebase_source : ef2c5548e11f8d53824fe47400c79f6f90f1b1ed
2016-11-07 22:32:15 +08:00
cku 580b53705f Bug 1234485 - Part 5. Implement MaskImageData::CreateImageAndImageContainer. r=mstange
Simply move some code from ContainerState::CreateMaskLayer into MaskImageData,
so that we can reuse it later.

MozReview-Commit-ID: H2zktYL9PIh

--HG--
extra : rebase_source : 091c877af171adcef26fc6f8b1a03e56197be6ef
2016-10-26 22:17:24 +08:00
cku 51fd365a1a Bug 1234485 - Part 4. Implement nsDisplayMask::ShouldPaintOnMaskLayer. r=mstange
MozReview-Commit-ID: CChi1vbLLh8

--HG--
extra : rebase_source : d869aeb9993e6d631a494f0b63494de3b576b5b3
2016-10-19 11:44:15 +08:00
cku 4d9495cf77 Bug 1234485 - Part 3. Implement nsSVGIntegrationUtils::PaintMask. r=mstange
Unlike nsSVGIntegrationUtils::PaintMaskAndClipPath, which paints masked content
onto aParam.ctx, nsSVGIntegrationUtils::PaintMask paints only mask, no content,
onto aParams.ctx.

MozReview-Commit-ID: BaRbtHpoHzj

--HG--
extra : rebase_source : 4a258b7332ba7a7edbffdc13c7f4b065fbe5eaa4
2016-10-19 17:31:36 +08:00
cku 999ca66251 Bug 1234485 - Part 2. Implement nsSVGIntegrationUtils::IsMaskResourceReady. r=mstange
We need this new function to determine whether paint mask onto mask layer.
MozReview-Commit-ID: IeEamPi9S8v

--HG--
extra : rebase_source : 993ae4bbe31c2c21704813c318f5328719194930
2016-10-30 21:41:06 +08:00
cku 882c5bf086 Bug 1234485 - Part 1. Extract DetermineMaskUsage from PaintMaskAndClipPath. r=mstange
Two reasons that we should do this:
1. Make PaintMaskAndClipPath even simpler.
2. We need this new function to determine LayerState of a nsDisplayMask later.

MozReview-Commit-ID: 2ga0VFOs6u3

--HG--
extra : rebase_source : 8a8c4da05acf5aa1cf13eb7366116944df9c8409
2016-10-19 13:38:35 +08:00
Wes Kocher 0330db10eb Merge m-c to autoland, a=merge 2016-11-08 14:09:10 -08:00
Wes Kocher 008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Olli Pettay cb803253a5 bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm
--HG--
extra : rebase_source : 2ce6e06783e399e787d0445943f9f39bcef1cc22
2016-11-08 14:05:45 +02:00
Phil Ringnalda 27a5b8d2ae Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
cku 2fbd5c11c2 Bug 1258751 - followup: remove out-of-date comment. r=me DONTBUILD
MozReview-Commit-ID: 8M8yHsDc1Lg

--HG--
extra : rebase_source : 3f0d695e8307bb735d2026470dcec90c9887ec1a
2016-11-07 17:09:57 +08:00
Phil Ringnalda 592b02e148 Merge m-c to m-i
MozReview-Commit-ID: 8cFOopE3aHd
2016-11-07 20:40:30 -08:00
Phil Ringnalda 2c7a3afd66 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
Matt Woodrow 7afb98ff2b Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Cameron McCormack 38fd958f01 Bug 1315851 - stylo: tweak temporary eRestyle_StyleAttribute handling. r=xidorn
MozReview-Commit-ID: Jgv5El6Kxdu
2016-11-08 10:39:30 +08:00
Brad Werth 175fc88729 Bug 1314080 Part 4: Implement the new text retrieval behavior. r=smaug
MozReview-Commit-ID: 7j5BjruBNb9

--HG--
extra : rebase_source : a5649d5552a0ee9f1a9bc5e07cac2ca12610d5a1
2016-11-02 16:39:43 -07:00
Brad Werth 1e29a9cf1c Bug 1314080 Part 1: Rename CollectClientRects method and add a new parameter for collecting text. r=smaug
MozReview-Commit-ID: KQPky6Fh8sG

--HG--
extra : rebase_source : 33bce65c1752aeb7a2225a981f2dadf7e2ce5916
2016-11-02 13:49:43 -07:00
Cameron McCormack 6001074f5a Bug 1315632 - stylo: Leave old style on frames when nsChangeHint_ReconstructFrame was generated. r=emilio
MozReview-Commit-ID: 4rtsOwwZFkS

--HG--
extra : rebase_source : 4b3963a49cfecbd6b44e2a7599d912b63f9b5b7a
2016-11-07 18:15:32 +08:00
Phil Ringnalda a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst 8f6c082926 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/xul. r=RyanVM
MozReview-Commit-ID: 7L2yY2Jc3FI

--HG--
extra : rebase_source : e82cecfca06ba99103245b23578a03829e18f764
2016-11-05 11:29:20 +01:00
Sebastian Hengst 53d83db2ee Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/style. r=RyanVM
MozReview-Commit-ID: 6ivU1MPu8dU

--HG--
extra : rebase_source : 2b37dc5b88bd76f633c98c4e7a1553f66f057f0e
2016-11-05 11:29:20 +01:00
Sebastian Hengst b99436131d Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/inspector. r=RyanVM
MozReview-Commit-ID: 4eoTmdhBzjk

--HG--
extra : rebase_source : 202f3f0ee35f692c09e9b466b323ded65b1c5532
2016-11-05 11:29:20 +01:00
Sebastian Hengst 21b6a70f58 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/generic. r=RyanVM
MozReview-Commit-ID: 2Klhlu481mS

--HG--
extra : rebase_source : 848600cd18690e3308da370429c591200425c0cb
2016-11-05 11:29:20 +01:00
Sebastian Hengst f4374c637f Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/forms. r=RyanVM
MozReview-Commit-ID: 1EWreOC5iXw

--HG--
extra : rebase_source : 1981e810a32195dac93ba890fea1847f63219517
2016-11-05 11:29:20 +01:00
Sebastian Hengst 431a51bafd Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/base. r=RyanVM
MozReview-Commit-ID: M0EASZk09I

--HG--
extra : rebase_source : e606f93a93c0f4149ba3d81d6b3893ef2b12d2da
2016-11-05 11:29:20 +01:00
Boris Zbarsky 5c0257a736 Bug 1315368. Back out changeset bf190e326bfd (bug 790997) because what it implements doesn't actually follow the CSS syntax editor's draft and breaks some sites in the process. r=dbaron 2016-11-05 00:23:16 -04:00
Phil Ringnalda 06521a66a4 Merge m-c to m-i
MozReview-Commit-ID: 7W5SwSOspcB
2016-11-04 21:04:44 -07:00
Andreas Farre 261494e785 Bug 1314314 - Restrict when idle callbacks are fired. r=bkelly
MozReview-Commit-ID: L9ZTVFeHGTw

--HG--
extra : rebase_source : 7178cd47eba6b95539bf9e7f44df8e596de13ebf
2016-11-03 18:47:23 +01:00
Phil Ringnalda c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Phil Ringnalda 0f32b67e2d Merge m-i to m-c, a=merge
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Michelangelo De Simone 80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Frederik Braun 61b919525e Bug 1312272 - Marquee event handlers to adhere CSP. r=smaug
MozReview-Commit-ID: 6MxGnFAIhMP

--HG--
extra : histedit_source : 592bae3f50983d107169811411ab444d5efa3f22
2016-11-04 22:54:59 -04:00
Mats Palmgren 8a1574da55 Bug 1314206 part 3 - [css-grid] Reftests for <button> grid items. 2016-11-05 02:57:08 +01:00
Mats Palmgren 667529f852 Bug 1314206 part 2 - [css-grid] Don't check for unconstrained inline size since it never occurs (other than by accident). r=dholbert 2016-11-05 02:57:08 +01:00
Mats Palmgren 0a5e98068a Bug 1314206 part 1 - [css-grid] Stretch the inline size when requested, unless we're measuring the shrink-wrap size. r=dholbert 2016-11-05 02:57:08 +01:00
Mats Palmgren faf8e6f6bf Bug 1313254 part 6 - [css-grid] A few comment tweaks. rs=dholbert 2016-11-05 02:57:08 +01:00
Mats Palmgren 979e7df2df Bug 1313254 part 5 - [css-grid] Add a couple of uses of 'first baseline' to ensure it's a synonym for 'baseline'. r=me 2016-11-05 02:57:07 +01:00
Mats Palmgren b1c4b6d89a Bug 1313254 part 2 - [css-align] Change "last-baseline" to "last baseline" in layout/ (scripted change). r=dholbert 2016-11-05 02:57:07 +01:00
Mats Palmgren ab344ac072 Bug 1313254 part 1 - [css-align] Change "baseline|last-baseline" to "[ first | last ]? baseline". r=dholbert 2016-11-05 02:57:07 +01:00
Mats Palmgren 5d99ef9a6b Bug 1300369 part 13 - [css-grid] Reftests for margin-box min-size clamping. 2016-11-05 02:57:07 +01:00
Mats Palmgren bb4421d329 Bug 1300369 part 12b - Make nsIFrame::ComputeISizeValue clamp the min-content size when eIClampMarginBoxMinSize is in aFlags. r=dholbert 2016-11-05 02:57:07 +01:00
Mats Palmgren 87c23dd98b Bug 1300369 part 12a - Add a ComputeSizeFlags arg to nsIFrame::ComputeISizeValue. Propagate aFlags in nsFrame::ComputeSize in its ComputeISizeValue calls (idempotent patch). r=dholbert 2016-11-05 02:57:07 +01:00
Mats Palmgren 6b1b0153ba Bug 1300369 part 11 - Move nsLayoutUtils::ComputeISizeValue to a nsIFrame method (idempotent patch). r=dholbert 2016-11-05 02:57:07 +01:00
Mats Palmgren 5bcffbffeb Bug 1300369 part 10 - Make nsFrame::ComputeSizeWithIntrinsicDimensions handle margin-box min-size clamping. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren a6089b50fc Bug 1300369 part 9 - Add a ComputeSizeFlags param to nsFrame::ComputeSizeWithIntrinsicDimensions (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren ddb49488f0 Bug 1300369 part 8 - Move nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to a nsFrame method (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren e54d8218a4 Bug 1300369 part 7 - [css-grid] Implement margin-box min-size clamping for grid item reflow. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren a0c5be1ac8 Bug 1300369 part 6 - Make nsBlockFrame::ComputeFinalSize handle margin-box min-size clamping. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren 1296ddcec3 Bug 1300369 part 5 - Make nsFrame::ComputeSize and nsFrame::ShrinkWidthToFit handle margin-box min-size clamping. r=dholbert 2016-11-05 02:57:06 +01:00