Commit 3a8f3f7d authored by Oriol Brufau's avatar Oriol Brufau Committed by Commit Bot

[css-lists] Add test for changing list-style-position to inside

It seems that r713066 made this test fail in legacy (not in LayoutNG).
Now it has been fixed as a side-effect of r745012.
Just adding it to WPT to avoid future regressions.

BUG=1051086

Change-Id: I83a6db87cd5f5d5a64046681b5e8a5f31cf0998c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2093227Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#748324}
parent 9eedf374
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: test the change of list-style-position</title>
<style>
div {
border: 5px solid orange;
display: list-item;
list-style-position: inside;
margin-left: 40px;
}
div > div {
list-style-type: decimal;
}
</style>
<div><div>text</div></div>
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: test the change of list-style-position</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="match" href="change-list-style-position-003-ref.html">
<link rel="help" href="https://www.w3.org/TR/CSS22/generate.html#lists">
<style>
div {
border: 5px solid orange;
display: list-item;
margin-left: 40px;
}
div > div {
list-style-type: decimal;
}
</style>
<div><div>text</div></div>
<script>
document.body.offsetHeight;
document.body.style.listStylePosition = "inside";
</script>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment