servo/components/layout
bors-servo d744e35d38
Auto merge of #20482 - brainlessdeveloper:list-style-image-computed, r=emilio
Implement a URL-generic type for ListStyleImage

<!-- Please describe your changes on the following line: -->

This should fix the following two "expected to fail" tests described in https://github.com/servo/servo/issues/18015:

- getComputedStyle(elem) for url() listStyleImage uses the resolved URL
  and elem.style uses the original URL

- getComputedStyle(elem) for url() listStyle uses the resolved URL
  and elem.style uses the original URL

I updated the test failure expectations by removing the corresponding `.ini` file.

---
<!-- 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 #18015 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/20482)
<!-- Reviewable:end -->
2018-04-03 18:12:13 -04:00
..
display_list Add unique canvas IDs to all canvas operations. 2018-04-02 22:02:22 -04:00
tests Merge layout and layout_tests 2018-01-20 15:33:39 +01:00
animation.rs style: Make the TElement type arrive to the cascade function. 2018-01-23 00:57:54 +01:00
block.rs Stop using LocalClip::RoundedRect 2018-03-06 21:26:22 +01:00
Cargo.toml Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
construct.rs Implement a URL-generic type for list-style-image 2018-04-03 22:01:26 +02:00
context.rs Add test for FontContext/FontGroup functionality 2018-02-22 16:36:09 +01:00
data.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
flex.rs style: Add support for 'flex-basis:content' in the style system. 2018-04-02 03:17:56 +02:00
floats.rs Use specific negative assertion for layout floats 2018-01-26 01:55:24 +08:00
flow.rs Use typed transforms in stacking contexts 2018-02-24 10:36:10 +01:00
flow_list.rs Remove usage of unstable feature conservative_impl_trait in layout 2017-10-13 11:11:06 +02:00
flow_ref.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
fragment.rs Add unique canvas IDs to all canvas operations. 2018-04-02 22:02:22 -04:00
generated_content.rs Make ContentItem use a CustomIdent for counter names 2018-03-02 16:06:54 +01:00
incremental.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
inline.rs Workaround #20149 - presumed rustc bug on android. 2018-03-22 14:27:52 -04:00
layout_debug.rs Use specific assertion for layout layout_debug 2018-01-26 01:01:01 +08:00
lib.rs Share line breaking state across text runs 2018-01-24 12:51:33 +05:30
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Allow floats to impact list item marker position 2018-01-24 12:26:32 +01:00
model.rs Fix some "unnecessary parentheses" warnings 2018-01-22 17:41:25 +01:00
multicol.rs [css-multicol] style: Implement percentages for 'column-gap'. 2018-04-02 00:56:45 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Turn flow::base and friends into methods 2017-12-14 12:16:45 -06:00
persistent_list.rs Use try syntax for Option where appropriate 2017-10-20 08:25:35 -07:00
query.rs Rebase and fix innerText 2018-02-24 10:56:11 +01:00
sequential.rs Use typed transforms in stacking contexts 2018-02-24 10:36:10 +01:00
table.rs Support rowspan=0; always fixup overflowing rowspans beforehand 2018-02-28 17:37:59 -08:00
table_caption.rs Create own file for background calculations in layout 2018-01-06 20:19:32 +01:00
table_cell.rs Assign table row block sizes in the parent table or rowgroup 2018-02-26 17:08:43 -08:00
table_colgroup.rs Add get_column_styles for getting column structure and styles for a table 2018-02-16 16:01:41 -08:00
table_row.rs Don't panic on cells with both a rowspan and colspan in include_sizes_from_previous_rows 2018-03-01 15:38:29 -08:00
table_rowgroup.rs Assign table row block sizes in the parent table or rowgroup 2018-02-26 17:08:43 -08:00
table_wrapper.rs Create own file for background calculations in layout 2018-01-06 20:19:32 +01:00
text.rs Add test for FontContext/FontGroup functionality 2018-02-22 16:36:09 +01:00
traversal.rs style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
wrapper.rs style: Move content property out of mako. 2018-02-07 00:11:57 +02:00