Commit Graph

372 Commits

Author SHA1 Message Date
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
Phil Ringnalda
6f2a8fc32c 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
aa4dbca1a3 Bug 1084183 - Propagate text decoration to ruby frames. r=dbaron 2014-11-17 10:26:39 +11:00
Jonathan Watt
9918334d01 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
043186ac12 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
6fd5f32f31 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
8c5e4de5a1 Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron 2014-10-15 14:13:00 +02:00
Ryan VanderMeulen
2437b2f861 Backed out changesets 3012ee3c0083 and a5108055f652 (bug 1077872) for reftest asserts.
CLOSED TREE
2014-10-16 11:50:37 -04:00
Rik Cabanier
212df1b659 Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron 2014-10-15 14:13:00 -04:00
Dirk Schulze
4061959dc9 Bug 1074522 - Implement ellipse()/circle() parsing and style computing. r=dbaron 2014-10-15 00:03:00 +02:00
Ehsan Akhgari
52d479a3f0 Bug 1079324 - Fix some more bad implicit constructors in layout; r=dholbert 2014-09-24 09:16:53 -04:00
Dirk Schulze
574693bd9c Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam 2014-09-28 01:56:00 +02:00
Xidorn Quan
3f468b77d0 Bug 1069716 - Fix deficient CalcDifference of nsStyleList. r=heycam 2014-09-20 03:43:00 +02:00
Markus Stange
93bc0d3524 Bug 944836 - Add CSS property -moz-window-dragging: drag | no-drag. r=dbaron 2014-09-18 10:52:25 +02:00
Daniel Holbert
fc6b45cb28 (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
460abd1243 Bug 1065868 - Make nsStyleMargin::MaxDifference return the right bits. r=dbaron 2014-09-16 16:54:33 +10:00
Daniel Holbert
e1c8e93f24 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
fdf0718074 Bug 1055285 part 1: Implement CSS parsing & computation for 'object-fit' property. r=heycam 2014-09-09 18:09:32 -07:00
Daniel Holbert
591c02fea9 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
62aeb8f624 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
515acc2955 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
044fbf5585 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
600e5981ce 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
3bb4f6f867 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
50e6734195 Bug 1045161 patch 2 - Remove write-only member variables of nsStyleTable. r=bzbarsky 2014-08-02 19:37:49 -07:00
Jeff Muizelaar
b2ed2277db 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
0e583bd0fd Bug 1021952 - Ensure that direct children of ruby elements are inline. r=bz 2014-07-22 19:08:13 -07:00
Susanna Bowen
418dd85109 Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz 2014-07-22 19:08:01 -07:00
Daniel Holbert
a4bd0b74e2 Bug 984711 part 4: Add back handling for nsStylePosition::mMinHeight having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
This reverts changeset 5db313632268 from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
7d742838e2 Bug 984711 part 3: Add back handling for nsStylePosition::mMinWidth having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
This reverts changeset f8b5090d02e5 from bug 848539.
2014-07-22 08:24:34 -07:00
L. David Baron
43d570fd95 Bug 1038488 patch 3 - Use AllocateByObjectID/FreeByObjectID for style structs. r=heycam 2014-07-15 22:27:13 -07:00
L. David Baron
23ff51d41f Bug 1038488 patch 2 - Remove memset from the operator new of the 4 style structs that have it. r=heycam
This also moves those 4 operator new methods to be inline to match the
style of all of the others.

I audited that all the members of these structs are initialized by all
their constructors (see patch 1).
2014-07-15 22:27:12 -07:00
L. David Baron
cfb436efb1 Bug 1030604 - Use nsChangeHint_UpdateOverflow for clip-path and mask changes so we update the PreEffectsBBoxProperty and run the effect on the correct area. r=roc
The testcase is a slight simplification of dholbert's testcase 2
(attachment 8456312) in the bug.  It fails in the reftest harness
without the patch, and passes in the reftest harness with the patch.
2014-07-15 22:27:12 -07:00
Brian Birtles
b5472a63e1 Bug 1010067 part 4 - Rename nsTransition to mozilla::StyleTransition; r=dbaron 2014-06-27 08:57:12 +09:00
Brian Birtles
37462a1d7e Bug 1010067 part 3 - Rename nsAnimation to mozilla::StyleAnimation; r=dbaron 2014-06-27 08:57:11 +09:00
Cameron McCormack
b5d773f074 Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron
This means that style structs holding computed calc() values are now able to be
stored in the rule tree.
2014-06-19 13:18:03 +10:00
Cameron McCormack
6590262ffc Bug 1026344 - Part 1: Don't use memcpy to copy style structs. r=dbaron
This is in preparation for nsStyleCoords becoming non-POD types.  The
use of memcpy is a bit of a trap when modifying the style structs, and
it likely has marginal value now that anything with an nsStyleCoord
can't be memcpy-initialized.
2014-06-19 13:17:10 +10:00
Susanna Bowen
61669b1069 Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron 2014-06-17 10:32:00 -04:00
Wes Kocher
a72efc4487 Backed out 2 changesets (bug 727125) for reftest bustage on an otherwise CLOSED TREE
Backed out changeset 443361e2724a (bug 727125)
Backed out changeset 16c8d78df86e (bug 727125)
2014-06-16 13:34:50 -07:00
Susanna Bowen
6511578652 Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron 2014-06-16 11:58:29 -07:00
Ryan VanderMeulen
3dae04272f Backed out changesets d0ee7053aaf3 and c83f17cd74be (bug 727125) for B2G reftest failures.
CLOSED TREE
2014-06-12 14:45:40 -04:00