Matt Woodrow
56f0b3ba12
Bug 1467688 - Make sure we invalidate for perspective changes even if the frame isn't otherwise transformed. r=dbaron
...
MozReview-Commit-ID: JQGb41kp76P
2018-07-02 21:35:14 -04:00
Ciure Andrei
05c731d5db
Backed out 1 changesets (bug 1467688) for reftest failures crashtests/1467688.html CLOSED TREE
...
Backed out changeset b976829f826a (bug 1467688)
2018-07-03 01:55:17 +03:00
Matt Woodrow
a8b5d341c3
Bug 1467688 - Make sure we invalidate for perspective changes even if the frame isn't otherwise transformed. r=dbaron
...
MozReview-Commit-ID: DpND8Jwr226
2018-07-02 17:46:10 -04:00
Emilio Cobos Álvarez
8d181f4ca3
Bug 1472443: Make StyleContentType an enum class. r=xidorn
...
Most of it is automated by:
%s/eStyleContentType_/StyleContentType::/g
%s/nsStyleContentType/StyleContentType/g
But I removed some parentheses by hand.
Differential Revision: https://phabricator.services.mozilla.com/D1900
MozReview-Commit-ID: 3IcirjIYX5p
2018-06-30 17:13:07 +02:00
Chris Peterson
f7ceeaf5cf
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Hiroyuki Ikezoe
13affd7d60
Bug 1430884 - Throttle transform animations without %0 or 100% keyframe. r=birtles
...
MozReview-Commit-ID: 3vLAlSkLz97
2018-06-25 18:29:28 +09:00
Margareta Eliza Balazs
eb339b568b
Backed out 9 changesets (bug 1430884) for frequently failing dom/animation/test/mozilla/test_restyles.html on android-em-4-3-armv7-api16 debug
...
Backed out changeset 262dbc8daac1 (bug 1430884)
Backed out changeset c3f9f3f66a98 (bug 1430884)
Backed out changeset 39e1c4e3c8c9 (bug 1430884)
Backed out changeset 4505e3f87b2e (bug 1430884)
Backed out changeset e7e8977e0e92 (bug 1430884)
Backed out changeset 6dbae2b8957d (bug 1430884)
Backed out changeset 1e047fbcae2a (bug 1430884)
Backed out changeset 52be07f10eaa (bug 1430884)
Backed out changeset cec68a5b01da (bug 1430884)
2018-06-25 12:23:59 +03:00
Hiroyuki Ikezoe
c44dbf95fc
Bug 1470792 - Backout the changeset that introduced UpdateContainingBlock change hint for mask changes. r=heycam
...
MozReview-Commit-ID: JF88VkutUgG
2018-06-25 15:42:38 +09:00
Hiroyuki Ikezoe
bc3a4fae91
Bug 1430884 - Throttle transform animations without %0 or 100% keyframe. r=birtles
...
MozReview-Commit-ID: 3vLAlSkLz97
2018-06-25 11:51:06 +09:00
Andi-Bogdan Postelnicu
3d1fef09a0
Bug 1453795 - Layout/Style - Initialize member fields in classes/ structures. r=heycam
2018-06-14 12:54:03 +03:00
Dan Glastonbury
9361f5f784
Bug 1467379 - P1: nsStyleGradientStop - Change nscolor to StyleComplexColor. r=xidorn
...
MozReview-Commit-ID: D9KQcv9uQ4S
2018-06-07 15:55:26 +10:00
Dan Glastonbury
b032a76a35
Bug 1465307 - P2: Fix nsStyleBorder::mBorderColor for GCC. r=xidorn
...
GCC doesn't like StyleComplexColor with constructor in an anonymous
struct in an anonymous union. Replace the use of a union to access
`mBorder[..]Color` fields as an array with an accessor methods.
MozReview-Commit-ID: 1Wulh1qKYCZ
2018-06-05 11:24:12 +10:00
Dan Glastonbury
cbeb62b354
Bug 1465307 - P1: Extend StyleComplexColor to support additive blending. r=hiro,xidorn
...
Refactored StyleComplexColor to support "complex" blending between
background (numeric) color and foreground color (currentColor).
Made explicit the distinction between numeric, currentColor and a
complex blend in Gecko and Stylo.
This is to support SMIL animation, for example, of the form:
<animate from="rgb(10,20,30)" by="currentColor" ... />
MozReview-Commit-ID: IUAK8P07gtm
2018-05-23 15:23:26 +10:00
Emilio Cobos Álvarez
6f88b52e32
Bug 1419695: Remove some unused style struct setters. r=xidorn
...
MozReview-Commit-ID: Lx9yLjb8ddB
2018-06-04 15:55:54 +02:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Dan Glastonbury
e803ad5869
Bug 1457353 - P1: Change nscolor to StyleComplexColor. r=xidorn
...
Change mStopColor, mFloodColor, and mLightingColor in nsStyleSVGReset.
MozReview-Commit-ID: KMRMtHk1jNK
2018-04-27 12:07:20 +10:00
Ciure Andrei
2a622f34bc
Merge inbound to mozilla-central. a=merge
2018-05-29 00:53:52 +03:00
Emilio Cobos Álvarez
a2b3cd84a6
Bug 1464060: Make the general setup for computed style bits nicer. r=xidorn
...
This patch:
* Makes StyleStructID an enum class, and moves it to the mozilla namespaces.
* Introduces StyleStructConstants with some constants scattered through the
codebase.
* Makes the computed style bits an enum class, and splits mPseudoType and mBits
into their own members, since we were using a uint64_t when we have only a
couple flags and CSSPseudoElementType is a byte. We statically assert that
the number of style structs is less or equal to 32.
* Makes mPseudoTag, mPseudoType and mBits const, since we don't want them to be
mutated from C++, and we still need a few more refactorings (mostly getting
rid of FinishStyle) to avoid mutating ComputedStyle instead.
MozReview-Commit-ID: 7qsTtASGcYB
2018-05-28 10:40:00 +02:00
Emilio Cobos Álvarez
d8f914643f
Bug 1463386: Remove eCSSUnit_Image. r=heycam
...
MozReview-Commit-ID: 9OX6iW7Lr5Q
2018-05-22 13:34:17 +02:00
Emilio Cobos Álvarez
6ad8f2be40
Bug 1463386: Remove dead nsStyleImageRequest constructor. r=heycam
...
MozReview-Commit-ID: 3mF3PPQbS5O
2018-05-22 13:02:55 +02:00
Xidorn Quan
1be43ecdd9
Bug 1460456 part 3 - Add scrollbar-{face,track}-color properties. r=heycam
...
MozReview-Commit-ID: ImNfHHfzRdM
2018-05-10 10:40:17 +10:00
Xidorn Quan
5f9e9f4daa
Bug 1461940 - Rename two GetImageRequest() methods to ImageRequest(). r=emilio
...
MozReview-Commit-ID: 3eA86IOSLta
2018-05-16 22:28:50 +10:00
Margareta Eliza Balazs
35c529da56
Merge inbound to mozilla-central. a=merge
2018-05-11 12:36:02 +03:00
Brian Birtles
033b8ba988
Bug 1456394 - Rename AnimationEffectReadOnly to AnimationEffect; r=bz,hiro
...
MozReview-Commit-ID: 8jzJiCWt5vs
2018-05-07 11:15:16 +09:00
Kristen Wright
4c40873f14
Bug 1459367 - Convert NS_STYLE_IMAGELAYER_ATTACHMENT_* to enum class. r=manishearth
...
Converted NS_STYLE_IMAGELAYER_ATTATCHMENT_* vals to enum class, StyleImageLayerAttachment.
2018-05-08 15:05:33 -07:00
Dan Glastonbury
39f56c63ae
Bug 1457810: Move CalcComplexColor to StyleComplexColor. r=xidorn
...
Move from nsStyleColor::CalcComplexColor to StyleComplexColor::CalcColor.
MozReview-Commit-ID: FkYovvPZLc8
2018-05-09 17:03:02 +10:00
Chris Peterson
5d6b16ea3b
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00
Emilio Cobos Álvarez
7528062a51
Bug 1457985: Fix a typo in nsStyleContentData copy-constructor. r=xidorn
...
MozReview-Commit-ID: FtcA6Nm4dwr
2018-04-30 20:41:08 +02:00
Andreea Pavel
2901ed2bdb
Merge mozilla-inbound to mozilla-central. a=merge
2018-04-26 09:04:59 +03:00
Emilio Cobos Álvarez
08bea7e24f
Bug 1456471: Remove nsCSSParser.h. r=xidorn
...
MozReview-Commit-ID: 4qa7llzCXeR
2018-04-25 10:38:37 +02:00
Brad Werth
eaf578995a
Bug 1265342 Part 1: Add shape-margin to style system (Gecko bindings). r=xidorn
...
MozReview-Commit-ID: 3G0ZpWDrumg
2018-02-07 17:27:04 -08:00
Narcis Beleuzu
87b92a12ca
Backed out 20 changesets (bug 1265342) for mochitest-plain-headless failures on layout/style/test/test_first_letter_restrictions.html. CLOSED TREE
...
Backed out changeset 6c80ec2d0398 (bug 1265342)
Backed out changeset 62d571916086 (bug 1265342)
Backed out changeset fd247f38f8a7 (bug 1265342)
Backed out changeset 83aee3dafe4b (bug 1265342)
Backed out changeset 9b200122014e (bug 1265342)
Backed out changeset a90aa063b2fd (bug 1265342)
Backed out changeset 0791ff3d9194 (bug 1265342)
Backed out changeset 7109288f10b3 (bug 1265342)
Backed out changeset 048cce2fb99f (bug 1265342)
Backed out changeset c8e3dbc6c729 (bug 1265342)
Backed out changeset 09da0968333a (bug 1265342)
Backed out changeset d16f7ff85677 (bug 1265342)
Backed out changeset 53eb7f14463d (bug 1265342)
Backed out changeset 64fc631ef122 (bug 1265342)
Backed out changeset 332382c708e1 (bug 1265342)
Backed out changeset a8695981eec0 (bug 1265342)
Backed out changeset ce473fa5f1f4 (bug 1265342)
Backed out changeset 5ee470e75a53 (bug 1265342)
Backed out changeset 802aa95a52d9 (bug 1265342)
Backed out changeset 5da0c34c9600 (bug 1265342)
2018-04-24 22:31:15 +03:00
Brad Werth
752d6a172e
Bug 1265342 Part 1: Add shape-margin to style system (Gecko bindings). r=xidorn
...
MozReview-Commit-ID: 3G0ZpWDrumg
2018-02-07 17:27:04 -08:00
Mats Palmgren
9b444b6c41
Bug 1398482 part 2 - [css-grid][css-flexbox][css-multicol] Add 'row-gap' and 'gap' properties; make 'grid-[column|row]-gap' and 'grid-gap' alias the respective unprefixed properties (Gecko part). r=dholbert
2018-04-24 01:52:51 +02:00
Emilio Cobos Álvarez
c36448e343
Bug 1363875: [css-align]: Rename justify-items: auto to legacy. r=mats,xidorn
...
MozReview-Commit-ID: Jfwib2XDmSw
2018-04-20 02:07:04 +02:00
Emilio Cobos Álvarez
09ee020d12
Bug 1454140: Invalid URLs with ref also exist. r=heycam
...
MozReview-Commit-ID: HsH3ERcTeLm
2018-04-14 17:24:45 +02:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Emilio Cobos Álvarez
68d6dc5d8d
Bug 1452627: Fix nsStyleContentAttr stuff. r=bholley
...
MozReview-Commit-ID: 4hi75VQcmkN
2018-04-13 01:32:35 +02:00
Cameron McCormack
2b2a573d3a
Bug 1375536 - Remove nsStyleVariables. r=emilio,xidorn
...
MozReview-Commit-ID: BqyhXc4W4Aq
2018-04-10 15:11:12 +10:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Bobby Holley
2fd8051265
Bug 1451421 - Stop using Gecko namespace ids in servo. r=xidorn
...
MozReview-Commit-ID: 2532dHCGPXW
2018-04-06 15:30:58 -07:00
Ting-Yu Lin
53f9fd2dce
Bug 1404222 Part 3: Block onload when shape-outside images are requested for a frame, and keep it blocked until the frame is removed, the image fails to load, or reflow is complete. r=dbaron,dholbert
...
When we finish decoding an image frame, we need to trigger reflow for the
frame containing a float with shape-outside: <image>, and delay the firing
of the document's onload event until that reflow is complete.
2018-01-25 14:56:43 +08:00
Ryan VanderMeulen
93ffd60378
Backed out 11 changesets (bug 1404222) for static analysis failures on a CLOSED TREE.
...
Backed out changeset a6a99136300c (bug 1404222)
Backed out changeset 7183b8104399 (bug 1404222)
Backed out changeset a1e4294c1c59 (bug 1404222)
Backed out changeset b79d6e8318db (bug 1404222)
Backed out changeset 0450620fdabd (bug 1404222)
Backed out changeset 026c74a92d04 (bug 1404222)
Backed out changeset 50ac4167f702 (bug 1404222)
Backed out changeset 59038f2db68a (bug 1404222)
Backed out changeset f6b9096da915 (bug 1404222)
Backed out changeset 4e0baffdd79b (bug 1404222)
Backed out changeset 57eeb849ab88 (bug 1404222)
2018-04-02 17:57:27 -04:00
Ting-Yu Lin
e4c387c16b
Bug 1404222 Part 3: Block onload when shape-outside images are requested for a frame, and keep it blocked until the frame is removed or reflow is complete. r=dbaron,dholbert
...
When we finish decoding an image frame, we need to trigger reflow for the
frame containing a float with shape-outside: <image>, and delay the firing
of the document's onload event until that reflow is complete.
2018-01-25 14:56:43 +08:00
Xidorn Quan
1ce57ccbed
Bug 1448535 part 2 - Remove arena-related code from style structs. r=emilio
...
MozReview-Commit-ID: LlmauyL3goU
2018-03-29 03:45:18 +11:00
Jonathan Watt
44d37e68d5
Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio
2018-03-23 16:01:34 +00:00
Jonathan Watt
baf9ffb02b
Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio
2018-03-23 13:49:21 +00:00
Xidorn Quan
e74c1e1696
Bug 1448526 part 2 - Make nsStyleStructList.h not generated. r=emilio
...
nsStyleStructList.h was initially made generated in bug 873368 to avoid
manually maintaining boilerplate for if-dispatch, while the if-dispatch
was replaced by jump table in bug 1171842, so the boilerplate went away.
However, in bug 1122781 (before bug 1171842), boilerplate for dependency
check, so it still needs to be generated.
The dependency table is removed in the previous patch, so we no longer
have any boilerplate in the style struct list, and thus it doesn't need
to be generated anymore.
MozReview-Commit-ID: GkbJZ98ojbE
2018-03-26 20:09:17 +11:00
Emilio Cobos Álvarez
1d4859a89a
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
97286b35c8
Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
...
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.
MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00