Jonathan Kew
d6388d5ce5
bug 1028136 - Remove dangerous public destructor of FontFamilyList. r=jdaggett
2014-07-30 09:15:00 +01:00
Alexandros Chronopoulos
0e7ff1722d
Bug 751939 - make url( followed by EOF valid. r=dbaron
2014-07-23 00:14:16 +03:00
Michael Ratcliffe
2cb4828e2e
Bug 1035106 - Add new APIs to DOMUtils: colorToRGBA, isValidCSSColor & cssPropertyIsValid r=bz
2014-07-17 15:08:07 +01:00
Brian Birtles
c555bc2d0f
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
e20cf95928
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
d6452c348d
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
b3ecd9ca59
Bug 870022 - Part 2 - Add ParseSourceSizeList to CSS parser for <picture sizes> grammar. r=bz
2014-06-25 11:47:46 -07:00
Ms2ger
7f901a51fa
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
2014-06-20 12:32:49 +02:00
Ms2ger
78134e6fa1
Backout revision 308e51eae10c for build bustage.
2014-06-20 13:00:08 +02:00
Ms2ger
f747edc3e4
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
2014-06-20 12:32:49 +02:00
Xidorn Quan
b214cee292
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Xidorn Quan
311ef2f9f9
Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz
2014-06-11 21:10:00 -04:00
John Daggett
348e0cd17d
Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam
2014-06-06 15:09:23 +09:00
Daniel Holbert
2f40f26ea9
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
02273101a6
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
dd2837ea9a
Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin
2014-05-06 09:45:13 +00:00
Mats Palmgren
cec9a9bb28
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
77bd37927c
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
7c49b9c672
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
0215f0e442
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
0454243905
Bug 997006 - rename text-combine-horizontal to text-combine-upright. r=dholbert
2014-04-17 09:15:18 +09:00
Simon Sapin
f5ec188b5e
Bug 988780 - Refactor ParseGridTemplateAfterString() to not use CheckEndProperty() (layout/style/nsCSSParser.cpp). r=dbaron
2014-03-27 02:24:00 +01:00
Cameron McCormack
d626db095c
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
59f022def6
Bug 989560 patch 4 - Remove most uses of CheckEndProperty()/ExpectEndProperty(). r=heycam
2014-04-01 11:53:32 -07:00
L. David Baron
199afa4b90
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
149e756430
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
e2bf84fbc7
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
fa273c3db2
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
119a872512
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
36398a919d
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
76dab6e7e3
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
9220ef7f05
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
e2b77f7187
Bug 983175 - Part 0: Rename nsParsingStatus to CSSParseResult. r=dbaron
2014-03-27 11:54:40 -04:00
Simon Sapin
67fad84a78
Bug 984728 - Refactor grid-auto-flow parsing to use ParseBitmaskValues; r=dholbert
2014-03-24 14:26:04 +01:00
Simon Sapin
1dd63c0ce5
Bug 984760 part 2: Use GridTemplateAreasValue though nsRefPtr pointers. r=dholbert
2014-03-21 23:06:16 +08:00
Simon Sapin
4ca8d6c048
Bug 984760 part 1: Rename nsCSSValueGridTemplateAreas to css::GridTemplateAreasValue. r=dholbert
2014-03-21 23:06:13 +08:00
Simon Sapin
697a4d6a75
Bug 981752 part 3: Add the grid shorthand. r=dholbert
2014-03-21 23:06:12 +08:00
Simon Sapin
598ed3b0c5
Bug 981752 part 2c: Add the grid-template shorthand. r=dholbert
2014-03-21 23:06:12 +08:00
Simon Sapin
7265b46982
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
c3ce91f54d
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
f487f90c70
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
46f2fcd439
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
ae67b77a1c
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Peter Chang
a7504a1140
backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804
2014-03-12 15:16:20 +08:00
Simon Sapin
df5c6efc19
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
95adb253ac
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
32bb962e4a
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
c0f201d73c
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
9c10be3e65
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
f1e68e7668
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