[css-typed-om] Update CSSURLImageValue tests to follow WPT standards.
This patch: - Moves CSSURLImageValue tests to a subfolder containing all the other CSSStylevalue subclasses. - Adds the appropriate meta and link tags. - Clean up the test code a bit. - Remove redundant unit tests Note: Following the WPT guidelines, our test structure closely follows the spec structure. Therefore, serialization and normalization of URL image values will be done in a separate file as it is a separate section in the spec. Spec: https://drafts.css-houdini.org/css-typed-om-1/#imagevalue-objects WPT Guidelines: http://web-platform-tests.org/writing-tests/general-guidelines.html There's one failing test where we are not throwing an error when the URL is invalid. Also, we should be resetting attributes back to null if there was an error loading the resource. Bug: 774887 Change-Id: Ieb1df73e538d6343fc8e8d05569981349aa90118 Reviewed-on: https://chromium-review.googlesource.com/759704Reviewed-by:meade_UTC10 <meade@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#515413}
Showing
Please register or sign in to comment