Nazım Can Altınova
43cf493832
style: Implement parsing/serialization for @font-feature-values rule
2017-07-27 13:37:57 -07:00
bors-servo
723b21b669
Auto merge of #17841 - ferjm:bug1380890.column, r=jdm
...
stylo: make GetRuleColumn report a 1-based value
https://bugzilla.mozilla.org/show_bug.cgi?id=1380890
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17841 )
<!-- Reviewable:end -->
2017-07-24 07:55:06 -07:00
Fernando Jiménez Moreno
5cabb0f86b
stylo: make GetRuleColumn report a 1-based value
2017-07-24 15:28:02 +02:00
Simon Sapin
eb98ae6e04
Update cssparser to 0.18
...
https://github.com/servo/rust-cssparser/pull/171
2017-07-24 11:39:12 +02:00
Michael Partheil
b07ebbae6b
Replace all uses of the style::stylearc alias with servo_arc.
...
The alias is left there temporarilly and will be removed completely in a later commit where
also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still
use the old alias).
2017-07-19 09:29:05 +02:00
Josh Matthews
0b43d0072c
stylo: Update rust-cssparser; extract more specific error types when reporting (bug 1352669).
2017-07-10 20:46:12 -04:00
Gecko Backout
32269fa7cc
Backed out changeset fec394734f83 (bug 17624) for build bustage a=backout CLOSED TREE
...
Backs out https://github.com/servo/servo/pull/17624
2017-07-06 21:58:15 +00:00
Josh Matthews
f5a3830ea2
stylo: Update rust-cssparser; extract more specific error types when reporting (bug 1352669).
2017-07-06 14:32:37 -04:00
Emilio Cobos Álvarez
1263075776
stylo: Fix StyleSheetInner/Stylesheet mapping
...
The key of this patch is the split between Stylesheet and StylesheetContents.
Gecko will use StylesheetContents, which maps to a ServoStyleSheetInner.
2017-07-02 15:49:40 +02:00
Simon Sapin
a5bb55790f
Untry style
2017-06-18 13:18:13 +02:00
Simon Sapin
b83afdedc8
Upgrade cssparser to 0.15
2017-06-16 15:05:46 +02:00
Bastien Orivel
76d8573393
Bump serde to 1.0
2017-06-16 13:31:18 +02:00
Xidorn Quan
38a0824ccd
Bug 1372488 - Make counter style 'disc' not overridable.
2017-06-16 16:39:52 +10:00
Fernando Jiménez Moreno
7334298f30
stylo: set location for NestedRuleParser during prelude parsing
2017-06-15 10:26:42 +02:00
Xidorn Quan
cdc537f23e
Bug 1331291 part 1 - Set stylesheet url_data correctly for import rule.
2017-06-13 10:07:06 +10:00
Emilio Cobos Álvarez
f8755d6cf0
style: Don't try to compute @viewport unnecessarily.
...
If the viewport rule is not enabled, there's just no point in computing it.
Bug: 1372058
2017-06-12 20:36:37 +02:00
Josh Matthews
27ae1ef2e7
Thread ParseError return values through CSS parsing.
2017-06-09 16:46:25 -04:00
Josh Matthews
fd6e54d9e3
Report CSS parse errors via enum instead of strings.
2017-06-09 13:16:32 -04:00
Emilio Cobos Álvarez
58fd80e282
style: Split stylesheets.rs
...
This file has become quite bloated lately. This commit deletes that file in
favor of a set of submodules.
The only noticeable change apart from code move, is converting deep_clone_foo
methods into a trait.
It also unifies logic related to different style rules in the same place.
There's some missing work, specially related to font-face and counter-style, but
I think this is worth landing in the meantime.
2017-06-04 21:50:09 +02:00