aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/style
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-0816-4996/+0
|
* Revert "Move PropertyBitField to a syntax extension."Glenn Watson2014-09-021-21/+64
| | | | This reverts commit d6002a0a50f4c9fab7bcaf592b296123d33ac212.
* Make text decorations be independent display items.Simon Sapin2014-08-291-0/+1
| | | | The goal it to avoid having too much layout logic (which gets more complex in vertical text) in gfx code.
* Fix <br> supportMatt Brubeck2014-08-271-1/+1
|
* Move PropertyBitField to a syntax extension.Simon Sapin2014-08-231-64/+21
| | | | This is a first step towards moving away the Mako template in the style crate.
* Take an iterator when parsing selectors.Simon Sapin2014-08-163-38/+35
|
* Make more things private to the style crate.Simon Sapin2014-08-165-15/+70
|
* Refactor and fix src parsing in @font-faceSimon Sapin2014-08-164-165/+122
|
* Dissallow !important in @font-faceSimon Sapin2014-08-161-2/+5
|
* Fix #2802: fix parsing of font-family in @font-faceSimon Sapin2014-08-163-54/+89
|
* Fix case sensitivity of local name selectors.Simon Sapin2014-08-164-78/+89
|
* Move UA stylesheet to src/components/styleSimon Sapin2014-08-162-2/+129
|
* Remove special treatment of UA stylesheet for parse errors.Simon Sapin2014-08-162-18/+2
| | | | CSS parse errors are now off by default anyway.
* Cloning `DeclarationBlock` is cheap, the declarations are in an `Arc`.Simon Sapin2014-08-161-1/+0
|
* Have quicksort take a compare function rather than requires Ord and Eq.Simon Sapin2014-08-161-30/+7
|
* Rename MatchedProperty to DeclarationBlockSimon Sapin2014-08-163-32/+32
|
* Fix parsing of `text-decoration: none`Simon Sapin2014-08-161-1/+5
| | | | | It would previously accept and ignore garbage in the declaration value after the `none` keyword.
* Use Result/Err(()) in Selector parsing.Simon Sapin2014-08-162-166/+138
| | | | | | | | … get rid of some custom `enum` types for parsing return values. `Option<Option<T>>` was ridiculous, but `Result<Option<T>, ()>` make perfect sense. Also, we can now take advantage of the `try!()` macro.
* Use Result/Err(()) instead of Option/None to indicate a CSS parse error.Simon Sapin2014-08-165-207/+218
|
* Merge commit 'refs/pull/3029/head' of https://github.com/servo/servoSimon Sapin2014-08-112-71/+46
|\ | | | | | | | | Conflicts: src/components/style/selector_matching.rs
| * Port selector matching to use atoms.Glenn Watson2014-08-062-70/+45
| | | | | | | | | | | | | | | | | | | | Removed the Lowercase new type. This does mean that this code path is slightly slower for now. This is because find_equiv() doesn't work with atoms in hash tables, due to the hash value being different than that of a string. However it also means the removal of some unsafe code, and a better long term solution will be to precache the lower case versions as atoms.
* | Upgrade Rust.Jack Moffitt2014-08-082-15/+15
| |
* | Merge pull request #2791 from glennw/web-fontsglennw2014-08-063-2/+215
|\ \ | |/ |/| Add basic support for web fonts. Synchronous loading only
| * Fix parsing invalid url, clean up font template matching.Glenn Watson2014-07-281-2/+2
| |
| * Update font face to new url parser.Glenn Watson2014-07-241-3/+4
| |
| * Don't rely on font hint for format detection. Handle parsing commaGlenn Watson2014-07-241-64/+72
| | | | | | | | | | separated format hints. Fix oversight in mac code dealing with creating web fonts from memory.
| * Address review comments.Glenn Watson2014-07-242-33/+115
| |
| * Fix missing license header in new file.Glenn Watson2014-07-241-0/+4
| |
| * Add basic support for web fonts. Synchronous loading onlyGlenn Watson2014-07-243-2/+120
| | | | | | | | | | | | for now, and only deals with TTF format fonts. For an example, try loading http://icons.marekventur.de
* | Implement support for :enabled CSS selectorBruno de Oliveira Abinader2014-08-053-1/+10
| |
* | Implement support for :disabled CSS selectorBruno de Oliveira Abinader2014-08-053-1/+10
| |
* | Upgrade Rust.Jack Moffitt2014-08-022-12/+10
| |
* | Use atom to match id selector.Tetsuharu OHZEKI2014-07-303-9/+11
|/
* Port element traits to use atoms instead of strings.Glenn Watson2014-07-222-3/+4
|
* Used rust-url directly instead of servo_util::urlSimon Sapin2014-07-212-2/+8
| | | | The latter now only calls the former.
* Start dogfooding rust-url. Fix #1673.Simon Sapin2014-07-211-1/+1
|
* Convert layout code to use logical directions.Simon Sapin2014-07-182-38/+132
|
* Move CSS Writing Modes properties behind a new command-line flag.Simon Sapin2014-07-181-14/+28
|
* Add logical geometry primitives, for CSS Writing Modes.Simon Sapin2014-07-091-0/+50
|
* Fix or selectively silence warnings in src/components.Simon Sapin2014-07-082-0/+8
|
* Warning police.Glenn Watson2014-07-071-3/+3
|
* Remove some deprecated into_owned calls.Ms2ger2014-07-041-9/+9
|
* Remove some unused fields.Ms2ger2014-07-041-4/+1
|
* Add a FIXME comment for #2742Matt Brubeck2014-07-011-0/+1
|
* Add parsing of `overflow: scroll` and `auto`.Matt Brubeck2014-07-011-1/+1
| | | | | Elements with overflow scroll/auto are not yet scrollable, but they will be clipped correctly (like `overflow: hidden`).
* Upgrade to latest Rust.Manish Goregaokar2014-06-277-33/+45
|
* Remove compiler warnings from generated mako templates.Glenn Watson2014-06-161-1/+1
|
* Fix some deprecated warnings for to_owned()Manish Goregaokar2014-06-082-20/+20
|
* Implement querySelector for DocumentBruno de Oliveira Abinader2014-06-052-2/+3
|
* Upgrade Rust.Jack Moffitt2014-06-0511-72/+75
|