Daniel Holbert
54bcb09759
Bug 1032922 part 2: Rename flex-basis's "auto" keyword to "main-size" (but retain "flex:auto" as shorthand for "1 1 main-size"). r=heycam
2014-08-07 22:11:48 -07:00
Daniel Holbert
ba4503e6e6
Bug 1032922 part 1: Give "flex-basis" its own keyword table, instead of having it co-opt kWidthKTable. r=heycam
2014-08-07 22:11:47 -07:00
Jonathan Kew
f0069520d0
bug 1028136 - Remove dangerous public destructor of FontFamilyList. r=jdaggett
2014-07-30 09:15:00 +01:00
Alexandros Chronopoulos
84e107f90e
Bug 751939 - make url( followed by EOF valid. r=dbaron
2014-07-23 00:14:16 +03:00
Michael Ratcliffe
4969ae2773
Bug 1035106 - Add new APIs to DOMUtils: colorToRGBA, isValidCSSColor & cssPropertyIsValid r=bz
2014-07-17 15:08:07 +01:00
Brian Birtles
07325fcbbf
Bug 1037314 - Include animation-play-state in animation shorthand; r=dbaron
...
This patch is basically a reversal of attachment 530792 from bug 654890.
2014-07-17 10:04:56 +09:00
Gabriel Luong
0db3e380b1
Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz
2014-07-14 15:57:54 -07:00
Gabriel Luong
53f4caf2b6
Bug 591303 - Part 1: Move mLineNumber, mColumnNumber, and mWasMatched from StyleRule to Rule. r=bz
...
Also, pass the line/column number through the constructor rather than through a separate function.
2014-07-14 15:57:02 -07:00
John Schoenick
6b99891708
Bug 870022 - Part 2 - Add ParseSourceSizeList to CSS parser for <picture sizes> grammar. r=bz
2014-06-25 11:47:46 -07:00
Ms2ger
45efada15c
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
1ab8344d82
Backout revision 308e51eae10c for build bustage.
...
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
530bc74c8d
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Xidorn Quan
837f68f5fc
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Xidorn Quan
ab361e10f1
Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz
2014-06-11 21:10:00 -04:00
John Daggett
b569224dce
Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam
2014-06-06 15:09:23 +09:00
Daniel Holbert
db941b5d80
Bug 864005: Remove mentions of & checks for 'layout.css.supports-rule.enabled' pref. r=heycam r=khuey
2014-06-04 21:07:07 -07:00
Trevor Saunders
4abce4092c
bug 1004746
- part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj
2014-05-07 18:05:37 -04:00
Mats Palmgren
8d52eba6a5
Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin
2014-05-06 09:45:13 +00:00
Mats Palmgren
3716fd29bb
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
dedc02abed
Bug 1002607 - Increment the number of columns, 'column', only after we have seen a new token. r=simon.sapin
2014-05-03 13:42:32 +00:00
Maksim Lebedev
39d6a3538b
Bug 979345 - Implement "touch-action: manipulation" CSS value for Pointer Events. r=kats,botond,dbaron,mbrubeck
2014-04-23 09:56:46 -04:00
Ehsan Akhgari
5b410ec7ae
Bug 998995 - Reserve stack space for 16 arguments when parsing a CSS function; r=dbaron
2014-04-21 20:44:33 -04:00
John Daggett
1e0a07af48
Bug 997006 - rename text-combine-horizontal to text-combine-upright. r=dholbert
2014-04-17 09:15:18 +09:00
Simon Sapin
79cca48a18
Bug 988780 - Refactor ParseGridTemplateAfterString() to not use CheckEndProperty() (layout/style/nsCSSParser.cpp). r=dbaron
2014-03-27 02:24:00 +01:00
Cameron McCormack
efeaf8eada
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
L. David Baron
dbf45497a8
Bug 989560 patch 4 - Remove most uses of CheckEndProperty()/ExpectEndProperty(). r=heycam
2014-04-01 11:53:32 -07:00
L. David Baron
b0693d58f1
Bug 989560 patch 3 - Add one more ExpectEndProperty() call that is needed for variables. r=heycam
...
This adds a check that is currently present in most but not all
codepaths leading to this point, but which patch 4 will remove from many
of those codepaths.
2014-04-01 11:53:32 -07:00
L. David Baron
e176d7070c
Bug 989560 patch 2 - Don't accept an empty value for font-variant-alternates. r=heycam
...
Had patch 3 not been present, this would be needed to prevent a test
failure with patch 4 (which removes the ExpectEndProperty check from the
CSS_PROPERTY_PARSE_VALUE case in
CSSParserImpl::ParseProperty(nsCSSProperty) since its callers handle
checking for appropriate endings), since the way this function returns
success for empty values leads var() functions alone inside
font-variant-alternates to be rejected, since
CSSParserImpl::ParseProperty(nsCSSProperty) won't try reparsing with
variables.
2014-04-01 11:53:32 -07:00
L. David Baron
38512d8749
Bug 989560 patch 1 - Make it an error to have an empty item within an animation or transition shorthand. r=heycam
...
This is needed to make the test in the next patch (which tests that we
reject entirely-empty properties) pass.
2014-04-01 11:53:31 -07:00
L. David Baron
e19068ec03
Bug 988702 patch 3 - Fix missing UngetToken() calls in ParseCounterData(), and avoid evil CheckEndProperty() calls while I'm there. r=heycam
...
I tested that test_property_syntax_errors.html gives a failure on the
new test without the patch, and that the failure is not present with the
patch.
2014-04-01 11:53:31 -07:00
Simon Sapin
30a2740552
Bug 978478 part 2: Add support for repeat() in <track-list> (CSS Grid) r=dholbert
2014-03-31 22:49:51 -07:00
Simon Sapin
a43b6fb7ef
Bug 978478 part 1: Add support for repeat() in <line-name-list> (CSS Grid) r=dholbert
2014-03-31 22:49:45 -07:00
Simon Sapin
be63f95a8a
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
92a6d809c4
Bug 983175 - Part 1: Refactor ParseGridLineNames (CSS Grid). r=dholbert
...
Return a CSSParseResult rather than a bool to distinguish between
an empty list of names '()' and the lack of a list.
2014-03-27 11:54:40 -04:00
Simon Sapin
f31e04d8a9
Bug 983175 - Part 0: Rename nsParsingStatus to CSSParseResult. r=dbaron
2014-03-27 11:54:40 -04:00
Simon Sapin
b0fe5fc3db
Bug 984728 - Refactor grid-auto-flow parsing to use ParseBitmaskValues; r=dholbert
2014-03-24 14:26:04 +01:00
Simon Sapin
b5944e6405
Bug 984760 part 2: Use GridTemplateAreasValue though nsRefPtr pointers. r=dholbert
2014-03-21 23:06:16 +08:00
Simon Sapin
ef6efacf40
Bug 984760 part 1: Rename nsCSSValueGridTemplateAreas to css::GridTemplateAreasValue. r=dholbert
2014-03-21 23:06:13 +08:00
Simon Sapin
3f4edec9c7
Bug 981752 part 3: Add the grid shorthand. r=dholbert
2014-03-21 23:06:12 +08:00
Simon Sapin
66ccfed234
Bug 981752 part 2c: Add the grid-template shorthand. r=dholbert
2014-03-21 23:06:12 +08:00
Simon Sapin
e8764835fa
Bug 981752 part 2b: Refactor grid-template-{columns,rows} parsing, preparing for the grid-template shorthand. r=dholbert
...
... and a bit of grid-auto-flow, for the grid shorthand.
* Avoid using CheckEndProperty() when possible
* Distinguish between "error" and "not a <track-size>"
* Split out parsing of a <track-list>, given its initial [<line-names>?]
2014-03-21 23:06:12 +08:00
Simon Sapin
d2b6314b7e
Bug 981752 part 1: Add the grid-column, grid-row and grid-area shorthands. r=dholbert
2014-03-21 23:06:12 +08:00
Simon Sapin
6a56bcdf93
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
Benoit Jacob
23a1ea4c91
Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz
2014-03-07 12:14:25 -05:00
Benoit Jacob
162c30b16f
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Peter Chang
1e4d8e1868
backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804
2014-03-12 15:16:20 +08:00
Simon Sapin
b44cf36696
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
e04f66defa
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
2e4ccc6e82
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
a1c124e6f3
Bug 976787 part 2: Add the grid-template-areas property to the style system. r=dholbert
2014-03-10 15:54:14 -07:00