Commit Graph
1000 Commits
Author SHA1 Message Date
Ting-Yu Lin fd34da0d89 Bug 1267524 Part 10 - Use member initializer list for nsStyleDisplay. r=heycam
MozReview-Commit-ID: 2tW9RYNTOMD
2016-05-03 17:26:29 +08:00
Ting-Yu Lin 1eb99440d8 Bug 1267524 Part 9 - Use member initializer list for nsStyleColor. r=heycam
MozReview-Commit-ID: 61fklP4Ojev
2016-05-03 17:26:29 +08:00
Ting-Yu Lin ee2c612a80 Bug 1267524 Part 8 - Use member initializer list for nsStyleTableBorder. r=heycam
MozReview-Commit-ID: DO40OraGWoj
2016-05-03 17:26:29 +08:00
Ting-Yu Lin 03a9e41b65 Bug 1267524 Part 7 - Use member initializer list for nsStyleTable. r=heycam
MozReview-Commit-ID: 4WUjx8rONVt
2016-05-03 17:26:28 +08:00
Ting-Yu Lin 23131600f9 Bug 1267524 Part 6 - Use member initializer list for nsStylePosition. r=heycam
MozReview-Commit-ID: En2yLFd0WGs
2016-05-03 17:26:28 +08:00
Ting-Yu Lin adf9644f2f Bug 1267524 Part 5 - Use member initializer list for nsStyleSVGReset. r=heycam
MozReview-Commit-ID: 8Lzhifb6uir
2016-05-03 17:26:28 +08:00
Ting-Yu Lin 656adc96dc Bug 1267524 Part 4.2 - Use member initializer list for nsStyleSVG. r=heycam
In the initializer list of the copy constructor, mStrokeDasharray and
mStrokeDasharrayLength are both initialized to nullptr and 0
respectively. If aSource.mStrokeDasharray has value, they're further be
set to proper values later in the function body. In this way, the two
'else' clauses can be removed.

MozReview-Commit-ID: DGybV7zFcyo
2016-05-03 17:26:28 +08:00
Ting-Yu Lin 5fa42a9324 Bug 1267524 Part 4.1 - Add Reset() and rewrite methods for nsStyleSVGPaint. r=heycam
Eliminate the explicit destructor / placement new calls in SetType().

MozReview-Commit-ID: 1CtjX1AEbFR
2016-05-03 17:26:27 +08:00
Ting-Yu Lin 1757ed259c Bug 1267524 Part 3 - Use member initializer list for nsStyleColumn. r=heycam
MozReview-Commit-ID: 8xvVUe9QaRF
2016-05-02 11:11:45 +08:00
Ting-Yu Lin 1092cfe1d5 Bug 1267524 Part 2 - Use member initializer list for nsStyleXUL. r=heycam
MozReview-Commit-ID: FHb0yTvYAXR
2016-05-02 11:11:45 +08:00
Ting-Yu Lin dddcaa3c0b Bug 1267524 Part 1 - Use member initializer list for nsStyleOutline. r=heycam
mCachedOutlineWidth was not initialized. I set it to 0.

MozReview-Commit-ID: fqaoZj1iMm
2016-05-02 11:11:45 +08:00
Phil Ringnalda 65d27cf8fc Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange e51736e71a Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO
2016-04-28 13:01:22 -04:00
Markus Stange e3f2c79921 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv
2016-04-29 14:12:10 -04:00
Wes Kocher 1a290e54b0 Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)

MozReview-Commit-ID: AlUihrLtlhL
2016-04-29 14:47:43 -07:00
Markus Stange f6b7c79b01 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv
2016-04-29 14:12:10 -04:00
Botond Ballo 779ab3c925 Bug 735857 - Treat background-attachment:fixed as background-attachment:scroll if it's on a non-root element affected by a transform. r=mstange
MozReview-Commit-ID: 1lnQoD98xv3
2016-04-25 17:20:13 -04:00
Jeremy Chen 753e4f7268 Bug 1248708 - Part1: parse and compute -webkit-text-stroke property. r=heycam 2016-04-23 01:40:39 +08:00
Bobby Holley 0a04168135 Bug 1266249 - Remove mHasCachedOutline. r=dbaron 2016-04-21 17:44:32 -07:00
Cameron McCormack 7b41ef321a Bug 1264830 - Part 3: Change nsStyleDisplay::{mTransitions,mAnimations} to use nsStyleAutoArray. r=bholley
nsStyleDisplay::{mTransitions,mAnimations} both always have at least one
element in it, so we change them to use nsStyleAutoArray rather than
nsTArray.
2016-04-19 09:51:16 +10:00
Cameron McCormack 28e014386d Bug 1264830 - Part 2: Change nsStyleImageLayers::mLayers to use nsStyleAutoArray. r=bholley
nsStyleImageLayers::mLayers always has at least one element in it, so we
change it to use nsStyleAutoArray rather than nsTArray.
2016-04-19 09:51:16 +10:00
Cameron McCormack a08ba659c3 Bug 1261754 - Part 12: Move filter from nsStyleSVGReset to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
Cameron McCormack 4d84720983 Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
Cameron McCormack 424a4cab99 Bug 1261754 - Part 10: Move mix-blend-mode from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:42 +10:00
Cameron McCormack 5c65b6f60f Bug 1261754 - Part 9: Move clip from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:42 +10:00
Cameron McCormack 4496226b12 Bug 1261754 - Part 8: Move box-shadow from nsStyleBorder to a new nsStyleEffects struct. r=dholbert 2016-04-12 15:52:42 +10:00
Cameron McCormack 98ad26ea1a Bug 1261754 - Part 7: Move pointer-events from nsStyleVisibility to nsStyleUserInterface. r=dholbert 2016-04-12 15:52:41 +10:00
Cameron McCormack b1420ed1e1 Bug 1261754 - Part 6: Move vertical-align from nsStyleTextReset to nsStyleDisplay. r=dholbert 2016-04-12 15:52:41 +10:00
Cameron McCormack 1bdab05758 Bug 1261754 - Part 5: Move text-rendering from nsStyleSVG to nsStyleText. r=dholbert 2016-04-12 15:52:41 +10:00
Cameron McCormack 63b27b0c4a Bug 1261754 - Part 4: Move image-rendering from nsStyleSVG to nsStyleVisibility. r=dholbert 2016-04-12 15:52:40 +10:00
Cameron McCormack 0739b68747 Bug 1261754 - Part 3: Move quotes from nsStyleQuotes to nsStyleList and delete nsStyleQuotes. r=dholbert 2016-04-12 15:52:40 +10:00
Cameron McCormack 90e0b1ae32 Bug 1261754 - Part 2: Make quotes computed values shareable between different structs. r=dholbert 2016-04-12 15:52:40 +10:00
Bobby Holley f7d00ff7ed Bug 1261552 - Introduce StyleStructContext, and make all style struct constructors take it. r=heycam 2016-04-04 23:14:29 -07:00
Bobby Holley ef26e6262f Bug 1261552 - Introduce StaticPresData and hoist some shared functionality into it. r=heycam
The complexity around the font pref cache stuff is really annoying. If we
think it's unnecessary, we could remove it in a followup.
2016-04-04 23:14:27 -07:00
Tobias Schneider bf5c366559 Bug 1209273 - Part 1: Support for adjust-color CSS property. r=dbaron 2016-03-08 09:25:24 -08:00
Carsten "Tomcat" Book a5ce6d8137 Backed out changeset d5a9ff0ae110 (bug 1209273) for test failures in browser_rules_completion-new-property_02.js 2016-04-01 11:58:12 +02:00
Tobias Schneider db4a5786ac Bug 1209273 - Part 1 - Support for color-adjust CSS property. r=dbaron 2016-03-10 10:51:00 +01:00
Nicholas Nethercote 7f7c26ed62 Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().
2016-03-29 10:09:43 +11:00
Jeremy Chen f9662ce154 Bug 1247777 - Part1: parse and compute -webkit-text-fill-color property. r=heycam 2016-03-25 15:54:49 +08:00
CJKu 73b707c4e0 Bug 1252739 - nsStyleImageLayers::HasLayerWithImage should return true when we have mask-image:<element-reference> | <gradient>; r=dbaron
MozReview-Commit-ID: 876p0IfKoUi
2016-03-02 16:27:21 +08:00
CJKu 3c9eb1e509 Bug 1243734 - Part 1. Use MOZ_ENABLE_MASK_AS_SHORTHAND to define the type of mask property; r=dbaron
MozReview-Commit-ID: FkPgdh8YHOC
2016-03-01 19:52:17 +08:00
CJKu 07b79cda11 Bug 1224424 - Replace mask-mode:auto keyword by mask-mode:match-source; r=dbaron
MozReview-Commit-ID: FKEJI1rHTIA
2016-02-25 17:31:47 +08:00
Cameron McCormack 2fdcdd500f Bug 1250767 - Unified build bustage fixups. 2016-02-25 11:09:34 +11:00
L. David Baron 9e5b44fae4 Bug 1187851 patch 6 - Make dynamic changes to filter change fixed position containing block for descendants. r=roc
MozReview-Commit-ID: DDSadc3yzDL
2016-02-24 16:08:31 -08:00
Jonathan Watt 485934e076 Bug 1110460, part 5 - Factor out a nsStyleBasicShape::GetShapeTypeName method. r=dholbert 2016-02-17 00:19:27 +00:00
CJKu ae0aff30d1 Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron. 2016-02-04 14:11:35 +08:00
Markus Stange c1663a433e Bug 1241275 - Change the way -moz-window-dragging works. r=heycam,roc
This adds the value -moz-window-dragging: default as the initial value of the property,
and makes it a [reset] property. This allows us to change the way the window dragging
region is calculated: Elements with -moz-window-dragging: no-drag will now always be
undraggable, even if they are overlapped by -moz-window-dragging: drag elements. That
way we can keep the region calculation simple and don't have to add code to respect
z-ordering.
2016-01-27 11:58:33 +01:00
CJKu 3ac42bd03c Bug 686281 - Rename nsStyleSVGReset::mLayers to nsStyleSVGReset::mMask; Rename nsStyleBackground::mLayers to nsStyleBackground::mImage. r=dbaron 2016-01-28 06:39:00 +01:00
CJKu 4aebbc124c Bug 686281 - Remove nsStyleSVGReset::mMask; r=dbaron 2016-01-28 06:37:00 +01:00
CJKu bf17fc7340 Bug 686281 - Implement CSS mask style; r=dbaron. 2016-01-28 06:28:00 +01:00