Skip to content

Commit

Permalink
Make border-image use real initial values for its longhands
Browse files Browse the repository at this point in the history
Make border-image use real initial values for its longhands, instead
of just "initial".

Note that this fixes the problems left by r551310.

Behavior matches Firefox.

Bug: 825568, 772772

Change-Id: Ic4eda9db5ec370059578ca87e1512fae5b373cbd
Reviewed-on: https://chromium-review.googlesource.com/1013806
Commit-Queue: Rob Buis <rob.buis@samsung.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552306}
  • Loading branch information
Rob Buis authored and chromium-wpt-export-bot committed Apr 20, 2018
1 parent 4736f3f commit f56ee9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/css-backgrounds/parsing/border-image-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</head>
<body>
<script>
// Blink and WebKit fail all these tests by returning an empty string as the value of border-image.
// WebKit fails all these tests by returning an empty string as the value of border-image.

// "none" in Edge, "none 100% / 1 / 0 stretch" in Firefox.
// "none" in Edge, "none 100% / 1 / 0 stretch" in Firefox and Blink.
test_valid_value("border-image", "none", ["none", "none 100% / 1 / 0 stretch"]);
test_valid_value("border-image", "stretch", ["none", "none 100% / 1 / 0 stretch"]);
test_valid_value("border-image", "none 100% / 1 / 0 stretch", ["none", "none 100% / 1 / 0 stretch"]);
Expand Down

0 comments on commit f56ee9d

Please sign in to comment.