John Daggett
8259cc74f5
Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw
2014-06-06 15:09:23 +09:00
John Daggett
861e272110
Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam
2014-06-06 15:09:23 +09:00
L. David Baron
581f9bc30a
Bug 989802 - Round viewport units to appunits using trunc rather than round so that repeated uses fit within a container. r=roc
...
viewport-units-rounding-1.html fails without the patch and passes with
the patch.
viewport-units-rounding-2.html fails with an early version of the patch
but not without the patch or with the final version.
2014-05-29 17:43:06 -07:00
Mats Palmgren
34134aa78b
Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin
2014-05-06 09:45:13 +00:00
Mats Palmgren
5cd647db72
Bug 994592 - Make 'row' the initial value for 'grid-auto-flow' and remove 'none' as a valid value. And add the 'stack' variants. r=simon.sapin
2014-05-06 09:45:13 +00:00
Mats Palmgren
8b6a069c8a
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-05-05 17:55:54 +00:00
Mats Palmgren
e2efe2c0c1
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-05-05 17:55:53 +00:00
Mats Palmgren
6301b21c9f
Back out bug 613659 (for regression bug 998792)
...
--HG--
rename : layout/reftests/backgrounds/background-size-slice.html => layout/reftests/backgrounds/background-size-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-slice.html => layout/reftests/backgrounds/background-size-cover-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-clone.html => layout/reftests/backgrounds/background-size-cover-each-box.html
rename : layout/reftests/backgrounds/background-size-clone.html => layout/reftests/backgrounds/background-size-each-box.html
2014-04-20 19:39:24 +00:00
Mats Palmgren
72a5f9f1ac
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-04-18 23:01:23 +00:00
Mats Palmgren
fc6577840d
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-04-18 23:01:22 +00:00
John Daggett
89d63e9b46
Bug 997006 - rename text-combine-horizontal to text-combine-upright. r=dholbert
2014-04-17 09:15:18 +09:00
Daniel Holbert
61204d781b
Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc
2014-04-14 21:30:25 -07:00
Simon Sapin
40a44c4767
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
20769aaaa3
Bug 984728 - Refactor grid-auto-flow parsing to use ParseBitmaskValues; r=dholbert
2014-03-24 14:26:04 +01:00
Simon Sapin
6f19092d3e
Bug 984760 part 2: Use GridTemplateAreasValue though nsRefPtr pointers. r=dholbert
2014-03-21 23:06:16 +08:00
Simon Sapin
98db16b1af
Bug 984760 part 1: Rename nsCSSValueGridTemplateAreas to css::GridTemplateAreasValue. r=dholbert
2014-03-21 23:06:13 +08:00
Simon Sapin
b2b7f42b87
Bug 984241: Refactor/optimize grid-template-areas, store number of columns. r=dholbert
...
In the parsing code for grid-template-areas:
* Move some of the processing into the helper function,
so that the grid-template will not have to duplicate it.
* Store the number of parsed columns (and rows),
as they will affect the size of the "explicit grid".
* Use a hash table instead of a linear scan to avoid O(n²)-ish complexity.
2014-03-18 22:05:49 +08:00
Cameron McCormack
2b8efd3f5d
Bug 950436 - Store ImageValues that resulted from re-parsing a nsCSSValueTokenStream on that object. r=dbaron
2014-03-18 20:11:14 +11:00
Benoit Jacob
56cf1149be
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Peter Chang
a96dd5a386
backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804
2014-03-12 15:16:20 +08:00
Simon Sapin
948f9516ef
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
96600c54b0
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
9483298edf
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
27ad62a36d
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
12935dcb17
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
8c5d632a24
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Ryan VanderMeulen
a05a9b8736
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
52d36cb055
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-06 11:38:17 -05:00
Benoit Jacob
6c6a14a30e
Bug 975769 - Avoid asserting on a eCSSProperty_UNKNOWN - r=dbaron
2014-02-27 15:09:02 -05:00
Simon Sapin
4ada4b1b26
Bug 975501 part 2: Add display:{inline-,}grid behind a pref, and a stub nsGridContainerFrame. r=dholbert
2014-02-26 23:45:29 -08:00
Daniel Holbert
82ff072cdf
(no bug) insert space before paren in 'switch(' and 'while(' in nsRuleNode.cpp. whitespace-only, no review, DONTBUILD
2014-02-26 11:10:50 -08:00
L. David Baron
4fd06dded6
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
961f102dd4
Bug 966992 - Implement the overflow-clip-box property in the style system. r=cam
2014-02-22 01:18:23 +00:00
Benoit Girard
17b6ab9f8b
Bug 964885 - Implement stacking context behavior of CSS will-change. r=dbaron
...
--HG--
extra : rebase_source : 9417239e40a13df22c207838faf64b67d9027f6e
2014-02-05 23:50:22 -05:00
Ehsan Akhgari
7a3201ec26
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
d3ba634b1b
Bug 966992 - Implement the overflow-clip-box property in the style system. r=cam
2014-02-19 14:14:52 +00:00
Daniel Holbert
f23db27f6e
Bug 969460 part 1: Give EnsureBlockDisplay a second parameter, to determine whether it converts 'display:list-item' to block. r=bz
2014-02-15 10:42:35 -08:00
Robert O'Callahan
21f9cc6065
Bug 947588. Part 1: Add "-moz-control-character-visibility" property to the style system. r=heycam
...
Ideally we'd make this property inaccessible to Web content style sheets, but
that seems hard since view-source and plain text documents seem to load in a
context that's very similar to Web content as far as the style system is
concerned. It doesn't matter much since it's quite safe and unlikely to be
discovered or used by anyone.
--HG--
extra : rebase_source : 009aafc992afd07fd76a9026afe0f6994b4b214a
2014-02-05 23:08:48 +13:00
Ehsan Akhgari
fbb338d533
Bug 969879 - Use infallible allocation to store the style information for CSS transitions and animations; r=dbaron
2014-02-08 16:56:40 -05:00
Nicholas Cameron
f3ead74e4f
Bug 700926. Use nsStyleImage and nsRenderingContext to draw border-images. r=roc
2014-01-31 16:36:41 +13:00
Birunthan Mohanathas
02d0812720
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Benoit Girard ext:(%20and%20Benoit%20Jacob%20%3Cbjacob%40mozilla.com%3E)
d46862615a
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
Nathan Froyd
986b7160ef
Bug 960631 - delete some dead templates in nsRuleNode.cpp; r=dholbert
2014-01-16 12:52:10 -05:00
Nick Lebedev
8f48b7bbc6
Bug 795567 - Part 1: Add touch-action css property to the style system. r=dbaron
2014-01-15 10:03:15 -05:00
Frédéric Wang
3feaa3f08b
Bug 838506 - Part 1: Add a -moz-math-display property. r=heycam
2014-01-14 09:39:50 -05:00
Ehsan Akhgari
1b83407ce9
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
b3b6726cef
Bug 731271 - Part 2: Add new nsCSSValue units to store colors in their original syntactic form. r=dbaron
2013-09-16 09:35:48 +10:00
Cameron McCormack
e93885019c
Bug 731271 - Part 1: Rename eCSSUnit_Color to eCSSUnit_RGBAColor. r=dbaron
2013-09-16 09:35:48 +10:00
Cameron McCormack
178b8fa7cb
Bug 952338 - Temporarily avoid passing in sheet to ParsePropertyWithVariableReferences to avoid a crash. rs=sfink
2013-12-22 15:00:08 +11:00
Cameron McCormack
3a3a7216b5
Bug 773296 - Part 18: Add error reporting for invalid variable references. r=dbaron
...
This adds CSS parser error reporting for parsing of custom properties
and normal properties that have variable references.
When re-parsing a normal property that had a variable reference, we
report any parse error to be at the beginning of the property value.
This is because it is difficult to keep track of where exactly each
variable substitution came from to point to the particular value
that would have caused the parse error. For example, with this:
:root {
var-a: 1px 2px;
var-b: 3px var(a);
}
p {
margin: var(a) var(b);
}
we would end up resolving the value of 'margin' to:
" 1px 2px 3px 1px 2px"
In this string, the parse error occurs when we encounter the final
"2px", but by this point we don't know where that value came from.
So instead we just point to the line on which 'margin' was declared.
We extend ErrorReporter with an OutputError overload that takes the
specific line and column number to use in the error report to get this
right, and we store the line and column number for each token stream
we parse on the nsCSSValueTokenStream object.
2013-12-12 13:09:44 +11:00