aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CSSStyleDeclaration.webidl
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add column-width, column-count, columns and column-gap properties in the ↵Simon Sapin2015-04-291-0/+5
| | | | style system.
* layout: Implement most of `border-collapse` per CSS 2.1 § 17.6.2.Patrick Walton2015-04-271-1/+1
| | | | | | | | | | | | | | | | Known issues: * Collapsed borders do not correctly affect the border-box of the table itself. * The content widths of all cells in a column and the content height of all cells in a row is the same in this patch, but not in Gecko and WebKit. * Corners are not painted well. The spec does not say what to do here. * Column spans are not handled well. The spec does not say what to do here either.
* Implement CSSStyleDeclaration.float (fixes #5101)Anthony Ramine2015-04-211-1/+1
| | | | It just needs to be prefixed by an underscore.
* layout: Implement CSS transitions per CSS-TRANSITIONS § 2.Patrick Walton2015-03-311-0/+6
| | | | | | | | Transition events are not yet supported, and the only animatable properties are `top`, `right`, `bottom`, and `left`. However, all other features of transitions are supported. There are no automated tests at present because I'm not sure how best to test it, but three manual tests are included.
* layout: Implement 2D CSS transforms per CSS-TRANSFORMS § 5, 6, 7, and 8.Patrick Walton2015-03-171-0/+3
|
* layout: Implement `border-spacing` per CSS 2.1 § 17.6.1 and the legacyPatrick Walton2015-03-121-0/+2
| | | | | | | | | | | | | | | | | `cellspacing` attribute per HTML5 § 14.3.9. Table layout code has been refactored to push the spacing down to rowgroups and rows; this will aid the implementation of `border-collapse` as well. This commit also fixes two nasty issues in table layout: * In fixed layout, extra space would not be divided among columns that had auto width but had nonzero minimum width. * In automatic layout, extra space would be distributed to constrained columns as well even if unconstrained columns with percentage equal to zero were present.
* layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1Patrick Walton2015-03-091-0/+5
| | | | | | | | | | | | | | § 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases.
* Revert "layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1"Simon Sapin2015-03-031-5/+0
| | | | This reverts commit 30fd28d1077fbb3f47140f6ab1252c0d24f44d23.
* auto merge of #5133 : servo/servo/background-size, r=SimonSapinbors-servo2015-03-031-0/+3
|\ | | | | | | | | | | | | | | | | | | | | `background-size` per CSS-BACKGROUNDS § 3.9. Nearest neighbor interpolation is used for `crisp-edges`, like Firefox. A note has been added that we could do better if we wanted to. Multiple backgrounds are not yet supported. Rebase of #4368. Fixes #4368.
| * layout: Implement `image-rendering` per CSS-IMAGES-3 § 5.3 andPatrick Walton2015-03-031-0/+3
| | | | | | | | | | | | | | | | | | `background-size` per CSS-BACKGROUNDS § 3.9. Nearest neighbor interpolation is used for `crisp-edges`, like Firefox. A note has been added that we could do better if we wanted to. Multiple backgrounds are not yet supported.
* | auto merge of #5067 : servo/servo/counters, r=SimonSapinbors-servo2015-03-031-0/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases. Moved from #4544, because Critic. Fixes #4544.
| * layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1Patrick Walton2015-03-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | § 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases.
* | layout: Implement `overflow-x` and `overflow-y` per CSS-OVERFLOW § 3.Patrick Walton2015-03-031-0/+2
|/ | | | Fragmentation is not yet supported.
* layout: Implement `text-shadow` per CSS-TEXT-DECORATION-3 § 4.Patrick Walton2015-03-021-0/+1
|
* layout: Implement `text-align: justify` and `text-justify` perPatrick Walton2015-01-291-0/+1
| | | | | | | | | | | CSS-TEXT-3 § 7.3. `text-justify: distribute` is not supported. The behavior of `text-justify: none` does not seem to match what Firefox and Chrome do, but it seems to match the spec. Closes #213.
* auto merge of #4592 : pcwalton/servo/text-overflow, r=mbrubeckbors-servo2015-01-281-0/+1
|\ | | | | | | | | | | Only the one-value syntax is supported for now. r? @mbrubeck
| * layout: Implement `text-overflow: ellipsis` per CSS-UI-3 § 6.2.Patrick Walton2015-01-281-0/+1
| | | | | | | | Only the one-value syntax is supported for now.
* | gfx: Implement `font-stretch` per CSS3-FONTS § 3.3 in the Core TextPatrick Walton2015-01-281-0/+1
|/ | | | font backend.
* Share supported CSS properties between style and CSSStyleDeclarationBruno de Oliveira Abinader2015-01-191-0/+18
| | | | | | | | | | | Avoids duplicated code when implementing the CSS properties accessors in CSSStyleDeclaration WebIDL. Servo internal CSS properties are not accessible. CSS property "float" is unnacessible because we currently lack support for BinaryName IDL annotation (#4435). Fixes #4429, #4430.
* Added readonly flag for CSSStyleDeclarationProgramFOX2014-12-281-0/+1
|
* Add GetPropertyPriority to CSSStyleDeclarationAdam Sunderland2014-12-231-1/+1
| | | | | | | | | | | | | | Tweak getPropertyPriority to match recommendations Adding Tests for Style Priority Use else if Adding Content Test for GetPropertyPriority Revert "Adding Tests for Style Priority" This reverts commit 8666a37f833b06c3e43f27acd8a9678e94425e55.
* Implemented CSSStyleDeclaration.setPropertyPriorityProgramFOX2014-12-231-2/+4
| | | | Implemented CSSStyleDeclaration.setPropertyPriority, resolves #4433
* Add missing supported CSS properties.Josh Matthews2014-12-181-0/+24
|
* Merge CSS2Properties and CSSStyleDeclaration.Josh Matthews2014-12-181-0/+95
|
* Address review comments.Josh Matthews2014-12-181-2/+1
|
* Implement RemoveProperty, SetProperty, and supported property indices.Josh Matthews2014-12-181-7/+7
|
* Add the basic CSSStyleDeclaration CSSOM interface.Cameron Zwarich2014-12-181-0/+31
This just includes the .webidl file (with some of the functionality commented out) and the stub implementations for the bindings. This is another step towards #1721.