aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/metadata-css/css-flexbox-1_dev
Commit message (Collapse)AuthorAgeFilesLines
* Remove all outdated CSS tests.Josh Matthews2017-11-02254-797/+0
|
* layout: Stop calling normal block size assignment for flex containerPu Xingyu2017-08-2913-39/+0
| | | | | No need to call the `assign_block_size_block_base()` method of normal block since it is implemented for CSS2.
* Set flex-basis to 0% when omitted in flex shorthand.Xidorn Quan2017-05-301-0/+5
|
* Set /css-flexbox-1_dev/html/align-content-004.htm.ini to PASSPyfisch2017-04-271-3/+0
|
* Various cleanupsPu Xingyu2017-04-011-3/+0
| | | | Remove some hacks in layout, and unused function in style.
* Update app_units to 0.3.1Anthony Ramine2017-02-101-4/+0
| | | | | | The height test is removed in mime_sniffing_font_context because of rounding changes in app_units. The rest of that test is still useful though, given it will timeout if the font fails to be sniffed.
* Update web-platform-tests and CSS tests.Ms2ger2017-02-0610-7/+22
| | | | | - Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
* Implemented display: inline-flexShing Lyu2017-01-234-16/+0
|
* style: Turn the CSS flexible box model on by default.Patrick Walton2016-11-0813-39/+0
| | | | | | See https://groups.google.com/forum/#!topic/mozilla.dev.servo/MWBms2_BMJo for discussion.
* tests: Update test expectations.Patrick Walton2016-10-269-27/+0
|
* layout: Use the margin box for vertical positioning of `inline-block`Patrick Walton2016-10-131-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | fragments if `overflow` is not `visible` per CSS 2.1 § 10.8.1. Additionally, this patch reverts the change introduced in #12642 in favor of the spec-compliant behavior described above. This patch also removes the `inline_block_overflow.html` reftest introduced in #3725, as the behavior it expected contradicted CSS 2.1 (and in fact the test fails in Gecko). The changes that this patch makes to `input_selection_a.html` and `input_selection_incremental_a.html` are necessary workarounds to make the tests pass in light of the fact that Servo's UA stylesheet applies `overflow: hidden` to `<input>` elements. I believe that the changes are not necessary in other rendering engines because they hard-code `overflow: hidden`-like behavior for `<input>` elements, while Servo uses the actual CSS `overflow: hidden` behavior. As far as I can tell, Servo's behavior is arguably more spec-compliant, but it remains to be seen how Web compatible it is. Improves the Google results pages. Closes #13707.
* layout: Rewrite Servo's `vertical-align` support to match CSS 2.1 §Patrick Walton2016-10-115-15/+0
| | | | | | | | | | | | | | | | | 10.8, and implement `vertical-align: middle` per CSS 2.1 § 10.8.1. `InlineMetrics` has been split into `InlineMetrics` for fragments and `LineMetrics` for lines. Both structures' fields have been renamed in order to more clearly delineate the difference between *space* and *content*. Vertical positioning of fragments has been reworked to take margins and borders into account only for replaced content. This patch fixes the `vertical_align_super_a.html` reftest. Servo now matches the rendering that Gecko and WebKit produce. Additionally, this includes a test for the popular inline-block centering technique described here: https://s.codepen.io/shshaw/fullpage/gEiDt?#Inline-Block
* layout: Place inline absolute hypothetical boxes properly during blockPatrick Walton2016-10-047-21/+0
| | | | | | | | fragment position assignment. Improves Rust documentation. Closes #13471.
* Style input-text pseudo with user-agent CSSJonathan Schuster2016-09-211-3/+0
|
* style: Fix the handling of the RESTYLE_DESCENDANTS hint.Emilio Cobos Álvarez2016-08-171-3/+0
| | | | | | | | | | | | | | | This was the underlying cause of the restyle_hints_state.html failure. It was uncovered only when fixing the HAS_EDGE_CHILD_SELECTOR flags because this was the series of events happening. * <script> starts executing. * All the restyle hint processing takes place. * <script> ends executing, gets appended to the body (I think this is also a bug). * <body> receives children_changed notification, with an Append mutation. * <body> had the HAS_EDGE_CHILD_SELECTOR flag, so due to its bogus value, it restyled the whole tree after <body>, fixing any mishandling of restyle hints.
* Auto merge of #12873 - shinglyu:abs-margin-patch, r=notriddle,emiliobors-servo2016-08-1516-48/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix absolute-flow's auto positioning <!-- Please describe your changes on the following line: --> If an absolute positioned flow has no top, bottom, left, right property, its hypothetical box position should be the margin-end of its previous sibling, not the border-end. --- <!-- 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 - [x] These changes fix #12676 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes <!-- 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/12873) <!-- Reviewable:end -->
| * Absolute positioned flow should be placed at the margin-end of its previous flowShing Lyu2016-08-1516-48/+0
| |
* | layout: Freeze flex item properlyPu Xingyu2016-08-082-4/+2
| | | | | | | | | | | | | | Fix the currently logic that a item will freeze if it should grow(shrink) and its basesize is less(more) than its min(max) size. Also fix the divide by zero error when an item should shrink but it has zero length and zero min size.
* | Add Minor fixes and testsPu Xingyu2016-08-03196-582/+6
|/
* Clear non-inherited properties on anonymous blockPu Xingyu2016-07-121-3/+0
| | | | | | | Add a modify_style_for_anonymous_flow() function to use initial values for non-inherited properties and parent values for inherited properties as the block style. It also set border and outline to zero and set the display property from the parameter.
* style: Add support to the animation shorthand and fix parsing of animation-name.Emilio Cobos Álvarez2016-07-071-0/+4
|
* Add tests and small fixes for flexbox shorthandsPu Xingyu2016-07-0620-93/+3
|
* Support flexbox shorthand propertiesPu Xingyu2016-06-301-0/+1
| | | | | | | | 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 :)
* Update CSS tests to revision 611d962e1b6ae62ec89ab994c9f787e84ce11b15Ms2ger2016-06-0629-47/+106
|
* Fixup for `align-self` and testsPu Xingyu2016-06-017-18/+7
| | | | | | This is a fixup for `align-self`, the computed value of which should now properly inherit `align-items` value of its parent. Additional passed tests is also removed from ini folder. Fixup for geckolib errors.
* Add remaining longhand flexbox style propertiesPu Xingyu2016-05-2538-102/+6
| | | | | | | | | | 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.
* Auto merge of #10987 - shinglyu:flex-reverse, r=shinglyubors-servo2016-05-101-3/+0
|\ | | | | | | | | | | | | | | Bug #10181 - Implement *-reverse flex-directions <!-- 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/10987) <!-- Reviewable:end -->
| * Bug #10181 - Implement *-reverse flex-directionsShing Lyu2016-05-111-3/+0
| |
* | tests: Update test expectations.Patrick Walton2016-05-042-0/+6
| |
* | Use xi-unicode for line breakingMatt Brubeck2016-04-301-4/+0
|/
* Add style property for flex-basisDaniel Robertson2016-04-243-9/+0
| | | | | Add the style property for flex-basis. The property should allow all values acceptable for `width`|`height` with the addition of `content`.
* layout: Disallow margins from collapsing through blocks with clearancePatrick Walton2016-04-141-3/+0
| | | | | | per CSS 2.1 § 8.3.1. Fixes the test failure in #10458.
* Implement flexbox reorderingDaniel Robertson2016-04-116-20/+0
| | | | | Add style property for order and implement reordering by this property in flex flow. Based on previous work by @zentner-kyle.
* Update CSS tests to revision aac1cd51245c0c469325988a0446985a2f1e476cMs2ger2016-04-078-4/+19
|
* Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6Ms2ger2016-03-013-2/+20
|
* Enable flexbox for flexbox tests.Josh Matthews2016-02-2633-68/+34
|
* Enable CSS tests for all modules we partially support.Geoffrey Sneddon2016-01-041-1/+1
| | | | (Except Fonts, on the assumption #8374 will land first.)
* Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13efMs2ger2015-12-1072-0/+216
|
* Update CSS tests to revision 4e1aa4f3dcbff1abd654c63d0f677379c1e2775fMs2ger2015-11-301-0/+3
|
* Update CSS tests to revision c68e4df16362489debde94340cc6f54945a72f2fMs2ger2015-11-1732-48/+48
|
* Update CSS tests to revision 7a87ef71fc579e52d3438e009107aa442bc4021bMs2ger2015-10-064-11/+1
|
* Upgrade to the new harfbuzz-sys crateMatt Brubeck2015-09-291-1/+1
|
* Update CSS tests expected data to revision ↵Simon Sapin2015-09-0816-0/+48
| | | | 09d27d61d637da536af1d86a8d7bea157592ff9e
* Enable flexbox tests.Ms2ger2015-08-24495-0/+1492