Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ol[type=…] and li[type=…] preshints need to be case-sensitive | Simon Sapin | 2017-05-18 | 1 | -0/+9 |
| | |||||
* | Shrink selectors::Component, add case-insensitive for other attr selectors | Simon Sapin | 2017-05-18 | 1 | -3/+3 |
| | | | | | * https://bugzilla.mozilla.org/show_bug.cgi?id=1364148 * https://bugzilla.mozilla.org/show_bug.cgi?id=1364162 | ||||
* | Simplify rust-selectors API for attribute selectors | Simon Sapin | 2017-05-18 | 1 | -0/+8 |
| | |||||
* | Fix future illegal_floating_point_literal_pattern warnings. | Simon Sapin | 2017-05-12 | 1 | -1/+1 |
| | | | | They make component/style fail to build, because of `#[deny(warnings)]` | ||||
* | Use StyleArc in the style system. | Bobby Holley | 2017-05-02 | 1 | -1/+1 |
| | | | | MozReview-Commit-ID: flF0fv9E9M | ||||
* | Fix indentation errors in servo rust code that tidy now finds. | coalman | 2017-04-18 | 1 | -2/+2 |
| | |||||
* | script: Map HTMLCanvasElement width and height attributes. | Emilio Cobos Álvarez | 2017-04-09 | 1 | -0/+17 |
| | |||||
* | Remove servo_url dependency for geckolib | Xidorn Quan | 2017-04-07 | 1 | -3/+1 |
| | | | | | | It seems mod attr is not used for geckolib at all, and that is the only place where servo_url is still referenced for geckolib, so we can just remove it. | ||||
* | Move all PropertyDeclarationBlock from RwLock<_> to Locked<_> | Simon Sapin | 2017-03-19 | 1 | -2/+2 |
| | |||||
* | style: Unbox a bunch of color properties. | Emilio Cobos Álvarez | 2017-02-14 | 1 | -12/+5 |
| | | | | This builds on https://github.com/servo/rust-cssparser/pull/118. | ||||
* | script: Don't avoid all the mutation notification methods when the style ↵ | Emilio Cobos Álvarez | 2017-01-30 | 1 | -1/+21 |
| | | | | | | | | | | attribute changes. Styling was correct because of the explicit dirtiness, but still not fun. Some things, like dynamic updates to with things like [style~="color"] ~ foo selectors, were pretty broken, because we didn't take snapshots of those attributes. | ||||
* | Remove redundant url clones | Pu Xingyu | 2016-11-18 | 1 | -1/+1 |
| | | | | | They are now redundant since now document.url() returns a struct rather than a reference. | ||||
* | Urlmageddon: Use refcounted urls more often. | Emilio Cobos Álvarez | 2016-11-17 | 1 | -4/+4 |
| | |||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -4/+4 |
| | |||||
* | Replace the SelectorImplExt trait with inherent methods. | Simon Sapin | 2016-08-09 | 1 | -1/+2 |
| | |||||
* | account for sign in double parsing | Bob | 2016-07-28 | 1 | -6/+6 |
| | | | | | When sign was present during double parsing correctly jump forward the extra character when parsing fraction and exponent. | ||||
* | style: Rewrite the restyle hints code to allow different kinds of element ↵ | Emilio Cobos Álvarez | 2016-07-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | snapshots, and use it for Gecko. This is a rewrite for how style interfaces with its consumers in order to allow different representations for an element snapshot. This also changes the requirements of an element snapshot, requiring them to only implement MatchAttr, instead of MatchAttrGeneric. This is important for stylo since implementing MatchAttrGeneric is way more difficult for us given the atom limitations. This also allows for more performant implementations in the Gecko side of things. | ||||
* | Some fixes in style | Manish Goregaokar | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | Move util::str to style | Anthony Ramine | 2016-07-05 | 1 | -3/+2 |
| | |||||
* | Add some documentation to the style crate. | Ms2ger | 2016-06-27 | 1 | -7/+12 |
| | |||||
* | Make the style crate almost build on stable Rust. | Simon Sapin | 2016-06-22 | 1 | -3/+6 |
| | | | | `discriminant_value` will need to be replaced with something else later. | ||||
* | Move LengthOrPercentageOrAuto to style::attr. | Ms2ger | 2016-06-06 | 1 | -2/+9 |
| | |||||
* | Report use statements that use {} with only one entry | Cullen Rhodes | 2016-05-27 | 1 | -1/+1 |
| | |||||
* | Parse HTMLInputElement attributes | Keith Yeung | 2016-05-24 | 1 | -6/+15 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -24/+24 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Add string_cache override for geckolib based on gecko atoms. | Bobby Holley | 2016-05-18 | 1 | -3/+5 |
| | | | | The work in these patches is based on Ms2ger's gecko-atom crate. | ||||
* | Return a Result<i64, ()> from do_parse_integer | Akshit Khurana | 2016-04-26 | 1 | -7/+7 |
| | | | | Fixes #10860 | ||||
* | Add parsing of double values in style attributes | Keith Yeung | 2016-04-25 | 1 | -6/+58 |
| | |||||
* | Use num-traits in style. | Ms2ger | 2016-04-20 | 1 | -1/+1 |
| | |||||
* | Remove extra definition of WHITESPACE under components/util/str.rs | zakorgyula | 2016-04-20 | 1 | -3/+3 |
| | |||||
* | Move `util::str::parse_length` into 'style' component. | Corey Farwell | 2016-03-24 | 1 | -1/+71 |
| | | | | | The function is only used in the 'style' component, so we'll move it there alongside other relevant parse functions. | ||||
* | Implement From<DOMString> for Atom | Anthony Ramine | 2016-02-24 | 1 | -2/+1 |
| | |||||
* | Move parse_integer and parse_unsigned_integer from util::str to style::attr | zakorgyula | 2016-02-17 | 1 | -2/+45 |
| | |||||
* | refactor, moving functions into attr and htmlfontelemend fixes #9639 #9638 | Jayflux | 2016-02-15 | 1 | -3/+145 |
| | |||||
* | Remove parsed attribute 'background' field on HTMLBodyElement | Corey Farwell | 2016-01-02 | 1 | -0/+20 |
| | | | | https://github.com/servo/servo/issues/7863 | ||||
* | Implement non-zero dimension attribute parsing | Corey Farwell | 2015-12-24 | 1 | -1/+6 |
| | | | | | | | | | | | | | Fixes #8445 The only attributes I found that we have implemented that uses non-zero dimenion attributes: * `width` for `<td>` and `<th>` (table cells) * `width` for `<table>` I updated these implementations to use the new non-zero dimension attribute parsing and added associated regression tests. | ||||
* | Makes setting negative values to maxLength throw an IndexSize exception | Sam Gibson | 2015-12-03 | 1 | -3/+13 |
| | |||||
* | Adds support for input element's maxlength attr | Sam Gibson | 2015-12-03 | 1 | -1/+9 |
| | | | | | servo/servo#7320 servo/servo#7004 | ||||
* | Update string_cache to 0.2. | Alan Jeffrey | 2015-11-25 | 1 | -2/+3 |
| | | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom. | ||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -1/+2 |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | ||||
* | Factor the name-related fields of Attr into a struct and move it to style. | Bobby Holley | 2015-11-09 | 1 | -0/+8 |
| | |||||
* | Hoist AttrValue into style. | Bobby Holley | 2015-11-09 | 1 | -0/+170 |