-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-pseudo] Add expectation for marker-list-style-position.html WPT
The marker-list-style-position.html WPT test was created by Mozilla, and it relies on inside list markers being affected by ::first-line. However, that doesn't happen in Chromium and WebKit, and the relevant issue (w3c/csswg-drafts#4506) is still open. Therefore I'm adding a 2nd expectation in order to allow both behaviors. Bug: 457718 Change-Id: Id61fbdd07940d541eb7a9638a0fc1aefc13bb545
- Loading branch information
1 parent
660e4f4
commit ce8859b
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>CSS Reference: ::marker pseudo elements styled with 'list-style-position' property</title> | ||
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> | ||
<style> | ||
body { color: black; background: white; } | ||
#t1 > li { list-style-position: inside; } | ||
#t2 > li { list-style-position: outside; } | ||
#t3 > li { list-style-position: inside; } | ||
#t4 > li { list-style-position: inside; } | ||
|
||
#t1, #t2, blue { color: blue; } | ||
black { color: black; } | ||
|
||
span { font-size: 32pt; } | ||
</style> | ||
</head> | ||
<body> | ||
<ol id="t1"><li></li><li><black>B</black></li><li><span><black>C</black></span></li></ol> | ||
<ol id="t2"><li></li><li><black>B</black></li><li><span><black>C</black></span></li></ol> | ||
<ol id="t3"><li></li><li><blue>B</blue></li><li><span><blue>C</blue></span></li></ol> | ||
<ol id="t4"><li></li><li><blue>B</blue></li><li><span><blue>C</blue></span></li></ol> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters