L. David Baron
86c6ca5045
Bug 1187851 patch 3 - Rename nsChangeHint_AddOrRemoveTransform to nsChangeHint_UpdateContainingBlock. r=roc
...
This is because patch 4 now uses AddAndRemoveTransform hints for changes
that are other than adding and removing a transform. There's still a
little bit of transform-related stuff there too (which I did make
conditional in patch 2).
2015-08-03 20:18:00 -07:00
L. David Baron
3266ba066f
Bug 1187851 patch 2 - Cleanup to prepare for making dynamic changes to filter and perspective change fixed position containing block for descendants. r=roc
2015-08-03 20:18:00 -07:00
L. David Baron
51cc6acda9
Backed out changeset f24dbdeeaef1 (Bug 1187851 patch 1) for reflow counting failures in Gaia integration tests apps/system/test/marionette/edges_gesture_test.js and apps/system/test/marionette/homescreen_navigation_test.js .
2015-08-02 22:35:28 -07:00
L. David Baron
2c57dd85f2
Backed out changeset 5dcb38c7f1b8 (Bug 1187851 patch 2) for reflow counting failures in Gaia integration tests apps/system/test/marionette/edges_gesture_test.js and apps/system/test/marionette/homescreen_navigation_test.js .
2015-08-02 22:34:49 -07:00
L. David Baron
557afb66f2
Bug 1187851 patch 2 - Rename nsChangeHint_AddOrRemoveTransform to nsChangeHint_UpdateContainingBlock. r=roc
2015-08-02 21:03:09 -07:00
L. David Baron
403abc7f4e
Bug 1187851 patch 1 - Make dynamic changes to filter and perspective change fixed position containing block for descendants. r=roc
...
Note that this now uses AddAndRemoveTransform hints for changes that are
other than adding and removing a transform. Since there's still a
little bit of transform-related stuff there too (which I did make
conditional), I figure it's probably best to leave the name as-is,
although I'd be open to renaming it as well.
As expected, without the patch, the filter and perspective tests fail,
but the added transform test passes. All the tests pass locally with
the patch.
2015-08-02 21:03:09 -07:00
Cameron McCormack
a04ae597e0
Bug 1181011 - Don't use cached rule node structs for animations within pseudo-elements. r=dbaron a=abillings
2015-07-27 16:43:44 +10:00
Robert O'Callahan
d84beb0e09
Bug 1172239. Use nsChangeHint_UpdateComputedBSize to only dirty intrinsic sizes when necessary. r=bz
2015-07-22 16:36:56 +12:00
Masatoshi Kimura
2a9f9ebd96
Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems
2015-07-15 23:37:22 +09:00
Masatoshi Kimura
0b8813a9e1
Bug 1176496 - Drop support for -moz-prefixed gradients. r=dbaron
2015-07-10 00:57:50 +09:00
Jonathan Kew
e34c2db145
Bug 1177076 patch 1 - Add logical values for the caption-side property (though not yet handled by layout code). r=heycam
2015-07-03 11:37:25 +01:00
L. David Baron
14df36d719
Bug 1169440 patch 5 - Adjust hints in CalcDifference methods to emit new nsChangeHint_ReflowChangesSizeOrPosition hint. r=heycam
...
Note that most of what is needed was actually taken care of by patch 1's
addition of the new hint to nsChangeHint_AllReflowHints.
2015-06-20 21:54:15 -07:00
L. David Baron
2f6b3751a5
Bug 1169440 patch 4 - Add comment to nsStylePadding::DifferenceAlwaysHandledForDescendants. r=heycam
2015-06-20 21:54:15 -07:00
L. David Baron
448c478aff
Bug 1169440 patch 3 - Add nsChangeHint_ReflowChangesSizeOrPosition. r=heycam
2015-06-20 21:54:15 -07:00
L. David Baron
35609ff728
Bug 1169440 patch 2 - Rename style struct MaxDifferenceNeverInherited to DifferenceAlwaysHandledForDescendants. r=heycam
...
This was added in bug 897763, but the current name no longer makes sense
in the context of the renaming in 2d8810ba0412 (bug 779968, patch 4).
(I think the old name was also missing a negation -- it meant hints that
were never *non*-inherited.)
2015-06-20 21:54:15 -07:00
Kyle Zentner
030592649e
Bug 1170173 - Parse CSS 'contain' property. r=dholbert
2015-06-04 16:38:00 +02:00
Jonathan Watt
f06d7c05ca
Bug 923193, part 3 - Add the style system code to support the 'transform-box' property. r=heycam
2015-05-15 22:43:25 +01:00
Daniel Holbert
fc78c41b8d
(no bug) fix some end-of-line whitespace in nsStyleStruct.h. DONTBUILD, testing CLOSED TREE hook
2015-05-14 10:05:32 -07:00
Jonathan Kew
a4b720a1bf
Bug 1159305 - patch 1 - Provide logical accessors for nsStylePosition and nsStyleSides fields. r=dbaron
2015-05-11 11:35:47 +01:00
Xidorn Quan
6d77b2c893
Bug 1149009 - Suppress line break inside text frame if it is directly contained by ruby content box. r=dbaron
2015-05-04 09:52:53 +12:00
Mats Palmgren
31859557f0
Bug 1147423 part 2 - [css-grid] Clamp grid lines to the -10000 .. 10000 range. r=dholbert
2015-04-30 18:42:50 +00:00
Cameron McCormack
70849d06db
Bug 1157097 - Don't share a style context that will have its cached style data cleared. r=dbaron
2015-04-29 14:47:15 +10:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Xidorn Quan
879562b884
Bug 1145036 part 1 - Rename mBorderSpacingX/Y to mBorderSpacingCol/Row. r=heycam
2015-03-20 15:16:00 +11:00
Xidorn Quan
afaadb8ccf
Backout a6dbd23da598 (bug 1139283) since it is currently not needed.
2015-03-20 15:12:17 +11:00
Xidorn Quan
aae5533b8f
Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc
2015-03-17 19:10:15 +11:00
Kartikaya Gupta
eddb8b6359
Bug 962594 - Don't build CSS animations for elements that are in a display:none subtree. r=heycam
2015-03-15 20:28:49 -04:00
Robert O'Callahan
07c6189588
Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats
2015-03-11 00:18:49 +13:00
Robert O'Callahan
353a70fda3
Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
...
Also renames IsPositioned to IsAbsPosContainingBlock.
2015-03-12 16:21:01 +13:00
Xidorn Quan
df6de670d5
Bug 1140264 part 3 - Rename IsInlineDescendantOfRuby to ShouldSuppressLineBreak and exclude rbc/rtc from it. r=dbaron
2015-03-11 10:28:21 +11:00
Xidorn Quan
5d286451ed
Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
...
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change
2015-03-08 18:43:22 +11:00
Kearwood Gilbert
16eb36e28b
Bug 945584: Part 1 - Style support for scroll snapping attributes, r=cam
...
- Implemented style support for new attributes:
- scroll-snap-type
- scroll-snap-type-x
- scroll-snap-type-y
- scroll-snap-points-x
- scroll-snap-points-y
- scroll-snap-destination
- scroll-snap-coordinate
2014-02-04 14:54:22 +13:00
L. David Baron
03755dad56
Bug 1133375 - Condition starting (or cancelling) CSS transitions on the combined duration, rather than delay and duration both being exactly 0. r=birtles
...
The two count mochitests fail without the patch (the value tests pass,
though they exist partly just to flush); all tests pass with the patch.
2015-02-19 13:49:51 +13:00
Daniel Holbert
11e3e282f2
Bug 1131371: Only update overflow region (& trigger DLBI) when CSS "outline" changes, instead of triggering a reflow. r=heycam
2015-02-17 10:45:00 -08:00
Xidorn Quan
2c07f7ae12
Bug 1055676 part 1 - Parse and compute ruby-align property. r=heycam
2015-02-17 18:01:49 +13:00
L. David Baron
fa5357635e
Bug 992077 patch 2 - Use nsChangeHint_UpdateParentOverflow for changes to the top, right, bottom, and left properties. r=mats
...
These are the properties currently using UpdateOverflow where dynamic
changes of the properties do not affect the element's own overflow
areas, but instead affect the element's influence on its parent's
overflow areas.
2015-02-16 16:34:29 +13:00
Nicholas Nethercote
ee41df7dc2
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
1ee96e7527
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
0a02b5d31c
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Ehsan Akhgari
bd52bd3f4e
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Xidorn Quan
2fd48d0600
Bug 1114792 - Rename nsStyleContext::IsDirectlyInsideRuby to IsInlineDescendantOfRuby. r=dbaron
...
--HG--
extra : rebase_source : c28b41828c7d02ab26803c583bae15a218a5da05
2014-12-31 16:39:43 +11:00
Mats Palmgren
dd4e8cc641
Bug 1109571 part 4 - Frame construction bits to create the appropriate frame tree for table captions. r=roc
...
Note that this also makes IsPositioned() table captions be abs.pos.
containers, which was broken before.
2014-12-26 07:21:32 +00:00
Xidorn Quan
50b8ddd85d
Bug 1055665 part 1 - Add support for parsing & computing CSS property "ruby-position". r=dholbert
...
--HG--
extra : source : 2fd75789fe00d972d78a5b189f1ac50f6b2a385f
2014-12-09 17:47:18 +11:00
Daniel Holbert
a204321e80
(no bug) Fix typo in copypasted assertion text in nsStyleBasicShape accessors. rs=krit over IRC
2014-12-19 10:12:31 -08:00
Xidorn Quan
2f01e225e3
Bug 1098275 - Inlinize block-level boxes inside ruby. r=heycam
...
--HG--
extra : rebase_source : 70a969d3a6be4ea5dfe14777aa7c31189ade7211
extra : source : 30e0ea21cdfaa29f2c138f0b8975da984e8ac009
2014-12-11 09:26:18 +11:00
Jonathan Kew
d1d49e19dd
Bug 1110181 - Move mTextOrientation to the nsStyleVisibility struct to avoid potential recursive dependency in nsStyleText. r=dbaron
2014-12-11 18:56:19 +00:00
Boris Zbarsky
1ae70c4515
Bug 1020400. Remove empty-cells quirk, since no other UA has it. r=heycam
2014-12-01 15:15:41 -05:00
Xidorn Quan
7704ebae34
Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron
2014-11-26 15:53:18 +11:00
Dirk Schulze
88dd1c0c4c
Bug 1074528 - Implement parsing/computing of inset(). r=dbaron
2014-11-22 05:28:00 +01:00
Mats Palmgren
6b98e5e29b
Bug 907396 - Style system support for display:contents. r=dbaron
2014-11-20 18:24:08 +00:00