Robert O'Callahan
77972f304e
Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats
...
--HG--
extra : rebase_source : e71b72254a56d54fe95410c5ccb7855b7d42d675
extra : histedit_source : ffddeedc9f2ec5a4ccdfcc41444c28a1a9da01f3
2015-03-11 00:18:49 +13:00
Robert O'Callahan
c7d1538273
Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
...
Also renames IsPositioned to IsAbsPosContainingBlock.
--HG--
extra : rebase_source : b412f6291d34e30e8d57e054645bd1e04f43593f
extra : histedit_source : 01a2bd57de4eec4ecf3f3712ee609d70ca14cda4
2015-03-12 16:21:01 +13:00
Xidorn Quan
e89adacefb
Bug 1140264 part 3 - Rename IsInlineDescendantOfRuby to ShouldSuppressLineBreak and exclude rbc/rtc from it. r=dbaron
...
--HG--
extra : rebase_source : b782506792fd47e41c694a49fca3967282c96113
extra : source : 9836c81fe7d401432856491dc65c38b150e5e157
2015-03-11 10:28:21 +11:00
Xidorn Quan
d4289c7714
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
--HG--
extra : source : 42bbf0328b450d1094250159fe9f7f0d07622290
2015-03-08 18:43:22 +11:00
Kearwood Gilbert
c9e0efb870
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
--HG--
extra : rebase_source : 0a9a79c7d139a3c752f55395c697f23004d6ef34
2014-02-04 14:54:22 +13:00
L. David Baron
e2185eac72
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
105b6e47b6
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
20d97976e8
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
9cb83cbc59
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
242708cf72
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
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
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
4354953b4f
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
61ff35b52e
Bug 1114792 - Rename nsStyleContext::IsDirectlyInsideRuby to IsInlineDescendantOfRuby. r=dbaron
...
--HG--
extra : rebase_source : c28b41828c7d02ab26803c583bae15a218a5da05
2014-12-31 16:39:43 +11:00
Mats Palmgren
042c1202a1
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
d04c336024
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
a522bf9f27
(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
4acbb5abac
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
b6db377e53
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
10ef7f13e6
Bug 1020400. Remove empty-cells quirk, since no other UA has it. r=heycam
2014-12-01 15:15:41 -05:00
Xidorn Quan
c23c15eb67
Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron
2014-11-26 15:53:18 +11:00
Dirk Schulze
123849abdb
Bug 1074528 - Implement parsing/computing of inset(). r=dbaron
2014-11-22 05:28:00 +01:00
Mats Palmgren
473f5eac8b
Bug 907396 - Style system support for display:contents. r=dbaron
2014-11-20 18:24:08 +00:00
Phil Ringnalda
5cdbb8940e
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
06a84fbe4a
Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron
2014-11-17 10:26:39 +11:00
Jonathan Watt
c2bb3314cb
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
85aa244222
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
b91d62a334
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
e89e3bbd8d
Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron
2014-10-15 14:13:00 +02:00
Ryan VanderMeulen
819f8c4929
Backed out changesets 3012ee3c0083 and a5108055f652 (bug 1077872) for reftest asserts.
...
CLOSED TREE
2014-10-16 11:50:37 -04:00
Rik Cabanier
bfeb49d3b2
Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron
2014-10-15 14:13:00 -04:00
Dirk Schulze
62628a69a2
Bug 1074522 - Implement ellipse()/circle() parsing and style computing. r=dbaron
2014-10-15 00:03:00 +02:00
Ehsan Akhgari
ee4122c03a
Bug 1079324 - Fix some more bad implicit constructors in layout; r=dholbert
2014-09-24 09:16:53 -04:00
Dirk Schulze
a028173cff
Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam
2014-09-28 01:56:00 +02:00
Xidorn Quan
974eae2d01
Bug 1069716
- Fix deficient CalcDifference of nsStyleList. r=heycam
2014-09-20 03:43:00 +02:00
Markus Stange
6db30dabf8
Bug 944836 - Add CSS property -moz-window-dragging: drag | no-drag. r=dbaron
2014-09-18 10:52:25 +02:00
Daniel Holbert
56f13feb82
(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
cb47e182fa
Bug 1065868 - Make nsStyleMargin::MaxDifference return the right bits. r=dbaron
2014-09-16 16:54:33 +10:00
Daniel Holbert
c6d3b18b7d
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
cabdaabbb4
Bug 1055285 part 1: Implement CSS parsing & computation for 'object-fit' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
9437318153
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
7f9178272f
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
c0014b4555
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
4311d86477
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
7f1a28b908
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
Ehsan Akhgari
2b84010cb8
Bug 1048246
- Fix more bad implicit constructors in layout; r=roc
...
--HG--
extra : rebase_source : ed828993139bc70232508364a9f046e38b7d3e06
2014-08-07 19:48:38 -04:00
L. David Baron
8cae71e7f0
Bug 1045161
patch 2 - Remove write-only member variables of nsStyleTable. r=bzbarsky
2014-08-02 19:37:49 -07:00
Jeff Muizelaar
cc643f47c6
Bug 1045251. Use the concrete type imgRequestProxy in nsStyleImage. r=seth
...
--HG--
extra : rebase_source : de67e22ac03d213ee54ab63693c932b4abf12ce9
2014-07-29 10:56:39 -04:00
Susanna Bowen
2b29530598
Bug 1021952 - Ensure that direct children of ruby elements are inline. r=bz
2014-07-22 19:08:13 -07:00
Susanna Bowen
a3e95afeef
Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz
2014-07-22 19:08:01 -07:00