Jan Andre Ikenmeyer
f1f409ffb6
Update MPL license to https (part 5)
2018-11-27 19:09:17 +01:00
Simon Sapin
a15d33a10e
cargo fix --edition
2018-11-10 17:47:28 +01:00
Pyfisch
9e92eb205a
Reorder imports
2018-11-06 22:35:07 +01:00
Pyfisch
cb07debcb6
Format remaining files
2018-11-06 22:30:31 +01:00
Anthony Ramine
bac8781cc7
Kill define_numbered_css_keyword_enum
2018-02-01 12:43:28 +01:00
Emilio Cobos Álvarez
f9c06d7932
style: Generalise BorderCornerRadius as Size
.
2017-09-17 21:33:14 +02:00
Josh Matthews
27ae1ef2e7
Thread ParseError return values through CSS parsing.
2017-06-09 16:46:25 -04:00
Anthony Ramine
af3ede418b
Refactor BorderRadius and move it to the border modules
...
BorderRadius now parses itself reusing Rect<T>.
2017-05-28 14:36:37 +02:00
Simon Sapin
e4f241389e
Box large components of Longhands structs.
2017-05-19 17:47:03 +02:00
J. Ryan Stinnett
0936dd24d0
Centralize ParserContext for tests
...
To simplify adding additional data to `ParserContext`, this moves test usages to
a few shared locations, instead of being spread across many tests.
MozReview-Commit-ID: 1OahV797eq
2017-04-14 17:22:14 +08:00
J. Ryan Stinnett
4574cd8ea6
Pull rule_type into ParserContext
...
Absorb `rule_type` into the `ParserContext` so that it's easier to pass down to
deeper levels of the parser.
MozReview-Commit-ID: DjBNytLxGKX
2017-04-12 16:40:17 +08:00
Emilio Cobos Álvarez
b4de69e3eb
style: Avoid cloning all over the error reporter.
2017-03-14 00:49:18 +01:00
Xidorn Quan
f33b0b4ea3
Have shorthand parsing functions return values
...
Shorthands are responsible to set all its longhands to a proper value,
rather than returning None.
Fixes #15380 .
2017-02-28 15:24:08 +11:00
Huxley
06650f8428
fixed the wrong behavior of border-spacing
2017-02-19 22:59:51 +08:00
Alberto Leal
09d4751054
Refactor outline-style to accept "auto" value in addition to border-style values.
...
Fixes https://github.com/servo/servo/issues/15207
2017-02-08 23:13:20 -05:00
Atheed Thameem
beeca1213c
implement parsing of line_height and border_image_outset to parse plain zero as Number
2017-01-28 08:51:31 -05:00
J. Cliff Dyer
46c4c9ce66
Only allow border-image-outset to use non-negative values.
2016-11-23 13:20:29 -05:00
Emilio Cobos Álvarez
913c874cb5
Urlmageddon: Use refcounted urls more often.
2016-11-17 18:34:23 +01:00
Nazım Can Altınova
e408b0e75c
Add parsing tests for border-image shorthand
2016-11-13 19:25:05 +03:00