aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CSSStyleDeclaration.webidl
Commit message (Collapse)AuthorAgeFilesLines
* Rename legacy extended attributes in webidlssagudev2023-02-191-2/+2
| | | | https://github.com/whatwg/webidl/pull/870
* Convert Web IDL void to undefinedKagami Sascha Rosylight2022-01-051-1/+1
| | | | Fixes #27660
* Auto-generate CSSStyleDeclaration.webidl for CSS properties based on the ↵Simon Sapin2019-07-291-476/+1
| | | | style crate
* Fix style system build with recent changes.Emilio Cobos Álvarez2019-06-251-0/+7
|
* Update WebIDL.py to 4166cae81546Manish Goregaokar2019-03-041-467/+467
| | | | | | https://hg.mozilla.org/integration/autoland/rev/4166cae81546f54accae807413f806d20bf30920 Pulls in changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1359269
* style: sort extern crates and fix servo build.Emilio Cobos Álvarez2019-01-291-0/+2
|
* Fix servo build and rustfmt recent changes.Emilio Cobos Álvarez2019-01-201-4/+42
| | | | | We need to introduce another Cursor enum that is specific to embedder_traits and that layout converts to to avoid dependency hell.
* Update MPL license to https (part 2)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Fix servo build.Emilio Cobos Álvarez2018-07-011-0/+8
|
* dom: Remove CSSStyleDeclaration.setPropertyValue/setPropertyPriority.Emilio Cobos Álvarez2018-06-021-6/+0
|
* style: Put all the multicol props under the same pref for Servo.Emilio Cobos Álvarez2018-02-281-6/+6
| | | | Otherwise it becomes insane.
* style: Make Servo deal with CSS property prefs more correctly.Emilio Cobos Álvarez2018-02-271-9/+18
| | | | Right now you could still set preffed-off properties from CSSStyleDeclaration.
* Implement scale property stylingCJ Ku2018-01-311-0/+1
|
* Implement translate property stylingCJ Ku2018-01-311-0/+1
|
* Implement rotate property stylingCJ Ku2018-01-311-0/+1
|
* Add CEReactions where neededConnor Brewster2017-07-181-414/+414
|
* style: Support the all shorthand.Cameron McCormack2017-04-141-0/+2
| | | | Fixes #15055.
* Make font-variant shorthand.Hiroyuki Ikezoe2017-04-141-0/+2
|
* Don't serialize initial text-decoration-style #15790projektir2017-03-091-0/+2
|
* Add support for most of the border-image properties, pass to WR.Glenn Watson2017-02-231-0/+12
| | | | | | | | | | | | This adds support for: * border-image (images, not gradients yet) * border-image-source * border-image-slice * border-image-repeat (stretch + repeat only for now) Remaining work: * Connect border-image-outset (WR supports this). * border-image-width
* Auto merge of #15289 - montrivo:webidl-exposed, r=cbrewsterbors-servo2017-01-291-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose interfaces only where they should be. #12415 - Partial <!-- Please describe your changes on the following line: --> I verified the following interfaces: CSSStyleDeclaration.webidl ElementCSSInlineStyle.webidl ElementContentEditable.webidl EventHandler.webidl Screen.webidl StyleSheetList.webidl StyleSheet.webidl Client.webidl --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #12415 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/15289) <!-- Reviewable:end -->
| * Expose interfaces only where they should be. #12415 - Partialmontrivo2017-01-291-1/+1
| |
* | Convert text-orientation to a Gecko-only propertyMatt Brubeck2017-01-271-2/+2
|/ | | | | | Remove incomplete and buggy support for text-orientation in Servo. Make the property values align with Gecko and the latest draft of CSS Writing Modes Level 3.
* Make background-position a shorthand instead of a longhandNazım Can Altınova2016-12-151-0/+4
|
* Support offset- logical propertiesManish Goregaokar2016-11-291-0/+8
|
* Unexpose CSSOM interfacesManish Goregaokar2016-11-151-1/+1
|
* Add support for inline-size, block-size, and max-*-size/min-*-sizeManish Goregaokar2016-11-111-0/+12
|
* Add logical padding, margin longhands and border shorthandsManish Goregaokar2016-11-111-0/+24
|
* Support logical propertiesManish Goregaokar2016-11-111-0/+25
|
* Explicitly expose everything everywhere.Ms2ger2016-07-121-0/+1
|
* style: Add support to the animation shorthand and fix parsing of animation-name.Emilio Cobos Álvarez2016-07-071-0/+1
|
* Support flexbox shorthand propertiesPu Xingyu2016-06-301-0/+3
| | | | | | | | Support the `flex` and `flex-flow` shorthand properties in servo. Currently they are marked as experimental, so they are added to '__dir__.ini'. Thanks SimonSapin and jdm for help :)
* style: parse the remaining animation longhands.Emilio Cobos Álvarez2016-06-281-0/+8
|
* style: Add animation-iteration-count parsing under experimental flagEmilio Cobos Álvarez2016-06-281-0/+2
|
* style: Add animation-timing-function parsing as experimental.Emilio Cobos Álvarez2016-06-281-0/+2
|
* style: Add animation-duration parsing under experimental flagEmilio Cobos Álvarez2016-06-281-0/+2
|
* style: Refactor to pass animations cleanly, land animation-name parsing as ↵Emilio Cobos Álvarez2016-06-281-0/+3
| | | | experimental
* Auto merge of #11428 - g-k:csstext, r=SimonSapinbors-servo2016-06-011-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | csstext - [x] These changes fix #4431. - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` reports one error for the `css_properties_accessors!` macro not having a spec link ``` $ git log -1 --format=oneline 91fb9bf1d388c3ede304a5d649dd21fe975787b0 fixup! implement cssText $ ./mach build -d Compiling style v0.0.1 (file:///Users/greg/servo/components/style) Compiling gfx v0.0.1 (file:///Users/greg/servo/components/gfx) Compiling script v0.0.1 (file:///Users/greg/servo/components/script) Compiling layout_traits v0.0.1 (file:///Users/greg/servo/components/layout_traits) Compiling compositing v0.0.1 (file:///Users/greg/servo/components/compositing) Compiling glutin_app v0.0.1 (file:///Users/greg/servo/ports/glutin) Compiling constellation v0.0.1 (file:///Users/greg/servo/components/constellation) Compiling layout v0.0.1 (file:///Users/greg/servo/components/layout) Compiling servo v0.0.1 (file:///Users/greg/servo/components/servo) Build completed in 0:05:11.475584 $ ./mach test-tidy --faster Checking files for tidiness... ./components/script/dom/cssstyledeclaration.rs:386: method declared in webidl is missing a comment with a specification link Progress: 100% (12/12) ``` - [x] There are tests for these changes. More CSSOM tests pass, but others fail that probably shouldn't: * `./mach test-css tests/wpt/css-tests/cssom-1_dev/html/index-002.htm` and a bunch of the other tests in `/css-tests/cssom-1_dev/html/ crash when run individually * `./mach test-css tests/wpt/css-tests/cssom-1_dev/html/cssom-cssText-serialize.htm` fails to strip a trailing semicolon (`left: 10px` vs `left: 10px;`) * `./mach test-css tests/wpt/css-tests/cssom-1_dev/html/index-001.htm` shared shorthand values aren't coalesced (`margin: 20px` vs. `margin: 20px 20px 20px 20px`) * `./mach test-css tests/wpt/css-tests/cssom-1_dev/html/cssstyledeclaration-csstext.htm` also crashes and fails for `color: red;` vs. `color: RED;`, preserving declaration insertion order, whitespace in the value, and setting an unknown style property. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11428) <!-- Reviewable:end -->
| * implement cssTextGlenn Watson2016-05-311-2/+2
| |
* | Add remaining longhand flexbox style propertiesPu Xingyu2016-05-251-1/+15
|/ | | | | | | | | | Add the remaining longhand CSS properties of flexbox for servo, including `flex-wrap`, `flex-grow`, `flex-shrink`, `justify-content`, `align-items`, `align-self` and `align-content`. tests for the remaining longhand properties are also enabled. Test for default value of `align-self` is modified because the new default value for this property is "auto" is current flexbox CR.
* Add style property for flex-basisDaniel Robertson2016-04-241-0/+2
| | | | | Add the style property for flex-basis. The property should allow all values acceptable for `width`|`height` with the addition of `content`.
* Implement flexbox reorderingDaniel Robertson2016-04-111-0/+1
| | | | | Add style property for order and implement reordering by this property in flex flow. Based on previous work by @zentner-kyle.
* Add dashed CSS properties to CSSStyleDeclaration.Josh Matthews2015-08-281-0/+104
|
* Parse flex-direction CSS property.Kyle Zentner2015-08-211-0/+2
|
* Make CSSStyleDeclaration setters rethrow errors instead of unwrapping and ↵David Zbarsky2015-08-111-161/+161
| | | | crashing.
* Implement the unicode-bidi propertyMatt Brubeck2015-08-031-0/+1
|
* Add/format license headers for WebIDLsCorey Farwell2015-07-261-3/+3
|
* Implement enough of 3d transforms spec to run the CSS FPS demo.Glenn Watson2015-06-231-0/+4
|
* Implement 'background-clip' property in CSS3 BackgroundJinwoo Song2015-05-161-0/+1
| | | | | | | | | This property determines the background painting area, which determines the area within which the background is painted. Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-clip Fixes #6066.
* Implement 'background-origin' property in CSS3 BackgroundJinwoo Song2015-05-151-0/+1
| | | | | | | | | | | This property determines the background positioning area, that is the position of the origin of an image specified using the 'background-image' CSS property. 'background-origin' is ignored when background-attachment is fixed. Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-origin Fixes #6045.