Commit Graph

576 Commits

Author SHA1 Message Date
Masatoshi Kimura
99d4901bcb Bug 1176496 - Drop support for -moz-prefixed gradients. r=dbaron 2015-07-10 00:57:50 +09:00
Jonathan Kew
21a41c89c1 Bug 1177076 patch 3 - Change the initial value of 'caption-side' from 'top' (physical) to 'block-start' (logical). r=heycam 2015-07-03 11:37:44 +01:00
Matt Woodrow
6490bd95a7 Bug 1177149 - Don't force an invalidation for transform origin changes. r=dbaron 2015-07-02 13:47:05 -04:00
L. David Baron
e6c1ca932d 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
Kyle Zentner
f45a2d8762 Bug 1170173 - Parse CSS 'contain' property. r=dholbert 2015-06-04 16:38:00 +02:00
Jonathan Watt
4046ce7fd0 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
Cameron McCormack
ce30695306 Bug 1161325 - Make nsStyleVariables copy constructor behave more traditionally. r=dbaron 2015-05-05 19:57:34 +10:00
Mike Hommey
4d93988786 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Mats Palmgren
ca758b8403 Bug 1151201 - [css-grid] Update parsing of 'auto' in track-sizing functions to latest version of the spec. r=simon.sapin 2015-04-30 18:42:50 +00:00
Mats Palmgren
f2a0f51b95 Bug 1147423 part 2 - [css-grid] Clamp grid lines to the -10000 .. 10000 range. r=dholbert 2015-04-30 18:42:50 +00:00
Boris Zbarsky
b93eb25839 Bug 1141607. Fix the initial value of outline-color to actually be correct. r=dbaron 2015-04-28 14:48:39 -04:00
Wes Kocher
fab21f7873 Backed out changeset a1fea675c94d (bug 1141607) for mochitest-5 orange on an unrelatedly CLOSED TREE 2015-04-28 13:32:20 -07:00
Boris Zbarsky
622bce4f48 Bug 1141607. Fix the initial value of outline-color to actually be correct. r=dbaron 2015-04-28 14:48:39 -04:00
Jonathan Kew
53d7681d06 Bug 1028716 part 1 - Remove the 'auto' value of the -moz-orient property, and add 'inline' (new initial value) and 'block'. r=dbaron 2014-06-27 11:22:32 +01:00
Cameron McCormack
4d0327163b Bug 1153693 - Only call ReleaseRef on nsStyle{ClipPath,Filter} once when setting a new value. r=dbaron 2015-04-13 12:34:15 +10:00
Cameron McCormack
376c4e3771 Bug 1072101 - Unified build fix; no review. 2015-03-31 14:05:33 +11:00
Mats Palmgren
f01622564a Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 11:35:47 -04:00
Carsten "Tomcat" Book
bcedf8abde Backed out changeset e507145a198c (bug 1149037) 2015-03-30 15:03:25 +02:00
Mats Palmgren
1b8d3a65c6 Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Xidorn Quan
0c0ada3dd4 Bug 1145036 part 1 - Rename mBorderSpacingX/Y to mBorderSpacingCol/Row. r=heycam 2015-03-20 15:16:00 +11:00
Xidorn Quan
ff95153fca Backout a6dbd23da598 (bug 1139283) since it is currently not needed. 2015-03-20 15:12:17 +11:00
Xidorn Quan
9533554776 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
c2b2f9b6bc 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
Daniel Holbert
1e93d0078f 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
e52bfdd4c0 Bug 1055676 part 1 - Parse and compute ruby-align property. r=heycam 2015-02-17 18:01:49 +13:00
L. David Baron
67c81f61cc 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
0247de46d8 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
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Xidorn Quan
99933f2774 Bug 1123917 part 2 - Make ruby-position only accept [over|under] instead of compound values. r=dholbert 2015-01-22 14:04:55 +11:00
Daniel Holbert
aa160060c3 Bug 1110950: Trigger a reflow (as well as a repaint) for changes to 'object-fit' and 'object-position', so subdocuments can be repositioned/resized. r=roc 2015-01-15 09:51:19 -08:00
Carsten "Tomcat" Book
61781912c7 Backed out changeset d1864ee9f2b2 (bug 1110950) for R5 Test failures on a CLOSED TREE 2015-01-15 09:32:18 +01:00
Daniel Holbert
74c6291044 Bug 1110950: Trigger a reflow (as well as a repaint) for changes to 'object-fit' and 'object-position', so subdocuments can be repositioned/resized. r=roc 2015-01-14 22:43:05 -08:00
Xidorn Quan
3410d5d6db Bug 1055665 part 1 - Add support for parsing & computing CSS property "ruby-position". r=dholbert 2014-12-09 17:47:18 +11:00
Jonathan Kew
2512a00c24 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
a7f246e4f5 Bug 1020400. Remove empty-cells quirk, since no other UA has it. r=heycam 2014-12-01 15:15:41 -05:00
Daniel Holbert
50490b2d65 Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec. 2014-11-25 11:28:15 -08:00
Seth Fowler
24d84b70eb Bug 1102617 - Replace imgIContainer::FrameIsOpaque with imgIContainer::IsOpaque. r=tn 2014-11-24 23:42:43 -08:00
Chris Lord
8b53cbd09e Bug 974125 - Use RepaintFrame change hint for will-change. r=dbaron 2014-10-30 15:12:11 +00:00
Kearwood (Kip) Gilbert
b968fdcbff Bug 1082098 - Part 1 - Return correct change hint when scroll-behavior CSS value changes. r=roc
- When the scroll-behavior CSS value changed, the nsChangeHint_NeutralChange
  hint was returned by nsStyleDisplay::CalcDifference.  It now returns
  nsChangeHint_ReconstructFrame to ensure that the change takes effect.
- When scroll-behavior is changed, the nsChangeHint_NeutralChange was not
  sufficient to enter nsCSSFrameConstructor::PropagateScrollToViewport.  By
  using the same hint as used when the overflow css property changes,
  nsChangeHint_ReconstructFrame, PropagateScrollToViewport will be called.
- The scroll-behavior css property is not expected to change often (the
  CSSOM-View DOM methods are likely to be used in those cases); however, if
  this does become common perhaps a faster-path might be worth while.
2014-10-28 13:41:00 -07:00
Carsten "Tomcat" Book
eca402ce9c Backed out changeset 6cd46e671a9d (bug 1082098) for reftest failures 2014-10-29 13:01:37 +01:00
Kearwood (Kip) Gilbert
bf6336c71d Bug 1082098 - Part 1 - Return correct change hint when scroll-behavior CSS value changes. r=roc
- When the scroll-behavior CSS value changed, the nsChangeHint_NeutralChange
  hint was returned by nsStyleDisplay::CalcDifference.  It now returns
  nsChangeHint_ReconstructFrame to ensure that the change takes effect.
- When scroll-behavior is changed, the nsChangeHint_NeutralChange was not
  sufficient to enter nsCSSFrameConstructor::PropagateScrollToViewport.  By
  using the same hint as used when the overflow css property changes,
  nsChangeHint_ReconstructFrame, PropagateScrollToViewport will be called.
- The scroll-behavior css property is not expected to change often (the
  CSSOM-View DOM methods are likely to be used in those cases); however, if
  this does become common perhaps a faster-path might be worth while.
2014-10-28 13:41:00 -07:00
Rik Cabanier
44a08ab2ac 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
f6e1324c91 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
739226b964 Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron 2014-10-15 14:13:00 +02:00
Ryan VanderMeulen
9af8fa293f Backed out changesets 3012ee3c0083 and a5108055f652 (bug 1077872) for reftest asserts.
CLOSED TREE
2014-10-16 11:50:37 -04:00
Rik Cabanier
23c5776593 Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron 2014-10-15 14:13:00 -04:00
Dirk Schulze
c3c99dcc17 Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam 2014-09-28 01:56:00 +02:00
Rik Cabanier
2d3406d2cd Bug 1072100 - mix-blend-mode doesn't work when set in JS. r=dbaron 2014-09-24 09:48:00 -04:00
Xidorn Quan
344b564d1f Bug 1069716 - Fix deficient CalcDifference of nsStyleList. r=heycam 2014-09-20 03:43:00 +02:00