Mats Palmgren
978fa20160
Bug 1242053 part 1 - [css-grid] Fix parsing / serialization of grid-template subgrid values. r=dholbert
2016-01-27 17:02:13 +01:00
Mats Palmgren
5a9f0a0b89
Bug 1239036 - [css-grid] Deal with implicit tracks when computing grid-template-{columns,rows}. r=dholbert
2016-01-14 23:11:44 +01:00
Daniel Holbert
b23b304ce1
Bug 1234676 part 5: Update indentation & rewrap some nsComputedDOMStyle function-decls. rs=heycam
2015-12-28 14:42:09 -08:00
Daniel Holbert
418a44ea2a
Bug 1234676 part 4: Remove now-obsolete comment. r=heycam
2015-12-28 14:42:09 -08:00
Daniel Holbert
0b510523a9
Bug 1234676 part 2: Make nsComputedDOMStyle getters return an already_AddRefed value, instead of a raw pointer with refcount of 0. r=heycam
2015-12-28 14:42:08 -08:00
Daniel Holbert
b92d7607a5
Bug 1234676 part 1: Give nsComputedDOMStyle a private typedef for mozilla::dom::CSSValue. r=heycam
2015-12-28 14:42:08 -08:00
Daniel Holbert
313055111d
Bug 1234707: Make nsDOMCSSValueList::AppendCSSValue() take an already_AddRefed arg (instead of a raw pointer, usually with refcount of 0). r=heycam
2015-12-23 16:25:43 -08:00
Mats Palmgren
96a4296719
Bug 1118820 part 1 (style system part) - [css-grid] Implement the 'auto-fill' and 'auto-fit' keywords in the repeat() function. r=dholbert
2015-12-22 23:03:15 +01:00
Tobias Schneider
75f4bae2d6
Bug 978212 - [css-grid] Resolved value of grid-template-{columns,rows} in px units. r=mats
2015-11-24 17:27:54 -08:00
Nigel Babu
bd9dc35e9c
Backed out changeset c798c2576ad4 (bug 978212) for mochitest bustage
2015-12-08 15:55:13 +05:30
Tobias Schneider
070f773b3e
Bug 978212 - Resolved value of grid-template-{columns,rows} in px units. r=mats
2015-12-03 14:23:00 +01:00
Xidorn Quan
0856abb2ea
Bug 1040668 part 2 - Parse and compute text emphasis properties. r=dbaron
2015-11-28 11:56:33 +11:00
L. David Baron
2571b8bdfe
Bug 1224464 patch 3 - Rename KTableValue to KTableEntry now that it is a struct. r=heycam
2015-11-19 18:09:07 -08:00
Mats Palmgren
f0d397f047
Bug 1176792 part 1 - [css-grid] Implement the 'grid-column-gap', 'grid-row-gap', and 'grid-gap' properties in the style system. r=dholbert,dbaron
2015-11-18 19:52:27 +01:00
Mats Palmgren
1b223d253e
Bug 1176782 part 2 - [css-align] Implement the 'justify-self' property in the style system. r=SimonSapin
2015-11-03 15:18:05 +01:00
Mats Palmgren
f9f7acdb17
Bug 1176782 part 1 - [css-align] Implement the 'justify-items' property in the style system. r=SimonSapin
2015-11-03 15:18:05 +01:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Cameron McCormack
083d36d855
Bug 1203766 - Part 6.1: Clear cached style context on nsComputedDOMStyle when its element is moved. r=bzbarsky
2015-09-17 12:08:21 +10:00
Cameron McCormack
d297a67b70
Bug 1203766 - Part 6: Cache resolved style contexts on nsComputedDOMStyle to avoid re-resolving if styles haven't changed. r=bzbarsky
2015-09-17 12:08:20 +10:00
Cameron McCormack
6fc09337bd
Bug 1203766 - Part 5: Rename nsComputedDOMStyle::mStyleContextHolder to mStyleContext. r=bzbarsky
2015-09-17 12:08:20 +10:00
Kearwood (Kip) Gilbert
a92527b792
Bug 1181240 - Part 2: Replace gfx3DMatrix with Matrix4x4 in layout,r=vlad
...
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:05:47 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -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
Andrea Marchesini
f0aa02df0b
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Cameron McCormack
eb82fe6bac
Bug 1149042 - Call AttributeWillChange before a style="" attribute gets created when touching element.style. r=smaug
2015-04-10 10:41:35 +10:00
Ehsan Akhgari
ea41d8de48
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
L. David Baron
bec8ca34ba
Bug 1139640: Change DOM property for -moz-osx-font-smoothing to match standard camel-casing algorithm. r=jdaggett
2015-03-05 18:02:16 -08: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
Xidorn Quan
e52bfdd4c0
Bug 1055676 part 1 - Parse and compute ruby-align property. r=heycam
2015-02-17 18:01:49 +13: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
Dirk Schulze
cbf9adb5d4
Bug 1074528 - Implement parsing/computing of inset(). r=dbaron
2014-11-22 05:28:00 +01: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
Markus Stange
5dc8500315
Bug 944836 - Add CSS property -moz-window-dragging: drag | no-drag. r=dbaron
2014-09-18 10:52:25 +02:00
Daniel Holbert
9637e713be
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
fae8fb3a34
Bug 1055285 part 1: Implement CSS parsing & computation for 'object-fit' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
175bd3677b
Bug 1060090 part 3: Refactor getComputedStyle implementation for 'background-position' to use helper-method for <position> & its sub-parts. r=heycam
2014-09-09 11:40:17 -07:00
Andrew McCreight
1f4d396bb4
Bug 1029137 - Make the destructor of nsComputedDOMStyle private. r=bz
2014-06-26 09:29:06 -07:00
Andrew McCreight
cb589e9c60
Bug 1029157 - Eliminate sCachedComputedDOMStyle. r=bz
2014-06-26 09:29:04 -07:00
Benoit Jacob
553e5b2a13
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
Birunthan Mohanathas
aa6d74fac6
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Daniel Holbert
21d030b033
Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron
2014-05-09 08:23:14 -07:00
Mats Palmgren
dd2837ea9a
Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin
2014-05-06 09:45:13 +00:00
Mats Palmgren
35fcbcd839
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-05-05 17:55:54 +00:00
Mats Palmgren
391a055a48
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-05-05 17:55:53 +00:00
Mats Palmgren
d60800bd1b
Back out bug 613659 (for regression bug 998792)
2014-04-20 19:39:24 +00:00