Ms2ger
7786ea6954
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
6f990b3fc6
Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
fb6fb8df81
Bug 549861. Parse simple font-variant subproperties. r=dbaron
2013-05-13 18:45:36 +09:00
Scott Johnson
502238ef9b
Bug 520992: Adjust computed width and height before returning to account for box-sizing. [r=bz]
2013-04-04 09:00:07 -05:00
Cameron McCormack
10e5ff17b2
Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron
2013-04-02 12:45:48 +11:00
L. David Baron
5fee46f73f
Bug 849657 patch 2: Change internal uses of 'CssFloat' to 'Float'. r=bzbarsky
2013-03-25 09:24:21 -07:00
Ms2ger
b23eb4bedb
Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
David Zbarsky
3250bd906e
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
L. David Baron
c5b9eee040
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Cameron McCormack
bc2d799592
Bug 828805 - Implement SVG paint-order property. r=bz,roc
2013-01-13 10:27:53 +11:00
Cameron McCormack
154f38b92a
Bug 793617 - Implement mask-type property. r=dbaron,longsonr
2012-12-21 11:15:22 +11:00
Mike Hommey
970436c3f8
Bug 821618 - Fix build failure with some compilers due to nsComputedDOMStyle::GetPropertyCSSValue definition. r=bz
2012-12-14 18:40:38 +01:00
Trevor Saunders
2d1d432957
bug 798567 - convert css values to webidl r=bz
2012-10-01 12:49:41 -04:00
Mats Palmgren
25ea524bba
Bug 685012 - Implement page-break-inside:avoid in the style system. r=dbaron
2012-11-08 17:09:37 +01:00
Boris Zbarsky
05fd81befd
Bug 800983. Expose a getter for default computed style. r=dbaron
...
An alternative implementation strategy is to add "default-only"
versions of ResolveStyleFor and ResolvePseudoElementStyle and then
modify FileRules to support those, or use a cut-down custom version of
FileRules for them. That would be faster, but more complicated on the
style set side. We can always make that switch if we need to, I guess.
2012-10-17 17:01:56 -04:00
Arnaud Sourioux
a84a1b22ad
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Boris Zbarsky
688a8b41eb
Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv
2012-08-23 21:08:08 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
03039446fa
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Boris Zbarsky
faa7bcc004
Bug 753517 part 2. Make all CSS declarations wrappercached and make them correctly handle preserved wrappers. r=mccr8,peterv,smaug,dbaron
2012-08-05 22:16:30 -04:00
Scott Johnson
63993f05d9
Bug 764567: Implement column-fill part of CSS3 multicol spec, now with regression fixes [r=roc].
2012-07-31 11:21:19 -05:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
b82f9e8e6c
Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz
2012-07-06 15:28:33 +03:00
Ed Morley
c86dfc36ed
Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage
2012-07-15 11:42:31 +01:00
Aryeh Gregor
d3819f192a
Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz
2012-07-06 15:28:33 +03:00
Daniel Holbert
131f2b5d0d
Bug 696253, patch 7: implement parsing/computation for CSS property 'flex-basis'. r=dbaron
2012-07-06 17:06:23 -07:00
Daniel Holbert
c7782ae98e
Bug 696253, patch 6: implement parsing/computation for CSS properties 'flex-grow' and 'flex-shrink'. r=dbaron
2012-07-06 17:06:22 -07:00
Daniel Holbert
0dd40b90f7
Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
85e8349a15
Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
9e077e40c9
Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron
2012-07-06 17:06:20 -07:00
Daniel Holbert
4fe6be60d1
Bug 696253, patch 2: implement parsing/computation for CSS property 'order'. r=dbaron
2012-07-06 17:06:19 -07:00
Daniel Holbert
e193caf93a
Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron
2012-07-06 17:06:19 -07:00
Scott Johnson
f9c641e24b
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
9c3e087f57
Don't use Moz prefix on internal function names in nsComputedDOMStyle for recommendation-track properties. (Bug 756219, patch 2) r=bzbarsky
...
This avoids using prefixes in internal code, in line with users of
nsCSSPropList.h, where we only make the CSS_PROP_DOMPROP_PREFIXED()
macro expand to use prefixes when it's needed for something that's
exposed.
2012-05-18 08:51:57 -04:00
L. David Baron
ab15079413
Remove unused functions from nsComputedDOMStyle. (Bug 756219, patch 1) r=bzbarsky
...
Remove unused DoGet* functions from nsComputedDOMStyle which are never
called because the shorthand properties that they're for aren't listed
in the value returned from GetQueryablePropertyMap (which is as it
should be).
2012-05-18 08:51:55 -04:00
Robert Longson
8953e7caaf
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron
2012-05-18 09:33:40 +01:00
Makoto Kato
e70f17856c
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
Ms2ger
b849fe0a6c
Bug 745523 - Part a: prepare for unprefixing transforms by removing the prefix from internal APIs; r=dbaron
2012-05-05 11:00:04 +02:00
Andrew McCreight
2a617d6d50
Bug 726331 - remove childless nsComputedDOMStyles from the purple buffer. r=smaug
2012-02-15 15:29:53 -08:00
Simon Montagu
a05832e834
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 19:52:21 +02:00
Ed Morley
afde8417a5
Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange
2012-01-12 15:33:00 +00:00
Simon Montagu
ad89de3591
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 16:29:20 +02:00
Scott Johnson
1575ebf83f
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-25 23:25:59 -06:00
William Chen
e1ff790f8b
Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
...
--HG--
extra : rebase_source : 5a6cdac6a4b1353170f23f39dd2a209374e72531
2011-12-22 18:34:45 -05:00
Scott Johnson
aef90f0f50
Backout changeset 93f523345fb6.
2011-12-20 00:01:32 -06:00
Scott Johnson
35fbd86079
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 23:11:54 -06:00
Scott Johnson
578a640a52
Backed out changeset 74555805376d
2011-12-19 23:08:52 -06:00
Scott Johnson
d6fe638038
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 22:25:19 -06:00
L. David Baron
59c0a28be1
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
...
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property). It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00