Ehsan Akhgari
33bb32f549
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
962f1c62f4
Bug 1145036 part 1 - Rename mBorderSpacingX/Y to mBorderSpacingCol/Row. r=heycam
2015-03-20 15:16:00 +11:00
Xidorn Quan
b95ba1ce10
Backout a6dbd23da598 (bug 1139283) since it is currently not needed.
2015-03-20 15:12:17 +11:00
Xidorn Quan
2de2f0c18e
Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc
2015-03-17 19:10:15 +11:00
Kartikaya Gupta
acab963d10
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
ada6918a8a
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
315ccebd6d
Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
...
Also renames IsPositioned to IsAbsPosContainingBlock.
2015-03-12 16:21:01 +13:00
Xidorn Quan
0e0bdaa1f6
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
22877723df
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
94fe9d996d
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
b6785077bc
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
601a3a5216
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
fd409a084e
Bug 1055676 part 1 - Parse and compute ruby-align property. r=heycam
...
--HG--
extra : source : 1045566a325c979c076a4c1fe490046734e408db
2015-02-17 18:01:49 +13:00
L. David Baron
cf90da9a10
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
6ee3666899
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
8413cc973c
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
3629781b69
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ehsan Akhgari
b6e35bb4b4
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
3b3c6a4d0b
Bug 1114792 - Rename nsStyleContext::IsDirectlyInsideRuby to IsInlineDescendantOfRuby. r=dbaron
...
--HG--
extra : rebase_source : c28b41828c7d02ab26803c583bae15a218a5da05
2014-12-31 16:39:43 +11:00
Mats Palmgren
d0e06cf7ac
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
6e944d8d19
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
70ef94b297
(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
4228d2bd0f
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
a74d73b0b4
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
a10fc15a22
Bug 1020400. Remove empty-cells quirk, since no other UA has it. r=heycam
2014-12-01 15:15:41 -05:00
Xidorn Quan
6bb73d843e
Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron
2014-11-26 15:53:18 +11:00
Dirk Schulze
fb488563e8
Bug 1074528 - Implement parsing/computing of inset(). r=dbaron
2014-11-22 05:28:00 +01:00
Mats Palmgren
ca5235fd31
Bug 907396 - Style system support for display:contents. r=dbaron
2014-11-20 18:24:08 +00:00
Phil Ringnalda
8e167728ed
Backed out 2 changesets (bug 1084183) for b2g crashes
...
Backed out changeset a7e75614e955 (bug 1084183)
Backed out changeset af96c149900b (bug 1084183)
2014-11-16 20:21:55 -08:00
Xidorn Quan
79dba04000
Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron
2014-11-17 10:26:39 +11:00
Jonathan Watt
68a8947f76
Bug 1080688 - Calculate SVG rect bounds using a simple rect transform rather than using a Moz2D Path. r=longsonr
2014-10-26 18:00:03 +00:00
Rik Cabanier
34c51613a5
Bug 1074056 - Part 1 - Add support for interpolation hints to CSS gradients. r=dbaron
2014-10-22 14:24:00 +02:00
Kearwood (Kip) Gilbert
a103599e64
Bug 1010538 - Part 1 - Style support for scroll-behavior. r=mstange
...
- Implemented boilerplate to add the scroll-behavior CSS property.
- Added layout.css.scroll-behavior.property-enabled preference to
allow the scroll-behavior CSS property to be enabled independently
of the CSSOM-View DOM scrolling api extensions for smooth scrolling.
2014-09-15 12:29:58 -07:00
Rik Cabanier
57c626bf2b
Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron
2014-10-15 14:13:00 +02:00
Ryan VanderMeulen
8f43c9c71d
Backed out changesets 3012ee3c0083 and a5108055f652 (bug 1077872) for reftest asserts.
...
CLOSED TREE
2014-10-16 11:50:37 -04:00
Rik Cabanier
f7b9796a1a
Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron
2014-10-15 14:13:00 -04:00
Dirk Schulze
00b2902abf
Bug 1074522 - Implement ellipse()/circle() parsing and style computing. r=dbaron
2014-10-15 00:03:00 +02:00
Ehsan Akhgari
d4770c5e54
Bug 1079324 - Fix some more bad implicit constructors in layout; r=dholbert
2014-09-24 09:16:53 -04:00
Dirk Schulze
92372d8ff6
Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam
2014-09-28 01:56:00 +02:00
Xidorn Quan
7d3a54f5b0
Bug 1069716 - Fix deficient CalcDifference of nsStyleList. r=heycam
2014-09-20 03:43:00 +02:00
Markus Stange
31a78ec715
Bug 944836 - Add CSS property -moz-window-dragging: drag | no-drag. r=dbaron
2014-09-18 10:52:25 +02:00
Daniel Holbert
1c392baed1
(no bug) Tweak a comment about eContain & eCover to explicitly mention their specified-style equivalents, for better mxr searchability. comment-only, DONTBUILD
2014-09-16 10:55:13 -07:00
Cameron McCormack
9b086dd079
Bug 1065868 - Make nsStyleMargin::MaxDifference return the right bits. r=dbaron
2014-09-16 16:54:33 +10:00
Daniel Holbert
471ab7f102
Bug 1055285 part 2: Implement CSS parsing & computation (but not animation) for 'object-position' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
751fe17d2f
Bug 1055285 part 1: Implement CSS parsing & computation for 'object-fit' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
d67c97c95f
Bug 1060090 part 4: Allow computed-style 'Position' struct to have different initial values beyond just 0% 0%. r=heycam
2014-09-09 11:40:18 -07:00
Cameron McCormack
70d36e5eb0
Bug 931668 - Part 20.2: Don't call AssertStructsNotUsedElsewhere on style contexts for :before/:after frames that are going away. r=dbaron
...
--HG--
extra : rebase_source : 7ff96443db553d564897d42870b81e10c2a78b53
2014-09-05 13:48:47 +10:00
Cameron McCormack
31db624905
Bug 931668 - Part 5 (no part 4): Record whether a style context is shared. r=dbaron
...
--HG--
extra : rebase_source : f000e310e7f429cc7656a9f375312ddf8e162c7a
2014-09-05 13:48:44 +10:00
Cameron McCormack
98f625db89
Bug 931668 - Part 3: Add a style context bit to represent whether it depends on style data from its grandparent or higher ancestor. r=dbaron
...
--HG--
extra : rebase_source : 64deabb466cfaaeae220a00024cd05d8e87832bc
2014-09-05 13:48:44 +10:00
Cameron McCormack
8eb54648c9
Bug 931668 - Part 2: Return nsChangeHint_NeutralChange where there was a style data change and we currently return nsChangeHint(0). r=dbaron
...
--HG--
extra : rebase_source : 17548a130559ea5b88e8e5a1fe5cc6206bd080b9
2014-09-05 13:48:43 +10:00