Cameron McCormack
f456b184df
Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron
2014-04-02 14:32:16 +11:00
Simon Sapin
6064ae5c0e
Bug 983175 - Part 2: Add style system support for 'subgrid' in the grid-template* properties. r=dholbert
...
http://dev.w3.org/csswg/css-grid/#subgrids
2014-03-27 11:54:40 -04:00
Simon Sapin
6161867d62
Bug 984760 part 2: Use GridTemplateAreasValue though nsRefPtr pointers. r=dholbert
2014-03-21 23:06:16 +08:00
Andrew McCreight
f6b68d4079
Bug 982373 - Don't leak val when we return early from nsComputedDOMStyle::DoGetTextDecoration(). r=dholbert
2014-03-13 09:18:32 -04:00
L. David Baron
2d1064d968
Bug 349259 patch 1: Add an nsIContent* parameter to nsHTMLReflowState::CalcLineHeight. r=bz
2014-03-12 20:33:21 -07:00
Benoit Jacob
618e69aee7
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Peter Chang
0feb380b0d
backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804
2014-03-12 15:16:20 +08:00
Simon Sapin
1916414b92
Bug 976787 part 5: Add grid-{column,row}-{start,end} and grid-auto-position to the style system. r=dholbert
2014-03-10 15:54:17 -07:00
Simon Sapin
c7dab4e0c0
Bug 976787 part 4: Add the grid-auto-flow property to the style system. r=dholbert
2014-03-10 15:54:16 -07:00
Simon Sapin
d5e74775d3
Bug 976787 part 3: Add the grid-auto-{columns,rows} properties to the style system. r=dholbert
2014-03-10 15:54:15 -07:00
Simon Sapin
7d52218be2
Bug 976787 part 2: Add the grid-template-areas property to the style system. r=dholbert
2014-03-10 15:54:14 -07:00
Simon Sapin
64446c5b2e
Bug 976787 part 1: Add the grid-template-{columns,rows} properties to the style system. r=dholbert
2014-03-10 15:54:13 -07:00
Benoit Jacob
5690c8f7e0
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Ryan VanderMeulen
eccc1b69c8
Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
...
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob
39560c498f
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-06 11:38:17 -05:00
L. David Baron
710cc29e88
Bug 975741: Store the initial value of 'perspective' as 'none' rather than the (invalid value) '0' to make storage of 'none' consistent, and remove workaround from nsComputedDOMStyle computed value implementation. r=heycam
2014-02-24 15:27:53 -08:00
Mats Palmgren
531a7f43aa
Bug 966992 - Implement the overflow-clip-box property in the style system. r=cam
2014-02-22 01:18:23 +00:00
Ehsan Akhgari
0c756d118f
Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
...
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Mats Palmgren
cf8fad51d8
Bug 966992 - Implement the overflow-clip-box property in the style system. r=cam
2014-02-19 14:14:52 +00:00
Robert O'Callahan
973910c90e
Bug 968118. Make nsCSSProps keyword tables be int16_t instead of int32_t for a small space win. r=heycam
...
--HG--
extra : rebase_source : 94cf09d0d96dd3c8e2a9528f5d242e36e85fcf75
2014-02-06 00:10:44 +13:00
Nicholas Cameron
e259f86806
Bug 700926. Use nsStyleImage and nsRenderingContext to draw border-images. r=roc
2014-01-31 16:36:41 +13:00
Benoit Girard ext:(%20and%20Benoit%20Jacob%20%3Cbjacob%40mozilla.com%3E)
3d24de5412
Bug 940842 - 1/3 - Add will-change CSS property - r=dbaron
...
The current spec draft is at:
http://tabatkins.github.io/specs/css-will-change/
This CSS property is disabled by default and can be enabled by toggling:
layout.css.will-change.enabled
2013-11-22 11:48:27 -05:00
Nick Lebedev
f28ec5074b
Bug 795567 - Part 1: Add touch-action css property to the style system. r=dbaron
2014-01-15 10:03:15 -05:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Cameron McCormack
ff0d185d24
Bug 731271 - Part 6: Add a chrome-only CSSDeclaration.getAuthoredPropertyValue() method to expose a property value in its original syntactic form. r=dbaron
2013-09-16 09:35:49 +10:00
Cameron McCormack
e661462357
Bug 773296 - Part 22: Expose variables through the nsComputedDOMStyle indexed getter. r=dbaron
...
This exposes the names of the custom properties on a computed style
object through its indexed property getter, just after all of the
built-in properties.
2013-12-12 13:09:45 +11:00
Cameron McCormack
e4f61607f9
Bug 773296 - Part 21: Factor out style context getting from nsComputedDOMStyle::GetCSSPropertyValue. r=dbaron
...
This just factors out some code from
nsComputedDOMStyle::GetCSSPropertyValue into a
UpdateCurrentStyleSources and ClearCurrentStyleSources function.
These will will be needed in nsComputedDOMStyle::IndexGetter so that it
can have up to date information on how many custom properties there are
on the node.
2013-12-12 13:09:45 +11:00
Cameron McCormack
f357ab76e7
Bug 773296 - Part 20: Return variables from getComputedStyle().get{,CSS}Property(). r=dbaron
2013-12-12 13:09:45 +11:00
Cameron McCormack
835faf601a
Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
...
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList. We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value. When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Adam Casey
fcec562803
Bug 874919 - Added a check to DoGetWidth/Height so the width/height properties of getComputedStyle now return correct values on inline SVG elements. r=bz
2013-12-11 14:13:48 -05:00
Ehsan Akhgari
d9cd92fa17
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Daniel Holbert
951d9cad0d
Bug 702508 part 2: Support parsing/computing the CSS property "align-content". r=dbaron
2013-12-05 10:57:50 -08:00
Daniel Holbert
c58200db33
Bug 702508 part 1: Support parsing/computing the CSS property "flex-wrap". r=dbaron
2013-12-05 10:57:50 -08:00
Cameron McCormack
7073170612
Bug 945517 - Make nsIFrame::GetPseudoElementContent return Element* instead of nsIContent*. r=bz
2013-12-03 15:49:03 +11:00
Cameron McCormack
3102bb964b
Bug 944246 - Make getComputedStyle pass in anonymous content when resolving pseudo-element style. r=bz
2013-12-03 10:57:50 +11:00
Cameron McCormack
713ca1fdcb
Bug 922669 - Part 4: Pass in anonymous content nodes when restyling any pseudo-elements that can match user action pseudo-classes. r=bz
2013-11-28 17:46:38 +11:00
Jonathan Watt
7aa99b1ce3
Bug 926546 - Modify assertion in nsComputedDOMStyle::GetPropertyCSSValue to mention the pseudo-element concerned to aid debugging. r=dbaron
2013-11-06 10:05:18 +00:00
John Daggett
f66ccc7e96
Bug 913264 - add none value to font-variant-ligatures. r=dbaron
2013-11-19 13:30:25 +09:00
Arnaud Bienner
f4f71db5ca
Bug 938334 - Use "Type" as parameter in nsCSSPseudoElements methods instead of "nsIAtom*" when it makes sense to do so. r=dbaron
2013-11-17 19:33:56 +01:00
Horia Iosif Olaru
1340220842
Bug 841601 - Add background-blend-mode to the style parsing mechanism. r=heycam
2013-11-08 10:07:36 -05:00
Ed Morley
d4efaf67c3
Backed out changeset 0f3b26ada540 (bug 926546) for build failures on Windows CLOSED TREE
2013-11-06 11:38:58 +00:00
Jonathan Watt
047369cc68
Bug 926546 - Modify assertion in nsComputedDOMStyle::GetPropertyCSSValue to mention the pseudo-element concerned to aid debugging. r=dbaron
2013-11-06 10:05:18 +00:00
Mats Palmgren
091575a0f7
Bug 929991 - Style system implementation of 'text-align: true X'. r=heycam
2013-10-27 20:56:32 +00:00
Olli Pettay
8f16bd086c
Bug 915210. r=bz
2013-10-14 15:11:47 -04:00
Birunthan Mohanathas
b823b8896b
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Cameron McCormack
7c68f91101
Bug 919594 - Part 2: Encapsulate the computed style map and make it take disabled properties into account. r=bzbarsky
2013-10-03 20:58:01 +10:00
Cameron McCormack
422b5ef184
Bug 919594 - Part 1: Move computed style map entries to a preprocessor included file. r=bzbarsky
2013-10-03 20:58:01 +10:00
Birunthan Mohanathas
2b61a1f0c4
Bug 264517 - Move the _LAYOUT variant of COMPUTED_STYLE_MAP_ENTRY into a property bit. r=dbaron
2013-09-23 09:28:55 -04:00
Ehsan Akhgari
39c223b372
Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc
2013-09-23 07:55:35 -04:00