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

53540 Коммитов

Автор SHA1 Сообщение Дата
Thomas Wisniewski 390c3bda9a Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam 2016-11-24 23:23:14 -05:00
Ryan Hunt 4026e2a704 Bug 1303408 - Create nsDisplayLayerEventRegions for positioned elements. r=mattwoodrow
--HG--
extra : rebase_source : 080e2261084aa28151abab20adfcb2ea598c4424
extra : amend_source : b39a00efe74d8af4d4f2f7f1c5bcbcf83161e322
2016-11-23 16:24:29 -06:00
Boris Zbarsky 6f55f6fce6 Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron 2016-11-29 15:52:55 -05:00
Boris Zbarsky 6b2f992350 Bug 504622 part 1. Rewrite fieldset border drawing to just clip to the area outside the legend instead of doing it in pieces with different clip rects. r=mattwoodrow,dbaron
This change will allow the border drawing code to deal with the following
changes, which will make us no longer force the fieldset to be wider than the
legend.  Without this patch, allowing the fieldset to be narrower than the
legend causes the vertical inline-start-side and inline-end-side borders of the
fieldset to paint under the legend, because the current code only modifies the
painting of the block-start-side border (the one the legend is positioned on).

This does change behavior in one situation, which the new tests test.  For
relatively positioned legends, we used to use the original vertical location but
the positioned horizontal location of the legend to decide which parts of the
border to not paint.  In the new setup, we use the original location for both.
I did check that this new behavior matches Chrome and Safari.  Edge seems to
have our old behavior.
2016-11-29 15:52:30 -05:00
Boris Zbarsky ec89866229 Bug 1320809. Remove the unused IsChecked() and IsIndeterminate() methods from nsGfxCheckboxControlFrame. r=dholbert 2016-11-29 15:52:22 -05:00
Mats Palmgren d8418be439 Bug 1279354 part 3 - Crashtest. 2016-11-28 23:00:20 +01:00
Mats Palmgren 046c6cd826 Bug 1279354 part 2 - Make the nsProgressFrame code a bit more idiomatic by processing its actual child frames. r=dholbert 2016-11-28 23:00:20 +01:00
Mats Palmgren 7c01c6afca Bug 1279354 part 1 - Always call SetPrimaryFrame for NS_FRAME_ANONYMOUSCONTENTCREATOR_CONTENT frames (unless there is one already), including when mCreatingExtraFrames is true. r=dholbert 2016-11-28 23:00:20 +01:00
Nathan Froyd 2ebbd09068 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Carsten "Tomcat" Book 4703a9d09f Merge mozilla-central to mozilla-inbound 2016-11-28 16:47:40 +01:00
Carsten "Tomcat" Book d98418da69 merge mozilla-inbound to mozilla-central a=merge 2016-11-28 16:37:22 +01:00
Jeremy Chen 9dca2c80ea (no bug) minor indentation cleanup in nsTextFrameUtils.h. whitespace-only, no review, DONTBUILD
MozReview-Commit-ID: FIN0Tif6JZQ
2016-11-28 20:45:37 +08:00
Jeremy Chen a09461846f (no bug) fix comment for nsTextFrameUtils::TransformText. comment-only, no review, DONTBUILD
MozReview-Commit-ID: Cu7zjjvOwQE
2016-11-28 20:45:37 +08:00
Julian Seward e32070c1ac Bug 1320094 - Add missing mLoading assignments in {nsHTMLFramesetFrame,nsHTMLFramesetBorderFrame}::GetCursor. r=dbaron.
--HG--
extra : rebase_source : b339c012daab96990bf22bd5d31edc125135700d
2016-11-28 12:59:02 +01:00
Mats Palmgren e6c84d38b0 Bug 1319958 - [css-grid] Sprinkle some place-items/self/content shorthands around in the Grid reftests to increase test coverage. 2016-11-28 00:44:22 +01:00
Mats Palmgren 0965da8493 Bug 1319958 - [css-align][css-grid][css-flexbox] Implement the place-items/self/content shorthands. r=dholbert 2016-11-28 00:44:22 +01:00
Sebastian Hengst f6618cb892 Backed out changeset 8a6c538cf61a (bug 943918) for failing own test tab-size-length.html on at least Windows 8 x64 opt+debug and OS X debug. r=backout 2016-11-28 00:41:19 +01:00
Sebastian Hengst 8a78fcdecc Backed out changeset 0c5eb3fd9fb5 (bug 943918) 2016-11-28 00:39:27 +01:00
Sebastian Hengst d88586f1c1 Backed out changeset 5cfdfff9c5c8 (bug 943918) 2016-11-28 00:39:23 +01:00
Xidorn Quan 5eac149d87 Bug 1258916 part 10 - Not attach HTTP directive to tests which need ahem font. r=dbaron
MozReview-Commit-ID: E4ItEEmThcC

--HG--
extra : source : 9c6424b5a452cd7244a5ff100b8d72b6fa89f49d
2016-11-28 10:13:08 +11:00
Xidorn Quan 3c31d970c0 Bug 1258916 part 9 - Optimize re.sub usage in import script. r=dbaron
This reduces the time to import by ~30% with css-writing-modes included.

MozReview-Commit-ID: JsnkRfTFnp6

--HG--
extra : source : 76731753ce13d2d9e427935112b02df2781cd44a
2016-11-28 10:13:08 +11:00
Thomas Wisniewski d32b92271b Bug 943918 - Part 3: reftest for tab-size:<length> and tab-size:<number>. r=heycam 2016-11-25 00:22:56 -05:00
Thomas Wisniewski 813450469e Bug 943918 - Part 2: layout for tab-size:<length> and tab-size:<number>. r=heycam 2016-11-25 00:18:11 -05:00
Thomas Wisniewski ae1257b378 Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam 2016-11-24 23:23:14 -05:00
Sebastian Hengst da69754231 Backed out changeset 39e0069c673e (bug 1317562) for failing reftest 368020-1.html on OS X and Windows. r=backout 2016-11-27 14:07:18 +01:00
Timothy Nikkel 651143f578 Bug 1317562. Make style images use async image notifications when requesting decoding. r=aosmond 2016-11-27 01:33:02 -06:00
Carsten "Tomcat" Book 9dd582c3dd Merge mozilla-central to autoland 2016-11-29 11:50:17 +01:00
Neerja Pancholi c051e5a3b6 Bug 1295466 - Revert w3c-css/submitted/ui3/box-sizing-replaced-001.xht to remove previously added MozReftestInvalidate and add fuzzy anotation for this test r=dholbert
MozReview-Commit-ID: JuN4bWDPkK1

--HG--
extra : rebase_source : 452eab3e1dce6b39d65a71779fef17b9773a05ff
2016-11-11 14:21:13 -08:00
Neerja Pancholi 400bcd0933 Bug 1295466 - Copy test box-sizing-replaced-001.xht and use non-standard MozReftestInvalidate event to avoid test failure when paint delay is reduced. r=dholbert,mstange
MozReview-Commit-ID: Dcyx4Z4D8Ni

--HG--
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-001-ref.xht => layout/reftests/bugs/1295466-1-ref.xhtml
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-001.xht => layout/reftests/bugs/1295466-1.xhtml
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-1.png => layout/reftests/bugs/support/replaced-min-max-1.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-10.png => layout/reftests/bugs/support/replaced-min-max-10.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-11.png => layout/reftests/bugs/support/replaced-min-max-11.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-12.png => layout/reftests/bugs/support/replaced-min-max-12.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-13.png => layout/reftests/bugs/support/replaced-min-max-13.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-14.png => layout/reftests/bugs/support/replaced-min-max-14.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-15.png => layout/reftests/bugs/support/replaced-min-max-15.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-16.png => layout/reftests/bugs/support/replaced-min-max-16.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-17.png => layout/reftests/bugs/support/replaced-min-max-17.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-18.png => layout/reftests/bugs/support/replaced-min-max-18.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-19.png => layout/reftests/bugs/support/replaced-min-max-19.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-2.png => layout/reftests/bugs/support/replaced-min-max-2.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-3.png => layout/reftests/bugs/support/replaced-min-max-3.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-4.png => layout/reftests/bugs/support/replaced-min-max-4.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-5.png => layout/reftests/bugs/support/replaced-min-max-5.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-6.png => layout/reftests/bugs/support/replaced-min-max-6.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-7.png => layout/reftests/bugs/support/replaced-min-max-7.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-8.png => layout/reftests/bugs/support/replaced-min-max-8.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max-9.png => layout/reftests/bugs/support/replaced-min-max-9.png
rename : layout/reftests/w3c-css/submitted/ui3/support/replaced-min-max.png => layout/reftests/bugs/support/replaced-min-max.png
extra : rebase_source : 523e0a517e19f2bc221a98c553752387d44d79a0
2016-11-11 13:25:42 -08:00
Ting-Yu Lin 0b68b2de7e Bug 1319672 Part 2 - Check the line direction is not changed. r=dbaron
Since the line direction affects the interpretation of float right or left,
we should check aWM has the same line direction as mWritingMode. And this
also guarantees that float added by AddFloat() has the same line direction
as when querying the available space via GetFlowArea().

MozReview-Commit-ID: FGxVFbo910g

--HG--
extra : rebase_source : 5bcf42fe88d3e03417f65565fa9252d6f1eb5acf
2016-11-23 18:10:23 +08:00
Ting-Yu Lin 50f80eb8ba Bug 1319672 Part 1 - Add document related to writing-mode in nsFloatManager. r=dbaron
MozReview-Commit-ID: 2Sr7UU6BQ9r

--HG--
extra : rebase_source : 50840b749cf045221af9680dc3538406f0936286
2016-11-23 18:07:56 +08:00
Hiroyuki Ikezoe 7e96375f18 Bug 1318697 - Part 1: Skip composing styles for properties depending on cascade level. r=birtles
When we are composing style for the Animations level of the cascade,
if we have transitions-level animations, we *also* need to compose them if we
have animations-level animations that build on top of them using additive or
accumulative composite modes.

However, we should not build those transitions-level animations unless they will
be built on or overridden by a regular animations-level animation. Otherwise
we will end up with transitions-level animations in the animations-level and
while transitions-level will override the animations-level in the cascade,
once the transition finishes there will be nothing to remove the cached
animations-level animation rule.

MozReview-Commit-ID: LaRabzDSsO5

--HG--
extra : rebase_source : 256efb5779a8cbcc8ae906295b40b160a55641c9
2016-11-29 15:04:17 +09:00
Boris Chiou c8c82c263f Bug 1317179 - Use nsAString as the parameter type and drop Gecko_Utf8SliceToString. r=manishearth
MozReview-Commit-ID: TtA9P8FIAZ

--HG--
extra : rebase_source : 3d3339e2f648db34e4cc917ae0d90d0b8d785c8a
2016-11-23 19:24:46 +08:00
Phil Ringnalda b280758db8 Backed out changeset 8611e9d0bdaa (bug 1319378) for Win8 reftest failures in table-overflowed-by-animation.html 2016-11-28 22:06:06 -08:00
Astley Chen e7f225bd3b Bug 1276808 - Remove -moz-text-align-last property. r=xidorn
MozReview-Commit-ID: HJtOLrtKnDU

--HG--
extra : rebase_source : e17c2a94bb0fba1bd9b4f21c5a9a0f958cb53f5b
2016-11-29 08:39:26 +08:00
Cameron McCormack d3f33b48e8 Bug 1319568 - Resolve default styles for XUL tree pseudos for now if we're styled by Servo. r=xidorn
MozReview-Commit-ID: H3qDwPldmP2

--HG--
extra : rebase_source : f92fa2af36caf6d6cf58b537682a75fd9edf6e04
2016-11-29 12:31:32 +08:00
L. David Baron 03d6962a30 Bug 1320815 - DeCOMtaminate nsIFrame::IsSelectable by returning boolean instead of nsresult. r=xidorn
MozReview-Commit-ID: EBxBcEgIvp7

--HG--
extra : rebase_source : 49e5a370df86baec014e99be56b05d451d5ee78c
2016-11-28 15:31:29 -08:00
L. David Baron 813fb8c039 Bug 1320815 - Make nsIFrame::IsSelectable non-virtual, and move implementation from nsFrame to nsIFrame. r=xidorn
MozReview-Commit-ID: HphEFug7EbQ

--HG--
extra : rebase_source : 86fe78f54940b1866ab737013658082799e09ef9
2016-11-28 15:31:29 -08:00
Xidorn Quan ae670d64ee Bug 389283 - Choose cursor value based on selectability. r=dbaron
MozReview-Commit-ID: 2c4RcXgwz1U

--HG--
extra : rebase_source : c3525339d5d64f24c6f0667244885b8b33042072
2016-11-25 01:00:34 +11:00
Hiroyuki Ikezoe 6f58b63037 Bug 1319378 - Don't set NS_FRAME_MAY_BE_TRANSFORMED against nsIFrame that does not support transforms. r=dbaron
MozReview-Commit-ID: CuDA14ktcDL

--HG--
extra : rebase_source : f9dbd7ac8457bd0428402db3f856f0f96b1e1ecc
2016-11-28 14:19:40 +09:00
Carsten "Tomcat" Book 06069f9b3c Merge mozilla-central to mozilla-inbound 2016-11-29 16:49:35 +01:00
Jonathan Kew 36da9c774c Bug 1320474 - Add tests for the use of <string> as keyframes-name. r=birtles 2016-11-29 12:58:57 +00:00
Jonathan Kew 9139bdb856 Bug 1320474 - Allow <string> in addition to <custom-ident> (excluding css-wide keywords and 'none') for css-animation keyframe names. r=birtles 2016-11-29 12:58:44 +00:00
Xidorn Quan 118ed51896 Bug 1313293 - Implement CSSStyleSheet.insertRule and deleteRule. r=heycam
MozReview-Commit-ID: DLHWrNqVH0D

--HG--
extra : source : 48833e04a77f692121b691d197a02b9310bf3162
2016-11-29 22:59:55 +11:00
Timothy Nikkel e114bb1b97 Bug 1317562. Make nsTreeBodyFrame use async image notifications during painting. r=aosmond 2016-11-26 01:56:27 -06:00
Timothy Nikkel 501b1c2574 Bug 1317562. Allow flags to be passed to StartDecoding for the sole purpose of allowing async notifications to be requested. r=aosmond 2016-11-26 01:56:26 -06:00
Bobby Holley f8c9d884fc Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
Timothy Nikkel 3468111c94 Bug 1317559. Make image layer related functions that may be called during paint ask for async image notifications. r=aosmond 2016-11-24 23:48:04 -06:00
Cameron McCormack bc2ee20052 Bug 1319982 - Move Servo_GetStyleVariables definition to the Servo side. r=manishearth
MozReview-Commit-ID: roXO95icic
2016-11-25 09:41:41 +08:00
Matt Woodrow ce997d1ff2 Bug 1319626 - Part 5: Minimize visible region for border layers. r=mstange
--HG--
extra : rebase_source : 49d82764cd1d2f4ef4cf44b705889754bb081f8b
2016-11-24 18:11:30 +13:00
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