Daniel Holbert
0df6b6112f
Bug 1358586: Require comma after <angle>, in -webkit-linear-gradient() CSS syntax. r=heycam
...
The logic around here is a bit tricky, because -moz-linear-gradient() shares
this codepath. Here's how things were going wrong:
* The -moz-linear-gradient syntax allows an angle (e.g. "30deg") to be followed
by an optional box-position (e.g. "top right") before eventually requiring a
comma and then some color stops.
* In contrast, the -webkit-linear-gradient syntax does NOT allow a box-position
there (unless the box-position is by itself, without an angle).
* So, for -webkit-linear-gradient, we (correctly) skipped the box-position
parsing code, if we've seen an angle already.
* BUT: in skipping that code, we *also* inadvertantly skipped the code that
enforces that we eventually see a comma before we get to the color stops.
So, we incorrectly accept some -webkit-linear-gradient() expressions that are
missing a comma that really should be mandatory.
So, this patch adds a special case for -webkit-linear-gradient that
preemptively bails if we get an angle that's not followed by a comma. (With
that, we can also simplify the condition around the box position parsing, too.)
MozReview-Commit-ID: B7MQLxqe6D7
2017-04-21 14:38:14 -07:00
Mats Palmgren
bd3424149f
Bug 1357655 part 1 - [css-ui] Make 'none' the initial value for 'appearance' for web and UA compatibility. Add 'appearance:auto' to UA sheets for form controls, XUL etc where needed. r=bz
...
MozReview-Commit-ID: 2h5ndqHresm
2017-04-21 02:24:19 +02:00
Xidorn Quan
0f2df09dac
Bug 1355734 - Remove text-decoration-line: -moz-anchor-decoration. r=heycam,masayuki
...
MozReview-Commit-ID: 4TmVncV1K5G
2017-04-13 16:17:03 +08:00
Mats Palmgren
66c8bd70fc
Bug 1333482 part 8 - [css-ui] Introduce '-webkit-appearance' as an alias for 'appearance' using the same pref. r=dholbert
...
MozReview-Commit-ID: 1snub78udDS
2017-03-23 22:11:28 -07:00
Mats Palmgren
3d9265b17f
Bug 1333482 part 3 - [css-ui] Put 'appearance' and '-moz-appearance' behind separate prefs. Enable both by default. r=dholbert
...
MozReview-Commit-ID: 7f5jqm8z3Vy
2017-03-23 22:11:20 -07:00
Xidorn Quan
0bcaa746f1
Bug 1346669 - Make font-synthesis not a subprop of font shorthand. r=jfkthame
...
MozReview-Commit-ID: KUX72Gr4SYs
2017-03-13 12:36:19 +11:00
Boris Chiou
c7d71d646d
Bug 1248340 - Part 4: Implement Frames in the style system. r=dholbert
...
Use eCSSUnit_Function to store the frames timing function. Also, add one more
css keyword: frames.
The following changes are included in this:
1. Parser changes.
2. Serialization.
3. Computation in nsRuleNode.
4. Invalid and other values in property_database.js
MozReview-Commit-ID: 887QcXHQ2pU
2017-02-24 14:50:08 +08:00
Neerja Pancholi
5fddb99f6b
Bug 1339298 - Add boilerplate code for CSS3 multicol column-span parsing and define pref 'layout.css.column-span.enabled' to toggle it. r=dholbert
...
MozReview-Commit-ID: 6aSlRhcKm8i
2017-02-13 16:57:33 -08:00
Daniel Holbert
234fcc75f4
Bug 1343665 part 1: Remove all mentions of about:config pref "layout.css.object-fit-and-position.enabled" from source files. r=mats
...
MozReview-Commit-ID: 1mHzzU7YVoL
2017-03-02 10:04:00 -08:00
jeremychen@mozilla.com
8e500e1044
Bug 276079 - parse and compute CSS text-justify property. r=xidorn
...
MozReview-Commit-ID: K3bh0H2SPnE
2017-03-01 20:58:25 +08:00
Xidorn Quan
57b3c7d52d
Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam,jaws
...
MozReview-Commit-ID: 59cmaCoFJMR
2017-02-16 10:26:13 +11:00
Iris Hsiao
97929fe90a
Backed out changeset ae26b4e4d59b (bug 1339394) for developer's request
2017-02-15 13:10:35 +08:00
Xidorn Quan
5444bad47a
Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam
...
MozReview-Commit-ID: 59cmaCoFJMR
2017-02-14 22:43:32 +11:00
Xidorn Quan
2ffe464251
Bug 1333675 - Remove prefixed values for unicode-bidi. r=dholbert
...
MozReview-Commit-ID: B1TNnDPHel2
2017-02-08 15:25:17 +11:00
cku
cda0adbb41
Bug 1336924 - Part 2. add invalidate test cases for transform-box. r=xidorn
...
Spec:
https://drafts.csswg.org/css-transforms/#transform-box
Only accept border-box, fill-box and view-box.
MozReview-Commit-ID: KEzfW2m3hCC
2017-02-06 16:31:05 +08:00
cku
32b7cef682
Bug 1336924 - Part 1. add invalidate test cases for shape-outside's shape-box. r=xidorn
...
spec:
https://drafts.csswg.org/css-shapes-1/#shape-outside-property
svg box values(fill-box/stroke-box and view-box) are not valid for shape-box.
MozReview-Commit-ID: 3yct8P0PFFM
2017-02-06 16:30:05 +08:00
Xidorn Quan
cf7ed73790
Bug 1331903 part 1 - Fix test_inherit_computation.html test for width and inline-size. r=heycam
...
MozReview-Commit-ID: HoGM5x7xVMK
2017-01-19 22:33:33 +11:00
Astley Chen
fa8ea75a43
Bug 1331296 : Part 1 - Remove or unprefix -moz-calc() from layout tests. r=heycam
...
MozReview-Commit-ID: HKCS8Uqv1Cs
2017-01-18 10:50:19 +08:00
Xidorn Quan
7749bec582
Bug 1063162 part 2 - Implement caret-color property. r=dholbert
...
MozReview-Commit-ID: DH7CX1d477R
2016-12-22 11:04:15 +11:00
Mats Palmgren
e9205611c1
Bug 1322191 part 1 - [css-display] Add style system support for display:flow-root. Enable it by default. r=dholbert
2016-12-23 19:11:03 +01:00
Ethan Lin
0d4de55c80
Bug 1303623 - Part5. Testcase changes. r=heycam
...
MozReview-Commit-ID: 89A8ESHo2yJ
2016-10-19 15:54:04 +08:00
Mats Palmgren
d5c5a66a28
Bug 1322527 - Move 'contents' together with the other 'display' values rather than adding dynamically with JS. r=jeremychen
2016-12-08 12:41:00 -05:00
Jonathan Kew
458d6a28c3
Bug 1321022 pt 4 - Implement CSS parsing of the font-variations-setting property, storing the value into nsFont. r=dholbert
2016-12-03 12:18:36 +00:00
Jonathan Kew
90ef1e8839
Bug 1321512 - Add tags containing double-quote and backslash to font-feature-settings tests. r=dholbert
2016-12-03 10:58:57 +00:00
Carsten "Tomcat" Book
e23b4a4227
merge mozilla-inbound to mozilla-central a=merge
2016-11-29 16:47:18 +01:00
Thomas Wisniewski
11bbab08f4
Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam
2016-11-24 23:23:14 -05:00
Mats Palmgren
f428026d58
Bug 1319958 - [css-align][css-grid][css-flexbox] Implement the place-items/self/content shorthands. r=dholbert
2016-11-28 00:44:22 +01:00
Sebastian Hengst
522acb2d7f
Backed out changeset 8a6c538cf61a (bug 943918) for failing own test tab-size-length.html on at least Windows 8 x64 opt+debug and OS X debug. r=backout
2016-11-28 00:41:19 +01:00
Thomas Wisniewski
1b2eecfd95
Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam
2016-11-24 23:23:14 -05:00
Astley Chen
9d0f293b1c
Bug 1276808 - Remove -moz-text-align-last property. r=xidorn
...
MozReview-Commit-ID: HJtOLrtKnDU
2016-11-29 08:39:26 +08:00
Jeremy Chen
fd4a5f4104
Bug 1295788 - Remove layout.css.display-contents.enabled pref.
...
1. Remove the preference setting in reftest.list
2. Remove the preference guard in property_database.js
3. Remove the callback function of preference change
4. Remove the preference from all.js
MozReview-Commit-ID: 6aqYmhz6c9M
2016-11-17 10:52:51 +08:00
Mats Palmgren
7b03cc4895
Bug 1313254 part 1 - [css-align] Change "baseline|last-baseline" to "[ first | last ]? baseline". r=dholbert
2016-11-05 02:57:07 +01:00
cku
11ecd87fac
Bug 1308963 - Part 4. Correct initial value of mask-position in property_database.js r=xidorn
...
MozReview-Commit-ID: 9BUNMX8zw5r
2016-10-13 23:25:00 +08:00
cku
867bf45a0a
Bug 1308963 - Part 2. Correct initial value of mask-repeat in property_database.js. r=xidorn
...
MozReview-Commit-ID: KJOZppT48xS
2016-10-13 23:04:55 +08:00
Manish Goregaokar
f35d90e274
Bug 1311959 - Remove marker-offset; r=tromey,xidorn
...
MozReview-Commit-ID: 72Fse0z1BiY
2016-10-21 15:34:46 +05:30
JerryShih
eaafd96489
Bug 1295456 - Add tests for css-color-4 color function changes. r=dholbert
...
MozReview-Commit-ID: 61aMI3ZkLGi
2016-10-16 03:15:36 +08:00
Neerja Pancholi
2cb6d0a42d
Bug 1300895 - Unprefix CSS multi-column properties, but add back prefixed aliases via nsCSSPropAliasList.h r=dbaron
...
Also make necessary updates to tests like:
1. unprefixing in property_database.js and added new aliases there
2. unprefixing in test_transitions_per_property.html
3. update nsComputedDomStylePropertyList.h
4. update devtools' property database
MozReview-Commit-ID: B3kOFrM9EL
2016-10-10 13:16:57 -07:00
Sebastian Hengst
9fffdbeb0e
Backed out changeset b7c0df58a2f4 (bug 1300895) for xpcshell failure in /test_css-properties-db.js. r=backout
2016-10-11 00:44:45 +02:00
Neerja Pancholi
3912197452
Bug 1300895 - Unprefix CSS multi-column properties, but add back prefixed aliases via nsCSSPropAliasList.h r=dbaron
...
Also make necessary updates to tests like:
1. unprefixing in property_database.js and added new aliases there
2. unprefixing in test_transitions_per_property.html
3. update devtools' property database
MozReview-Commit-ID: B3kOFrM9EL
2016-10-10 13:16:57 -07:00
Astley Chen
60d073c06f
Bug 1308239 : Remove CSS mask-type pref layout.css.masking.enabled. r=heycam
...
MozReview-Commit-ID: GXHgwWcURVn
2016-10-08 23:28:17 +08:00
Astley Chen
2be8243274
Bug 1292447: part 5 - Update property_database.js. r=TYLin
...
MozReview-Commit-ID: 758FteV3Th6
2016-10-03 18:14:20 +08:00
Brad Werth
51aeb97cf5
Bug 1304012 -- Part 3: mochitest updated to match new spec behavior, and updated property database. r=dholbert
...
MozReview-Commit-ID: o5ENMMRLZF
2016-09-29 15:47:36 -07:00
Xidorn Quan
449c420d52
Bug 1306214 part 3 - Remove -moz-use-text-color from Gecko. r=heycam
...
MozReview-Commit-ID: EEYCB5jUH9L
2016-09-29 17:47:22 +10:00
Ting-Yu Lin
52cc200e48
Bug 1297097 Part 4 - Move vertical text properties into gCSSProperties. r=jfkthame
...
Also, merge the "writing-mode: initial" prerequisites to "font" and
"line-height".
MozReview-Commit-ID: GccmA7dD6yz
2016-08-23 23:32:14 +08:00
Ting-Yu Lin
1558bc93d7
Bug 1297097 Part 1 - Remove preference "layout.css.vertical-text.enabled" in test files. r=jfkthame
...
MozReview-Commit-ID: LCegChkryHj
2016-08-23 13:55:16 +08:00
Mats Palmgren
d530df343b
Bug 1282643 - [css-grid] Reject repeat() column tracks in <grid-template> when there's a grid template area string in the row part. r=dholbert
2016-08-26 15:16:57 +02:00
Mats Palmgren
e67c5f0195
Bug 1281320 - [css-grid] Reftests for fit-content() track sizes.
2016-08-26 15:16:57 +02:00
Mats Palmgren
0918fa6f8b
Bug 1266124 - [css-grid] Update the 'grid' shorthand syntax to the latest spec. r=dholbert
2016-08-26 15:16:57 +02:00
Mats Palmgren
4d2119100d
Bug 1282418 - [css-grid] Adding reftests for calc(Npx - M%) track sizes.
2016-08-26 15:16:57 +02:00
cku
864177c1a4
Bug 1277788 - (follow-up) Part 4. Correct the initial value of mask-position-x/y in property_database.js. r=me
...
MozReview-Commit-ID: 14sOcM7rcqB
2016-08-22 00:22:29 +08:00